diff --git a/.planning/STATE.md b/.planning/STATE.md index 0ec5aefe..72da4608 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,11 +4,11 @@ milestone: v1.8.0 milestone_name: milestone current_phase: 13 current_phase_name: aiui-functional-conversational-node-control-and-content-surf -status: executing -stopped_at: v1.7.120-alpha SHIPPED; 1.7.121 queue open — see .planning/RELEASE-1.7.121-TASKS.md (12 items, RESUME HERE section at the end) +status: paused +stopped_at: "Phase 13 PAUSED after wave 1 (13-01 done; 13-02 tasks 1-2 done, task 3 at a blocking human-verify gate needing a real-node deploy). Paused deliberately per operator decision to migrate AIUI in-repo first — plans 13-06/13-09/13-11 must be re-planned against aiui/ before wave 2." last_updated: "2026-08-03T17:05:56.752Z" last_activity: 2026-08-03 -last_activity_desc: Phase 13 execution resumed (wave continue) +last_activity_desc: "Wave 1 complete; AIUI migrated in-repo (D-19); phase paused pending re-plan" progress: total_phases: 13 completed_phases: 2 @@ -79,6 +79,10 @@ Progress: [█████░░░░░] 54% ### Decisions +- [Phase 13, D-19 (2026-08-03)]: **AIUI's source migrated into this repo at `aiui/`**, via `git subtree` with its full 230-commit history (`7ba3109b`, from AIUI `development` @ `e30ac1d`). Supersedes D-15's two-repo premise and voids D-18 entirely. Retires the recurring "AIUI commit stranded local-only" failure (windows 4 and 17) — `e30ac1d` came across in the import and is now pushed. D-17 (standalone mode) is unaffected: archy has no root `package.json`, so AIUI's pnpm/turbo workspace does not collide. Consequence: plans **13-06, 13-09, 13-11** still target `/home/archipelago/Projects/AIUI/` absolute paths and must be re-planned before wave 2; 13-09's `scripts/aiui.pin` deliverable is now meaningless for an in-repo directory. +- [Phase 13, wave 1]: Recovered from a broken-pipe interruption that left 13-01 and 13-02 executor work uncommitted in orphaned worktrees. Both were checkpointed verbatim before any agent touched them, then re-committed atomically per task by continuation executors (both chose `reset --soft` + recommit). 13-03 was already complete and was fast-forwarded in. +- [Phase 13, execution mode]: `parallelization: false` — this 4-core box thrashed (load 35-55, 15G/23G swap) running two worktree cargo builds concurrently alongside a live node (bitcoind/electrumx/lnd). Serial execution is strictly faster here. + Decisions are logged in PROJECT.md (10 locked ADRs in the `` block + milestone decisions table). Recent decisions affecting current work: - Milestone version = 1.8.0-alpha (decided 2026-07-08) diff --git a/.planning/WINDOWS.md b/.planning/WINDOWS.md index 4638f5e1..3f7474bc 100644 --- a/.planning/WINDOWS.md +++ b/.planning/WINDOWS.md @@ -31,7 +31,7 @@ last_updated: 2026-08-03T18:50:07.659Z | 14 | 10 | unrun-verify | core/archipelago/src/container/prod_orchestrator.rs | | LIVE EXPOSURE on archi-dev-box: archy-bitcoin-ui (systemd/Quadlet-owned, user-uninstalled marker set) still serves unauthenticated POST /bitcoin-rpc/ on 0.0.0.0:8334 with Access-Control-Allow-Origin *, reaching Bitcoin Core RPC through a credential-injecting proxy. Verified live 2026-08-02 (returned a real block height with no cookies). Code fix committed f6b5245b but NOT deployed: closing it needs the new binary on the node plus an archy-bitcoin-ui restart. archy-electrs-ui is in the same uninstalled-but-running state (static UI only, no credential proxy). Operator-gated; no node touched. | fixed | | 2026-08-02T22:44:15.215Z | 2026-08-02T23:16:04.071Z | | 15 | 10 | unrun-verify | core/archipelago/src/container/prod_orchestrator.rs | | The f6b5245b reconcile fix is DEPLOYED on archi-dev-box (binary installed 19:06, running) but NEVER EXERCISED on hardware: the state it repairs (uninstall marker + Quadlet-running + stale config) stopped existing here at 18:36, when a separate rebuild of bitcoin-ui rendered the fixed conf and restarted the container. So :8334 returning 401 proves a05956c4's template, NOT the reconcile path that is supposed to deliver it. archy-electrs-ui still carries the marker+running shape and could exercise it, but has no rendered config to rewrite. Needs a node that still has a stale bitcoin-ui conf, or a deliberately re-staled one. | fixed | | 2026-08-02T23:16:04.510Z | 2026-08-03T00:06:03.112Z | | 16 | 13 | unrun-verify | core/archipelago/src/assistant/loop_.rs | | cargo test --package archipelago assistant:: (disk_status_tool_executes, unknown_tool_is_refused_not_ignored, assistant_methods_require_session) never completed this session — killed twice under machine resource contention (load avg 35-46 on 4 cores, sibling worktree builds). cargo build --package archipelago DID complete clean (exit 0, only expected dead-code warnings). Test logic was read and reasoned correct but not independently executed — needs a follow-up cargo test run when the machine is free. | open | | 2026-08-03T18:49:48.842Z | | -| 17 | 13 | deviation | external:AIUI/packages/app/src/services/archyBridge.ts | | Task 3 (sendChat/streamViaArchy, external repo /home/archipelago/Projects/AIUI, branch development, commit e30ac1d) is committed locally but NOT pushed to git.tx1138.com — origin was unreachable this session (DNS resolves to 80.71.235.99 but TCP/TLS connect and even 'git ls-remote' timed out repeatedly, sandbox-disabled too). Needs a push from an environment with network access to git.tx1138.com before the fix lands upstream. | open | | 2026-08-03T18:50:07.659Z | | +| 17 | 13 | deviation | external:AIUI/packages/app/src/services/archyBridge.ts | | Task 3 (sendChat/streamViaArchy, external repo /home/archipelago/Projects/AIUI, branch development, commit e30ac1d) is committed locally but NOT pushed to git.tx1138.com — origin was unreachable this session (DNS resolves to 80.71.235.99 but TCP/TLS connect and even 'git ls-remote' timed out repeatedly, sandbox-disabled too). Needs a push from an environment with network access to git.tx1138.com before the fix lands upstream. | fixed | | 2026-08-03T18:50:07.659Z | | ````json [ @@ -234,10 +234,11 @@ last_updated: 2026-08-03T18:50:07.659Z "file": "external:AIUI/packages/app/src/services/archyBridge.ts", "line": null, "description": "Task 3 (sendChat/streamViaArchy, external repo /home/archipelago/Projects/AIUI, branch development, commit e30ac1d) is committed locally but NOT pushed to git.tx1138.com — origin was unreachable this session (DNS resolves to 80.71.235.99 but TCP/TLS connect and even 'git ls-remote' timed out repeatedly, sandbox-disabled too). Needs a push from an environment with network access to git.tx1138.com before the fix lands upstream.", - "status": "open", + "status": "fixed", + "resolution": "RESOLVED 2026-08-03 by the AIUI in-repo migration (D-19): AIUI's source was imported into this repo at aiui/ via git subtree with full history, carrying commit e30ac1d across. It is now committed and pushed as part of this repo, so the unreachable git.tx1138.com remote no longer gates it.", "reason": "", "recorded_at": "2026-08-03T18:50:07.659Z", - "resolved_at": null + "resolved_at": "2026-08-03T19:20:00.000Z" } ] ```` diff --git a/.planning/phases/13-aiui-functional-conversational-node-control-and-content-surf/13-CONTEXT.md b/.planning/phases/13-aiui-functional-conversational-node-control-and-content-surf/13-CONTEXT.md index 9ad05849..2cd47871 100644 --- a/.planning/phases/13-aiui-functional-conversational-node-control-and-content-surf/13-CONTEXT.md +++ b/.planning/phases/13-aiui-functional-conversational-node-control-and-content-surf/13-CONTEXT.md @@ -133,6 +133,11 @@ architecture. ### Delivery and the two-repo split +> **⚠ SUPERSEDED 2026-08-03 by D-19 (below) — the two-repo split no longer exists.** +> D-15 and D-18 were written on the assumption that AIUI stays at +> `git.tx1138.com/lfg2025/AIUI`. It does not. Read D-19 first; the parts of D-15 +> that still apply are noted there. + - **D-15:** AIUI is **built and shipped with the frontend, versioned and verified** — the rsync path is kept because it is the one that works, but made deliberate: AIUI's commit pinned in this repo, `VITE_BASE_PATH=/aiui/` enforced by the build script rather than @@ -151,6 +156,32 @@ architecture. neode-ui shipping two query params that were inert no-ops against every deployed AIUI build until a maintainer merged (see `.planning/WINDOWS.md` window 4). +- **D-19 (2026-08-03, operator decision — supersedes D-15's two-repo premise and all of D-18):** + **AIUI's source is migrated into this repo.** It now lives at `aiui/`, imported via + `git subtree` with its full 230-commit history intact (`7ba3109b`, from AIUI + `development` @ `e30ac1d`). There is no longer a second repository, so: + - **D-18 is void.** "Push access to the AIUI repo" is not a prerequisite for anything — + there is one repo and one push. This also retires the recurring failure it was written + to prevent (windows 4 and 17, both "AIUI commit stranded local-only"). Window 17's + commit `e30ac1d` came across in the import and is now pushed. + - **D-15's *delivery* half still stands** — AIUI is still built and shipped with the + frontend, `VITE_BASE_PATH=/aiui/` still enforced by the build script, still verified by + fetching a live asset. What dies is the *pinning* half: `scripts/aiui.pin` is pointless + for an in-repo directory, since the commit is now the repo's own commit. + - **D-17 is unaffected.** Standalone mode is a build-time/runtime property, not a + repository-location property. AIUI keeps its own `package.json`, pnpm workspace and dev + proxy under `aiui/`; archy has no root `package.json`, so there is no workspace collision. + + **Plans requiring revision before wave 2 executes** — all three still reference absolute + paths under `/home/archipelago/Projects/AIUI/`: + - **13-06** (wave 2) — `useArchy.ts`, `useContentPanel.ts` → now `aiui/packages/app/src/...` + - **13-09** (wave 2) — built on D-15's pin-and-verify; the `scripts/aiui.pin` deliverable + no longer makes sense and the build/deploy scripts change shape + - **13-11** (wave 4) — `useArchy.ts` → now `aiui/packages/app/src/...` + + 13-01 is unaffected in substance: its Task 3 edit was made in the old clone and arrived + through the subtree import, so the work is present and committed. + ### Claude's Discretion - What the music library indexes over (own filebrowser `Music` folder, peer audio, or both),