added
This commit is contained in:
1 parent
1e52a733d1
commit
bd8f9a641f
27 files changed
+817
-33
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# Content Index Implementation Receipt
|
||||
|
||||
## Result
|
||||
|
||||
Implemented `content-index.json` as an optional file-level discovery layer for
|
||||
content-heavy repositories.
|
||||
|
||||
## Added
|
||||
|
||||
- `content-index.json`
|
||||
- `schemas/content-index.schema.json`
|
||||
- `templates/content-index.json.template`
|
||||
- `examples/example-content-index.json`
|
||||
|
||||
## Updated
|
||||
|
||||
- Repository manifest, retrieval order, standard, reusable skill, architecture,
|
||||
implementation guide, glossary, schema/template/example indexes, validator,
|
||||
reusable audit, tests, changelog, citation, and version.
|
||||
|
||||
## Contract
|
||||
|
||||
Each content item uses a stable `content_id`, concise metadata, a
|
||||
repository-relative path, status, and optional dates, canonical URL, author,
|
||||
topics, and related content IDs.
|
||||
|
||||
The index does not contain full document bodies and does not require semantic
|
||||
chunk or QA materialization.
|
||||
|
||||
## Release
|
||||
|
||||
The template version was advanced from `0.2.0` to `0.3.0`.
|
||||
|
||||
No commit, push, publication, or deployment was performed.
|
||||
@@ -0,0 +1,40 @@
|
||||
# Add Content Index
|
||||
|
||||
- **Status:** implemented
|
||||
- **Revision:** 1
|
||||
- **Approved scope:** Immediate implementation authorized by the user on 2026-07-24.
|
||||
|
||||
## Objective
|
||||
|
||||
Add an optional, first-class `content-index.json` layer for repositories that
|
||||
contain recurring or numerous individual documents.
|
||||
|
||||
## Decision
|
||||
|
||||
Keep `repository.json` authoritative for repository identity, purpose,
|
||||
capabilities, entry points, and major collections. Use `content-index.json` for
|
||||
compact file-level discovery records. Keep each Markdown document authoritative
|
||||
for its complete content.
|
||||
|
||||
Small repositories may omit the content index and list their few major files
|
||||
directly in `repository.json`.
|
||||
|
||||
## Approved Actions
|
||||
|
||||
- Add a working root content index.
|
||||
- Add a JSON Schema, template, and synthetic example.
|
||||
- Extend validators and tests.
|
||||
- Update the reusable skill and repository standard.
|
||||
- Update root documentation, retrieval order, manifest, version, citation, and
|
||||
changelog.
|
||||
- Do not add chunk IDs, knowledge IDs, `chunks.json`, or `qa.json`.
|
||||
- Do not commit, push, publish, or modify hosting-platform settings.
|
||||
|
||||
## Definition Of Done
|
||||
|
||||
- Root validation passes.
|
||||
- Unit tests pass.
|
||||
- Skill/workflow profile audit passes.
|
||||
- Skill validation passes.
|
||||
- JSON files parse.
|
||||
- `VERSION`, `repository.json`, and `CITATION.cff` agree.
|
||||
@@ -0,0 +1,29 @@
|
||||
# Content Index Validation Results
|
||||
|
||||
## Date
|
||||
|
||||
2026-07-24
|
||||
|
||||
## Results
|
||||
|
||||
- Python syntax compilation: PASS
|
||||
- `python scripts/validate_repository.py .`: PASS
|
||||
- `python -m unittest discover -s tests -p "test_*.py"`: PASS, 5 tests
|
||||
- Skill/workflow profile audit: PASS
|
||||
- Codex skill quick validation: PASS
|
||||
- JSON parsing: PASS, 10 checked files
|
||||
- Git diff whitespace check: PASS
|
||||
- Version alignment: PASS at `0.3.0`
|
||||
|
||||
## Validator Coverage
|
||||
|
||||
- Required content-index fields
|
||||
- Unique content IDs
|
||||
- Unique paths
|
||||
- Safe repository-relative paths
|
||||
- Indexed-file existence
|
||||
- Related-content reference resolution
|
||||
- Declaration of `content-index.json` in `repository.json`
|
||||
|
||||
External URLs and the semantic accuracy of descriptions were not
|
||||
network-validated.
|
||||
Reference in new issue
Block a user