site index Source Ownership
site index Source Ownership
This file defines source ownership for generated site/index.md.
Scope
- Source directory:
site/src/ - Generated output:
site/index.md - Generator:
python scripts/build_site_index.py
Source Ownership Matrix
| Source file | Responsibility | Primary owner | Backup owner |
|---|---|---|---|
index.contract.json |
Generator contract, canonical input/output paths, front matter | compiler/docs | compiler/tooling |
index.body.md |
Curated public-facing site content and stable public anchors | compiler/docs | spec/maintainers |
README.md |
Generated-only policy and contributor guidance | compiler/docs | compiler/release |
Update Workflow
- Update
site/src/index.contract.jsononly when generator contract changes. - Update the curated site content under
site/src/index.body.mdas needed. - Run
python scripts/build_site_index.pyto regeneratesite/index.md. - Run
python scripts/build_site_index.py --checkand require pass.
Review Policy
- Manual edits to
site/index.mdare unsupported. - Contract or policy changes in
site/src/*requirecompiler/docsreview. - Anchor or status-model changes in
site/src/index.body.mdrequirecompiler/docsreview. - PR description must include regeneration command and drift-check result.
Generated Surface Boundary
Treat these as the live documentation-generation surfaces:
- human-facing generated site:
site/src/index.body.mdsite/src/index.contract.jsonpython scripts/build_site_index.pysite/index.md
- human-facing generated native implementation doc:
docs/objc3c-native/src/*.mdpython scripts/build_objc3c_native_docs.pydocs/objc3c-native.md
- machine-facing generated operator appendix:
package.jsonscripts/objc3c_public_workflow_runner.pypython scripts/render_objc3c_public_command_surface.pydocs/runbooks/objc3c_public_command_surface.md
tmp/reports/ and tmp/artifacts/ remain generated proof/evidence outputs, not
canonical documentation sources.