Skip to content

Add records of processing dossier kind - #161

Merged
kreneskyp merged 10 commits into
mainfrom
codex/plat-1658-process-kind
Nov 16, 2026
Merged

kreneskyp merged 10 commits into
mainfrom
codex/plat-1658-process-kind

Conversation

@kreneskyp

Copy link
Copy Markdown
Contributor

Summary

Adds records-of-processing to DossierKind, makes version optional only for that kind (still required and non-empty for other dossier kinds), and updates the frontmatter schema, record schema, manifest extractor, mapping, example, skeleton contract, and focused validation tests. Also aligns threat-model with the merged FR-018 enum contract.

Updates the semantic build dependencies to public npmjs releases: @agent-ix/semantic-core 0.4.4 and @agent-ix/quire-cli 0.46.0. The previous semantic-core 0.3.3 lock referenced the private GitHub package registry and failed from a clean install.

Validation

  • poetry run pytest -o addopts='' -q tests/test_dossier_document.py — 28 passed.
  • npm run check — schema projection up to date (78 files).
  • poetry run ruff check tests/test_dossier_document.py — passed.
  • poetry run black --check tests/test_dossier_document.py — passed.
  • Quire CLI: 0.46.0 (engine 0.61.0); build/validation commands ran via locked-build.sh where applicable.

The Quoin dossier generator remains out of scope pending PLAT-1538 / PR #693.

@kreneskyp
kreneskyp requested a review from a team as a code owner November 16, 2026 07:32
@kreneskyp

Copy link
Copy Markdown
Contributor Author

PLAT-1658

@kreneskyp

Copy link
Copy Markdown
Contributor Author

Code-lead aggregate gate: the same three failures reproduce on a clean origin/main worktree using the same test environment and current sibling-module set. The focused run of tests/test_adr_links.py produced 3 failed, 6 passed.

Failing tests:

  • test_adr_realizing_a_part_draws_the_advisory_finding_naming_the_ids
  • test_adr_realizing_a_missing_id_fails_strict_with_a_located_error
  • test_relations_report_the_adr_as_realizing_fr_and_nfr

The failures are unchanged from clean main. Output includes DuplicateEdgeType for realizes_requirement, UnknownRole entries for roles absent from the loaded registries, and the corresponding advisory/error-count expectations. The PR does not modify these tests. The PR-specific mapping and dossier fixes pass their focused tests. These are recorded as clean-main baseline failures under the moving-main rule.

@kreneskyp

Copy link
Copy Markdown
Contributor Author

Final-head make test used Quire CLI 0.46.0 / engine 0.61.0 and current published cross-module fixtures: 527 passed, 1 skipped, 2 xfailed, 22 failed. The three ADR-link failures were already recorded above and reproduce on clean main. The remaining failures all report that engine 0.61.0 rejects traceability.trace_tags.formalizes, which is present in origin/main, and then fail dependent manifest/skeleton tests. I reproduced test_the_module_loads_with_every_declared_archetype and test_the_added_standard_locators_are_optional_and_omittable on a clean detached worktree at origin/main 2a7f385, with the same error. This is clean-main baseline evidence; no additional changed test failure is introduced by this PR. The final-head make lint passed in the coder's locked-build run.

@kreneskyp
kreneskyp merged commit 9abcbca into main Nov 16, 2026
3 checks passed
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