8000 T9 — Append hash-chained audit records the proxy alone writes · Issue #2262 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T9 — Append hash-chained audit records the proxy alone writes #2262

Closed

Description

@norrietaylor

Task

slice size difficulty model who estimated lines
Clone, push and gh from a box with no token in it L needs care standard an agent 540 (300 code, 240 tests)

Every decision appends one chained record naming the box and the authority, never a credential or a body.

Covers:

  • BEP-039
  • BEP-040
  • BEP-041
  • BEP-048

Layers:

  • audit:
    • crates/bep/src/audit.rs (new): min/v1 JSONL records of BEP-039 built from the decision alone, chained per BEP-048, opened append-only
    • crates/bep/src/lib.rs: module line
    • cargo nextest run -p bep every_decision_appends_one_audit_record
    • cargo nextest run -p bep prop_audit_records_never_contain_secrets
    • cargo nextest run -p bep audit_log_is_opened_append_only
    • cargo nextest run -p bep audit_record_carries_previous_hash

Waits on:

Plan block
### T9 — Append hash-chained audit records the proxy alone writes
  slice: S0
  kind: task
  covers: BEP-039, BEP-040, BEP-041, BEP-048
  size: L
  est: 300 code, 240 tests
  executor: agent
  difficulty: needs care
  model: standard
  diagnostics: the log is plain JSONL under the proxy's state directory, one record per decision, readable with `min box audit <box>` once that task lands
  observability: the audit log is the record; one warn log line if an append fails, naming the path
  layers:
    - audit:
      - crates/bep/src/audit.rs (new): `min/v1` JSONL records of BEP-039 built from the decision alone, chained per BEP-048, opened append-only
      - crates/bep/src/lib.rs: module line
      test: cargo nextest run -p bep every_decision_appends_one_audit_record
      test: cargo nextest run -p bep prop_audit_records_never_contain_secrets
      test: cargo nextest run -p bep audit_log_is_opened_append_only
      test: cargo nextest run -p bep audit_record_carries_previous_hash
  produces:
    - crates/bep/src/audit.rs
  consumes: none
  proof: Every decision appends one chained record naming the box and the authority, never a credential or a body.
  depends on:
    - blocked by #2258

Activity

  1. added
    kind:taskA task the plan skill rendered; the body carries ## Task
    size:L500 to 900 net lines; one PR, and the ceiling
    model:standardA standard model: work that needs care, or routine work that is large
    on Oct 17, 2026
  2. minimal-foundry commented on Oct 19, 2026

    @minimal-foundry
    Contributor

    Done. #2361 merged.

    branch agent/2262-append-hash-chained-audit-records-the-proxy-alon · epic #1501 · PR #2361

    round outcome job
    1 pushed 8a6c7313
    2 pushed 7cffa0bc
    3 pushed 8cd328e5
    4 pushed 8aa6684f
    5 pushed dcb28155
    6 pushed 2c4a3858

    Updated 2026-10-20T02:06:36.918Z.

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

    kind:taskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largesize:L500 to 900 net lines; one PR, and the ceiling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0