chore: remove redundant agent artifacts + lab artifacts#2092
Merged
Conversation
ApprovabilityVerdict: Approved Removes redundant agent guidance files, documentation artifacts, and the sync script that generated them. Changes affect only documentation and developer tooling with no runtime impact. You can customize Macroscope's approvability policy. Learn more. |
mikasenghaas
force-pushed
the
chore/remove-nested-agents-md
branch
from
July 21, 2026 22:14
5c17b41 to
839ac7b
Compare
mikasenghaas
force-pushed
the
chore/remove-nested-agents-md
branch
from
July 21, 2026 22:25
839ac7b to
eb8c9ef
Compare
mikasenghaas
force-pushed
the
chore/remove-nested-agents-md
branch
2 times, most recently
from
July 21, 2026 22:28
3b2768d to
c92de04
Compare
Trim agent-facing scaffolding down to the essentials. Rewrite the repo-root AGENTS.md into topical sections (prime-rl style); CLAUDE.md is just an `@AGENTS.md` pointer. AGENTS.md: - Keep only the repo-root file (canonical, hand-maintained, no longer generated). - Rewrite it in the prime-rl format: Writing code / Running code / Docs / Skills / Testing sections with bold lead-in bullets. - Remove scoped guides: environments/AGENTS.md, tests/AGENTS.md, verifiers/envs/AGENTS.md, assets/lab/AGENTS.md, assets/lab/environments/AGENTS.md. Generation: - Remove scripts/sync.py, its sync-agents-md pre-commit hook, and the dead assets/agents/ source fragments. - CLAUDE.md -> `@AGENTS.md`; update docs/v0/development.md guidance. Editor/agent configs: - .codex/environments/environment.toml (autogenerated; already gitignored) - .cursor/BUGBOT.md Skills: - skills/train-with-environments/SKILL.md - skills/browse-environments/SKILL.md Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mikasenghaas
force-pushed
the
chore/remove-nested-agents-md
branch
from
July 21, 2026 22:30
c92de04 to
1defa44
Compare
hallerite
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Trim agent-facing scaffolding to the essentials: a single hand-maintained
AGENTS.md, withCLAUDE.mdreduced to an@AGENTS.mdpointer (matchingprime-rl). No more generation step.AGENTS.md — keep only the repo-root file; remove the scoped guides:
environments/AGENTS.md,tests/AGENTS.md,verifiers/envs/AGENTS.mdassets/lab/AGENTS.md,assets/lab/environments/AGENTS.md(Prime Lab sources)Generation removed —
AGENTS.mdis now canonical and edited directly:scripts/sync.pyand itssync-agents-mdpre-commit hook.assets/agents/source fragments (common_,repo_development_,end_user_best_practices.md).CLAUDE.md->@AGENTS.md;docs/v0/development.mdguidance updated (no more "run sync.py").Editor / agent configs:
.codex/environments/environment.toml(autogenerated Codex sandbox config; already gitignored).cursor/BUGBOT.mdSkills:
skills/train-with-environments/SKILL.mdskills/browse-environments/SKILL.mdBreaking
The
primeCLI (prime lab setup/prime lab sync) pulls several of these from this repo at a pinned commit (prime_cli/lab_setup.py: VERIFIERS_REF), so shipped CLIs are unaffected. Impact lands only when a future prime release bumpsVERIFIERS_REFpast this change:assets/lab/AGENTS.mdandassets/lab/environments/AGENTS.mdare fetched by exact URL (AGENTS_MD_SRC/ENVS_AGENTS_MD_SRC) — a bumped ref would 404. Before bumping, updateprime_cli/lab_setup.pyto stop fetching these (drop the two sources, their writes, and the doctor checks).skills/browse-environmentsandskills/train-with-environmentsare discovered by enumerating the repo'sskills/tree (SKILL_SOURCES), so removal is graceful — a bumped ref installs two fewer skills, no error.scripts/sync.pywas not consumed by the prime CLI (repo-internal only).assets/lab/CLAUDE.mdremains as a static Prime Lab source (no longer generated).sync-docs.ymlis unrelated (docs -> public-docs) and untouched.Verification
uv run pre-commit run --all-filespasses.find . -name AGENTS.md(outside.git) returns only./AGENTS.md.scripts/sync.pyorassets/agents/in the repo.🤖 Generated with Claude Code
Note
Low Risk
Documentation and contributor tooling only; runtime behavior is unchanged. Prime Lab consumers need a coordinated CLI update before bumping the verifiers pin.
Overview
Replaces the generated agent-doc pipeline with a single hand-edited root
AGENTS.mdand aCLAUDE.mdthat only references@AGENTS.md.scripts/sync.py,assets/agents/source fragments, thesync-agents-mdpre-commit hook, and mirroredAGENTS.mdfiles underenvironments/,tests/,verifiers/envs/, andassets/lab/are removed.AGENTS.mdis rewritten into short sections (writing/running code, docs, skills, testing), emphasizing v1-only,uv run, anduv run init/uv run evalinstead of olderprime-centric wording.docs/v0/development.mdnow tells contributors to edit agent guidance directly rather than run sync.Also drops
.cursor/BUGBOT.md,.codex/environments/environment.toml, and thebrowse-environments/train-with-environmentsskills;assets/lab/CLAUDE.mdno longer points readers at removed labAGENTS.mdfiles.Breaking (on a future Prime CLI ref bump): pinned
prime labfetches forassets/lab/AGENTS.mdandassets/lab/environments/AGENTS.mdwould 404 untilprime_cli/lab_setup.pystops requesting them; skill removal is benign (fewer skills installed).Reviewed by Cursor Bugbot for commit c92de04e78f6e3ca57e317bae35da479eb077bbb. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Remove generated agent artifact infrastructure and replace with hand-authored
AGENTS.mdassets/agents/that were used to generateAGENTS.md,CLAUDE.md, and related guides.AGENTS.mdwith a concise, hand-authored guide covering coding, testing, and docs policies;CLAUDE.mdis reduced to a single@AGENTS.mdreference.sync-agents-mdpre-commit hook and updates docs/v0/development.md to reflect thatAGENTS.mdshould now be edited directly.AGENTS.mdfiles underassets/lab/,environments/,skills/,tests/, andverifiers/envs/.Macroscope summarized 1defa44.