feat: harden work-record and SBOM client contracts

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a023c0-a0a3-7c03-b395-5a0d2757214d
This commit is contained in:
tegwick 2026-08-22 23:19:36 +02:00
parent 2577379e36
commit 84952c5212
16 changed files with 605 additions and 30 deletions

View file

@ -71,7 +71,9 @@ def iter_record_files(repo_root: Path) -> list[Path]:
root = repo_root / relative
if root.is_dir():
files.update(path for path in root.rglob("*.md") if not path.name.startswith("."))
for name in ("INTAKES.md", "DECISIONS.md"):
# Fleet repositories use both title-case conventions. Keep these explicit:
# arbitrary top-level Markdown remains outside the governed record surface.
for name in ("INTAKES.md", "DECISIONS.md", "intakes.md", "decisions.md"):
path = repo_root / name
if path.is_file():
files.add(path)