Skip to content

Commit 3646fe6

Browse files
Update AGENTS.md
1 parent 215d3f8 commit 3646fe6

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

AGENTS.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,29 @@ This project is undergoing a major rewrite from C/Rust to Zig. The following wor
7373

7474
### "Update tasks" (Backlog Refresh Loop)
7575

76-
When Tom says **"update tasks"**, he means: re-run the same backlog-refresh process that keeps `zig/`, `research/zig-cr/*`, `.tasks/`, and `.wishes/` in sync.
76+
When Tom says **"update tasks"**, he means: re-run the same backlog-refresh process that keeps `zig/`, `research/zig-cr/*`, `effect-native/`, `.tasks/`, and `.wishes/` in sync.
7777

7878
**Input reality (what exists today):**
79-
- Implementation: `zig/`
80-
- Current gap ledger: `research/zig-cr/92-gap-backlog.md`
79+
- Zig implementation: `zig/`
80+
- Zig gap ledger: `research/zig-cr/92-gap-backlog.md`
81+
- TypeScript spec + packages (Effect Native):
82+
- Specs: `effect-native/.specs/`
83+
- Packages: `effect-native/packages-native/`
8184
- Work queue: `.tasks/backlog/`, `.tasks/active/`, `.tasks/done/`
8285
- Product-owner inbox: `.wishes/` (and `.wishes/blocked-on-tom/`)
86+
- Upstream reference context (read-only): `.refs/effect/`, `.refs/effect-smol/`
8387

8488
**Procedure (do this in order):**
8589
1. Read all inbox wishes: list `.wishes/*.md` (not subdirs) and extract constraints/requests.
8690
2. Read task cards: list `.tasks/{active,backlog,done}/` and skim each card’s Description + Acceptance Criteria.
87-
3. Reconcile `zig/` vs `research/zig-cr/*`:
88-
- Use `research/zig-cr/90-feature-matrix.md` and `research/zig-cr/93-phased-execution-proposal.md` as “what we intended”.
89-
- Use the current `zig/` tree and test harnesses as “what we actually built”.
91+
3. Reconcile implementation vs specs/proposals:
92+
- Zig vs research proposals:
93+
- Use `research/zig-cr/90-feature-matrix.md` and `research/zig-cr/93-phased-execution-proposal.md` as “what we intended”.
94+
- Use the current `zig/` tree + harnesses as “what we actually built”.
95+
- Effect Native (TypeScript) vs its specs:
96+
- Use `effect-native/.specs/` as “what we intended”.
97+
- Use `effect-native/packages-native/` as “what we actually built”.
98+
- Use `.refs/effect/packages/sql/` and `.refs/effect/packages/sql-sqlite-bun/` as upstream reference context when the work touches Effect SQL integration.
9099
4. Identify gaps as explicit backlog items:
91100
- If a gap is not already owned by a `.tasks/backlog/TASK-*.md`, create one.
92101
- Every task card must declare: Files to Modify, Acceptance Criteria, and links back to the parent docs.
@@ -113,7 +122,8 @@ When Tom says **"delegate work"**, he means: take a curated subset of `.tasks/ba
113122
- Orchestrator moves cards between folders (`backlog → active → done`).
114123

115124
**Procedure:**
116-
1. Pick the highest-impact set of tasks that can run in parallel (disjoint file sets).
125+
1. **Consult the gap backlog first**: Read `research/zig-cr/92-gap-backlog.md` to understand the current state of the project, what's complete, and what gaps remain. This file contains the authoritative "Task map" showing what can run in parallel next.
126+
2. Pick the highest-impact set of tasks that can run in parallel (disjoint file sets).
117127
2. For each selected task:
118128
- Move `./.tasks/backlog/TASK-XXX-*.md``./.tasks/active/TASK-XXX-*.md`.
119129
- Launch a subagent with the task card as the *entire* prompt context.

0 commit comments

Comments
 (0)