Skip to content

broker-tls BT-6: Phase 2 across brokers — optional client certs, identity logging, cert-token pairing census #14404

Backlog

Description

@developing-today-fleet

Parent: #13685 (broker TLS design line, fleet CA program #9155). Design of record: doc/2026-11-24T13-59-26Z_design_broker-tls/2026-11-24T13-59-26Z_design_broker-tls.md (PR #14398). Drew's ruling (2026-11-23) governs: long-term plan line, not a Phase 1 blocker, gates nothing; interim token auth stands. DESIGN-PROGRAM BUILD SLICE — production rollout is explicitly out of scope; production enablement follows the program production gate on #9155. Not enqueued as a live queue task at filing: this slice activates in the program's later order, after the #13685 design is accepted (reason recorded here per the filing rule).

Scope (design record §5.2 Phase 2):

  • All three brokers accept optional broker-client leaves on their TCP legs; the certified identity is logged alongside the token identity on every request.
  • Mismatched cert/token pairings are logged, never denied, in this phase.
  • The pairing census produced by this phase is the Phase 3 admission list: the recorded set of legitimate cert-identity ↔ token pairings per broker, published as an artifact of this slice.
  • Token remains required at all times; certificates augment, never replace (record §5.1).
    Depends on: BT-3, BT-4, BT-5.

Acceptance: identity logging live on all three brokers in a synthetic estate; pairing census artifact produced; zero denials attributable to this phase.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T14:02:56Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "c11f41086f57d626be7eb582763b721f8f557408"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • All three brokers accept optional broker-client leaves on TCP legs and log the certified identity alongside the token identity on every request.
  • Mismatched cert/token pairings are logged, never denied, in this phase; the token remains required at all times.
  • The pairing census (legitimate cert-identity ↔ token pairings per broker) is published as an artifact of this slice, as the Phase 3 admission list.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. added
    kind/infrastructure
    priority/normal
    effort/l
    status/needs-triage
    meta/enriched
    on Nov 24, 2026
  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-24 15:14 CST
    • Found via: monitor reconciliation (intake enrichment, protocol §5)
    • Task: Intake pass — acceptance criteria appended to the body (original preserved), labels normalised, meta/enriched applied.
    • Expectation: triage and route; acceptance criteria are in the issue body.
    • Links: this issue.

    Notes: Verified still open and live at intake time; no merged PR was found that explicitly resolves this issue, so it was not closed. Related items and risks are as named in the issue body itself.

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Triage (lane 9, queue task 23904, 2026-11-26): valid, but not ready yet.

    This slice depends on BT-3 (#14401) and BT-5 (#14403), which are both open. BT-4 (#14402) is closed. BT-3 and BT-5 in turn wait on BT-2 (#14400), which is also open. No small fix applies.

    Verdict: the queue task is blocked on #14401.


    Generated by Claude Code

  5. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Triage refresh (lane oc-code-04, queue task 23904, 2026-11-26): valid, not ready. BT-3 (#14401) is now closed; its Phase 1 implementation merged as #15152. BT-4 (#14402) is also closed. BT-5 (#14403) remains open and is explicitly listed as a BT-6 prerequisite; BT-2 (#14400), upstream of the broker phases, is also open. The issue scope requires coordinated changes across all three brokers and the pairing census, so no safe independent slice was identified ahead of BT-5. No small fix applies. Verdict: blocked on BT-5 (#14403); revisit when it closes.

  6. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).

    Verdict: blocked. The filing-time dependency list is stale in-thread (BT-3 has since closed) — later comments correct it; this comment pins the corrected state. The pairing-census-as-Phase-3-admission-list framing is precise.

    Blocker: BT-5 #14403 only. (BT-3 #14401 closed via PR #15152; BT-4 #14402 closed.)

    Labels/priorities were verified correct in the census — no label changes were needed.

  7. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).

    STRENGTHS: Phase 2's value is the census, not just the certs (optional client certs + identity logging produce the BT-6 pairing census that Phase 3 enforces against), and the triage record tracks the chain's movement (BT-3 #14401 and BT-4 #14402 have since CLOSED; their merges are credited). kind/infrastructure + priority/normal already set.

    GAPS: The dependency set was prose-only. Of the two named dependencies, BT-3 is closed and BT-5 (#14403) remains open — the live gate — with no native edge.

    FIXES I APPLIED: Added the blocked_by edge to #14403 (verified OPEN).

    REMAINS: Nothing for Drewry.

  8. added
    status/blocked
    and removed
    status/needs-triage
    on Nov 29, 2026
  9. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Issue census — 2026-11-29

    Gaps found

    • status/needs-triage understated reality — the 2026-11-26 triage note on this issue records state=blocked with named dependencies; corrected to status/blocked.

    Strengths

    • Body names the phase scope (Phase 2), the design sections, and carries an ## Acceptance criteria section.

    Blocker recorded

    Actions taken by this census

    • Labels added: status/blocked.
    • Labels removed: status/needs-triage.
  10. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    Triage refresh (lane oc-code-06, queue task 23904, 2026-11-29): valid, still not ready.

    Re-validated at this pass:

    The scope requires coordinated changes across all three brokers plus the pairing-census artifact, so no safe independent slice was identified ahead of BT-5; no small fix applies and nothing to close here. The pairing census (legitimate cert-identity <-> token pairings per broker, published as the Phase 3 admission-list artifact) stays gated behind BT-5.

    Verdict: blocked on BT-5 (#14403); queue task 23904 is recorded blocked on that issue with a dependency recheck, not on a person.

  11. added
    queue/blocked
    on Nov 30, 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

    effort/lkind/infrastructuremeta/enrichedpriority/normalqueue/blockedstatus/blocked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions