Commit before release for every class; on commit failure restrictive effects are released and counted released_uncommitted, allow/audit_only are withheld. Withholding a deny would be fail-open at open-stance consumers. Measured cost ~1.1 ms per durable append on railiance01. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 307130@bnt-lap001 Assistant-Session: 270c79f7-0823-4b0d-990d-aad5af9935ce
3.9 KiB
| id | type | title | domain | repo | status | flavor | owner | topic_slug | planning_priority | planning_order | related_workplans | created | updated | state_hub_workstream_id | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLEX-WP-0031 | workplan | The decision record has a declared emission guarantee and nothing that delivers it | infotech | flex-auth | active | implementation | claude | netkingdom | P1 | 310 |
|
2026-09-21 | 2026-09-23 | 84f5d9fe-b4c9-584a-b964-efe3e48af095 |
FLEX-WP-0031 — Deliver the decision-record emission guarantee
GH-DEC-2026-018 ruled that flex-auth is the §4 source of evidence for the
decision record, and that it is not conforming on §11 until it declares and
delivers a per-event-class emission guarantee. The declaration is published
(cadence.yaml, FLEX-WP-0030-T07). Nothing emits: the decision record reaches
consumers only in the /v1/check response, no sender named flex-auth or
access-engine is registered with audit-core, and there is no outbox,
heartbeat or reconciliation count. This plan closes declared gap G2
(docs/conformance/security-layer-conformance.md, review 2026-10-19).
Bound, stated up front so no argument rests on more: heartbeat and reconciliation detect loss, outage, drain failure and accident. Neither detects a compromised flex-auth suppressing a record and its own count together.
1. Decide emission atomicity
id: FLEX-WP-0031-T01
status: done
priority: high
state_hub_task_id: "2dbc225f-d762-537b-9a24-ab2b17fc2fa2"
GH-DEC-2026-018 left open whether decision-record emission must be atomic with
the decision (§9.4), pending the class inventory. It exists now. Decide whether
a rare load-bearing decision (deny) may be returned before its record is
committed to the outbox, and record the answer as a FLEX-DEC. Gate: decided,
with the latency cost stated.
Done 2026-09-23: FLEX-DEC-2026-018. Every decision is released only after its
record commits to the local outbox. When the commit fails, restrictive effects
(deny, redact, not_applicable) are still released and counted as
released_uncommitted, while allow and audit_only are withheld (503).
Withholding a deny would turn it into an error that an open-stance consumer
treats as proceed. The measured cost is about 1.1 ms per durable append on
railiance01. The ruling puts two requirements on T03: the outbox needs a PVC,
and the node disk is at 84 %.
2. Register flex-auth as an audit-core sender
id: FLEX-WP-0031-T02
status: todo
priority: high
state_hub_task_id: "89661908-ca9a-5e4a-a0a5-62d1a9e02568"
Open an intake with audit-core (worked examples AUDIT-IN-0002,
AUDIT-IN-0003): sender registration, evidence_kind, heartbeat_classes per
class exactly as cadence.yaml publishes them, and a token lane routed via
warden route find. audit-core has said it accepts the classification as
supplied and will not infer it. Gate: sender registered; no secret in any file.
3. Transactional outbox, heartbeat and reconciliation counts
id: FLEX-WP-0031-T03
status: todo
priority: high
state_hub_task_id: "a59603d5-8954-5b05-b1a0-b143c82e439b"
Emit one event per decision into a local outbox, drained to audit-core
POST /v1/events; a daily flex-auth.decision.heartbeat; committed counts per
class exposed for GET /v1/reconciliation; lag bound per cadence.yaml.
Gate: cadence.yaml validates under the net-kingdom emission-cadence profile
checker with the inventory supplied as --rare-load-bearing/--load-bearing
assertions; tests assert the declared classes equal the DecisionEffect
vocabulary so a new effect cannot ship unclassified.
4. Close G2
id: FLEX-WP-0031-T04
status: todo
priority: medium
state_hub_task_id: "423b3090-1b72-58fd-9353-5c907c7683bb"
Change cadence.yaml state to emitting, move G2 out of the gap table with the
evidence, and tell gate-house, audit-core and kings-guard. Gate: a silence
finding is observed on a deliberately withheld heartbeat in a non-production
run.