phase0-C: add repo.meta.json for m-standard#5
Merged
Conversation
Implements Track C of the Phase 0 plan (.github/docs/phase0-plan.md §4): - Rename CLAUDE.md → AGENTS.md, symlink CLAUDE.md → AGENTS.md. - Add Setup/Test/Build/Verify/Guardrails sections to AGENTS.md. - Author dist/repo.meta.json with $schema pointing at the org-level manifest schema (Track A); exposes/* points at the committed docs/integrated/ payloads (the repo's post-3bfb947 layout). - Add `make integrated` (alias for the consistency-check pipeline run by CI today) and `make check-manifest` (Phase 0 manifest drift gate: re-runs `integrated`, then validates dist/repo.meta.json against the schema and asserts every exposes.* payload exists and parses). - Add tools/check-repo-meta.py as the local Phase 0 manifest validator (mirrors the canonical .github/profile/build/validate-repo-meta.py with a local-schema fallback while Track A is in flight). - Whitelist dist/repo.meta.json through .gitignore (the dir is still ignored; only the manifest is tracked). - CI: replace the standalone validate step with `make check-manifest`, which subsumes it.
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
Implements Track C of the Phase 0 plan (
.github/docs/phase0-plan.md§4).CLAUDE.md→AGENTS.mdwithCLAUDE.mdas a symlink. Added the five required sections (Setup/Test/Build/Verify/Guardrails).dist/repo.meta.jsonauthored —$schemapoints at the org-level manifest schema (Track A);exposes.*keys point at the committeddocs/integrated/payloads (the post-3bfb947layout, not the staleintegrated/paths the plan was drafted against).make check-manifest— Phase 0 manifest drift gate. Re-runsmake integrated(the consistency-check pipeline CI already runs), then validatesdist/repo.meta.jsonagainst the schema and asserts everyexposes.*payload still exists on disk and parses (for.json).tools/check-repo-meta.py— local mirror of the canonical Track A validator with a local-schema fallback. Replaceable with a curl-from-org once.github/profile/build/validate-repo-meta.pyis published..gitignore—dist/*now stays ignored except for the manifest (!dist/repo.meta.json), so Phase 0 ships the manifest without dragging in build artifacts.make check-manifest, which subsumes it.C1 audit notes (worth reviewing before merge)
docs/integrated/, notintegrated/(commit3bfb947). The plan's literalexposes.*paths needed adjusting.emit_*.py) still default--integratedto top-levelintegrated/. They write to the wrong place unless invoked with--integrated docs/integrated. Out of scope for Phase 0 but worth a follow-up — seeBuild / generatein AGENTS.md.Test plan
make check-manifestgreen locallymake checkgreen locally (164 passed, 73.30% cov)dist/repo.meta.jsonvalidates against.github/profile/repo.meta.schema.json(Track A schema, validated against the local copy in the sibling.githubcheckout)exposes.*path exists;.jsonpayloads parse