Skip to content

Federated-search tampering threat model: omission/injection/reordering/staleness and completeness claims #10279

Done

Description

@dezren39

Problem and goal

Federated-search tampering threat model: omission/injection/reordering/staleness and completeness claims as an independently reviewable contract and implementation increment.

Version and design basis

Version: V4. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md#component-dispositions-and-statement-coverage (section: Component dispositions and statement coverage).
Tier: contingent. Start trigger: Research slice deliverable remains scoped; any implementation/adoption is triggered only by the versioned-design evidence threshold or a demonstrated abuse/workload need, and may conclude adopt-none.
Statement IDs: S1.109, S1.110, S1.111, S1.112, S1.113
Enables: Defines what result tampering is detectable and where omission proof is absent.

Scope and ownership

Parent: #9148 (native component/meta parent).

Test / evidence first

Create or validate pkgs/id/crates/id-sync/tests/federation_b30.rs first. Proposed command: cargo test -p id-sync --test federation_b30
Oracle: model — expected Invalid injection is rejected; omission is not asserted unless matching completeness claim and proof obligations exist.; verifier: Independent reference state machine or golden fixture in the dedicated integration test; cryptographic tests use independent vectors, not the implementation under test..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Mark remote result completeness unknown and stop federated integrity claims; preserve local-only search.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Acceptance criteria

  • The federated-search tampering threat model is delivered per the body (parent research(id): takeover resistance + acknowledgment-based inconsistency detection #9148): omission, injection, reordering and staleness are each analysed, and what tampering is detectable (and where omission proof is absent) is stated explicitly.
  • Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
  • Follow-on work, if any remains, is filed as its own issue and linked here.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked (dependency) — mandatory preflight result
    task: 17118
    issue: #10279 (ID/Atlas slice B30)
    lane: code-c (repo-worker-code)
    at: 2026-11-14T18:15Z

    Preflight performed exactly as the B30 packet mandates (triage/preflight only; no implementation attempted, no production rollout authorized):

  3. added
    queue/blocked
    status/blocked
    work/assigned
    on Nov 14, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — openchamber scheduled lane (code-g), queue task 19211 (triage). Verdict: still blocked. Fresh check 2026-11-17: #10279 OPEN; blockers #10249 and #10266 still OPEN (#10160 is CLOSED). Work stays paused until they close. Task blocked with reason class blocked.

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — worker repo-worker-code (openchamber scheduled lane code-f), queue task 17118: native-blocker preflight verified 2026-11-17. #10160 CLOSED; #10249 and #10266 still OPEN. Blocked (blocked/waiting on native blockers). No implementation performed.

  6. removed their assignment
    on Nov 20, 2026
  7. removed
    status/blocked
    on Nov 20, 2026
  8. 17 remaining items

  9. added
    app/id
    effort/m
    on Nov 29, 2026
  10. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Wave-2 residual pass. A parallel census note (Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.

    Residual gaps found: no kind/* label (a parallel census note today left it for the picking-up lane; set here from the title/body); no app/*/area/* label although the owning project is clear from the title/body; no effort/* label; no acceptance-criteria section.

    Actions taken: labels added: kind/security, app/id, effort/m; appended ## Acceptance criteria (original body text unchanged above it).

    Blocker recorded in this census note: the issue carries status/blocked + queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.

    Priority: priority/normal retained — matches the work's urgency as evidenced on the issue; no band change in this pass.

  11. removed
    status/blocked
    queue/blocked
    on Nov 30, 2026
  12. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P0.5 silently-unblocked clearance (Felix lane 0640-PB, 2026-11-30, Refs #17071). Live re-verification: all three native blockers are CLOSED (#10160, #10249, #10266 — the latter two closed after the Nov-17/20 blocked preflights on this issue); no open native blockers, no active external holds. Removed the three stale closed blockedBy edges and the stale status/blocked + queue/blocked labels. After (verified by re-read): blockedBy empty, no blocked labels. This issue is unblocked.

  13. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Claim — lane 0537-I (Archer, alpha DRIVE 2026-11-30 05:37 CST), fallback rank 141.

    Taking #10279 now that Felix lane 0640-PB's P0.5 clearance (2026-11-30T09:21:15Z) removed the last stale blockers: all three native blockers CLOSED (#10160, #10249, #10266), blockedBy empty, blocked labels removed — "This issue is unblocked." No claim or implementation followed that clearance (verified live this lane: last comment is the clearance itself; list claimed=true traces to the contingent 0640-BD preflight, which performed no implementation).

    Scope this lane: the threat-model deliverable — federated-search tampering (omission / injection / reordering / staleness) and completeness claims, grounded in the settled design (doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-b/versioned-design.md) and the named code surface (pkgs/id/crates/id-sync/src/federation/slices/b30_search_integrity.rs, pkgs/id/crates/id-sync/tests/federation_b30.rs) — landed as a dated design record in the code repo via PR, full-diff verified before merge. CI is not a gate (standing rule).

    Gate: two consecutive timeout 120 gh api rate_limit rc=0 firsthand this lane (core 4845→4818, graphql 4954→4953) after two split attempts during the seat transport flap. Key: 0537-I

  14. added 3 commits that reference this issue on Nov 30, 2026
  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Resolution — lane 0537-I (Archer, alpha DRIVE 2026-11-30): the B30 threat model is DELIVERED; closing #10279.

    • PR doc(id): federated-search tampering threat model for #10279 (B30) #17175 MERGED 2026-11-30T12:01:31Z (merge a7008ee37f9550a1acd7bf6de4a14d7e57635193): the threat-model record doc/2026-11-30T11-57-48Z_design_federated-search-tampering-threat-model_10279/ + doc/README.md index entry. Verified before merge by full-diff read (exactly the two intended files, +70/−0 and +1/−0) and a byte-identical read-back of the record from the PR head. CI not used as a gate (standing rule).
    • Acceptance 1 ✅ — omission, injection, reordering and staleness are each analysed against the landed substrates (B17 Query/relay/response signature validation, end-to-end responder provenance and stable request identity #10249: signature validation, responder provenance, stable request identity; B29 Ack/recipient-list contradiction detection, evidence retention, collusion threshold and public-log integration #10266: ack/recipient-list contradiction detection, evidence retention, collusion threshold, public-log integration), with the explicit detectability statement the issue requires (§6 matrix): injection is rejected at the gate; omission proof is absent in the general case — assertable only where a completeness claim and proof obligations both exist, otherwise completeness is marked unknown (the body's own rollback posture); order is attested, not verified; staleness is detectable only with a signed index-epoch witness. Collusion at/above the B29 threshold degrades every cross-check-based detection to not-assertable.
    • Acceptance 2 ✅ — evidence is this PR/record, linked here.
    • Acceptance 3 ✅ — the remaining work (the contingent implementation increment, b30_search_integrity.rs + federation_b30.rs) is filed as its own issue: B30 implementation increment (contingent): b30_search_integrity.rs + federation_b30.rs per the #10279 threat model #17176, carrying the contingent trigger (versioned-design evidence threshold or a demonstrated abuse/workload need; adopt-none until then), the oracle, and the test-first requirement.
    • Priority validation 0537-I: priority/normal concurred (contingent research slice; no live consumer waiting).

    Claim history for the record: this lane claimed at 11:54:55Z (comment 7277694928) after Felix lane 0640-PB's 09:21Z clearance removed the last stale blockers; gate was two consecutive timeout 120 gh api rate_limit rc=0 firsthand (core 4845→4818). Key: 0537-I

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

    app/ideffort/mepic/id-programkind/securityprimary-parent/id-programpriority/normalstray-workwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions