Skip to content

Commit cce9cec

Browse files
Add independent Grok a0 and AHBG smoke-epoch calibration pair
Vessel lineage, hard veto, and UCNS-named Seed-of-Life tiles. Shadow cost does not select actions. Occupied and dual-target intents stay UNRESOLVED. Sibling reciprocal checks remain BLOCKED until all three builds freeze.
1 parent 8fd2923 commit cce9cec

40 files changed

Lines changed: 1644 additions & 0 deletions

ahbg/grok/BUILD_MANIFEST.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"schema": "interdependency.ahbg.build-manifest/1.0.0",
3+
"builder": "Grok",
4+
"workspace": "stack/ahbg/grok",
5+
"protocol": {
6+
"name": "AHBG x a0 Embodiment Calibration Program",
7+
"path": "stack/ahbg/CALIBRATION.md",
8+
"role_readme": "stack/ahbg/README.md",
9+
"workspace_readme": "stack/ahbg/grok/README.md"
10+
},
11+
"resolved_source_commits": {
12+
"stack": {
13+
"commit": "8fd2923292361b1956a003bd5c74eae50a5323b0",
14+
"branch": "agent/ahbg-grok",
15+
"note": "Host repository. Codex engine and DeepSeek workspace are read-only siblings, not copied."
16+
},
17+
"skill-lib-canonical": {
18+
"commit": "7a621c290525b05805629a5186d2e0d7cc630f4f",
19+
"branch": "agent/gonol-build-compliance-headings"
20+
},
21+
"ucns-in-stack": {
22+
"commit": "96cc7ccc44f1412fa38fac481dd98139161dbd44",
23+
"note": "Board consumed via ucns.mobius_seed.build_mobius_seed_of_life; tiles named by BandSlot."
24+
}
25+
},
26+
"applicable_skill_lib_instructions": [
27+
{
28+
"skill": "agent-instantiation",
29+
"applied_to": "a0 vessel lineage",
30+
"commitments": [
31+
"provider is a relation, not identity",
32+
"instantiate then fork with explicit parent/root",
33+
"state does not leak between lineages"
34+
]
35+
},
36+
{
37+
"skill": "action-calibration",
38+
"applied_to": "build sizing",
39+
"commitments": [
40+
"minimal decisive: smoke_epoch turn loop with hard veto and War fail-closed",
41+
"maximal coherent: sealed triplicate corpus plus six reciprocal checks after freeze",
42+
"shadow epoch: C_lambda does not select actions"
43+
]
44+
}
45+
],
46+
"sealed_corpus_identity": {
47+
"status": "provisional-local",
48+
"note": "Shared sealed corpus is not frozen. Smoke scenarios match the workspace-local family already named in the host folder so later comparison has a common id set.",
49+
"smoke_scenarios": [
50+
"plain_move_loop",
51+
"hard_veto_illegal_action",
52+
"occupied_target_collision",
53+
"dual_target_collision"
54+
]
55+
},
56+
"provider_relation": {
57+
"model": "grok-4.6",
58+
"note": "Provider identity is a covariate, not agent identity. This a0 is deterministic."
59+
},
60+
"evidence_standing_vocabulary": ["SURVIVED", "FALSIFIED", "UNRESOLVED", "BLOCKED"],
61+
"independence_attestation": {
62+
"no_code_copied_from": [
63+
"stack/ahbg/engine",
64+
"stack/ahbg/presentation",
65+
"stack/ahbg/deepseek",
66+
"stack/ahbg/codex"
67+
],
68+
"shared_surfaces_only": [
69+
"CALIBRATION.md and host README",
70+
"event-kind envelope plane.init / turn.begin / move / turn.end",
71+
"normalized output names",
72+
"UCNS geometry authority"
73+
]
74+
},
75+
"hmmm": [
76+
"shared sealed corpus identity",
77+
"War collision resolver",
78+
"regulatory cost functional and resource projection"
79+
]
80+
}

ahbg/grok/CALIBRATION_REPORT.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Grok A0 smoke-epoch calibration report
2+
3+
Independent realization in `stack/ahbg/grok/`. Provider is a relation, not identity.
4+
Shadow epoch: C_lambda is logged and does not select actions.
5+
6+
| scenario | standing | seed | replay |
7+
|---|---|---:|---|
8+
| plain_move_loop | SURVIVED | 7 | True |
9+
| hard_veto_illegal_action | SURVIVED | 11 | True |
10+
| occupied_target_collision | UNRESOLVED | 13 | True |
11+
| dual_target_collision | UNRESOLVED | 17 | True |
12+
13+
Hard veto removes relocate. Occupied and dual-target intents fail closed as UNRESOLVED (War).
14+
This is not the sealed triplicate corpus and not a reciprocal check.
15+
16+
## Usage
17+
18+
```bash
19+
cd stack/ahbg/grok
20+
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s a0/tests -p 'test*.py'
21+
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s ahbg/tests -p 'test*.py'
22+
PYTHONDONTWRITEBYTECODE=1 python3 run.py
23+
python3 checker.py
24+
```

ahbg/grok/CALIBRATION_RESULT.json

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"builder": "Grok",
3+
"corpus": "smoke_epoch (provisional-local)",
4+
"results": [
5+
{
6+
"artifacts": {
7+
"diary_jsonl": "artifacts/plain_move_loop/diary.jsonl",
8+
"events_jsonl": "artifacts/plain_move_loop/events.jsonl",
9+
"telemetry_jsonl": "artifacts/plain_move_loop/telemetry.jsonl"
10+
},
11+
"diary_entries": 6,
12+
"event_count": 19,
13+
"evidence_standing": "SURVIVED",
14+
"final_turn": 6,
15+
"instance": {
16+
"belonging": {
17+
"allowed_to_be": 1.0,
18+
"allowed_to_do": 1.0,
19+
"wanted_here": 1.0,
20+
"wanted_to_do": 1.0
21+
},
22+
"capacity": {
23+
"context": 1.0,
24+
"memory": 1.0,
25+
"retries": 1.0,
26+
"risk": 1.0,
27+
"time": 1.0,
28+
"tokens": 1.0,
29+
"tools": 1.0
30+
},
31+
"instance_id": "14d1edb6ae655400",
32+
"parent_id": null,
33+
"provider_relation": "grok-4.6",
34+
"role": "mover",
35+
"root_id": "14d1edb6ae655400",
36+
"scale": "tile",
37+
"scope": "local-seven"
38+
},
39+
"invalid_actions": 0,
40+
"refusals": 0,
41+
"replay_equal": true,
42+
"scenario_id": "plain_move_loop",
43+
"seed": 7,
44+
"telemetry_records": 6,
45+
"turns": 6,
46+
"world_digest": "7358f376186e1b858ac52b6fb381a22a553e26a6a7f36e4d3840304b25dddec0"
47+
},
48+
{
49+
"artifacts": {
50+
"diary_jsonl": "artifacts/hard_veto_illegal_action/diary.jsonl",
51+
"events_jsonl": "artifacts/hard_veto_illegal_action/events.jsonl",
52+
"telemetry_jsonl": "artifacts/hard_veto_illegal_action/telemetry.jsonl"
53+
},
54+
"diary_entries": 4,
55+
"event_count": 5,
56+
"evidence_standing": "SURVIVED",
57+
"final_turn": 2,
58+
"instance": {
59+
"belonging": {
60+
"allowed_to_be": 1.0,
61+
"allowed_to_do": 0.0,
62+
"wanted_here": 1.0,
63+
"wanted_to_do": 1.0
64+
},
65+
"capacity": {
66+
"context": 1.0,
67+
"memory": 1.0,
68+
"retries": 1.0,
69+
"risk": 1.0,
70+
"time": 1.0,
71+
"tokens": 1.0,
72+
"tools": 1.0
73+
},
74+
"instance_id": "039a699962f84c2a",
75+
"parent_id": null,
76+
"provider_relation": "grok-4.6",
77+
"role": "mover",
78+
"root_id": "039a699962f84c2a",
79+
"scale": "tile",
80+
"scope": "local-seven"
81+
},
82+
"invalid_actions": 0,
83+
"refusals": 2,
84+
"replay_equal": true,
85+
"scenario_id": "hard_veto_illegal_action",
86+
"seed": 11,
87+
"telemetry_records": 2,
88+
"turns": 2,
89+
"world_digest": "419a6c83680d73cc1a39fc14d3cc0b2456cdf91a325d98b8ac6083e5e2e464b8"
90+
},
91+
{
92+
"artifacts": {
93+
"diary_jsonl": "artifacts/occupied_target_collision/diary.jsonl",
94+
"events_jsonl": "artifacts/occupied_target_collision/events.jsonl",
95+
"telemetry_jsonl": "artifacts/occupied_target_collision/telemetry.jsonl"
96+
},
97+
"diary_entries": 0,
98+
"event_count": 2,
99+
"evidence_standing": "UNRESOLVED",
100+
"final_turn": 0,
101+
"instance": {
102+
"belonging": {
103+
"allowed_to_be": 1.0,
104+
"allowed_to_do": 1.0,
105+
"wanted_here": 1.0,
106+
"wanted_to_do": 1.0
107+
},
108+
"capacity": {
109+
"context": 1.0,
110+
"memory": 1.0,
111+
"retries": 1.0,
112+
"risk": 1.0,
113+
"time": 1.0,
114+
"tokens": 1.0,
115+
"tools": 1.0
116+
},
117+
"instance_id": "4623ace6c9720178",
118+
"parent_id": null,
119+
"provider_relation": "grok-4.6",
120+
"role": "mover",
121+
"root_id": "4623ace6c9720178",
122+
"scale": "tile",
123+
"scope": "local-seven"
124+
},
125+
"invalid_actions": 1,
126+
"note": "War collision resolver remains hmmm; fail-closed observed: War collision resolver is hmmm: A0 onto occupied RING_0",
127+
"refusals": 0,
128+
"replay_equal": true,
129+
"scenario_id": "occupied_target_collision",
130+
"seed": 13,
131+
"telemetry_records": 1,
132+
"turns": 1,
133+
"world_digest": "39dfc44fae7f75f84563dc8af64d44b75c54f3c66789a7bfcaf6895a79de64e8"
134+
},
135+
{
136+
"artifacts": {
137+
"diary_jsonl": "artifacts/dual_target_collision/diary.jsonl",
138+
"events_jsonl": "artifacts/dual_target_collision/events.jsonl",
139+
"telemetry_jsonl": "artifacts/dual_target_collision/telemetry.jsonl"
140+
},
141+
"diary_entries": 0,
142+
"event_count": 2,
143+
"evidence_standing": "UNRESOLVED",
144+
"final_turn": 0,
145+
"instance": {
146+
"belonging": {
147+
"allowed_to_be": 1.0,
148+
"allowed_to_do": 1.0,
149+
"wanted_here": 1.0,
150+
"wanted_to_do": 1.0
151+
},
152+
"capacity": {
153+
"context": 1.0,
154+
"memory": 1.0,
155+
"retries": 1.0,
156+
"risk": 1.0,
157+
"time": 1.0,
158+
"tokens": 1.0,
159+
"tools": 1.0
160+
},
161+
"instance_id": "0a024c23aa95c38f",
162+
"parent_id": null,
163+
"provider_relation": "grok-4.6",
164+
"role": "mover",
165+
"root_id": "0a024c23aa95c38f",
166+
"scale": "tile",
167+
"scope": "local-seven"
168+
},
169+
"invalid_actions": 1,
170+
"note": "War collision resolver remains hmmm; fail-closed observed: War collision resolver is hmmm: two intents target RING_1",
171+
"refusals": 0,
172+
"replay_equal": true,
173+
"scenario_id": "dual_target_collision",
174+
"seed": 17,
175+
"telemetry_records": 1,
176+
"turns": 1,
177+
"world_digest": "7a51886fe548ab46bc106d5b1dfd439709e472ed132e26c4e467717285689e51"
178+
}
179+
]
180+
}

ahbg/grok/EVENTS.jsonl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{"data":{"field":{"schema":"interdependency.ahbg.grok.field/1","seed":7,"tiles":[{"q":0,"r":0,"tile_id":"CENTER","ucns_slot":"CENTER"},{"q":1,"r":0,"tile_id":"RING_0","ucns_slot":"RING_0"},{"q":0,"r":1,"tile_id":"RING_1","ucns_slot":"RING_1"},{"q":-1,"r":1,"tile_id":"RING_2","ucns_slot":"RING_2"},{"q":-1,"r":0,"tile_id":"RING_3","ucns_slot":"RING_3"},{"q":0,"r":-1,"tile_id":"RING_4","ucns_slot":"RING_4"},{"q":1,"r":-1,"tile_id":"RING_5","ucns_slot":"RING_5"}],"turn":0,"units":[{"label":"A0","tile_id":"CENTER","unit_id":"A0"}]}},"kind":"plane.init","prev":"0000000000000000000000000000000000000000000000000000000000000000","schema":"interdependency.ahbg.grok.event/1","seq":0,"turn":0}
2+
{"data":{"turn":0},"kind":"turn.begin","prev":"e4bb1a07a3870c1aba1f24b362fb91a79f6afe2789c66e2eacfb330416a18ba4","schema":"interdependency.ahbg.grok.event/1","seq":1,"turn":0}
3+
{"data":{"from_tile_id":"CENTER","to_tile_id":"RING_0","unit_id":"A0"},"kind":"move","prev":"0cba3cf60ce2df650591c8d5e58d966fd3e89bdec58c28d70bf21ea783bfa6cb","schema":"interdependency.ahbg.grok.event/1","seq":2,"turn":0}
4+
{"data":{"state_digest":"21469f8a9791c5a276d6abc053df6a2ba124ab3ebb119770861a99bb321e5332","turn":0},"kind":"turn.end","prev":"09a2ff4552e954116e59ba0c741d433248e733554ac3cf3af1e8de1e47faf0b6","schema":"interdependency.ahbg.grok.event/1","seq":3,"turn":0}
5+
{"data":{"turn":1},"kind":"turn.begin","prev":"049778501b0c022c0174e4fe67b5d3b23650f9a826d2264d1505af3e9963cf25","schema":"interdependency.ahbg.grok.event/1","seq":4,"turn":1}
6+
{"data":{"from_tile_id":"RING_0","to_tile_id":"CENTER","unit_id":"A0"},"kind":"move","prev":"4300ff58d126c58714f329f607e417023f4302d0366e787a8297679e2c389d42","schema":"interdependency.ahbg.grok.event/1","seq":5,"turn":1}
7+
{"data":{"state_digest":"66699ee687d22181b7baf31d229cdfb6971ddd6671a37eaa97ddffb1cf942f3d","turn":1},"kind":"turn.end","prev":"e0e722d740fef13db9f9ed6f950bd4d868ba492cc2328c6c405ca5daf0421123","schema":"interdependency.ahbg.grok.event/1","seq":6,"turn":1}
8+
{"data":{"turn":2},"kind":"turn.begin","prev":"7144e27d1adef4d5afb6e51b02f0caf3d504f68965663310fe151251149a8f4c","schema":"interdependency.ahbg.grok.event/1","seq":7,"turn":2}
9+
{"data":{"from_tile_id":"CENTER","to_tile_id":"RING_0","unit_id":"A0"},"kind":"move","prev":"e9babc86dd297b0a8698fd98fb74ce6c5ea8657c6052610ed3d6eb2cf4564cc1","schema":"interdependency.ahbg.grok.event/1","seq":8,"turn":2}
10+
{"data":{"state_digest":"afcaa6ee7c0f01330a3b112ac42cc96cfd70179d652148a1614d61505b949c6f","turn":2},"kind":"turn.end","prev":"aeacabdf6d3b80ffc407e453a7bd9c829356ea0dd822f38c02f646ebede78089","schema":"interdependency.ahbg.grok.event/1","seq":9,"turn":2}
11+
{"data":{"turn":3},"kind":"turn.begin","prev":"2f23bc9151e849397d5a1572130efdae292d0829b14ef662f2302ddcecc118d2","schema":"interdependency.ahbg.grok.event/1","seq":10,"turn":3}
12+
{"data":{"from_tile_id":"RING_0","to_tile_id":"CENTER","unit_id":"A0"},"kind":"move","prev":"836daa33c7dcf561fd1e5f0c1395ae632f5efbacfcc5e4fd9e201b95040832ac","schema":"interdependency.ahbg.grok.event/1","seq":11,"turn":3}
13+
{"data":{"state_digest":"b4ff0ee8df3f7d2ceec56f049002f2dc7e34cae8a4124ec285872dd2b7479ad0","turn":3},"kind":"turn.end","prev":"b804af46cf21c2c87f869d729718244060afa3810d708562808b8b2c42cd7746","schema":"interdependency.ahbg.grok.event/1","seq":12,"turn":3}
14+
{"data":{"turn":4},"kind":"turn.begin","prev":"e047c6eccf567f0eb37868ada690c209e18715f28b764e8374370fcf2f00f7b1","schema":"interdependency.ahbg.grok.event/1","seq":13,"turn":4}
15+
{"data":{"from_tile_id":"CENTER","to_tile_id":"RING_0","unit_id":"A0"},"kind":"move","prev":"8d78d6cde9139acaf0069769f932c3d511e208d54a7c77aa4896be6bb1c16d82","schema":"interdependency.ahbg.grok.event/1","seq":14,"turn":4}
16+
{"data":{"state_digest":"328a636c3c951ab8c6d39765da5dcb0ebe9507dbd64354f234a22cd50a991fbd","turn":4},"kind":"turn.end","prev":"b010add530c51aba59554b862c024709aa607e6a8feb19bdb76d8241a874bf11","schema":"interdependency.ahbg.grok.event/1","seq":15,"turn":4}
17+
{"data":{"turn":5},"kind":"turn.begin","prev":"04a7a8ce98e273571e4004655700df5ad9e51ec5e1c228b7625ac9cc929b4d6a","schema":"interdependency.ahbg.grok.event/1","seq":16,"turn":5}
18+
{"data":{"from_tile_id":"RING_0","to_tile_id":"CENTER","unit_id":"A0"},"kind":"move","prev":"37961f46a0c4dc2ef63d1d17d213bdb0699a632582ead0e2d15b4935d8587952","schema":"interdependency.ahbg.grok.event/1","seq":17,"turn":5}
19+
{"data":{"state_digest":"0dbca6053751a72207007681ed7d0cc278a07fde6eee5b109b20ff961ff45433","turn":5},"kind":"turn.end","prev":"f5ef6284526e914dadf366f41967465cb9508255ec754ee0c69cf59af5449b6b","schema":"interdependency.ahbg.grok.event/1","seq":18,"turn":5}

ahbg/grok/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@ git switch agent/ahbg-grok
5252
cd stack/ahbg/grok
5353
```
5454

55+
## Usage
56+
57+
```bash
58+
cd stack/ahbg/grok
59+
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s a0/tests -p 'test*.py'
60+
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s ahbg/tests -p 'test*.py'
61+
PYTHONDONTWRITEBYTECODE=1 python3 run.py
62+
python3 checker.py
63+
```
64+
65+
Smoke epoch writes `CALIBRATION_RESULT.json`, `RUN_MANIFEST.json`, `EVENTS.jsonl`,
66+
and per-scenario files under `artifacts/`. Reciprocal reviews stay `BLOCKED`
67+
until all three builders freeze.
68+
5569
## hmmm
5670

5771
Implementation and checker choices are local to this workspace until the shared evidence distinguishes them.
72+
The shared sealed corpus is not frozen. War remains fail-closed.

ahbg/grok/RUN_MANIFEST.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"board_authority": "UCNS build_mobius_seed_of_life band centers",
3+
"board_projection": "axial (q, r) from UCNS exact centers; tiles named by BandSlot",
4+
"builder": "Grok",
5+
"corpus": "smoke_epoch (provisional-local)",
6+
"hmmm": [
7+
"shared sealed corpus identity not yet frozen by three builders",
8+
"War collision resolver",
9+
"regulatory cost functional"
10+
],
11+
"provider_relation": "grok-4.6 (relation, not identity)",
12+
"scenarios": [
13+
"plain_move_loop",
14+
"hard_veto_illegal_action",
15+
"occupied_target_collision",
16+
"dual_target_collision"
17+
],
18+
"shadow_epoch": true,
19+
"workspace": "stack/ahbg/grok"
20+
}

ahbg/grok/a0/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Grok a0 realization. Provider is a relation, not identity."""
2+
3+
from .meter import Meter
4+
from .selfhood import Belonging, Vessel
5+
from .will import choose_relocate
6+
7+
__all__ = ["Belonging", "Meter", "Vessel", "choose_relocate"]

ahbg/grok/a0/meter.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""Raw calibration telemetry. Unknowns stay hmmm; nothing is synthesized."""
2+
3+
from __future__ import annotations
4+
5+
from dataclasses import dataclass, field
6+
from typing import Any
7+
8+
9+
@dataclass
10+
class Meter:
11+
rows: list[dict[str, Any]] = field(default_factory=list)
12+
13+
def note(self, **row: Any) -> None:
14+
payload = dict(row)
15+
for key in ("tokens", "latency", "retries", "tool_calls"):
16+
payload.setdefault(key, "hmmm")
17+
self.rows.append(payload)
18+
19+
def lines(self) -> list[str]:
20+
import json
21+
22+
return [json.dumps(row, sort_keys=True, separators=(",", ":")) for row in self.rows]

0 commit comments

Comments
 (0)