Skip to content

phase0-C: add repo.meta.json for m-standard#5

Merged
rafael5 merged 1 commit into
mainfrom
phase0-c-repo-meta
May 10, 2026
Merged

phase0-C: add repo.meta.json for m-standard#5
rafael5 merged 1 commit into
mainfrom
phase0-c-repo-meta

Conversation

@rafael5
Copy link
Copy Markdown
Collaborator

@rafael5 rafael5 commented May 10, 2026

Summary

Implements Track C of the Phase 0 plan (.github/docs/phase0-plan.md §4).

  • AGENTS.md adopted — renamed CLAUDE.mdAGENTS.md with CLAUDE.md as a symlink. Added the five required sections (Setup / Test / Build / Verify / Guardrails).
  • dist/repo.meta.json authored$schema points at the org-level manifest schema (Track A); exposes.* keys point at the committed docs/integrated/ payloads (the post-3bfb947 layout, not the stale integrated/ paths the plan was drafted against).
  • make check-manifest — Phase 0 manifest drift gate. Re-runs make integrated (the consistency-check pipeline CI already runs), then validates dist/repo.meta.json against the schema and asserts every exposes.* 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.py is published.
  • .gitignoredist/* now stays ignored except for the manifest (!dist/repo.meta.json), so Phase 0 ships the manifest without dragging in build artifacts.
  • CI — the standalone "Validate integrated layer" step is replaced by make check-manifest, which subsumes it.

C1 audit notes (worth reviewing before merge)

  • Integrated payloads live at docs/integrated/, not integrated/ (commit 3bfb947). The plan's literal exposes.* paths needed adjusting.
  • The emit tools (emit_*.py) still default --integrated to top-level integrated/. They write to the wrong place unless invoked with --integrated docs/integrated. Out of scope for Phase 0 but worth a follow-up — see Build / generate in AGENTS.md.

Test plan

  • make check-manifest green locally
  • make check green locally (164 passed, 73.30% cov)
  • dist/repo.meta.json validates against .github/profile/repo.meta.schema.json (Track A schema, validated against the local copy in the sibling .github checkout)
  • Every exposes.* path exists; .json payloads parse
  • CI green on this branch

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.
@rafael5 rafael5 merged commit daa2e6a into main May 10, 2026
1 check passed
@rafael5 rafael5 deleted the phase0-c-repo-meta branch May 10, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant