Skip to content

Domain-aware evidence graph: classification, retrieval, and storage decision #4

Open
5 of 7 issues completed

Description

@CompleteDotTech

Outcome

Implement versioned, multi-label research-domain classification and domain-aware retrieval for TRACE-GC, while preserving one authoritative evidence graph per trust and transaction boundary. Make the later physical storage decision from isolation requirements and representative workload measurements.

Architecture and boundaries

  • Research domains are topical metadata. They are distinct from relation domain/range types, ontology_scope, topology-derived community_scope, and the existing tenant/ACL security_scope.
  • A source may have multiple domains or be explicitly unclassified. Classifications do not change immutable source/evidence hashes or turn model output into graph truth.
  • Domain scope guides authorized search; the full authoritative snapshot remains available to identity, graph constraints, publication, and audit. Cross-domain evidence and contradictions must remain explainable.
  • No physical database per research domain is assumed. Dedicated storage is justified by a hard isolation requirement or a documented workload decision.

Completion gates

  • Reviewed classification contracts and taxonomy are versioned and packaged.
  • Classification publication, migration, replay, and pinned legacy compatibility pass conformance.
  • Every retrieval channel enforces the same authorized domain-view semantics, including lexical/vector candidates before embedding.
  • Revocation, historical reads, cache invalidation, multi-domain sources, and cross-domain identity/conflict tests pass.
  • Representative workload data and an architecture decision record justify shared storage, dedicated isolation, or further sharding work.
  • A selected deployment backend meets the production adapter and operational acceptance gates before any production-ready claim.

Linked work

These are also linked as native sub-issues with dependency relationships. Close this parent only after every required child is complete and external gates are reported accurately; synthetic/reference validation alone is not production qualification.

Unmerged implementation and validation checkpoint — 2026-09-27

The epic and all seven children remain open. A follow-on execution recovered the earlier #5/#6 candidates and implemented normal-module classification bundle verification, pinned-legacy publication/audit integration, journal-verified indexed reads, current revocation on historical reads, scoped retrieval across all 18 built-in strategies, planner/replay/compiler/reranker scope propagation, synthetic workload instrumentation and sandbox operational recovery checks. These changes are not on main and do not establish deployment acceptance.

The downloadable execution artifact includes jraphyte-domain-graph-combined.patch, 407,962 bytes, SHA-256 9d22d805fd5d8ae72b684e5a48cc183cb39a2fd1950d89a4789c563e4edc1f06, based on main d5ca636a48e963619f4c89e2958d0bb1a3e72f80. Its 71 changed paths were checked against verified source-subset preimages and exact postimages. The three-patch recovery chain is also included. This is not a signed Git commit or a claim that the source subset is a full checkout.

Actual validation in this execution:

  • 190 distinct targeted tests passed, zero failures/errors/skips: 52 contracts, 49 reference publication, 15 full bundle, 14 exact pinned-legacy integration, 25 indexed reads, 26 retrieval, and 9 workload/recovery tests. The 18-channel matrix is within those tests, not 18 extra tests. Eight isolated-process batches used identical runtime/test/schema source; earlier interrupted combined runs remain documented rather than reported as passes.
  • The original pinned-legacy conformance command passed all 11 checks against actual core Git blob 68217feec539d37e4a524432c93df035f9a0fe39. The exact core was retrieved and hash-verified; it is not vendored or reconstructed. Fixtures remain synthetic, with zero provider calls and zero production graph writes.
  • Five online-backup/native-reopen/corrupt-index recovery checks passed separately on each of the reference and pinned-legacy sandbox stores.
  • Both 32-schema trees are byte-equal and regenerate without changes. Installed-wheel validation was extended to indexed scoped reads and historical revocation, but the complete project wheel and full repository release runner remain NOT RUN. The validator syntax check is not installed-wheel acceptance.
  • A 16-query synthetic workload used two independent connections to one disposable SQLite authority. The proposed ADR retains logical views for reference development and defers production placement until representative workload, isolation, owner and SLO evidence exists. No per-domain database, physical split or speculative split implementation issue was created.

Delivery remains blocked: a fresh native Git commit-object probe 0c0f6949e30f6b4e0388a9445a14ee362b7aec3d returned verification.verified=false, reason unsigned. No ref was moved to it. No local configured Git signer/workstation is accessible; container GitHub cloning failed DNS. GitHub reads and issue updates work. Detailed branch protection returned 403; no protections or review requirements were changed or bypassed. No code branch was published, PR opened, hosted CI run for this candidate, review obtained, merge performed, or workstation main synchronized.

See #11 for the deployment blockers. Earlier notes saying the exact legacy source was unavailable apply to those earlier executions; they do not describe this checkpoint. Labels, milestone, native dependency chain #5 → #6 → #7 → #8 → #9 → #10 → #11, and unchecked completion gates are retained.

Separate verified-integration candidate — 2026-09-27

PARTIAL_UNMERGED. This additional receipt belongs to the domain-graph/verified-integration-20260927 execution. It preserves the preceding independent checkpoint; its patch bytes and counts must not be combined with the preceding candidate or assumed interchangeable. The new remote branch was created at existing main d5ca636a48e963619f4c89e2958d0bb1a3e72f80 only. No implementation commit was placed on it, no PR opened, and no merge performed.

Seven ordered raw patches are retained in jraphyte-domain-delivery.zip, one for each issue's implemented scope. patches/series.json SHA-256: d7eeeada5c80372d01b3f15c410189badbd58c55c1e53f3723ee6a21c0ef67db. Each patch applied cleanly after its predecessors to a verified-source subset and reproduced its exact candidate bytes. Each isolated stage passed its targeted tests: #5 52; #6 58; #7 32; #8 52; #9 49; #10 11; #11 6. These repeat the same covered tests, not additional distinct tests, and are not hosted CI.

The final combined normal-module run passed 331 tests, zero failures, errors or skips: 260 domain cases (52 contracts, 49 reference publication, 9 full-bundle/retry, 32 indexed reads, 49 all-channel retrieval, 49 exact pinned-legacy domain cases, 3 semantic-boundary, 11 workload protocol, 6 deployment-input validation), plus 71 unchanged upstream retrieval/security tests. Final report SHA-256: d50d944e1b6c82f1e6e1a4108765eea586e17da7feea79304b4bf8b8535250b0. Both emitted schema trees contain 32 byte-identical, generator-verified schemas; original source/evidence schemas and upstream regression test blobs remain unchanged. The original 11-check exact pinned-legacy gate and four-transaction reference lifecycle also passed separately. The reviewed core was actually retrieved/hash-checked and is excluded from the deliverable rather than vendored.

Implemented candidate scope: reviewed immutable multi-label classification; audited append-only publication/migration and real pinned-legacy bridge; atomic rebuildable versioned index; current source active/READ/tombstone checks on historical reads; shared domain membership across all 18 retrieval channels before embeddings; authorized cross-domain identity/prerequisite/refutation closure; exact context/lineage/cache/planner/replay bindings; current ACL/status recheck before semantic reranking; schema generators and supplemental validation. The tests exposed and cover the historical inactive-source bypass, duplicate shared-evidence closure links, stale retry credentials and legacy idempotency error normalization.

The workload runner completed 36 synthetic queries through three independent read connections and two reviewed writes, followed by six historical-revocation queries. It retained the exact public-key-only synthetic journal for replay. See #10 for measured values, limitations and the proposed, not accepted, placement ADR. #11 has a fail-closed prerequisite manifest checker, not an implemented deployment-native adapter.

Remaining gates: complete-repository normal release validation; genuine complete-project sdist/wheel and installed-wheel execution; authorized signed commits, PRs, hosted CI, required independent review, merge and local-main synchronization; representative workload/isolation/SLO evidence and designated decision ownership; actual deployment-native adapter and operational/provider/trust/independent-label/pilot qualification. The full source checkout and workstation signer are unavailable here; the delivered test subset is not a project release. The independent initiative is therefore not fully finished. No production gate is waived, no research-domain database split is created, and no child or parent acceptance box is checked. Reconcile this candidate with any concurrent candidate before applying overlapping changes in an authorized checkout.

Sub-issues

Sub-issues

5 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added
    enhancement
    initiative:domain-graph
    on Sep 27, 2026
  2. CompleteDotTech commented on Oct 7, 2026

    @CompleteDotTech
    CollaboratorAuthor

    Delivery orchestration has started from current main 04acabedcfff1cef9871087fd6a6374375ab5ebf.

    An actual claude-sonnet-5-5 worker is reconciling the preserved domain candidates and integrating contracts, reviewed publication/migration, indexed reads, ACL-safe all-channel retrieval and conformance for #5–#9 in an isolated owned branch. A separately invoked gpt-6-astra reviewer is inspecting candidate correctness; fresh approval of the final proposed head will be required before merge. Historical test receipts will not certify the new integration.

    The current historical-read inactive-source bypass is included in the repair scope. Existing worktrees and candidate artifacts remain preserved. Representative workload/ADR acceptance (#10) and actual deployment-native qualification (#11) remain separate outstanding outcomes; neither is claimed by this implementation task.

    No implementation has been published or merged by this run yet, and no issue acceptance box is changed. Paper corpus/controller histories, expired cutoffs, unknown provider outcomes and shared workloads remain untouched. This checkpoint records active ownership and scope, not completion.

  3. CompleteDotTech commented on Nov 18, 2026

    @CompleteDotTech
    CollaboratorAuthor

    Reference delivery for #5 through #9 is complete. It covers versioned classification, signed append-only publication, consistent indexed reads, authorized scope across all 18 retrieval strategies and exact release conformance. #135 delivers the authored workload instrumentation and proposed storage ADR for #10. The reference taxonomy is still a proposal awaiting a taxonomy owner’s review for actual application scope. Release evidence · Workload evidence

    The data and deployment owners must provide and approve the representative workload inputs and production placement decision in #10. The deployment owner must select the actual backend and approved target, supply application trust, isolation, retention, recovery and SLO requirements, and complete the deployment-native adapter and operational acceptance in #11. Finish the epic when the taxonomy approval and both owner-backed acceptance receipts are in place.

    The reference commands are in #10. After a backend and approved target are assigned, run #11’s prerequisite manifest checker with python tools/check_domain_deployment.py --manifest authorized-input-references.json --output readiness.json on its documented preserved checker revision. The authorized operator then runs the selected adapter’s conformance and operational recovery procedure from #11. Placement requirements · Deployment acceptance

  4. added
    status:blocked
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementinitiative:domain-graphstatus:blocked

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions