Skip to content

Make the repository Jules-ready: setup script, Definition-of-Done block, build-tool pin #17

Description

@rabestro

Context

Google Jules runs tasks in an Ubuntu VM that ships OpenJDK 21, Maven and Gradle but no sbt, scalafmt, mise or brew, reads only the root AGENTS.md, and commits outside our git hooks. The first wave of the Jules-readiness programme (six Scala repositories, 2026-09-05) cut formatting failures on Jules pull requests to zero: every validation pull request passed its first CI run. The organisation inventory of 2026-09-06 found seven more JVM repositories, this one included.

Specifics here: Maven build: the Jules VM image ships JDK 21, this repository compiles with release 25, so Maven and Java 25 come from mise; the Definition-of-Done block is the Maven variant (dc-shared:definition-of-done-maven v1).

Objective

Make dicechess-bot-java Jules-ready so that a Jules task can run the repository gate inside its VM: scripts/jules-setup.sh from the shared template (dc-shared:jules-setup v3, sbt and Maven aware), the Definition-of-Done block at the top of AGENTS.md, and the build tool pinned in mise.toml; then configure the repository in the Jules app (owner) and validate with one Routine dispatch.

Definition of Done (DoD)

  • mise.toml pins the build tool (sbt matching project/build.properties, or maven plus a java matching the pom release)
  • scripts/jules-setup.sh is byte-identical to skills/jules-repo-readiness/templates/jules-setup.sh v3
  • AGENTS.md carries the matching Definition-of-Done block within the first 40 lines
  • skills/jules-repo-readiness/scripts/check-readiness.sh passes its automated checks on the merged main
  • Jules app (owner): Initial Setup = bash scripts/jules-setup.sh, "Run and Snapshot" succeeded, Knowledge enabled
  • Validation: the first CI run of the next Jules pull request in this repository is green; result recorded with jules-ci-audit

Non-goals

  • Adopting a formatter where none exists, changing CI workflows or sources.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions