Assemble a README Ledger From Entry Points and Tests; Sign Guarantees by Hand
Описание и применение
Создайте JSON‑лидер, разделяющий факты о проекте (команды, тесты, опции) от контрактных и поддерживающих утверждений, чтобы ревью сосредоточился на контрактах, а не на форматировании.
Задача
Generated README prose can overwrite or hide contract details, leading to silent compatibility changes, missing secrets, or invented support windows.
Результат
A structured ledger that clearly distinguishes inventory from contract and support claims, reducing review friction and preventing accidental contract violations in README updates.
Рабочий процесс
- Collect repository facts: parse pyproject.toml for project name, scripts, optional-dependencies; run pytest --collect-only to gather test node identifiers.
- Store any collection failures as ledger defects; do not guess missing data.
- Generate a proposal JSON ledger (readme_ledger.json) with inventory arrays populated and contract/support cells set to null.
- Review the ledger output locally, inspect unsigned cells, and add signatures (dates) where appropriate.
- Update the README using the ledger as source of truth, keeping human-signed contract and support statements separate from autogenerated inventory tables.
Доказательства
Inventory facts can be compiled from entry points, pytest node identifiers, and package metadata with deterministic scripts.
If a sentence cannot be regenerated from repository facts, it belongs in a contract or support lane and stays unsigned by default.
- Дата записи: 2026-09-21T22:30:36.148Z