@staix/agent-hub 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -0
- package/README.md +25 -4
- package/THIRD_PARTY_NOTICES.md +0 -18
- package/docs/agent-notes/README.md +71 -1
- package/docs/agent-notes/adapters.md +5 -2
- package/docs/agent-notes/bus.md +1 -0
- package/docs/agent-notes/daemon.md +7 -6
- package/docs/agent-notes/local-worker.md +1 -0
- package/docs/agent-notes/models.md +5 -3
- package/docs/agent-notes/tasks.md +9 -2
- package/docs/agent-notes/tests.md +1 -1
- package/docs/contracts/companion-cli-v1.json +70 -0
- package/docs/design/adapters.md +115 -2
- package/docs/design/agent-hub-architecture.md +10 -2
- package/docs/design/bus.md +8 -0
- package/docs/design/execution-reference.md +171 -11
- package/docs/design/guidance-experiments.md +438 -0
- package/docs/design/guidance-probes.md +802 -0
- package/docs/design/model-routes.md +1053 -0
- package/docs/design/supervision.md +121 -0
- package/docs/design/task-board.md +111 -0
- package/docs/dogfood.md +24 -15
- package/docs/events.md +20 -1
- package/docs/memory.md +3 -3
- package/docs/operations.md +366 -133
- package/docs/profiles.md +2 -2
- package/docs/quickstart.md +114 -3
- package/docs/research.md +5 -3
- package/docs/sdlc.md +113 -7
- package/docs/security.md +88 -6
- package/docs/specs/2026-09-19-agent-hub-design.md +14 -11
- package/docs/specs/2026-10-04-switchyard-source-port-design.md +3 -1
- package/docs/verification/2026-10-25-qwen-dual-output-t0.md +22 -0
- package/docs/verification/2026-11-08-qwen-0269-model-setter-1317.md +25 -11
- package/docs/verification/2026-11-09-qwen-0270-acp.md +181 -0
- package/docs/verification/2026-11-09-qwen-0270-model-setter-1317.md +61 -0
- package/docs/verification/2026-11-10-0.36.0.md +59 -0
- package/docs/verification/2026-11-10-claude-implementer-2.1.322.md +59 -0
- package/docs/verification/2026-11-10-qwen-0270-dual-output.md +367 -0
- package/docs/verification/2026-11-10-qwen-0271-dual-output.md +101 -0
- package/docs/verification/2026-11-11-0.37.0.md +40 -0
- package/docs/verification/2026-11-11-guidance-probe-t2-1226.md +153 -0
- package/docs/verification/2026-11-11-qwen-setter-suggestions-off.md +167 -0
- package/docs/verification/claude-shell-wrapper-native.py +1 -1
- package/docs/verified.json +27 -27
- package/package.json +3 -4
- package/plugins/agent-hub/.claude-plugin/plugin.json +1 -1
- package/plugins/agent-hub/kimi-hook.js +3570 -1800
- package/plugins/agent-hub/server.js +4112 -1913
- package/src/adapters/channel-peer.ts +7 -1
- package/src/adapters/claude-channel.ts +7 -4
- package/src/adapters/compat.ts +10 -10
- package/src/adapters/local-probe.ts +174 -0
- package/src/adapters/local-worker.ts +233 -22
- package/src/adapters/qwen-dual.ts +324 -44
- package/src/cli/console-state.ts +25 -6
- package/src/cli/console-versions.ts +99 -0
- package/src/cli/console.ts +13 -1
- package/src/cli/guidance.ts +67 -0
- package/src/cli/help.ts +12 -4
- package/src/cli/identity.ts +10 -3
- package/src/cli/init-prompt.ts +15 -2
- package/src/cli/init-required-checks.ts +122 -0
- package/src/cli/init-settings.ts +10 -4
- package/src/cli/init.ts +39 -3
- package/src/cli/install-paths.ts +7 -2
- package/src/cli/lineage.ts +78 -0
- package/src/cli/main.ts +171 -14
- package/src/cli/runtime-version-warning.ts +2 -2
- package/src/cli/sdlc-output.ts +9 -5
- package/src/cli/setup-research.ts +10 -0
- package/src/hub/autonomy-defaults.ts +20 -9
- package/src/hub/board.ts +346 -4
- package/src/hub/build-entry.ts +11 -0
- package/src/hub/bus.ts +12 -0
- package/src/hub/ci-watch.ts +4 -4
- package/src/hub/config-apply.ts +6 -3
- package/src/hub/config-trust.ts +7 -1
- package/src/hub/control-client.ts +5 -2
- package/src/hub/daemon.ts +508 -26
- package/src/hub/delivery-hints.ts +4 -2
- package/src/hub/delivery-journal.ts +50 -2
- package/src/hub/delivery-public.ts +51 -0
- package/src/hub/dogfood-profile.ts +8 -4
- package/src/hub/events.ts +3 -2
- package/src/hub/execution-lineage-owner.ts +272 -0
- package/src/hub/execution-lineage.ts +52 -8
- package/src/hub/execution-links.ts +85 -0
- package/src/hub/guidance-probe-store.ts +713 -0
- package/src/hub/guidance-probes.ts +358 -0
- package/src/hub/guidance-variants.ts +398 -0
- package/src/hub/handoff.ts +1 -0
- package/src/hub/hub-tools.ts +43 -2
- package/src/hub/inference.ts +18 -5
- package/src/hub/manager.ts +44 -2
- package/src/hub/memory-policy.ts +2 -2
- package/src/hub/operational-authority.ts +13 -1
- package/src/hub/peers.ts +6 -1
- package/src/hub/planning.ts +1 -1
- package/src/hub/ports.ts +1 -1
- package/src/hub/progress.ts +47 -23
- package/src/hub/report.ts +2 -0
- package/src/hub/research.ts +1 -0
- package/src/hub/restart.ts +20 -0
- package/src/hub/roles.ts +26 -0
- package/src/hub/routing.ts +4 -1
- package/src/hub/sdlc-merge.ts +39 -1
- package/src/hub/sdlc-release-authorization.ts +139 -17
- package/src/hub/sdlc-release-policy.ts +100 -0
- package/src/hub/sdlc-release.ts +60 -8
- package/src/hub/sdlc.ts +62 -11
- package/src/hub/settings.ts +2 -0
- package/src/hub/supervision-proposals.ts +405 -0
- package/src/hub/supervision-rules.ts +388 -0
- package/src/hub/supervision.ts +2 -0
- package/src/hub/task-approval.ts +2 -2
- package/src/hub/task-repository.ts +5 -0
- package/src/hub/tasks.ts +917 -53
- package/src/local/probe-errors.ts +28 -0
- package/src/local/probe-sandbox.ts +224 -0
- package/src/local/probe-types.ts +108 -0
- package/src/local/probe-workspace.ts +237 -0
- package/src/local/sandbox.ts +71 -2
- package/src/local/tools.ts +135 -9
- package/src/memory/capture.ts +2 -2
- package/src/models/relay.ts +9 -2
- package/src/models/route/advisor-trigger.ts +88 -0
- package/src/models/route/config.ts +39 -8
- package/src/models/route/conversation-view.ts +179 -0
- package/src/models/route/decision-evidence.ts +1 -1
- package/src/models/route/decision.ts +193 -26
- package/src/models/route/escalation-control.ts +30 -0
- package/src/models/route/hub-prompts.ts +97 -0
- package/src/models/route/judge-choice.ts +155 -0
- package/src/models/route/judge-replies.ts +102 -0
- package/src/models/route/labels.ts +14 -70
- package/src/models/route/observation-signals.ts +250 -0
- package/src/models/route/plan-execute-choice.ts +27 -0
- package/src/models/route/relay-selector.ts +10 -9
- package/src/models/route/runtime.ts +129 -60
- package/src/models/route/stage-diagnostics.ts +22 -0
- package/src/models/route/stage-evidence.ts +55 -0
- package/src/models/route/stage-fallback.ts +58 -0
- package/src/models/route/stage-input.ts +155 -0
- package/src/models/route/stage.ts +5 -147
- package/src/models/route/turn-state.ts +77 -0
- package/src/omniroute/client.ts +3 -0
- package/src/ui/guidance-panel.ts +156 -0
- package/src/ui/guidance-view.ts +43 -0
- package/src/ui/lineage-view.ts +34 -0
- package/src/ui/plugin.ts +141 -27
- package/src/version.ts +4 -0
- package/templates/adec/README.md +32 -0
- package/templates/adec/ahub.plan-execute.json +23 -0
- package/templates/adec/ahub.stage.json +23 -0
- package/LICENSES/Apache-2.0.txt +0 -204
- package/src/models/route/advisor.ts +0 -102
- package/src/models/route/escalation.ts +0 -82
- package/src/models/route/judge.ts +0 -23
- package/src/models/route/normalize.ts +0 -103
- package/src/models/route/plan-execute.ts +0 -52
- package/src/models/route/prompts.ts +0 -8
- package/src/models/route/signals.ts +0 -247
- package/src/models/route/state.ts +0 -54
- package/src/models/route/text.ts +0 -61
|
@@ -12,17 +12,29 @@ tags: [agent-hub]
|
|
|
12
12
|
paths:
|
|
13
13
|
- src/hub/execution-reference.ts
|
|
14
14
|
- src/hub/execution-lineage.ts
|
|
15
|
+
- src/hub/execution-lineage-owner.ts
|
|
16
|
+
- src/hub/execution-links.ts
|
|
17
|
+
- src/cli/lineage.ts
|
|
18
|
+
- test/execution-lineage-admission.test.ts
|
|
19
|
+
- test/execution-link-tasks.test.ts
|
|
20
|
+
- test/execution-lineage-owner.test.ts
|
|
21
|
+
- test/execution-lineage-control.test.ts
|
|
22
|
+
- test/execution-lineage-cli.test.ts
|
|
23
|
+
- test/execution-lineage-console.test.ts
|
|
24
|
+
- test/execution-lineage-performance.test.ts
|
|
15
25
|
- test/execution-reference.test.ts
|
|
16
26
|
- test/execution-lineage.test.ts
|
|
27
|
+
- src/ui/lineage-view.ts
|
|
17
28
|
- test/fixtures/execution-reference-v1.json
|
|
18
29
|
---
|
|
19
30
|
|
|
20
31
|
# ExecutionReferenceV1
|
|
21
32
|
|
|
22
33
|
Source-owner contract for [#1220](https://github.com/STAIxBWLB/agent-hub/issues/1220).
|
|
23
|
-
T1 supplies an address validator, neutral vectors and a pure reader. T2
|
|
34
|
+
T1 supplies an address validator, neutral vectors and a pure reader. T2 adds
|
|
24
35
|
Tasks admission and CLI/MCP wiring; T3 owns the console and measured performance.
|
|
25
|
-
|
|
36
|
+
The only new persistence is admitted, deduplicated external-reference metadata.
|
|
37
|
+
There is no automatic resolver, backfill or runtime polling.
|
|
26
38
|
|
|
27
39
|
## Address contract
|
|
28
40
|
|
|
@@ -51,19 +63,27 @@ shared runtime dependency. Neutral valid/invalid JSON vectors live in
|
|
|
51
63
|
A path-like or URL-like id is still opaque data. Never open, execute, fetch,
|
|
52
64
|
route to another node or interpret credentials from any address field. A resolver
|
|
53
65
|
must separately select a known source owner and its authorized project; no
|
|
54
|
-
implicit node or project fallback is allowed.
|
|
66
|
+
implicit node or project fallback is allowed. Every `ahub` node has the source
|
|
67
|
+
hub project key. A foreign producer key is allowed only on an admitted
|
|
68
|
+
`declared-external` target node, with declared strength. It stays verbatim and is
|
|
69
|
+
never compared with the hub namespace, resolved, fetched or used for routing.
|
|
70
|
+
The live hub derives its stable opaque source key once at startup from its existing
|
|
71
|
+
project identity; it does not emit a raw directory or use the per-start instance id.
|
|
72
|
+
Foreign roots and outgoing foreign edges are unsupported. The host supplies the
|
|
73
|
+
explicit admitted-target projection; a producer-supplied edge alone proves no admission.
|
|
55
74
|
|
|
56
75
|
## Pure source boundary
|
|
57
76
|
|
|
58
77
|
`readExecutionLineage(source, query)` receives a host-owned snapshot of an explicit
|
|
59
78
|
root neighborhood and returns values only. It does not construct a Board,
|
|
60
79
|
DeliveryJournal or CompletionStore (their constructors can write), read files,
|
|
61
|
-
call a model, spawn a process, probe, replay, fetch or write memory.
|
|
62
|
-
already-open owner readers and
|
|
63
|
-
it must not scan the entire board on
|
|
80
|
+
call a model, spawn a process, probe, replay, fetch or write memory. The host reuses
|
|
81
|
+
already-open owner readers and explicit relationships to assemble the snapshot;
|
|
82
|
+
it must not scan the entire board on a read.
|
|
64
83
|
|
|
65
84
|
The host pins `id`, `revision`, `projectKey` and caller `scope`, source `health`,
|
|
66
|
-
source-read `authorized` authority
|
|
85
|
+
source-read `authorized` authority, diagnostic authority and the explicit
|
|
86
|
+
`admittedExternalTargets` projection from saved public declarations. These are never
|
|
67
87
|
accepted from a producer or query. A snapshot contains metadata nodes and explicit
|
|
68
88
|
edges, already privacy-projected by the source owner. Each node carries its own
|
|
69
89
|
source reference, state token and evidence strength; no title, note, path,
|
|
@@ -82,11 +102,11 @@ trace ids, current roles or matching hashes alone.
|
|
|
82
102
|
|
|
83
103
|
| Existing relationship | Valid projection | Ceiling |
|
|
84
104
|
| --- | --- | --- |
|
|
85
|
-
| Task `offer.envelopeId` and matching journal `originals[].id` / `refs.task` | Task to dispatch |
|
|
105
|
+
| Task `offer.envelopeId` and matching journal `originals[].id` / `refs.task` | Task to explicitly scoped journal dispatch | Offer envelope ids are not journal row ids; no reverse discovery or invented dispatch state |
|
|
86
106
|
| `ExperimentAttemptRecord.attempt.taskId` | Task to research attempt | Does not identify the dispatch that caused it |
|
|
87
107
|
| Attempt id on output event and host observations | Attempt to output | Event is declared unless its stored owner observation proves more |
|
|
88
108
|
| Verified runner receipt `attemptId`, `protocolHash`, output name/hash | Attempt/output evidence | Preserve verified runner provenance; a runner output name is not a hub deliverable id |
|
|
89
|
-
| Review history `deliverables[].id/sha256`, `reviewedHead` | Output to review | Historical exact-hash/head binding, not current approval of edited bytes |
|
|
109
|
+
| Review history `deliverables[].id/sha256`, `reviewedHead` | Output or recorded head to review | Historical exact-hash/head binding, not current approval of edited bytes |
|
|
90
110
|
| Journal `previousId` | Exact predecessor metadata | `attempt` is a retry ordinal, not a research attempt id |
|
|
91
111
|
|
|
92
112
|
There is currently no persisted dispatch-to-research-attempt relationship.
|
|
@@ -142,5 +162,145 @@ returned on a complete page.
|
|
|
142
162
|
parsing. `test/execution-lineage.test.ts` pins explicit traversal, missing edges,
|
|
143
163
|
independent states, evidence ceilings, privacy, unavailable equivalence, bounded
|
|
144
164
|
pages and source/scope/root invalidation. Fixtures run without a daemon, native
|
|
145
|
-
agent or account. CLI/MCP equivalence, admission
|
|
146
|
-
|
|
165
|
+
agent or account. CLI/MCP and console equivalence, admission and review currency
|
|
166
|
+
are pinned by the T2/T3 tests below; native coverage remains unverified.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## Tasks admission and owner-scoped reads (T2)
|
|
170
|
+
|
|
171
|
+
`Tasks.linkExecutionReference` is the only external-reference write boundary.
|
|
172
|
+
The input binds the task id, its creation identity and current flow revision,
|
|
173
|
+
and one closed ExecutionReferenceV1 target. An optional `from` names an exact
|
|
174
|
+
local source node already in that task's bounded neighborhood; without it, the
|
|
175
|
+
source is the task reference. The current actor must retain the task role
|
|
176
|
+
and local project scope. PII tasks and private turns refuse before capture or
|
|
177
|
+
persistence. Current authority, task revision and privacy are checked again after
|
|
178
|
+
screening and immediately before the atomic write. Identical admitted metadata
|
|
179
|
+
returns the existing declaration; changed or stale admission never silently
|
|
180
|
+
rewrites an old record. A reference is inert declared metadata, never a runner
|
|
181
|
+
receipt or an external read instruction.
|
|
182
|
+
|
|
183
|
+
Reads expand the bounded admitted local neighborhoods to a fixed point before
|
|
184
|
+
emitting declared edges. A protocol or runner-receipt origin remains visible
|
|
185
|
+
regardless of declaration id order; expansion follows only those explicit links.
|
|
186
|
+
|
|
187
|
+
The table stores only admitted source/target reference metadata and its local task
|
|
188
|
+
binding. Its uniqueness key includes the canonical source and target, so repeated
|
|
189
|
+
admission preserves the original actor and timestamp without rewriting it. There is no derived relationship table, migration backfill or implicit
|
|
190
|
+
reverse-discovery index. Task roots resolve forward from their own task row,
|
|
191
|
+
current offer and recorded deliverables/reviews. Attempt roots resolve from their
|
|
192
|
+
own attempt row and its explicit task id, protocol, events and receipts. Dispatch,
|
|
193
|
+
deliverable and output roots require an explicit owning-task scope (id and
|
|
194
|
+
creation identity) and exact recorded membership in that task's row. Without it,
|
|
195
|
+
the result is unavailable, with `unsupported` visible only to diagnostic operators.
|
|
196
|
+
This is the historical-coverage ceiling for AC5, not a claim of missing records.
|
|
197
|
+
Owner-maintained derived indexes are the future upgrade path.
|
|
198
|
+
|
|
199
|
+
The read path uses only repository identities warmed at startup or by normal
|
|
200
|
+
Tasks mutations. An unknown refs identity is unavailable rather than causing a
|
|
201
|
+
Git or path probe. Its metadata screen is pure: when a private-path or deny policy
|
|
202
|
+
is configured, path-shaped fields and stored paths without cached alias proof are
|
|
203
|
+
withheld. A task with path/section selectors under a private-path policy is also
|
|
204
|
+
withheld. This conservative ceiling prevents a read from resolving symlinks or
|
|
205
|
+
probing a producer address; a future owner-maintained public metadata projection
|
|
206
|
+
can recover those slices without weakening privacy.
|
|
207
|
+
|
|
208
|
+
Attempt-event projection also requires a host-owned capability derived from the
|
|
209
|
+
current policy. Any configured PII path, local deny entry or routing PII pattern
|
|
210
|
+
makes raw event paging unsupported: neither zero filtered rows nor a longer raw
|
|
211
|
+
page proves a complete public neighborhood. This includes historical public
|
|
212
|
+
events whose fields a later policy narrowing would now withhold; the refusal is
|
|
213
|
+
data-independent and does not disclose whether such a row exists. Attempt/output roots and local
|
|
214
|
+
attempt/output traversals then refuse before event paging, including task-root
|
|
215
|
+
neighborhoods whose declarations require those records; they never return a
|
|
216
|
+
partial graph as complete. Task, head, deliverable and foreign declared metadata
|
|
217
|
+
remain available when their own privacy checks pass and no event source is needed.
|
|
218
|
+
This capability is not query-selectable. The upgrade path is a privacy-aware page
|
|
219
|
+
source supplying complete public metadata, not a derived privacy index, backfill
|
|
220
|
+
or unbounded scan added by T2.
|
|
221
|
+
|
|
222
|
+
No read infers an edge from a title, time, shared path or matching hash. The
|
|
223
|
+
missing dispatch-to-attempt observation remains missing unless a separately
|
|
224
|
+
admitted declaration explicitly names it; declared metadata never upgrades the
|
|
225
|
+
strength of surrounding evidence. Read operations never spawn, probe, fetch,
|
|
226
|
+
replay, write memory or admit a reference.
|
|
227
|
+
|
|
228
|
+
Historical review metadata stays visible only through its public source view.
|
|
229
|
+
Review currency binds the full reviewed public id/hash set and submitted head to the
|
|
230
|
+
latest public deliverable submission, using the existing delivery-history semantics.
|
|
231
|
+
Approved and changes-requested review copies are not new submissions. A public
|
|
232
|
+
replacement, addition or removal outside that reviewed set invalidates the old
|
|
233
|
+
verdict even when a retained artifact's hash and head are unchanged; reordered
|
|
234
|
+
identical sets remain equivalent. Wholly private or withheld submission updates do
|
|
235
|
+
not change public currency or cursor bindings. Historical evidence remains visible
|
|
236
|
+
under its original verdict and exact hash/head references. This is currency against
|
|
237
|
+
recorded public source metadata, not a blanket task approval or a live file or Git
|
|
238
|
+
freshness probe; unrecorded changes remain unknown. Source revisions and cursors
|
|
239
|
+
bind only the authorized public graph, never raw history counts or unprojected task
|
|
240
|
+
fields. A declared external reference cannot make a review current. Code-only reviews
|
|
241
|
+
retain an explicit recorded-head node even when no deliverable was submitted;
|
|
242
|
+
a head string alone is declared source metadata, not a Git observation. Review
|
|
243
|
+
state tokens retain the original verdict with a stale or unknown suffix when
|
|
244
|
+
its binding is no longer current or cannot be established.
|
|
245
|
+
|
|
246
|
+
T2 exposes diagnostic reasons only to the authenticated console person. Agents,
|
|
247
|
+
including the conductor, receive the neutral unavailable shape for denied, hidden,
|
|
248
|
+
invalid and absent reads; a global role never grants access to staged backlog ids.
|
|
249
|
+
|
|
250
|
+
The ordinary CLI/MCP surfaces share the same Tasks projection. Configured
|
|
251
|
+
read-only MCP sessions keep their existing publication list, and isolated
|
|
252
|
+
reviewers keep exactly their existing two tools. The new metadata-link operation
|
|
253
|
+
never becomes a read-only tool.
|
|
254
|
+
|
|
255
|
+
## Console surface and measured reads (T3)
|
|
256
|
+
|
|
257
|
+
The acon console reads lineage through a provider port, not a panel id and not a
|
|
258
|
+
dashboard action. `projectConsole(...).lineage` in `src/hub/manager.ts` sends the
|
|
259
|
+
console role's existing `lineage_show` control message, which the hub answers
|
|
260
|
+
in-stack from the same `Tasks` projection the CLI and MCP read. This lineage read
|
|
261
|
+
adds no protocol message, panel id or action id, and leaves `DASHBOARD_VIEWS` and
|
|
262
|
+
the advertised actions unchanged. Independent features, such as the read-only
|
|
263
|
+
Guidance panel, may append their own panels to `manifest.panels` under their own
|
|
264
|
+
contracts. An older console that never asks for lineage keeps working. Equivalent
|
|
265
|
+
admitted views are therefore a property of one read path, not a comparison of two.
|
|
266
|
+
|
|
267
|
+
`src/ui/plugin.ts` answers `snapshot({panel: "lineage", ...})` with
|
|
268
|
+
`{ok: true, panel: "lineage", lineage, lines}`. The lines come from
|
|
269
|
+
`executionLineageLines` in `src/ui/lineage-view.ts`, the same pure view
|
|
270
|
+
`ahub lineage show` renders, so one admitted page has one presentation. The CLI is
|
|
271
|
+
a terminal and applies `terminalText` at its own boundary; the console passes the
|
|
272
|
+
view's strings as data, and neither surface re-derives a page.
|
|
273
|
+
|
|
274
|
+
The query is the closed owner selector list (`taskId`, `attemptId`, `root`,
|
|
275
|
+
`task`, `cursor`, `nodes`, `edges`, `bytes`). A field outside it is dropped before
|
|
276
|
+
forwarding, and the manager refuses one that reaches it, because the hub's owner
|
|
277
|
+
parser refuses the whole read on an unknown field. The control message carries no
|
|
278
|
+
project, instance, panel or page-supplied field. Reading never becomes a
|
|
279
|
+
`ui_action`, and nothing on this path can link, probe, fetch, replay, spawn a
|
|
280
|
+
process or write memory: `lineage_link` is not reachable from the console.
|
|
281
|
+
|
|
282
|
+
An unavailable source is not an empty successful graph. The console returns the
|
|
283
|
+
unavailable page with its refusal line and never a node, edge or `Page complete.`
|
|
284
|
+
line. A reply that fails the closed shape check (`parseLineageResult`, shared with
|
|
285
|
+
the CLI) is refused as `{ok: false, panel: "lineage", error}` naming the
|
|
286
|
+
unsupported shape, so a page from a newer hub or a corrupted one is never rendered
|
|
287
|
+
as a complete graph.
|
|
288
|
+
|
|
289
|
+
`test/execution-lineage-console.test.ts` pins the equivalence (the console's lines
|
|
290
|
+
equal `renderExecutionLineage` of the same page), the exact control message, the
|
|
291
|
+
absence of lineage-added panels or actions while retaining the independent
|
|
292
|
+
Guidance panel, the drop of an unnamed selector, and the refusals above.
|
|
293
|
+
`test/execution-lineage-performance.test.ts`
|
|
294
|
+
is the AC6 receipt on a synthetic board: 200 samples per point at 0, 200 and 2000
|
|
295
|
+
filler tasks, a p95 under 250 ms, the same page and byte size at every board size
|
|
296
|
+
(the read projects one root's neighborhood, so the board around it adds nothing),
|
|
297
|
+
the 64-link per-task ceiling (65 nodes, 64 edges, within 262144 bytes), a 5-node
|
|
298
|
+
page truncating with an opaque source-bound cursor that a different node bound
|
|
299
|
+
refuses, and a 4096-byte page staying inside its budget. The recorded numbers and
|
|
300
|
+
the recipe that reproduces them live in `docs/dogfood.md`. Those figures describe
|
|
301
|
+
one host: a number measured elsewhere may differ, and a missing measurement is
|
|
302
|
+
unknown rather than zero.
|
|
303
|
+
|
|
304
|
+
Native coverage stays unverified. No running native agent produced these pages, so
|
|
305
|
+
the console and performance receipts are host and fixture evidence, not a native
|
|
306
|
+
lineage receipt.
|