Repository navigation
Generate every harness file; ship no default skills - #4
Conversation
Nothing harness-specific is committed any more. CLAUDE.md, .claude/settings.json, and .gemini/settings.json join the other adapters as sync.py renderer output, and .cursor/environment.json, .github/copilot-instructions.md, and the Copilot setup workflow are gone — a cloud harness that needed a committed in-repo hook now carries the bootstrap one-liner in its own setup-script field instead. The Workflow model-mix hook moves to .agents/hooks/, where the generated settings.json points at it; the Claude SessionStart hook is dropped, since it could only ever have run after the settings file it lived in was generated. That removes the "seed" tier, so sync.py loses the merge-one-key machinery. `sync.py check` now enforces the invariant that replaced it: every renderer output is gitignored and absent from the index. Also drop the seven skills the template shipped with (ponytail* and find-skills) and empty skills-lock.json. The skill machinery stays for skills a project actually adds.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4427986d0e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Verify no generated adapter is committed | ||
| # Every renderer output must be gitignored and absent from the index. | ||
| # Runs before bootstrap so it reads the repository as checked out. | ||
| run: .agents/scripts/sync.py check |
There was a problem hiding this comment.
Include generated adapters in the workflow triggers
When a PR force-adds a generated adapter such as .claude/settings.json, .gemini/settings.json, or CLAUDE.md without changing one of the remaining pull_request.paths, this verification job never starts, so the new sync.py check cannot enforce its stated purpose. Retain the generated-output patterns in both path filters or run this workflow for every PR.
AGENTS.md reference: AGENTS.md:L85-L87
Useful? React with 👍 / 👎.
The previous PR left a "seed" tier of committed harness files behind — the parts a harness reads straight from the clone before any script can run. This removes that tier entirely, so
.agents/plusAGENTS.mdis the whole committed agent surface, and drops the skills the template shipped with.Nothing harness-specific is committed
CLAUDE.mdsync.py(Claude renderer).claude/settings.jsonsync.py.gemini/settings.jsonsync.py(newgeminirenderer; the harness previously had no renderer at all).claude/hooks/workflow-model-mix.py.agents/hooks/, referenced from the generated settings.claude/hooks/session-start.sh.cursor/environment.json.github/copilot-instructions.md.github/workflows/copilot-setup-steps.ymlThe deleted files are the ones with no generated replacement, because generating them is self-defeating: each existed only to bootstrap a fresh cloud clone, and a hook that is itself generated by that bootstrap can never run first.
session-start.shis the clearest case — its registration lived in the settings file it was supposed to create.Trade-off, stated plainly: cloud harnesses lose in-repo auto-bootstrap. Claude Code on the web, Cursor cloud agents, and the Copilot coding agent now need
.agents/scripts/bootstrap.shin their own setup-script field, joining the row Codex/Jules/Devin/Factory were already in. Until bootstrap runs, a checkout hasAGENTS.mdand.agents/and nothing else agent-facing — including noCLAUDE.md, so Claude Code will not load the project instructions in a fresh cloud session until then. Devcontainers, Amp orbs, and CI are unaffected; they call the same script from files that are not harness-specific.Generator changes
HARNESSESentries key onrenderrather thanmcp— a renderer returns every file its harness needs, not just MCP config.merged_document,seed_outputs) is gone; every output is written wholesale. Local Claude Code settings belong in.claude/settings.local.json, which the generator never touches.sync.py checkis repurposed to enforce the invariant that replaced the seed tier: every renderer output must be gitignored and absent from the index. It catches both a renderer added without a.gitignoreentry and an adapter force-added to git — the latter was previously caught by nothing..gitignoregains/CLAUDE.md,/.claude/settings.json,/.gemini/settings.json.Default skills removed
ponytail,ponytail-audit,ponytail-debt,ponytail-gain,ponytail-help,ponytail-review, andfind-skillsare deleted andskills-lock.jsonis empty. The skill machinery (check-skills.py, the lock, the pre-commit hook) stays — it is how a project adds its own or installs a third party's.Validation
sync.py check,check-skills.py,sync.py --all,bootstrap.sh,pre-commit run --all-files, and the CI job's steps run locally: all pass. A full--allbootstrap leavesgit status --porcelainempty, the relocated hook still blocks a two-agent script with nomodel:and passes one with, and every generated JSON/TOML file parses. CI paths filters and the syntax-check file list were updated for the moved and deleted files.Generated by Claude Code