Skip to content

chore(lattice): backfill pipe()/middleware()/staticSite() records#158

Merged
gmoon merged 1 commit into
masterfrom
chore/lattice-backfill-adapters
Jul 14, 2026
Merged

chore(lattice): backfill pipe()/middleware()/staticSite() records#158
gmoon merged 1 commit into
masterfrom
chore/lattice-backfill-adapters

Conversation

@gmoon

@gmoon gmoon commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Closes the lattice gap surfaced during the reconcile (#157): the v4.1 Node convenience adapters had no requirement or implementation records, even though fetchWeb()'s JSDoc references them as its Node-side siblings.

New nodes

Edges

Wired the fetchWeb records as siblings via extends: REQ-CORE-007 → REQ-CORE-008 and IMP-CORE-005 → IMP-CORE-006 (fetchWeb extends the Node convenience-layer pattern to Web-standard runtimes).

Verification

lattice lint 0 issues, lattice drift 0, lattice health PASS. Now 17 requirements / 13 implementations, 0 orphaned.

Judgment calls (confirm if you disagree)

  1. One REQ/IMP for all three functions (they shipped as one coherent feature), mirroring how fetchWeb() got a single REQ/IMP.
  2. Edge direction: extends from the newer fetchWeb records → the earlier pipe/middleware records (no dedicated "sibling" edge type exists). Reversible if you'd prefer the other direction.
  3. Priority P1 for REQ-CORE-008 (real public-API surface used by the primary example), vs P2 for the smaller EXAMPLE items.

🤖 Generated with Claude Code

Closes the lattice gap surfaced during the reconcile: the v4.1 Node
convenience adapters (commit e395019, PR #129, closing #126/#127) had no
requirement or implementation records.

- REQ-CORE-008 — one requirement covering pipe()/middleware()/staticSite() as
  opt-in layers over the pure fetch() primitive. derives_from THX-PURE-FETCH,
  THX-CORE-VALUE, THX-TYPED-ERRORS; depends_on REQ-CORE-004; verified.
- IMP-CORE-006 — implementation record (src/index.ts seams, examples,
  test/pipe.test.ts + test/static-site.test.ts, smoke gate).
- Wired the fetchWeb records as siblings: REQ-CORE-007 extends REQ-CORE-008
  and IMP-CORE-005 extends IMP-CORE-006 (fetchWeb is the Web analog of
  pipe()/middleware(), per its JSDoc).

lattice lint/drift clean, health PASS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gmoon
gmoon merged commit 1d43106 into master Jul 14, 2026
9 checks passed
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