Skip to content

Model low-risk ESP32-C3 permission boundary - #9

Merged
zoahdev merged 15 commits into
mainfrom
agent/esp32-c3-proof-design
Aug 14, 2026
Merged

Model low-risk ESP32-C3 permission boundary#9
zoahdev merged 15 commits into
mainfrom
agent/esp32-c3-proof-design

Conversation

@zoahdev

@zoahdev zoahdev commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Stack order

This Draft PR is intentionally stacked on #10, which is stacked on #11. Review/merge in this order: #11#10#9. The remaining diff here is the non-normative ESP32-C3 device-boundary experiment only.

What changed

  • add experimental host/device command, challenge, acknowledgement, and replay models under kinegrant.experimental;
  • require one atomic device-command issuance per gate-consumed VerifiedCapability;
  • add persistent issuance and simulated device replay state across restart;
  • add strict bounded NDJSON framing that fails closed on malformed, oversized, truncated, duplicated-key, non-finite, or encoding-invalid input;
  • publish four Draft 2020-12 evidence/device Schemas and an independent physical-proof evidence verifier;
  • document a reviewed low-risk paper-barrier hardware/power boundary and prohibited devices.

Truthful status

This is design and simulation evidence only. The physical evidence template validates only as NOT_RUN. No hardware movement, physical PASS, functional-safety property, production readiness, or certification is claimed.

Why

The software ActionGate is insufficient if an actuator still accepts arbitrary serial commands. This experimental profile makes the host-to-device boundary reviewable before firmware and hardware are introduced, while preserving KGP-001 v0.1 unchanged.

Implementer impact

No normative KGP wire-object change. The model is isolated under kinegrant.experimental. Future firmware must preserve fail-closed invariants, and a physical result must contain byte-verified firmware, wiring, logs, video, receipts, and device acknowledgements before the independent verifier can return PHYSICAL_PASS.

Validation

  • 74 tests passed locally;
  • physical evidence template: NOT_RUN as required;
  • concurrent one-winner and restart-persistence regressions passed;
  • strict serial framing regressions passed;
  • compileall passed;
  • wheel and sdist passed;
  • git diff --check passed.

@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch from 33003d4 to 7927fba Compare August 11, 2026 00:50
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch from 24cc035 to 5254c71 Compare August 12, 2026 04:31
@zoahdev
zoahdev changed the base branch from main to agent/global-beta August 12, 2026 04:31
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch 5 times, most recently from 07146d2 to 5bc71df Compare August 12, 2026 05:00
@zoahdev
zoahdev force-pushed the agent/global-beta branch from c9412ec to b11b936 Compare August 12, 2026 05:01
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch 2 times, most recently from 224f7b0 to 2d7aa0a Compare August 12, 2026 05:08
@zoahdev
zoahdev force-pushed the agent/global-beta branch from 485d3e6 to 69d9b0c Compare August 12, 2026 05:11
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch from 2d7aa0a to e784b81 Compare August 12, 2026 05:11
@zoahdev
zoahdev force-pushed the agent/global-beta branch from 69d9b0c to ff95a0f Compare August 12, 2026 05:12
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch from e784b81 to 25c3ab9 Compare August 12, 2026 05:13
@zoahdev
zoahdev force-pushed the agent/global-beta branch from ff95a0f to 5257de8 Compare August 12, 2026 05:23
@zoahdev
zoahdev force-pushed the agent/esp32-c3-proof-design branch from 25c3ab9 to 33b6639 Compare August 12, 2026 05:23
Base automatically changed from agent/global-beta to main August 14, 2026 01:43
@zoahdev
zoahdev marked this pull request as ready for review August 14, 2026 01:47
@zoahdev
zoahdev merged commit 6b373d8 into main Aug 14, 2026
11 checks passed
@zoahdev
zoahdev deleted the agent/esp32-c3-proof-design branch August 14, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant