diff --git a/.crumb b/.crumb index 124fc482..8bd2832d 100644 --- a/.crumb +++ b/.crumb @@ -70,21 +70,21 @@ "purpose": "" }, { - "digest": "ef1840de79311e5684993b0e0b66e0a9fce42a2d7966506201686ae5f8084a98", + "digest": "ac32ed84159cae1f43f3b5d2307b2a1ab04ea580c8f96c1f52566a7f21cca0b0", "last_commit": "8b5caed", "name": "skills", "purpose": "" } ], - "children_root": "sha256:20c95358a2e6cde016bc1a6b9d07b1ed5500de7131c7eb30982592664870658c", - "compiled_at": "2026-10-09T15:22:56Z", + "children_root": "sha256:9f52af6646e027e9ee559d1715bf3979e963ad638fe61f0c882b7a01a5f19654", + "compiled_at": "2026-10-09T21:32:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:ce8646a619112f8c35c6d9b3e1148ec8cb62104c3e0b55e9406f1f89ed29f9a0", + "digest": "sha256:eb80ee528b5b244f10a8a1337cd72fd5faf4eb5d3cf60bc495f72e2a8574c57e", "evidence_files": 187, "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280", "files": 1850, - "generated_at_commit": "149456df3e2ee45497847c00790541bee3ac9a12", - "source_tree": "sha256:9217db9dd539d13ac1b3d60b748dfbcfd45491f5a25bb74f0662295cd1fc7d52" + "generated_at_commit": "df60af9215d57c3e6a37f476caba05ef3b2cf384", + "source_tree": "sha256:cbeeb7688173520a0d86a1b81f7565abf4d1649cddbe48c721bfb47ddcd0c3e3" } }, "history": [], diff --git a/scripts/.crumb b/scripts/.crumb index 8c5a9c2d..13f46005 100644 --- a/scripts/.crumb +++ b/scripts/.crumb @@ -28,7 +28,7 @@ "whispers": [ { "author": "AIEN", - "message": "browser_mirror_test.py drives headless Chrome via native CDP on port 9222 to test Cockpit UI.", + "message": "browser_mirror_test.py (headless Chrome via native CDP on port 9222) was removed from the sovereign build; the Rust browser test is tracked in sovereign-core #180.", "timestamp": "2026-09-18T14:50:00Z", "whisper_id": "browser-mirror-verified" } diff --git a/skills/.crumb b/skills/.crumb index d47c3203..57fbcb1e 100644 --- a/skills/.crumb +++ b/skills/.crumb @@ -63,7 +63,7 @@ "purpose": "" }, { - "digest": "784393e353934cb6ed8f5c06c99a3570f3d69552ecdfda8416c70daa15340ecd", + "digest": "5c53b4ecd62e0faa383da295b44842cd3f7d2d6c41f5b432757e3f5f0e361245", "last_commit": "b2fef5c", "name": "self-improvement", "purpose": "" @@ -75,15 +75,15 @@ "purpose": "" } ], - "children_root": "sha256:1130b3b1c623cc53d3b7b23406bb57e1bd930ff3955dc51cc28c37d4ee40136c", - "compiled_at": "2026-10-04T15:35:46Z", + "children_root": "sha256:b84fd33f93982c0d0f78d560d7ac7a9d0c6df559fd3872d4f5bb03c75ea2bb4b", + "compiled_at": "2026-10-09T21:32:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:ef1840de79311e5684993b0e0b66e0a9fce42a2d7966506201686ae5f8084a98", + "digest": "sha256:ac32ed84159cae1f43f3b5d2307b2a1ab04ea580c8f96c1f52566a7f21cca0b0", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 10, - "generated_at_commit": "c848c7bf9ada87072c5f1ecb2b36142de106ef66", - "source_tree": "sha256:c7d4d49cf2a89272eadee053733413c757eb02d5a2aea852de03c5605d269ac4" + "generated_at_commit": "df60af9215d57c3e6a37f476caba05ef3b2cf384", + "source_tree": "sha256:fbe818262c8e6a6dff3417d6265ec5ebf15dbaf7650dd9132dd65cd767e66d7a" } }, "history": [ diff --git a/skills/self-improvement/.crumb b/skills/self-improvement/.crumb index cb70a0e0..14f51008 100644 --- a/skills/self-improvement/.crumb +++ b/skills/self-improvement/.crumb @@ -4,14 +4,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T15:35:46Z", + "compiled_at": "2026-10-09T21:32:49Z", "compiler": "crumb-compile/1", - "digest": "sha256:784393e353934cb6ed8f5c06c99a3570f3d69552ecdfda8416c70daa15340ecd", + "digest": "sha256:5c53b4ecd62e0faa383da295b44842cd3f7d2d6c41f5b432757e3f5f0e361245", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 1, - "generated_at_commit": "c848c7bf9ada87072c5f1ecb2b36142de106ef66", - "source_tree": "sha256:aea84a8675c54bf4d3d0925b82cff97d13aa42a704c4afbeb596b67d204334d4" + "generated_at_commit": "df60af9215d57c3e6a37f476caba05ef3b2cf384", + "source_tree": "sha256:587b443b5c01970b3c53425b1b78c8766782e1ffccd50acfabf4977b380241c2" } }, "parent": { diff --git a/skills/self-improvement/SKILL.md b/skills/self-improvement/SKILL.md index 9eada877..96a1a544 100644 --- a/skills/self-improvement/SKILL.md +++ b/skills/self-improvement/SKILL.md @@ -87,62 +87,18 @@ curl -s http://127.0.0.1:18085/pulse Outputs heartbeat BPM, coherence score, secret hygiene posture, and territory maps. ### Manual Cycle Trigger and Integration Verification -```bash -~/max-env/bin/python ~/basecamp/aien-dream/dream_engine.py --test -~/max-env/bin/python ~/basecamp/aien-dream/dream_engine.py --now -``` -Verifies live scoring against JSpace Truth Judge on port 18082 and permanent storage into Spark Cortex on port 18080. +The Python dream engine (basecamp/aien-dream/dream_engine.py) was removed from the sovereign build (sovereign-core #181). The `/dream` command in `aien` now says so and points to the native `spark-dream` binary for dream telemetry. A manual cycle trigger and the scoring/storage verification are unavailable until a native replacement lands. ## 4. Headless Browser Mirror and Mentor Harness -AIEN can verify his own Cockpit UI and converse with himself via headless Chrome and Chrome DevTools Protocol (CDP): +AIEN's headless-Chrome Cockpit mirror (Chrome DevTools Protocol) was a Python script outside this repository (basecamp/scripts/browser_mirror_test.py). It was removed from the sovereign build (sovereign-core #181). Today `aien --browser` and `aien --browser mentor ""` run, but both report `status: error` ("browser action ... is unavailable"). The assertion self-test and self-mentoring steps are unavailable until the Rust browser test lands (sovereign-core #180). Do not run the old script by hand. -### Assertion Self-Test -```bash -aien --browser -``` -Or directly: -```bash -~/max-env/bin/python ~/basecamp/scripts/browser_mirror_test.py --test -``` -Verifies: -1. Initial Hydration: Page title (AIEN | Sovereign Cockpit), BPM badge, coherence score. -2. Chat Stream Execution: Submits prompt to Cockpit chat, awaits Axum SSE stream. -3. Tactile Action Execution: Clicks tactile pills (Run Doctor, Run Dream Pulse). -4. Tab Navigation: Goals, Skills, Cortex, and Walkthrough panes. -5. Visual Artifacts: Saved to ~/basecamp/ui-tests/: - - cockpit_init.png - - cockpit_chat_stream.png - - cockpit_actions.png - -### Self-Mentoring Mode -```bash -aien --browser mentor "AIEN, explain your sandbox test and self-improvement architecture." -``` -Or directly: -```bash -~/max-env/bin/python ~/basecamp/scripts/browser_mirror_test.py --mentor "Challenge prompt" -``` -Captures live assistant response and stores screenshot in ~/basecamp/ui-tests/cockpit_mentor_response.png. +When #180 lands, restore here: the self-test checks (hydration, chat stream, tactile actions, tab navigation) and the screenshots saved under ~/basecamp/ui-tests/. ## 5. Cortex Memory Commitment -Record durable procedure receipts to Spark Cortex in atlas-memory space: -```bash -python3 -c ' -import urllib.request, json -token = open("~/.config/cortex/token").read().strip() -payload = { - "kind": "entity", - "value": { - "space": "atlas-memory", - "entityType": "procedure", - "canonicalName": "sovereign_self_improvement_loop", - "content": "Verified self-improvement procedure: isolated git worktree in ~/workspace/aien-sandbox, headless Chrome CDP mirror self-test on port 9222, JSpace dream cycle on port 18085, and Microsoft SkillOpt validation gate.", - "metadata": {"source": "skills/self-improvement", "author": "AIEN"} - } -} -req = urllib.request.Request("http://127.0.0.1:18080/api/cortex/write", data=json.dumps(payload).encode(), headers={"Authorization": f"Bearer {token}", "Content-Type": "application/json"}) -urllib.request.urlopen(req) -' +Record a durable procedure receipt to Spark Cortex from inside `aien`, using the built-in command (name, a vertical bar, then the content): +``` +/cortex write sovereign_self_improvement_loop | Verified self-improvement procedure: isolated git worktree in ~/workspace/aien-sandbox, JSpace dream telemetry via spark-dream, and Microsoft SkillOpt validation gate. ``` +The command reads CORTEX_TOKEN from the AIEN vault and prints the receipt id; check it with `/cortex search sovereign_self_improvement_loop`.