Skip to content

Add classification security, migration, and replay conformance suite #9

Closed

Description

@CompleteDotTech

Goal

Prove the classification and domain-view implementation preserves TRACE-GC publication, evidence, security, and replay guarantees, including compatibility with older data.

Acceptance matrix

  • Multi-domain and unclassified sources; reclassification and retirement; assertion membership derived from evidence; cross-domain same-as/different-from and refutations.
  • Unauthorized source/domain labels, revoked or tombstoned sources, current ACLs on historical reads, and lexical/vector filtering before embedding.
  • Old database reopen/audit, append-only migration, exact historical assignment selection, stale index detection/rebuild, classification cache invalidation, and deterministic replay.
  • Forged classification, reviewer receipt, taxonomy revision, source hash/scope, and model-origin publication fail closed.
  • Both generated schema trees match; sdist/wheel validation and installed-wheel smoke pass. Run the normal release validation suite and record actual counts/results.
  • Pinned legacy source conformance and live deployment gates are reported separately from synthetic/reference tests; do not mark them passed unless executed.

Use targeted tests in tests/test_graphrag_security.py, tests/test_graphrag_retrieval.py, tests/test_runtime_transactions.py, and bridge conformance, with a concise validation report linked from the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:qualityenhancementinitiative:domain-graph

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions