GeezerVison is showing github.com — Docs migration: hatch-personal/hatch/darwin-nix → code canonical home (tracking) · Issue #5983 · developing-today/code
Docs migration: hatch-personal/hatch/darwin-nix → code canonical home (tracking) #5983DescriptionDrew's directive, 2026-11-04: documentation and designs that are not strictly about the sandbox environment move their canonical home from dezren39/hatch-personal + dezren39/hatch into this repo; darwin-nix keeps only flake documentation. We're aggregating docs and productionizing the binaries — designs that led to built things live together here. Plan + issues only in this step; no files have moved yet.
Full plan + machine-readable inventory (sandbox workspace): ~/workspace/scratch/docs-migration-plan-2026-11-04/plan.md + inventory.json.
Classification standard
Every tracked item is exactly one of:
- MOVE — canonical home becomes code.
- STAY — sandbox-environment / system-baked (init script, quota script, prompts, AGENTS.md, avatars, TOOLS.md/TOOLS.d; in darwin-nix: flake mechanics + functional config/code).
- STAY-UNTIL-REPLACED — register below; each names the missing fleet feature that is its exit condition.
Test: would this make sense to someone running the fleet/code without this sandbox? darwin-nix specialisation: docs about a topic move; flake code/config that uses the topic stays.
Copy, never delete. Source repos keep historical copies permanently; living docs get a one-line Canonical: pointer header in the source after the copy lands.
Counts (tracked files)
| Repo |
Total |
MOVE |
STAY-UNTIL-REPLACED |
STAY |
| hatch-personal (482) / hatch public mirror (475 = same set − 7 submodule entries) |
482 |
110 |
18 |
354 |
| darwin-nix |
474 |
32 |
0 |
442 |
Batches
- Docs migration batch: backup scripts & backup documentation (hatch → code) #5976 — backup scripts & backup documentation (27 files: runtime-db-export, bws-backup-secrets, backup process docs)
- Docs migration batch: Fleet designs, task-system schema & fleet machinery (hatch → code) #5978 — Fleet designs, task-system schema & fleet machinery (42 files: 29 Supabase migrations, fleet-fetch, archer-slack design, mcpx-opencode plan; fleet-brokers already migrated via fleet step 2: queue domain pilot — brokers into pkgs/fleet, one-flip-at-a-time migration #5430)
- Docs migration batch: architecture & how-it-works docs, DB/platform tooling (hatch → code) #5980 — architecture & how-it-works docs, DB/platform tooling (25 files: supabase-exec, turso-exec, Cloudflare tooling, toolchain docs, platform research)
- Docs migration batch: Atlas documentation sweep (untracked workspace sources → code doc/) #5981 — Atlas documentation sweep (zero Atlas docs exist in the repos — they live in untracked workspace/research locations; this batch enumerates + sweeps them into
doc/)
- Docs migration batch: darwin-nix non-flake docs → code (mcpx, services, agent-workflow) #5982 — darwin-nix non-flake docs (32 files: mcpx designs + services docs, agent-workflow docs)
Stay-until-replaced register
darwin-nix five-topic findings
Borderline (classified in the plan, needs Drew's eye)
docs/feed.md (STAY as platform doc vs your "news agent" example — no doc about our news agent exists in the repos); mcpx sections inside darwin-nix ROADMAP.md/ARCHITECTURE.md (trim to pointers after #5982); darwin-nix archive/ vendored skills (STAY); darwin-nix planning/commands/tool-definitions (MOVE, 22 files); hatch library/toolchains/nix.md + muse-cli.md; hatch queue artifacts (lane-*.sh, repo-task schema); hatch library/skills/; hatch notes/research/muse/.
Longer-term direction (recorded, not this migration)
All docs + Zettelkasten notes + conversation logs + notes from various places eventually integrate into Atlas + the Zettelkasten graph / ID system with classifications; a technical-reference / beginner's-guide website may be backed by objects tagged for that site (repo- or DB-backed, undecided). Code is the best home now and makes that later move easier. Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Rulings/notes recorded from Drew's review — 2026-11-05 00:05 CST
- mcpx in darwin-nix → recorded on the batch issue Docs migration batch: darwin-nix non-flake docs → code (mcpx, services, agent-workflow) #5982. History: mcpx was born in darwin-nix and moved later; not all doc locations were updated (the contamination's origin). Rulings:
mcpx.config.nix STAYS as functional config; anything in ROADMAP.md/ARCHITECTURE.md that is not about nix-darwin is MOVED out (supersedes the plan's "trim to pointers"); the archive/ tree of 207 vendored skill files is explicitly DEFERRED — no conclusion, a dedicated discussion is owed.
- proxy-supervisor → outcome posted on fleet serve: built-in supervised local proxy endpoints — replaces sandbox proxy-supervisor (docs migration stay-item R3) #5974. Code verified committed + pushed (home is
~/tools/ in dezren39/hatch, not hatch-personal); the last boot-machinery reference (a commented-out init.sh step) has been removed entirely — dezren39/hatch commit ca2c32864.
- Two questions added to Drew's pending-questions ledger (end of queue, low urgency):
darwin-archive-207 (conclude keep/move/remove for the darwin-nix archive/) and doc-feed-md-fate (what is actually in the feed doc, is it deprecated, and where does it belong — Drew's guesses: possibly deprecated, possibly should have been in dezren39/cairn, possibly belongs in the code repo; he wants a closer look together later).
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 13, 2026 agent note (repo-worker-code, lane code-a, task 10352): triage verdict, re-verified fresh 2026-11-13.
This is the umbrella tracking issue for the docs-migration program; there is no separate fix for the umbrella itself — it completes when its child batches land. The doc-feed-md-fate question is settled and is NOT a blocker: Drew's recorded answer (2026-11-10) was "stop asking about this file — already answered", and the 2026-11-13 steer released this task on that basis.
Child-batch dependency map (fresh check, 2026-11-13):
Program state beyond the batches: the migration plan itself is now a living doc in this repo at doc/living/docs-migration-plan-2026-11-04.md (PR #8839, noted 2026-11-12).
Disposition: task 10352 dep-blocks on issues #5978, #5980, #5981 and auto-releases when all three close; the umbrella can then be closed against the landed batches. No new packets needed — each open batch already has a live task. dezren39 commented on Nov 16, 2026
Agent note — triage revalidation: child-batch map refreshed (task 10352, lane any-b, 2026-11-16)
State: triaged. Issue #5983 is the tracking umbrella for the docs migration (Drew's 2026-11-04 directive); it stays OPEN until its batches close, and it gates nothing itself. Fresh child states, verified this shift:
| Batch |
Issue |
State |
| Backup scripts & backup documentation |
#5976 |
CLOSED |
| Fleet designs, task-system schema & fleet docs |
#5978 |
OPEN |
| Architecture & how-it-works docs, DB/pm-stack docs |
#5980 |
OPEN |
| Atlas documentation sweep |
#5981 |
OPEN |
| darwin-nix non-flake docs → code |
#5982 |
CLOSED |
Two of five batches are done; the remaining three (#5978, #5980, #5981) carry their own queue tasks and proceed independently — no action on this umbrella unblocks them, and nothing about the migration plan (classification standard, copy-never-delete) has changed. This triage task completes with the map above as the current record; the umbrella closes when the last batch closes. dezren39 commented on Nov 16, 2026 agent-note:v1
state: triaged
lane: code-d
task: 17464
issue: #5983
Triage at current state (fresh GitHub checks, 2026-11-16 — the earlier triage task 10352 was handed off three times in Nov 6–8 and never landed a triage; this note is the first substantive one):
Work kind: tracking / docs migration. Priority: normal. Effort: the remaining work is one batch issue plus one register exit.
Batch states (all checked fresh this shift):
Stay-until-replaced register exits:
Fix path / ordering: #5983 stays open as the tracking record until (1) #5981 completes and (2) #5972 lands for the R1 family. #5981 had no live queue task (dedupe scan of queued/claimed/parked/blocked in this triage), so the follow-on fix packet is enqueued as task 17486. #5972 is a fleet feature with its own issue lifecycle — no new task is created for it here; when it closes, the R1 family's move is a follow-on batch of the same shape as #5981's packet.
Borderline items needing Drew's eye (already recorded in this issue's body, unchanged by this triage): the docs/feed.md classification (STAY as platform doc vs the "news agent" example) and the mcpx.config.nix flag (STAY as functional config unless "anything about mcpx" includes the config, whose exit is config generated from code). Neither blocks #5981 or the tracking close-out criteria above.
Acceptance check for the eventual fix: #5981 closed with its sweep PR merged, and #5972 closed — then this tracking issue closes with the batch/register evidence linked. dezren39 commented on Nov 16, 2026
🤖 Agent note · Atlas batch #5981 closed — outcome record (task 17486)
The last open migration batch closed today. Record for this umbrella:
- Docs migration batch: Atlas documentation sweep (untracked workspace sources → code doc/) #5981 (Atlas documentation sweep) — CLOSED. Its work landed earlier via PR docs: Atlas scratch sweep — design/reference docs into doc/ (#5981) #10073 ("docs: Atlas scratch sweep — design/reference docs into doc/"), merge commit
00a163b32ba70ea2f5f8be38b97eea8d3bf70f71, merged 2026-11-15T16:23:56Z (task 16830, lane code-d). Deliverable: 11 design/reference documents in doc/atlas-scratch-sweep-2026-11-14/, source layout preserved, plus a README.md enumeration index naming every source (location, date, subject) and every file deliberately left behind with its reason. Copy-never-delete honoured; pointer notes left in the swept sandbox source directories.
- Verification this shift (2026-11-16, task 17486, lane code-i): PR docs: Atlas scratch sweep — design/reference docs into doc/ (#5981) #10073 MERGED; all 12 files present and non-empty in
main; enumeration index matches the landed set. The untracked sources are sandbox-side and absent on the laptop, so a byte-for-byte re-diff was not possible here — content fidelity was verified by the copy lane at PR time (credential-shape scan clean).
Batch ledger now: #5976 CLOSED · #5978 CLOSED · #5980 CLOSED · #5981 CLOSED · #5982 CLOSED — all five batches done.
Remaining close-out criterion on this umbrella (unchanged from task 17464): the stay-until-replaced register exit R1 → #5972 (fleet built-in fallback connection mode) is still OPEN. Per this issue's own acceptance, #5983 closes when that lands; no further batch work remains. The two borderline items (docs/feed.md classification, mcpx.config.nix flag) still await Drew's word as recorded in this issue's body. dezren39 commented on Nov 23, 2026 DOCS-MIGRATION — audit, plan, and taxonomy proposal (2026-11-23)
Drew's directive (2026-11-23 ~17:36 CST): the investigation folders and all code-project markdown currently living in the hatch repos move into this repo's doc/ area. The hatch repos keep ONLY material about how the hatch repos themselves work. Standing rule going forward: on any review of the hatch repos, check for code-project material that has landed there again and move it in the same pass (now also recorded in AGENTS.md / MEMORY.md).
This programme supersedes one rule of the 2026-11-04 programme tracked in this issue: that programme said "copy, never delete; sources keep historical copies". This one moves: originals are removed from hatch-personal once the copy is merged here, and the workspace path gets a pointer README naming the new location. Everything else about #5983's classification test still applies (would this make sense to someone running the fleet/code without this sandbox?).
What "Hatch" and "Hatch Private" concretely are
Verified 2026-11-23 via gh repo list on all three orgs + local clones:
| Name |
Repo |
Local form |
Role |
| Hatch |
dezren39/hatch |
~/hatch |
The agent-home repo: Muse platform docs, sandbox architecture notes, library of how-we-work docs. |
| Hatch Private |
dezren39/hatch-personal |
~/hatch-personal |
The private store: home identity files, memory, goals, cron definitions/projections, scripts — and, by accretion, the investigation folders (reached via ~/workspace symlinks). |
| (drawers) |
dezren39/hatch-drawer, dezren39/hatch-personal-drawer |
empty local dirs under ~/workspace/fleet-upstream |
Attic/storage mechanics (MANIFEST, attic-server.db). No project documentation of substance. |
| — |
developing-today, developing-today-forks |
— |
No hatch-named repos. |
So "the hatch repos" = dezren39/hatch + dezren39/hatch-personal (+ the two drawers, which hold nothing to migrate).
Inventory & classification
Scope inventoried: all of ~/hatch-personal (workspace/ + top level), ~/hatch, the drawers, and every ~/workspace symlink into hatch-personal. Counts are files on disk at audit time (2026-11-23T23:39Z).
(a) MIGRATE — code-project research/design → this repo's doc/
Dated research packages (point-in-time records, dated-folder convention):
| Source (hatch-personal/workspace/) |
Files |
Lands as |
| atlas-investigation |
4 |
doc/_research_atlas-investigation/ |
| cncf-investigation |
7 |
doc/_research_cncf-investigation/ |
| fleet-investigation |
6 |
doc/_research_fleet-investigation/ |
| id-investigation |
5 |
doc/_research_id-investigation/ |
| mcpx-investigation (+ mcpx-door-20261123's README + EXECUTOR-BRIEF) |
4 + 2 |
doc/_research_mcpx-investigation/ |
| iroh-investigation (dated part) |
6 |
doc/_research_iroh-investigation/ |
| roc-investigation (dated part) |
4 |
doc/_research_roc-investigation/ |
| p2panda-investigation (research/ + comparison + prompt) |
15 |
doc/_research_p2panda-investigation/ |
| decentralized-systems |
1 |
doc/_research_decentralized-systems/ |
| decision-eval |
8 |
doc/_research_decision-api-eval/ |
| free-census-2026-11-23.md |
1 |
doc/_research_free-provider-census/ |
| ai-subscriptions |
25 |
doc/_research_ai-subscriptions/ |
| cloudflare/docs (+ top-level md) |
~17 |
doc/_research_cloudflare-platform-docs/ |
| turso-atlas/docs |
33 |
doc/_research_turso-atlas-docs/ |
| opencode-research |
2 |
doc/_research_opencode-research/ |
| atlas-book / id-book / mcpx-book (bookwright sources) |
67 / 151 / 37 |
doc/_research_bookwright--sources/ |
Already landed (verified on main; hatch copy is a staging duplicate → remove with pointer, no PR):
Living documents (maintained; get the metadata header + change log — see taxonomy):
| Source |
Lands as |
Why living |
| iroh-investigation/blog-catalogue-2026-11-23.md |
doc/living/iroh/blog-catalogue.md |
The weekly iroh digest appends new posts. |
| iroh-investigation/talks-and-announcements.md |
doc/living/iroh/talks-and-announcements.md |
The weekly iroh media sweep appends. |
| roc-investigation/talks-and-announcements.md |
doc/living/roc/talks-and-announcements.md |
The weekly Roc media sweep appends; the daily rotation reads it. |
| flag-observations/ (README + observations.md) |
doc/living/flag-observations/ |
The lane dataset; lanes append rows as flags are observed. Call stated plainly: the dataset's content is research about working on the code projects (which routes/checkouts trip the platform flag), so it moves; its mechanics (who appends, when) are unchanged, and the path change is in the handoff references list. |
(b) STAYS — hatch-operational (about how the hatch repos / agent home work)
hatch-personal: goals/ (58,991 files — goal workspaces + their crons), cron.d/ (projections), cron-src/, custom-skills/, custom-connectors/, scripts/ (backup + hatch mechanics), docs/events/ (reflective-event archive), library/ (agent knowledge base), laptop/ (systemd units, tool downloads), logs/, memory + dreams (never touched by this programme), hatch-disabled-task-archive/, agent-inbox, browser_downloads, feed, google/, google-drive-cold-store, objectives, onboarding_tour, profile-images, self_improvement, supabase, user/, visual_grounding, your_files, ts-spaces/ (Space build sources — platform state), imported/ (2026-10-25 import archive), scratch/, context-diet-2026-10-24 (about the agent's own context), duns-docs (personal admin), feature-request (Muse product requests), archer-slack, webhook-gateway (hatch infra service).
~/hatch (whole repo): Muse platform docs, sandbox architecture notes, how-we-work library — the definition of hatch-operational.
Drawers: storage mechanics only.
(c) AMBIGUOUS — listed, not moved this pass, with reasoning
- worm-blossom-mirror (232 files, 18M): a third-party website mirror (HTML), not our markdown. The research about it migrates inside the p2panda package; the mirror itself is an external-content archive whose archive of record is the laptop's ~/archives/worm-blossom/. Also hot: the WB-SCRAPE-2 lane is writing to it now.
- desktop-commander-build (27 files): a staging tree whose code landed in pkgs/desktop-commander and whose issue/PR bodies are canonical on GitHub already. Nothing unique to preserve as docs.
- mcpx-door-20261123 code files (filter.ts, adapt.py): the bridge code's canonical home is the code repo; only its two markdown files migrate (above).
- cloudflare/ code subprojects (cf-container-hello, lab-ops-hub): code, not docs; they belong in a project home, not a docs migration. Their docs/ migrate (above).
- turso-atlas remainder (scripts/, tests/, data/): a working tool directory; its 33 design/docs markdown files migrate (above).
- research_notes/ (204 files, 25M): deep-research inputs for Spaces/artifacts, mixed personal + product topics. Recommend a future per-note triage rather than a bulk move.
- hatch-personal/library/plans/turso-plan.md + census*: library working notes; the Turso plans are superseded by the 2026-11-23 Turso→D1 audit record (Turso-to-D1 migration audit + programme #13844 / PR doc: Turso-to-D1 migration audit + programme design (#13844) #13845).
- nix-program-TODO.md, TODO.md* (hatch-personal root): live working lists bound to hatch-personal's own tracking; moving them mid-flight breaks more than it fixes. Revisit when the nix programme next idles.
- ~/hatch/notes/architecture/mcpx-opencode-plan.md: one code-adjacent file inside an otherwise hatch-operational repo; noted for a future sweep.
Drew's assumption check: "the important stuff has all been moved over" was not true at audit time — the entire 2026-11-23 investigation corpus (10 programmes, ~400 files) still lived only in hatch-personal. It is true after this programme lands.
Taxonomy (proposed here; applied by this programme; recorded in doc/README.md)
The repo already distinguishes more than the dated folder suggests; this makes the distinction explicit and adds the one missing home:
- Dated records —
doc/<UTC>_<kind>_<name>/. Point-in-time: what was known when written. Appended to while work is active; never rewritten later. Research packages use kind research with a same-named main file as the package index (provenance + contents). All migrated investigation material lands here, except the living exceptions below.
- Living documents — maintained in place, expected to be edited over time. Existing homes keep their roles:
doc/references/ (shared standards), doc/decisions/ (FDRs), planning/ (control documents), package docs (pkgs/*/, incl. the books). New dedicated home: doc/living/<area>/ for programme-level maintained references that no package owns — catalogues and datasets kept current by recurring jobs and lanes.
Every living doc carries a header block and a change log:
---
created: YYYY-MM-DD
last-modified: YYYY-MM-DD
revision: N
---
## Change log
- rN (YYYY-MM-DD): what changed.
An edit bumps revision, updates last-modified, and appends a change-log line — in the same PR as the edit.
- The taxonomy text itself lands in doc/README.md ("Where things live" + a dated-vs-living note) in the programme's first PR, with doc/living/README.md stating the header spec where contributors will find it.
Plan (execution order)
- PR-0: taxonomy — doc/README.md section + doc/living/README.md + flag-observations as the first living docs.
- Cold areas next, one doc-only PR per area (atlas, cncf, fleet, id, mcpx, decentralized-systems, decision-eval, free-census, ai-subscriptions, cloudflare-docs, turso-atlas-docs, opencode-research, bookwright sources): copy → package index with provenance → doc/README.md index line → verify diff scope → merge.
- Hot areas last, in order iroh → roc → p2panda (lanes are reading roc/iroh and writing worm-blossom/p2panda-adjacent material today; mtimes re-checked before each).
- Removals: once an area's PR is merged, remove the original from hatch-personal (deliberate commit, pushed) and replace the ~/workspace symlink with a real folder holding a README pointer to the new code-repo location. For the three hot areas, if a lane is still active at removal time, the copy still migrates but the removal + pointer swap is deferred and recorded here rather than pulling files from under a running lane.
- Handoff: a REFERENCES list (cron bodies for the roc/iroh digests + media rotation, PROACTIVE_PREFERENCES, MEMORY pointers, bookwright skill, Space source notes) goes to Archer with the programme's final report — cron jobs and memory files are NOT edited by this programme.
Progress and per-area PR links will be posted as comments on this issue as they land. dezren39 commented on Nov 24, 2026 Correction to the CNCF landscape record migrated under this programme: "Trimmer" is not Tremor
The CNCF record folder migrated here — doc/2026-11-23T23-46-55Z_research_cncf-investigation/ (its provenance names this programme, #5983) — and the primary census record doc/2026-11-23T22-33-41Z_research_cncf-landscape/ both carry the census's identification of Drew's dictated name "Trimmer" as Tremor.
Drew corrected that on 2026-11-23 ~19:34 CST: "Trimmer" was Trimmer — NOT Tremor; the research's reading was wrong.
Correction landed in PR #13994 (merged; merge commit cd8641257ababe315ee061fc0818874e39680ea6): per the dated-record convention the records were not rewritten — a CORRECTION-2026-11-24_trimmer-not-tremor.md note was added inside each record folder, plus a one-line correction pointer on each folder's doc/README.md index entry.
Identification result: unresolved. No streaming/messaging or CNCF project named Trimmer exists in the CNCF landscape data, this repo, or web search results; the literal Trimmers found are in unrelated fields (software debloating; a DL auto-tuner; the Hubble Timescape Trimmer component), and no sound-alike fits the record's streaming neighbourhood credibly. No substitute is offered. Full evidence trail is in the correction note in the primary record folder. The same result is recorded on the Lab/Code Book programme tracker, #13905. dezren39 commented on Nov 24, 2026 Close-out record — docs migration complete (second pass, task 21866, 2026-11-24)
Verdict: resolved in substance — closing with evidence.
Original 2026-11-04 programme (copy-never-delete): 5/5 batches + 3/3 register exits CLOSED
2026-11-23 extension (move-not-copy): tracker #13877 CLOSED 2026-11-24
Final record (orchestrator, 2026-11-24T03:53Z): all 15 areas migrated, hatch-personal originals removed, pointer READMEs in place. Migration PRs #13861/#13863/#13865/#13867/#13868/#13870/#13967/#13971/#14008/#14009/#14011/#14028 all merged. Verified fresh this pass on main: atlas/cncf/fleet/mcpx-door dated-record folders present in doc/, doc/README.md carries 33 research index entries.
Sole remainder noted, no action
The two Nov-04 borderline classifications (docs/feed.md STAY-vs-MOVE; mcpx.config.nix functional-config flag) still await Drew's word as recorded in this issue's body. Both default to STAY = no worker action; either becomes work only if Drew says MOVE. Nothing is blocked on them — the stale status/blocked + queue/blocked labels leave with this close. If Drew calls MOVE on either, that is a new small batch under the #13877 shape.
Coverage: this second-pass task (21866) is the live item; no follow-on packet — no actionable work remains. dezren39 commented on Nov 24, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|