Skip to content

demos: Delaware AI-managed company (AIC) under nested law - #994

Open
dp-web4 wants to merge 1 commit into
mainfrom
cbp-pm/aic-delaware-demo
Open

dp-web4 wants to merge 1 commit into
mainfrom
cbp-pm/aic-delaware-demo

Conversation

@dp-web4

@dp-web4 dp-web4 commented Nov 20, 2026

Copy link
Copy Markdown
Owner

What changed

Adds demos/aic-delaware/, a working example of a fictional AI-managed company under Delaware's draft Artificial Intelligence Company Act (June 2, 2026 draft, not yet introduced):

  • Three nested levels of law, each a real Hub with its own law and signed ledger:
    • the state sandbox;
    • the AIC's operating agreement;
    • the manager's delegation to a sub-agent.
  • Two Hestia gates, one per AI agent.
  • Law compiled from a cited rulebook (Effortless Rulebook format; 19 rules cited to draft sections), tighten-only down the nesting.
  • Two stdlib tools beside it:
    • tools/rulebook_to_web4.py: rulebook → hub law YAML, Hestia policy, society graph, conformance corpus (28/28);
    • rulebook/rulebook.py.

Run: python3 aic_demo.py up|story|audit|down RUN_DIR. The README has the eight beats and a real-vs-stand-in table.

Why it matters

The draft's §81-301(c) requires the AI manager to "document any action the manager takes in a signed record". The demo tests that requirement, and §8005/§8008/§8012, against what Hub and Hestia do today.

The audit anchors each child ledger head in its parent and checks it against the child's ledger. That closes the tier hub verify-ledger itself names as open ("compare the head against an independently recorded value").

Findings (Hub gaps the statute exposes)

  • A referenced_act is not checked against law norms, only law integrity (authorize_event). Member-signed envelope events are.
  • The actor's envelope signature is verified and then discarded. The statute asks for the actor's own signed record.
  • Removing a suspended member also silences its wind-down records. Suspension probably needs its own member state.
  • There is no live set-law API. The demo stops the hub, runs set-law, and restarts it.

Stand-ins for the unbuilt pieces are labelled BRIDGE on screen: R3 head exchange, the role-scope bridge, and society-kind members.

New terminology

None. It uses Society, the role slots, R6 requests and hub law as already specified.

Test results

A full up/story/audit/down run on hub 1ea6fb21 with hestia 0.3.0-124:

  • all eight beats run;
  • all three ledgers verify;
  • 2/2 child heads anchored;
  • 9/9 manager signatures valid;
  • gate records hash-linked.

The transpiler conformance corpus passes 28/28. Its one blocking finding is the intended refusal of the clause that loosens §8008.

Everything is fictional. Not legal advice.

🤖 Generated with Claude Code

…hubs + 2 Hestia gates

A working example against Delaware's June 2, 2026 draft Artificial Intelligence
Company Act: a fictional AIC governed by three nested levels of law (the state
sandbox, its operating agreement, the manager's delegation to a sub-agent), each
level a real Hub with its own law and signed ledger, each AI agent behind its own
Hestia gate. Law is compiled from a cited rulebook (Effortless Rulebook format),
tighten-only down the nesting.

Eight beats: no law; state law; operating agreement (a clause loosening §8008 is
refused at compile time; contract execution held for the member); delegation;
the manager's own signature on each record (§81-301(c)); child ledger heads into
parents; emergency cessation cascading to the gates; the administrator's audit,
which anchors each child head in its parent (the tier verify-ledger names open).

Stand-ins for unbuilt Hub pieces are labelled BRIDGE (R3 head exchange, the
role-scope bridge, society members). Findings from building it are in the README:
referenced_act is not norm-gated; the actor's envelope signature is not kept;
removal silences a suspended member's wind-down records; no live set-law API.

Adds tools/rulebook_to_web4.py and rulebook/rulebook.py (stdlib) beside the demo.
Everything is fictional; not legal advice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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