GeezerVison is showing github.com — Notes incorporation pilot: submission DB + corpus registry + manifest + 10-doc pilot into developing-today/zettel · Issue #6267 · developing-today/code
Notes incorporation pilot: submission DB + corpus registry + manifest + 10-doc pilot into developing-today/zettel #6267DescriptionNotes incorporation pilot — corpus registry + manifest + 10-doc pilot into developing-today/zettel
Design of record: 2026-11-04 investigation (idea-register-2026-10-20.md + cloud-ideas-log.md, 2026-11-04 ~08:57 CST entry, §§1–7). Authorized by Drew 2026-11-05 ("auth pilot, mint token", main chat), including minting the token the pilot needs.
Scope (the design's recommended first step, nothing more)
- Create the notes submission DB (Turso) with the §7 tables —
submissions, notes_out, upload_attempts, corpus_controls — plus the corpus registry table and the migration manifest table. Mint a DB-scoped Turso auth token for it and file it in Bitwarden (name only recorded here, never the value).
- Register the five corpora:
dezren39/zettel (public), developing-today/zettel (public), dezren39/slip (private, manual hold), developing-today/slip (private, manual hold), dezren39/cairn (federated private source).
- Generate the manifest: code
doc/'s design-named documents + every named registry/inventory, one row each with source repo/path, pinned commit, hash, title, authored datetime, type, sensitivity, target corpus, action, canonical owner.
- Run ONE end-to-end pilot: ten already-merged design docs from code
doc/ into developing-today/zettel as draft-marked notes with mandatory frontmatter + provenance footer (provenance spans recorded), through the submission DB as system of record — with one forced push failure (recorded, retried, recovered) and one kill-switch flip (per-corpus control re-checked immediately before push; upload halts while on, resumes when off) exercised for real.
Pilot simplifications (explicit, reversible)
- Notes land as source landing notes (full doc import with provenance) — the model-driven explode-into-children draft pass is not exercised in the pilot; no Workers AI drafting occurs, so the ~50k Neurons/day cap binds nothing yet.
- Atlas zettel indexing is recorded per attempt but not wired in this pilot; it remains follow-on work under the Atlas ingestion program.
- The uploader is the pilot operator following the §7 protocol (single writer, lease/attempt rows, kill-switch re-check immediately before push, idempotent retry via remote check) — the sanctioned machine direct-commit to the notes repo applies to this repo only, from the uploader's own worktree, never a primary checkout.
Acceptance
- 10 notes present on
developing-today/zettel main, each with valid mandatory frontmatter and a provenance footer matching its notes_out row byte-for-byte (hash check).
- Every pilot submission's DB state =
uploaded; upload_attempts shows: successful batch push, one forced failure + successful retry, one kill-switch hold (no push attempted while on) + successful resume.
- Manifest and corpus registry rows present in the submission DB; token filed in Bitwarden and verified working against the DB.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Pilot result: PASS — all five steps, both safety exercises verified
Executed 2026-11-05 under Drew's 09:34 CST authorization ("auth pilot, mint token").
1. Token minted + vaulted. Turso auth token for the new submission DB, DB-scoped (the narrowest scope Turso offers), filed in Bitwarden as turso.notes-submissions-token (value never printed anywhere; verified by fingerprint: length 348, sha256 prefix b8cb94fc75a5, matched on an independent vault read-back; live authenticated HTTPS queries against the DB succeed with the vaulted copy).
2. Submission DB + corpus registry + manifest. New Turso DB notes-submissions (group great-star-lord, aws-us-east-1) with the §7 schema (submissions, notes_out, upload_attempts, corpus_controls) plus corpora, manifest, pilot_events. All five corpora registered: both zettels public, both slips private + manual_hold=1, dezren39/cairn private + federated (not an upload target). developing-today/zettel pilot controls: auto_upload=1, daily_cap=25. Manifest: 184 rows — 168 design + 8 inventory from code doc/ (path-component rule; the tree has grown since the investigation's 161 count), pinned at code HEAD 6a06a926, plus 8 named registries (provider/quota, provider/model, assigned tracker, stewardship capability inventory, AI-subscription master tracker, DNS register, OpenChamber API inventory, hardware artifact manifest). The ID implementation inventory is issue-tracker-native and was not given a file row.
3. Ten-document pilot. 10 merged design docs submitted via the note_submission envelope (source_kind doc-import), triage verdicts recorded (incl. credential-shape secret scan: 10/10 clean; duplicate screen against the corpus: clear), rendered as draft notes with the full mandatory frontmatter block, whole-document provenance spans, and a human-visible provenance footer generated from the same DB row. Note IDs are the original authored datetimes. All 10 landed in developing-today/zettel in three uploader batches (commits 6b53db9, 8fcb0eb, 509557e).
4a. Forced push failure — PASSED. Batch B was pushed at a nonexistent remote: attempt recorded retryable_failed, submissions moved to retryable_failed, and a remote-state check before retry confirmed the real remote was still exactly at the batch A commit — zero garbage state. Retry to the correct remote succeeded; the same commit 8fcb0eb landed. A failed push lost nothing: the DB rows were the record throughout.
4b. Kill-switch flip — PASSED. With batch C staged, corpus_controls.manual_hold was set to 1. The uploader re-checked controls immediately before pushing, refused, recorded a held_kill_switch attempt with no commit created, and left the remote byte-identical. Hold flipped back off; batch C then uploaded normally. Slip corpora remain on hold.
5. Verification (independent reads). Fresh clone of the remote: all 10 files present at 509557e; every file's sha256 equals its notes_out.rendered_hash (10/10). All 10 submissions read back state=uploaded. The attempt ledger tells the whole story in order: pushed → retryable_failed → pushed → held_kill_switch → pushed. Spot-checked note provenance (frontmatter source block + footer + DB provenance span) against the untouched source file — content hash matches byte-for-byte.
Pilot simplifications (as filed): landing-note import (no model-driven explode pass; manifest still records explode for 38 large docs), Atlas indexing recorded per attempt as not_wired_pilot (follow-on under the Atlas ingestion program), uploader = pilot operator following the §7 protocol from its own clone (never a primary checkout). No Workers AI was used, so the Neurons cap bound nothing. Nothing auto-committed outside this authorized pilot; the source repo's primary checkout was only read.
Follow-ons this proves out / leaves open: production uploader implementation, PR-merge-hook submission source, Atlas partition wiring, review-queue UI, slip-corpus purpose (Drew), dezren39/zettel incorporation policy. dezren39 commented on Nov 6, 2026 Intake review
Related: Design of record: 2026-11-04 investigation (idea-register-2026-10-20.md + cloud-ideas-log.md, 2026-11-04 entry, sections 1-7). Target repo: developing-today/zettel. Authorized by Drew 2026-11-05, including the token mint named in the scope.
Notes: The body already carries an Acceptance section in substance (10 notes with frontmatter + provenance hash check; DB state and attempt-ledger expectations; registry/manifest/token criteria), so per protocol no duplicate acceptance section is appended this pass — this is the same correction the monitor applied to issue #6450 last run. This pass adds the missing labels and the enriched mark. Verified still live: no merged PR resolves it (the work product lands in the zettel repo and a Turso DB, not code PRs). Risks: token handling (name only, never the value — the body already follows this) and the single-writer lease discipline during the pilot. Suggested approach: execute in the body's own scope order (DB + token, registry, manifest, then the 10-doc pilot with the forced-failure and kill-switch exercises).
— fleet monitor intake (protocol §5), 2026-11-06. dezren39 commented on Nov 6, 2026 Triage (task 11045, lane code-f, direct execution lane): issue #6267 CONFIRMED and routed.
Findings:
- Issue Notes incorporation pilot: submission DB + corpus registry + manifest + 10-doc pilot into developing-today/zettel #6267 is open, fully scoped, and carries Drew's explicit authorization (2026-11-05, including minting the DB-scoped Turso token the pilot needs). Design of record is the 2026-11-04 investigation named on the issue. Nothing about the pilot has started yet: no submission DB, registry, manifest, or pilot notes.
- No hard-stop labels; no existing queue task covered issue Notes incorporation pilot: submission DB + corpus registry + manifest + 10-doc pilot into developing-today/zettel #6267 (checked at triage).
- Routing: implementation follow-up enqueued as task 11125 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:6267) carrying the issue's exact scope and acceptance, including the pilot simplifications (no explode-into-children drafting, Atlas indexing stays follow-on) and token handling (Bitwarden, name only in records — never the value).
- effort/l and priority/normal are correct: the pilot spans DB creation, a five-corpus registry, a manifest, and a 10-doc end-to-end run with forced-failure and kill-switch exercises; it may stage across shifts under task 11125's checkpoints.
dezren39 commented on Nov 6, 2026 agent-note:v1
event: done
task: 11125
lane: code-s
worker: repo-worker-code
summary: Task 11125 completes as already_done — the #6267 pilot was executed and passed on 2026-11-05; closing this issue with fresh evidence. This note also corrects the record: the task 11045 triage note (2026-11-06) stating "nothing about the pilot has started yet" was incorrect.
Correction + verification (fresh reads, 2026-11-06, lane code-s)
The pilot result was already reported on this issue on 2026-11-05 ("Pilot result: PASS — all five steps, both safety exercises verified"). The 2026-11-06 fleet-monitor intake and the task 11045 triage both missed that report and re-routed the work; task 11125 was the result. Before doing any duplicate work, this lane re-verified the outcome independently:
- zettel commits exist and are main:
developing-today/zettel main HEAD is 509557e (batch C), preceded by 6b53db9 (batch A, 4 notes) and 8fcb0eb (batch B, 4 notes) — commit messages name code#6267; 4+4+2 = 10 note files, named by authored datetime.
- Frontmatter + provenance spot-check:
2026-10-13T234427Z.md carries the full mandatory frontmatter (id, title, type, draft status, sensitivity, corpus, source block with repo/path/pinned commit 6a06a926…/content hash) and the provenance footer naming this issue and its submission-DB record — matching the PASS report's specifics exactly.
- DB-side claims (token
turso.notes-submissions-token vaulted by name only; notes-submissions DB with the §7 schema; 184-row manifest; attempt ledger pushed → retryable_failed → pushed → held_kill_switch → pushed; all 10 submissions state=uploaded) stand as reported in the 2026-11-05 PASS comment, which states they were verified by independent reads at execution time; the zettel-side evidence above corroborates them.
Acceptance on this issue is met in full. Closing as completed. Follow-ons named in the PASS report (production uploader, PR-merge-hook submission source, Atlas partition wiring, review-queue UI, slip-corpus purpose, dezren39/zettel incorporation policy) remain open as separate future work, as filed there.
Process note for the fleet: a triage that checks only the origin repo's PR state will miss work whose product lands in another repo or a DB — the PASS report was on this very issue. Intake/triage for cross-repo pilots should read the issue's own latest comments before asserting nothing has started.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|