Skip to content

Commit 3c693dd

Browse files
committed
feat: emit -> down
1 parent 9e60eee commit 3c693dd

44 files changed

Lines changed: 631 additions & 1565 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/dev-dispatch/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Load context and plan the implementation in a single pass. **Parallelize all rea
2222
Read in parallel:
2323

2424
- **`~/src/graphrefly/GRAPHREFLY-SPEC.md`** — primary behavioral authority; read sections relevant to the task
25-
- **`docs/optimizations.md`**built-in optimizations, cross-language notes, and **open design decisions** (read when touching protocol, batch, node lifecycle, or parity with graphrefly-ts)
25+
- `docs/optimizations.md`**active work items**, anti-patterns, and **deferred follow-ups** (read when touching protocol, batch, node lifecycle, or parity). Resolved decisions are archived in `archive/optimizations/*.jsonl` — search there for historical context (see `docs/docs-guidance.md` § "Optimization decision log")
2626
- **`docs/test-guidance.md`** — checklists for the layer you touch (protocol, node, graph, operators)
27-
- **`docs/roadmap.md`** — phase alignment and acceptance criteria (read for new features or scope questions)
27+
- **`docs/roadmap.md`** — phase alignment and acceptance criteria (active/open items only; completed phases archived to `archive/roadmap/*.jsonl`)
2828
- **`archive/docs/SESSION-graphrefly-spec-design.md`** — design lineage, simplifications vs callbag-recharge, scenario validation
2929
- Any files the user referenced in $ARGUMENTS
3030
- Relevant source under `src/graphrefly/{core,graph,extra}/`
@@ -73,7 +73,7 @@ Prioritize (in order):
7373

7474
Do NOT treat backward compatibility as a primary constraint pre-1.0 unless the user says otherwise.
7575

76-
**Cross-language decision log:** If Phase 1–2 surface an **architectural or product-level** question (protocol semantics, batch/node invariants, parity with TypeScript, or anything that needs a spec/product call), **jot it down** in **`docs/optimizations.md`** — use **Open design decisions** or **Cross-language implementation notes** as appropriate. If the sibling repo **`graphrefly-ts`** is available (e.g. `../graphrefly-ts` next to this checkout), add a **matching** entry to **`graphrefly-ts/docs/optimizations.md`** so both implementations stay visible. If the sibling tree is not in the workspace, tell the user to mirror the note there.
76+
**Cross-language decision log:** If Phase 1–2 surface an **architectural or product-level** question (protocol semantics, batch/node invariants, parity with TypeScript, or anything that needs a spec/product call), **jot it down** in **`docs/optimizations.md`** under **"Active work items"**. If the sibling repo **`graphrefly-ts`** is available, add a **matching** entry to **`graphrefly-ts/docs/optimizations.md`** so both implementations stay visible. If the sibling tree is not in the workspace, tell the user to mirror the note there. When the decision is **resolved**, move it to `archive/optimizations/resolved-decisions.jsonl` per `docs/docs-guidance.md` § "Optimization decision log".
7777

7878
**Wait for user approval before proceeding.**
7979

@@ -113,6 +113,6 @@ After user approves (full mode) or after Phase 1 (light mode, no escalation):
113113

114114
4. Fix any failures
115115

116-
If implementation leaves an **open architectural decision** (deferred behavior, parity caveat, or “needs spec” item), update **`docs/optimizations.md`** here and mirror to **`graphrefly-ts/docs/optimizations.md`** when that repo is available.
116+
If implementation leaves an **open architectural decision** (deferred behavior, parity caveat, or “needs spec” item), add it to **`docs/optimizations.md`** under “Active work items” and mirror to **`graphrefly-ts/docs/optimizations.md`** when that repo is available. When resolved, archive to `archive/optimizations/resolved-decisions.jsonl` per `docs/docs-guidance.md`.
117117

118118
When done, briefly list files changed and new exports. Suggest running **`/qa`** for adversarial review and final checks.

.claude/skills/parity/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Determine scope from $ARGUMENTS:
1818
- If `full`, scan all implemented phases in both roadmaps.
1919

2020
Read in parallel:
21-
- **This repo:** `docs/optimizations.md` (cross-language notes + gaps), `docs/roadmap.md`, `~/src/graphrefly/GRAPHREFLY-SPEC.md` (relevant sections)
22-
- **Sibling repo:** `~/src/graphrefly-ts/docs/optimizations.md`, `~/src/graphrefly-ts/docs/roadmap.md`
21+
- **This repo:** `docs/optimizations.md` (active items + deferred), `archive/optimizations/*.jsonl` (cross-language notes, resolved decisions — search with `grep`), `docs/roadmap.md` (active/open items only; completed phases archived to `archive/roadmap/*.jsonl`), `~/src/graphrefly/GRAPHREFLY-SPEC.md` (relevant sections)
22+
- **Sibling repo:** `~/src/graphrefly-ts/docs/optimizations.md`, `~/src/graphrefly-ts/archive/optimizations/*.jsonl`, `~/src/graphrefly-ts/docs/roadmap.md` (active/open items only; completed phases archived to `archive/roadmap/*.jsonl`)
2323
- Source files in the scoped area from **both** repos
2424
- Test files in the scoped area from **both** repos
2525

@@ -117,8 +117,8 @@ After user approves:
117117
- Code + tests in `~/src/graphrefly-ts/`
118118
- Run `cd ~/src/graphrefly-ts && pnpm test` — fix failures
119119
4. Update `docs/optimizations.md` in **both** repos:
120-
- Remove resolved gaps from cross-language tables
121-
- Add any new decisions to the appropriate section
120+
- Add new open decisions under "Active work items"
121+
- When decisions are resolved, archive to `archive/optimizations/resolved-decisions.jsonl` per `docs/docs-guidance.md` § "Optimization decision log"
122122

123123
---
124124

.claude/skills/qa/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Group:
5959
1. **Needs Decision** — architecture-affecting or ambiguous
6060
2. **Auto-applicable** — clear fixes matching existing patterns
6161

62-
**Cross-language decision log:** For **Needs Decision** items that are architectural or affect Python/TypeScript parity, note them in **`docs/optimizations.md`** (e.g. **Open design decisions** or **Cross-language implementation notes**). If **`graphrefly-ts`** is available alongside this repo, add the same bullet to **`graphrefly-ts/docs/optimizations.md`**. If not available, call out mirroring for the user.
62+
**Cross-language decision log:** For **Needs Decision** items that are architectural or affect Python/TypeScript parity, add them to **`docs/optimizations.md`** under "Active work items". If **`graphrefly-ts`** is available alongside this repo, add the same entry to **`graphrefly-ts/docs/optimizations.md`**. If not available, call out mirroring for the user. When resolved, archive to `archive/optimizations/resolved-decisions.jsonl` per `docs/docs-guidance.md` § "Optimization decision log".
6363

6464
**Wait for user decisions on group 1. Group 2 can be applied when the user approves the batch.**
6565

@@ -94,8 +94,8 @@ Update documentation as appropriate:
9494

9595
- **`docs/docs-guidance.md`** — if documentation *conventions* or generator commands change, update this file so `/qa` stays aligned
9696
- **`~/src/graphrefly/GRAPHREFLY-SPEC.md`** — only if the user-owned spec change is part of this task (usually avoid; spec is shared with graphrefly-ts)
97-
- **`docs/optimizations.md`**when this review records **open architectural decisions** or cross-language parity notes; mirror substantive entries to **`graphrefly-ts/docs/optimizations.md`** if that repo is in the workspace
98-
- **`docs/roadmap.md`** — mark items done, add items if scope changed
97+
- **`docs/optimizations.md`**add **new open decisions** under "Active work items"; when **resolved**, archive to `archive/optimizations/resolved-decisions.jsonl` per `docs/docs-guidance.md` § "Optimization decision log"; mirror to **`graphrefly-ts`** if in workspace
98+
- **`docs/roadmap.md`** — mark items done; when a phase/group is fully done, archive to `archive/roadmap/*.jsonl` per `docs/docs-guidance.md` § "Roadmap archive"
9999
- **`docs/test-guidance.md`** — if new test patterns or file conventions were established
100100
- **`archive/docs/`** — session or design notes only when explicitly part of the task
101101
- **Structured docstrings** (Google-style: summary, Args, Returns, Examples) on exported public APIs — Tier 1 per **`docs/docs-guidance.md`**; keep semantics aligned with graphrefly-ts JSDoc where APIs match

TRASH-FILES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
emit_with_batch.md - moved to TRASH/ - renamed to down_with_batch; API page will be regenerated by docs:gen
2+
EmitStrategy.md - moved to TRASH/ - renamed to DownStrategy; API page will be regenerated by docs:gen

website/src/content/docs/api/EmitStrategy.md renamed to TRASH/EmitStrategy.md

File renamed without changes.

website/src/content/docs/api/emit_with_batch.md renamed to TRASH/emit_with_batch.md

File renamed without changes.

0 commit comments

Comments
 (0)