Skip to content

docs: v2 (GitHub-backed) design doc - #29

Open
budhash wants to merge 1 commit into
mainfrom
docs/v2-design
Open

docs: v2 (GitHub-backed) design doc#29
budhash wants to merge 1 commit into
mainfrom
docs/v2-design

Conversation

@budhash

@budhash budhash commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Captures the v2 architecture — the next major version — settled in the 2026-08-04 brainstorm and sharpened by an adversarial (Fable) design review. Design doc only; no engine changes.

What v2 is

Why this PR now

Per the repo's own lesson — decisions made in chat evaporate; specs in-repo don't — this commits the settled decisions before implementation, and points MEMORY.md at the v2 direction.

Hard sequencing prerequisite (verified against the code)

DEFAULT_CANONICAL_SOURCE points at main's raw tasks.py and selfupdate overwrites whenever the fetched version is greater, with no major-boundary check. So a selfupdate cross-major guard must ship in the last 1.x release before v2 lands on main, or vendored 1.x copies self-update across the major boundary. Recorded in the doc's Sequencing and in MEMORY.md.

Status

Load-bearing decisions are settled; open items (file-layout mockup, id display, token/CI contract, GitHub operational ceilings, migration mechanics, pull semantics) are flagged in the doc for red-penning. The 1.x queue (#14 + #25 + the guard) ships first, then a 1.x freeze.

Capture the v2 architecture settled in the 2026-08-04 brainstorm and
sharpened by an adversarial review: every item is a GitHub issue
(collision-free ids by construction), a 4-level
release -> milestone -> feature -> task tree, and a pluggable Backend
interface (GitHub is one impl). Prose stays repo-primary (offline-first
preserved) and is mirrored to issue bodies; reconciliation is nonce-keyed.

Record the hard sequencing prerequisite: a selfupdate cross-major guard
must ship in the last 1.x release before v2 lands on main. Open items are
flagged in the doc for red-penning. No engine changes.

Point MEMORY.md at the v2 direction and this prerequisite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant