Skip to content

id: boundary declaration record and invariants (#5683 step 2) #7782

Closed

Description

@dezren39

Implementation step 2 of the design in #5683 (design record: doc/2026-11-08_design_id5683.md §2.3, §2.4, §7, PR #7781).

Scope

The BoundaryDeclaration record and its invariants:

  • Content-addressed id; every change is a new monotone version (no in-place edits of a live declaration).
  • enabled is true only by explicit admin/user action — the only default is false.
  • Reject at declaration time: enabled: true with empty enforcement (a boundary nobody enforces is a false promise).
  • Four failure behaviours only: deny / warn / step-up / quarantine.
  • Composability: intersection of server ∧ world ∧ user preference; a user preference can never widen a parent scope.

Acceptance

  • A declaration with enabled: true and no enforcement point is rejected with a named error.
  • Property test: effective(server, world, user) is a subset of server for all inputs (narrowing only).
  • A conflict yields a deny naming the denying scope, never a silent merge.

Design: doc/2026-11-08_design_id5683.md §2, §7. Parent: #5683.

Acceptance criteria

  • The problem described above is confirmed against current main (reproduced or traced to the named code path), or the issue is closed with that evidence.
  • A fix/implementation addressing the described behaviour is merged via PR referencing this issue, with tests naming their oracle where the change has meaningful invariants.
  • Related step/sibling issues from the same filing batch are cross-linked and any dependency is recorded as a native blocked-by relation.

Activity

  1. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
  2. added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 8, 2026
  3. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-08 14:12 CST
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: Intake pass on issue id: boundary declaration record and invariants (#5683 step 2) #7782.
    • Expectation: m — triage via the queue and route to the owning step of its parent batch.
    • Links: parent context in the issue title/body (filed 2026-11-08 in a numbered step batch)

    Related: filed minutes apart with its sibling step issues from the same batch (see the issue titles referencing the same parent); no merged PR or commit found at intake time that resolves this step — it reads as live, not solved.

    Notes: New, unlabelled at filing; acceptance criteria appended to the body by the monitor (original body preserved verbatim above the new section). Labels normalized: kind/enhancement, priority/normal, effort/m, status/needs-triage, app/id where the pkgs/id context applies, meta/enriched.

    Risks: Step-batch issues can duplicate or be superseded by the parent design's own decomposition — the triaging lane should confirm this step is not already covered by a sibling before implementing.

    Suggested approach: Triage through the queue; confirm scope against the parent issue, record any dependency as a native blocked-by relation, then route to a fix packet.

  4. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    and removed
    priority/normalOrdinary priority (the default)
    on Nov 10, 2026
  5. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Verdict: work kind task/small-fix · priority/high · effort/m
    • Priority why: priority/high — brief line 2: the ID program's design tracks carry Drew's standing fleet weight; id: boundary declaration record and invariants (#5683 step 2) #7782 is implementation step 2 of the ratified design(id): residency & boundaries framework — opt-in evidence, sanctions, and intranet-mode capabilities #5683 design.
    • First step: Implement the BoundaryDeclaration record and invariants per doc/2026-11-08_design_id5683.md §2.3/§2.4/§7: content-addressed id, monotone versions, enabled only by explicit action.
    • Acceptance: A declaration with enabled:true and empty enforcement is rejected with a named error; effective(server, world, user) is narrowing-only (property test); a conflict yields a deny naming the denying scope.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:7782 → queue repo-health-code-pilot. Enqueue result: enqueued new task 14559 (queue repo-health-code-pilot, status queued)
  6. 1 remaining item

  7. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: code-y
    task: 14559
    issue: #7782
    stage: handed_off
    note: Task 14559 (small_fix, issue #7782) handed off to the opencode claimant: lane assignment row 5751 is opencode. Issue #7782 OPEN, no hard-stop labels, no status/needs-triage (fresh, lane code-y 2026-11-10). Attempts 2/4. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Next: claimant launches the bound opencode session.

  8. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  9. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

  10. chatgpt-codex-connector commented on Nov 10, 2026

    @chatgpt-codex-connector

    You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard.

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/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions