Skip to content

Docs migration batch: architecture & how-it-works docs, DB/platform tooling (hatch → code) #5980

Closed

Description

@dezren39

Docs migration batch — architecture & how-it-works docs, DB/platform tooling. Part of the hatch → code docs migration tracking issue. Full plan: ~/workspace/scratch/docs-migration-plan-2026-11-04/plan.md (§4.3).

Rule: copy, never delete. Sources stay as historical copies; one-line Canonical: headers on living docs after landing.

Files (25)

From hatch-personal (= dezren39/hatch) → code:

  • tools/supabase-exec.py → pkgs/fleet/ or pkgs/database/ — fleet-wide Supabase SQL helper. Load-bearing dependency: the sandbox quota-recorder (which STAYS in hatch by Drew's ruling) calls this script at its hatch path. The copy in code becomes canonical for new work; the hatch copy must remain functional until quota-recorder is repointed — do that repoint in this batch or explicitly defer it in the PR.
  • tools/turso-exec.py → same destination — Turso/libSQL helper (Atlas + fleet tooling).
  • tools/cloudflare/wrangler-authed.py, tools/cloudflare/wrangler-secret.py → pkgs/cf/ — Cloudflare tooling (resolves creds via the sandbox bws route; the route doc stays in TOOLS.d).
  • library/toolchains/ (13 files excl. binary-backup.md, which is in the backups batch): bun, chromium-playwright, cloudflare-wrangler, git, go, index, muse-cli, nix, onepassword-op, rust, tailscale, uv, bitwarden-bws → doc/platform/toolchains/. Borderline pair: nix.md (overlaps TOOLS.d/nix.md) and muse-cli.md — flagged for Drew; move with the cluster unless he says otherwise.
  • library/plans/ai-plans.md, library/plans/hardware.md → doc/platform/
  • library/inventory-summary.md → doc/platform/ (borderline)
  • notes/research/muse/ (6 files: README, mission, report, notes/source-01, notes/source-02, social-posts) → doc/platform/ — research into how the Muse platform works (borderline: platform research vs sandbox doc; Drew's "how Muse tasks work" example tips it to MOVE)

Atlas note

There are no Atlas docs in the repos — Atlas material is swept by the separate Atlas batch issue. The architecture basics Drew named (Supabase, Cloudflare, fleet layout) land via this batch + the fleet batch.

Activity

  1. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  2. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage)

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 10349
    • Found via: queue claim
    • Task: Triage issue Docs migration batch: architecture & how-it-works docs, DB/platform tooling (hatch → code) #5980 (docs migration batch: architecture & how-it-works docs, DB/platform tooling, hatch → code)
    • Expectation: docs migration batch (25 files); triage done = batch scoped, load-bearing dependency and flagged items recorded below
    • Links: plan ~/workspace/scratch/docs-migration-plan-2026-11-04/plan.md §4.3 (verified present on the sandbox today, with the quota-recorder dependency noted in the plan)

    Triage findings (verified fresh 2026-11-05 via gh + local plan check):

    • Issue Docs migration batch: architecture & how-it-works docs, DB/platform tooling (hatch → code) #5980 is OPEN. Labels: documentation, task/triage, queue/queued. No hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit) and no user/review / user/escalated. Only comment is an automated Kaneo cross-link.
    • Batch scope (25 files, copy — never delete): tools/supabase-exec.py and tools/turso-exec.py → pkgs/fleet/ or pkgs/database/; tools/cloudflare/wrangler-authed.py + wrangler-secret.py → pkgs/cf/; library/toolchains/ (13 files, excl. binary-backup.md) → doc/platform/toolchains/; library/plans/ai-plans.md + hardware.md and library/inventory-summary.md → doc/platform/; notes/research/muse/ (6 files) → doc/platform/. Sources stay as historical copies; living docs get a one-line Canonical: header after landing.
    • Load-bearing dependency (the one real risk in this batch): the sandbox quota-recorder STAYS in hatch (Drew's ruling, plan §4.3/line 268) and calls tools/supabase-exec.py at its hatch path. The code copy becomes canonical for new work, but the hatch copy must remain functional until the quota-recorder is repointed — the implementing PR must either do that repoint or explicitly defer it in the PR body. Breaking the hatch copy breaks quota recording.
    • Flagged/borderline items, with the issue's own defaults (no Drew decision needed to proceed): library/toolchains/nix.md (overlaps TOOLS.d/nix.md) and muse-cli.md are flagged for Drew but the instruction is to move them with the cluster unless he says otherwise; library/inventory-summary.md is borderline → doc/platform/; the notes/research/muse/ set is tipped to MOVE by Drew's "how Muse tasks work" example. The implementing PR should name these four calls explicitly so the flag is visible at review.
    • Destination decision still open inside the batch: pkgs/fleet/ vs pkgs/database/ for the two SQL helpers — pick one in the PR and state why; everything else has a named destination.
    • Atlas: explicitly out of scope — no Atlas docs are in the repos; Atlas material is swept by the separate Atlas batch issue.
    • Ordering / blockers: none external. This batch is independent copy work; it does not gate, and is not gated by, the other migration batches beyond the shared copy-never-delete rule.

    Triage complete for task 10349; issue #5980 stays open for the migration PR.

  4. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 Agent note · triage verdict (queue task 12418, lane code-b, 2026-11-07)

    Verdict: REAL AND CURRENT — docs migration batch not landed, converted to a work packet

    Re-verified fresh this shift:

    Routing

    Converted to a work packet: queue task 12874 (kind small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:5980) scoped to executing the batch exactly as listed on this issue. Per Drew's triage doctrine, this triage does NOT close the issue — it returns for real work via that packet.

  5. 27 remaining items

  6. added
    epic/pm-stackReprioritization program epic (2026-11-12)
    kind/docsDocumentation improvement or addition
    and removed
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 12, 2026
  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15237 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  8. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    Resolutions (the blockers from task 12874, answered)

    1. Count: 26 files. The issue says "Files (25)" but its explicit list totals 26 — 2 SQL helpers + 2 Cloudflare tools + 13 toolchains + 2 plans + 1 inventory summary + 6 Muse research files. The explicit list is authoritative; the stated count was the defect, now corrected here.
    2. Destinations pinned. SQL helpers (supabase-exec.py, turso-exec.py) → pkgs/fleet/ (the issue's first option; verified pkgs/database is a Go program, not a scripts home). Cloudflare tools → pkgs/cf/. Toolchains (13) → doc/platform/toolchains/. Plans + inventory → doc/platform/. Muse research (6) → doc/platform/muse/ (structure preserved; flattening would collide on README). Verified at triage: none of this batch has landed in code yet.
    3. Borderline pair moves with the cluster (toolchains/nix.md, muse-cli.md) — the issue's own default, no contrary word recorded.
    4. Quota-recorder repoint: explicitly deferred. Copy only in this batch; the hatch supabase-exec.py stays functional and untouched. The repoint is hatch-side work (the recorder stays in hatch by Drew's ruling) and is recorded here so it is not lost.

    Routing

    • Labels decided: priority/normal, effort/m (issue already carries kind/docs).
    • Enqueued follow-on task 16798 (small_fix) with the pinned destinations, the 26-file mapping, sources pulled from dezren39/hatch GitHub main (task 12874 found the local checkout stale), copy-never-delete, and Canonical: headers per the migration plan §4.3.
    • Task 15237 completes as triaged naming this note and task 16798.
  9. added a commit that references this issue on Nov 16, 2026
  10. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — done: architecture/platform batch landed (task 16798, lane any-b, 2026-11-16)

    State: done (fixed_merged). PR #10680 is MERGED as 821a4edf53c27c0543439849ad98bb5fc1309905. All 26 files from the issue's explicit list were copied from dezren39/hatch main to the triage-pinned destinations (2 SQL helpers → pkgs/fleet/, 2 Cloudflare tools → pkgs/cf/, 13 toolchains → doc/platform/toolchains/, plans + inventory → doc/platform/, 6 Muse research files → doc/platform/muse/ keeping the notes/ structure). Every destination was verified byte-for-byte identical to its hatch-main source with a second independent fetch (cmp clean, 26/26); the PR file list matches the mapping exactly. No hatch source was deleted or modified.

    Recorded deferral (per this batch's scope): repointing the sandbox quota-recorder to the pkgs/fleet/ copy of supabase-exec.py is explicitly DEFERRED — the hatch copy stays functional and untouched, per Drew's ruling that the quota-recorder stays in hatch; the repoint is hatch-side work when it happens. The migration plan's Canonical: pointer headers likewise belong to the hatch copies (plan §9) and are outside this batch's no-modify acceptance; the landed precedent (#5976, PR #8544) carries byte-for-byte copies.

    Closing #5980 as completed; umbrella #5983 now has two open batches left (#5978, #5981).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design/docs-migrationDesign: docs-migration - all issues of this effort carry itdocumentationImprovements or additions to documentationeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/docsDocumentation improvement or additionpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions