Repository navigation
docs(diagrams): bring dependency-graph.md back in line with the source at 0.15.1 - #211
Conversation
…e at 0.15.1 The page still drew the consolidator as an eve agent and cited three files under apps/consolidator/agent/ that commit 40511b7 deleted when the agent became an in-process AI SDK tool loop. It also predated packages/integrations and packages/telemetry, pinned Effect at rc.109, and carried edge and import-site counts measured on that older tree. Re-measured at d64e6a3 with artifacts kept alongside this run: 14 internal packages, 45 direct internal edges reduced to 19 (26 dropped, acyclic), two sinks (contracts and telemetry), cli importing 12 of the other 13. The eve node is gone; the consolidator's AI SDK stack is drawn as a second edge into Bedrock Runtime (same InvokeModel service, apps/consolidator/src/model.ts:14-15) and @effect/platform-node moves to the overflow table so the diagram stays at the 20-node budget. Every pin, manifest line and import site was re-read; the four declared-but-unused workspace dependencies are listed with their reasons; the page gains the version stamp and See also method sentence the insights pages use, with regenerated counts (5/5/2/2 -> 24/20/18/14/12/11). module-map.md: drop the deleted apps/consolidator/src/run-auth.ts from the supporting-code list and update its Dependency graph See also count to match.
|
Local gate on this head (ff76113): |
|
CI |
#214) fix: remove the timing races behind three intermittently failing tests Each of these failed on CI or on a loaded box while the same tree passed alone; none was a wrong answer from the code under test. - integrations doctor "completes the live MCP handshake": the handshake probe had a 5 s bound for strictly more work than the 10 s version probe (the server must load the CLI's module graph and open and migrate the store's database before it can answer initialize). HANDSHAKE_TIMEOUT_MS is now 20 s and the test's own vitest timeout 45 s, above the sum of both probe bounds. Failed 2026-09-14 (twice, locally under a11y/Lighthouse load) and on CI for #207 on 2026-09-22. - store "compensates an INTERRUPTED archive": the test interrupted on a 200 ms wall clock while claiming to interrupt at the hanging commit. On a slow runner 200 ms landed inside `git mv` or `git add`; the aborted child still held .git/index.lock when the compensation's `git reset` ran, so restore failed as a whole and the moved file was never put back (CI for #211, 2026-09-23: ENOENT on the first readFile). The fake commit now signals a Deferred when reached and hangs; the test forks the archive, waits for the signal, interrupts the fiber, and asserts the exit carries an interrupt. The interruption lands at the commit on every box, which is the production case the comment names. - consolidator "removes the temp parent it created": the census counted every memhtml-corpus-snapshot-* entry in tmpdir(), which reachability.test.ts creates and removes in a parallel worker (5 before, 3 after on 2026-09-08). The census now reads only the two names this case created; dropping the rm(parent) from release still leaves both and fails the assertion. Merged under the standing authority Laith granted on 2026-09-23 for addressing flakes.
Documentation only:
docs/diagrams/structural/dependency-graph.mdrealigned to the source at 0.15.1 (maind64e6a3), plus two lines indocs/architecture/module-map.md.Why the page needed it. It still drew the consolidator as an
eveagent and citedapps/consolidator/agent/agent.ts,agent/channels/eve.tsandagent/sandbox/sandbox.ts, all deleted by 40511b7 when the agent became an in-process AI SDK tool loop. It did not knowpackages/integrationsorpackages/telemetryexisted, pinned Effect at rc.109, and every count in its prose (12 packages, 37 direct edges, 18 dropped, "cli imports nine of the other eleven", the worked-example site counts, the overflow edge counts) came from that older tree. The See also counts were 5/5/2/2 where the generator gives 24/20/18/14/12/11, and the page had no version stamp.What changed, all re-measured this run (
artifactskept with the maintenance job:depgraph-measure.pyand its output):contractsandtelemetryare the two sinks;mcpis the only source;cliimports 12 of the other 13.evenode is gone. The consolidator'sai/@ai-sdk/amazon-bedrock/@ai-sdk/anthropicstack is drawn as a second edge intoBedrock Runtimebecauseapps/consolidator/src/model.ts:14-15says the direct path is the same InvokeModel callpackages/llmmakes with the AWS SDK; the three libraries keep separate pins in the table.@effect/platform-node(one import site) moves to the overflow so the diagram stays at exactly 20 nodes.pnpm-workspace.yaml:93-94,just-bash3.4.2, Bedrock Runtime 3.1135.0,@ai-sdk/amazon-bedrock5.0.81, pluszodandjsonc-parserin the overflow). Everypath:linecitation re-verified: 121 citations, 0 missing, 0 out of range.module-map.md: the deletedapps/consolidator/src/run-auth.ts(231 LOC) leaves the supporting-code list, and its Dependency graph See also row goes 5 -> 24. Nothing else in that file changed; its other See also rows are also stale and are a target for a later run.Source-side notes surfaced by the audit, not changed here (they are under
apps/*/srcor manifests):apps/consolidator/package.json:5still describes the package as "The eve agent"; the comment atapps/cli/src/exec.ts:321-322still names aneveclosure inapi-layer.tsas its precedent;apps/consolidator/src/index.ts:6-7says only the sleep phase depends on the barrel whilecliandevalimport it.mise run format:mdmade no further change. Local gate result in the first comment. Authority: documentation edits for legibility (standing authority item 2); docs-only, so Laith's 2026-09-14 ruling covers the merge while Copilot's body is its quota message.