auditor-lambda 0.3.3 → 0.3.4
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/README.md +6 -1
- package/audit-code-wrapper-lib.mjs +78 -5
- package/dist/cli.js +187 -67
- package/dist/extractors/graph.d.ts +5 -1
- package/dist/extractors/graph.js +223 -3
- package/dist/extractors/pathPatterns.d.ts +3 -2
- package/dist/extractors/pathPatterns.js +97 -24
- package/dist/io/artifacts.d.ts +5 -0
- package/dist/io/artifacts.js +2 -0
- package/dist/orchestrator/advance.js +1 -1
- package/dist/orchestrator/dependencyMap.js +18 -0
- package/dist/orchestrator/internalExecutors.d.ts +1 -1
- package/dist/orchestrator/internalExecutors.js +120 -33
- package/dist/orchestrator/reviewPackets.d.ts +14 -0
- package/dist/orchestrator/reviewPackets.js +300 -0
- package/dist/orchestrator/selectiveDeepening.d.ts +14 -0
- package/dist/orchestrator/selectiveDeepening.js +392 -0
- package/dist/orchestrator/state.js +6 -1
- package/dist/orchestrator/taskBuilder.d.ts +16 -0
- package/dist/orchestrator/taskBuilder.js +68 -11
- package/dist/prompts/renderWorkerPrompt.js +2 -1
- package/dist/types/graph.d.ts +1 -0
- package/dist/types/reviewPlanning.d.ts +41 -0
- package/dist/types/reviewPlanning.js +1 -0
- package/dist/validation/artifacts.js +13 -0
- package/docs/bootstrap-install.md +3 -0
- package/docs/dispatch-implementation-plan.md +179 -481
- package/docs/next-steps.md +13 -8
- package/docs/product-direction.md +5 -3
- package/docs/run-flow.md +23 -30
- package/docs/session-config.md +4 -1
- package/docs/workflow-refactor-brief.md +83 -154
- package/package.json +1 -1
- package/schemas/finding.schema.json +1 -15
- package/schemas/graph_bundle.schema.json +16 -0
package/docs/next-steps.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Next Implementation Steps
|
|
2
2
|
|
|
3
|
-
This document tracks the next meaningful implementation work after the
|
|
3
|
+
This document tracks the next meaningful implementation work after the packet
|
|
4
|
+
review-dispatch refactor and the current skill-first productionization pass.
|
|
4
5
|
|
|
5
6
|
As of April 22, 2026, the shared MCP substrate and the first host-native installer pass have landed, but this repository is not yet ready for a public production launch.
|
|
6
7
|
|
|
@@ -31,22 +32,26 @@ The repository now supports:
|
|
|
31
32
|
- an explicit in-repo release gate via `npm run verify:release`
|
|
32
33
|
- structured operator handoff output plus `.audit-artifacts/operator-handoff.{json,md}` for blocked fallback runs
|
|
33
34
|
- configured provider bridges that can continue audit-task review by writing structured results and handing control back to the bounded worker command
|
|
35
|
+
- graph-informed review packets, `review_packets.json`, and `audit_plan_metrics.json`
|
|
36
|
+
- compact packet `prepare-dispatch` and `merge-and-ingest` envelopes
|
|
34
37
|
|
|
35
38
|
That means the current release is suitable for a controlled alpha or beta skill-first workflow with MCP-aware host bootstrapping, but it is not yet the final public production end-state.
|
|
36
39
|
|
|
37
40
|
## Near-term priorities
|
|
38
41
|
|
|
39
|
-
### 1.
|
|
42
|
+
### 1. Prove packet review dispatch on real repositories
|
|
40
43
|
|
|
41
|
-
The highest-priority product
|
|
44
|
+
The highest-priority product follow-through is to validate the packet workflow
|
|
45
|
+
outside this repository and compare it to the legacy fan-out baseline.
|
|
42
46
|
|
|
43
47
|
Near-term work should focus on:
|
|
44
48
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
49
|
+
- running `/audit-code` against at least one nontrivial external repository
|
|
50
|
+
- recording packet count, task count, warning count, and largest-packet estimate
|
|
51
|
+
- comparing observed worker count and token/quota behavior against the old
|
|
52
|
+
one-task-per-worker model
|
|
53
|
+
- tightening packet budgets or warning thresholds if real repositories expose
|
|
54
|
+
rough edges
|
|
50
55
|
|
|
51
56
|
The current handoff for this work is:
|
|
52
57
|
|
|
@@ -94,9 +94,11 @@ That means:
|
|
|
94
94
|
The intended review planner should:
|
|
95
95
|
|
|
96
96
|
- determine which files require which lenses
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
97
|
+
- preserve `AuditTask` as the deterministic coverage identity
|
|
98
|
+
- group related tasks into graph-informed review packets for worker dispatch
|
|
99
|
+
- review multiple relevant lenses for the same packet in one worker pass
|
|
100
|
+
- keep one validated `AuditResult` object per underlying task
|
|
101
|
+
- batch tiny homogeneous files rather than spawning one worker per small task
|
|
100
102
|
|
|
101
103
|
## Default context & model rules
|
|
102
104
|
|
package/docs/run-flow.md
CHANGED
|
@@ -4,28 +4,27 @@ The canonical product route is `/audit-code` in conversation.
|
|
|
4
4
|
|
|
5
5
|
This document describes the backend execution flow that supports that conversational route and the repo-local fallback wrapper.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Packet review-dispatch path
|
|
8
8
|
|
|
9
9
|
1. Build or import a repository manifest.
|
|
10
|
-
2. Build units, flows, and other deterministic structure
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
That drift is being tracked explicitly in [docs/workflow-refactor-brief.md](/C:/Code/auditor-lambda/docs/workflow-refactor-brief.md).
|
|
10
|
+
2. Build units, graph edges, flows, risk, and other deterministic structure
|
|
11
|
+
artifacts.
|
|
12
|
+
3. Determine which files require which lenses and create compatible
|
|
13
|
+
`AuditTask` records.
|
|
14
|
+
4. Build `review_packets.json` and `audit_plan_metrics.json` from those tasks.
|
|
15
|
+
5. Stop at semantic review with an active run handoff.
|
|
16
|
+
6. `prepare-dispatch` writes a small run-scoped `dispatch-plan.json` and one
|
|
17
|
+
prompt per review packet.
|
|
18
|
+
7. The active conversation orchestrator launches one bounded subagent per
|
|
19
|
+
packet when the host supports subagents.
|
|
20
|
+
8. Each subagent writes one validated `AuditResult` JSON object per underlying
|
|
21
|
+
task.
|
|
22
|
+
9. `merge-and-ingest` validates the full assigned task set and ingests the
|
|
23
|
+
existing `AuditResult[]` shape.
|
|
24
|
+
10. Result ingestion updates coverage, requeue, runtime-validation state, and
|
|
25
|
+
any selective-deepening follow-up tasks.
|
|
26
|
+
11. Repeat until coverage and runtime rules are satisfied.
|
|
27
|
+
12. Synthesize findings into merged outputs.
|
|
29
28
|
|
|
30
29
|
## Current backend capability
|
|
31
30
|
|
|
@@ -33,7 +32,10 @@ The current TypeScript implementation already covers:
|
|
|
33
32
|
|
|
34
33
|
- repo intake and ignore handling
|
|
35
34
|
- structure and planning artifact generation
|
|
35
|
+
- graph-first packet review planning
|
|
36
|
+
- compact packet dispatch and merge envelopes
|
|
36
37
|
- reviewed-range ingestion from audit results
|
|
38
|
+
- bounded selective deepening
|
|
37
39
|
- runtime validation update ingestion
|
|
38
40
|
- synthesis and completion tracking
|
|
39
41
|
- backend provider handoff for fallback or compatibility review flows
|
|
@@ -43,18 +45,9 @@ The current TypeScript implementation already covers:
|
|
|
43
45
|
- the conversation route should hide this state machine behind `/audit-code`
|
|
44
46
|
- the repo-local `audit-code` wrapper is fallback infrastructure for operators and local harnesses
|
|
45
47
|
- provider adapters and artifact plumbing are backend details, not the primary product story
|
|
46
|
-
- the active conversation agent should own semantic
|
|
48
|
+
- the active conversation agent should own semantic packet dispatch by default
|
|
47
49
|
- when fallback execution blocks, the wrapper should still leave behind explicit operator handoff files and suggested evidence-import paths
|
|
48
50
|
|
|
49
|
-
## Next backend implementation steps
|
|
50
|
-
|
|
51
|
-
The next backend-focused work should support the conversation route more directly by:
|
|
52
|
-
|
|
53
|
-
- realigning review planning around non-overlapping lens blocks
|
|
54
|
-
- moving semantic-review ownership back to the active conversation agent
|
|
55
|
-
- keeping backend provider bridges explicitly secondary
|
|
56
|
-
- keeping evidence import and runtime-update handoff paths explicit and easier to follow
|
|
57
|
-
|
|
58
51
|
Broader product priorities are tracked in:
|
|
59
52
|
|
|
60
53
|
- `docs/workflow-refactor-brief.md`
|
package/docs/session-config.md
CHANGED
|
@@ -80,7 +80,10 @@ How many audit tasks to include in one provider-assisted review batch.
|
|
|
80
80
|
|
|
81
81
|
When this is greater than `1`, the generated worker prompt points at `current-tasks.json` / `pending-audit-tasks.json` and expects one `AuditResult` per assigned task.
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
This setting only affects explicit backend provider-assisted fallback batches.
|
|
84
|
+
The canonical conversation route uses run-scoped review packets from
|
|
85
|
+
`prepare-dispatch` while still preserving one validated `AuditResult` per
|
|
86
|
+
underlying task.
|
|
84
87
|
|
|
85
88
|
### `parallel_workers`
|
|
86
89
|
|
|
@@ -1,186 +1,115 @@
|
|
|
1
|
-
# Workflow Refactor
|
|
1
|
+
# Workflow Refactor Status
|
|
2
2
|
|
|
3
|
-
This document
|
|
3
|
+
This document records the packet-dispatch refactor that replaced the older
|
|
4
|
+
one-agent-per-small-task review plan.
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Goal
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
Reduce token and quota usage for `/audit-code` while preserving deterministic
|
|
9
|
+
validation, ingestion, coverage tracking, and report synthesis.
|
|
8
10
|
|
|
9
|
-
The
|
|
11
|
+
The implemented design is a compatibility-preserving packet layer:
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
- keep `AuditTask` as the backend planning and coverage identity
|
|
14
|
+
- keep `AuditResult[]` as the ingestion contract
|
|
15
|
+
- group related task records into worker-facing review packets
|
|
16
|
+
- make each worker read a coherent file set once and review multiple lenses in
|
|
17
|
+
one pass
|
|
18
|
+
- write one validated result file per underlying task
|
|
12
19
|
|
|
13
|
-
|
|
20
|
+
## Current Product Model
|
|
14
21
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
The intended `/audit-code` workflow is:
|
|
22
|
+
The canonical workflow is still conversation-first:
|
|
18
23
|
|
|
19
24
|
1. The active conversation agent owns orchestration and ingestion control.
|
|
20
|
-
2. Bounded subagents own semantic review
|
|
25
|
+
2. Bounded subagents own semantic packet review when the host supports them.
|
|
21
26
|
3. If subagents are unavailable, the conversation agent completes one assigned
|
|
22
|
-
review task and stops so `/audit-code` can be rerun from fresh
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
7. `agent_task_batch_size` should stay `1` by default.
|
|
27
|
-
8. Subagent fan-out belongs to the host agent runtime, not to the backend session config.
|
|
28
|
-
9. Backend provider adapters are fallback compatibility bridges only. They should not be the default review owner.
|
|
29
|
-
|
|
30
|
-
## Current implementation drift
|
|
31
|
-
|
|
32
|
-
The current code differs from that model in several important ways.
|
|
33
|
-
|
|
34
|
-
### 1. Review ownership is provider-mediated
|
|
35
|
-
|
|
36
|
-
Today, the `agent` executor in the backend fallback path is still routed through `createFreshSessionProvider()` and may spawn an external CLI such as `claude` or `opencode`.
|
|
37
|
-
|
|
38
|
-
Relevant files:
|
|
39
|
-
|
|
40
|
-
- [src/cli.ts](/C:/Code/auditor-lambda/src/cli.ts:771)
|
|
41
|
-
- [src/providers/index.ts](/C:/Code/auditor-lambda/src/providers/index.ts:37)
|
|
42
|
-
- [src/providers/claudeCodeProvider.ts](/C:/Code/auditor-lambda/src/providers/claudeCodeProvider.ts:12)
|
|
43
|
-
- [src/providers/opencodeProvider.ts](/C:/Code/auditor-lambda/src/providers/opencodeProvider.ts)
|
|
44
|
-
- [src/providers/spawnLoggedCommand.ts](/C:/Code/auditor-lambda/src/providers/spawnLoggedCommand.ts:24)
|
|
45
|
-
|
|
46
|
-
### 2. Task planning is unit-first, not lens-first
|
|
47
|
-
|
|
48
|
-
`buildChunkedAuditTasks()` currently creates tasks as `unit x lens`, then optionally splits oversized files into separate per-lens tasks.
|
|
49
|
-
|
|
50
|
-
Relevant files:
|
|
51
|
-
|
|
52
|
-
- [src/orchestrator/taskBuilder.ts](/C:/Code/auditor-lambda/src/orchestrator/taskBuilder.ts:101)
|
|
53
|
-
- [src/orchestrator/unitBuilder.ts](/C:/Code/auditor-lambda/src/orchestrator/unitBuilder.ts:130)
|
|
54
|
-
|
|
55
|
-
### 3. Required lenses are unioned at the unit level
|
|
56
|
-
|
|
57
|
-
The planner derives `required_lenses` for a unit, then applies that whole union to every file in the unit.
|
|
58
|
-
|
|
59
|
-
That means the task count grows with `units x required_lenses`, not with a deliberately partitioned set of file/lens review blocks.
|
|
60
|
-
|
|
61
|
-
Relevant files:
|
|
62
|
-
|
|
63
|
-
- [src/orchestrator/unitBuilder.ts](/C:/Code/auditor-lambda/src/orchestrator/unitBuilder.ts:153)
|
|
64
|
-
- [src/orchestrator/planning.ts](/C:/Code/auditor-lambda/src/orchestrator/planning.ts:63)
|
|
65
|
-
- [src/coverage.ts](/C:/Code/auditor-lambda/src/coverage.ts:29)
|
|
66
|
-
|
|
67
|
-
### 4. Flow augmentation adds overlapping review tasks
|
|
68
|
-
|
|
69
|
-
After the base unit tasks are built, the planner adds extra flow-aware tasks rather than repartitioning the pending review set into one global non-overlapping dispatch plan.
|
|
70
|
-
|
|
71
|
-
Relevant file:
|
|
72
|
-
|
|
73
|
-
- [src/orchestrator/flowPlanning.ts](/C:/Code/auditor-lambda/src/orchestrator/flowPlanning.ts:9)
|
|
74
|
-
|
|
75
|
-
### 5. `parallel_workers` means subprocess fan-out, not agent-owned parallelism
|
|
76
|
-
|
|
77
|
-
The current `parallel_workers` setting only controls how many external provider worker runs the backend fallback CLI launches.
|
|
78
|
-
|
|
79
|
-
It does not represent, and should not limit, the active conversation agent's own ability to use subagents.
|
|
80
|
-
|
|
81
|
-
Relevant files:
|
|
82
|
-
|
|
83
|
-
- [src/cli.ts](/C:/Code/auditor-lambda/src/cli.ts:83)
|
|
84
|
-
- [src/cli.ts](/C:/Code/auditor-lambda/src/cli.ts:960)
|
|
85
|
-
|
|
86
|
-
## Evidence from the current stale audit
|
|
87
|
-
|
|
88
|
-
The current stale audit run produced:
|
|
89
|
-
|
|
90
|
-
- `91` units
|
|
91
|
-
- average `3.26` required lenses per unit
|
|
92
|
-
- `333` audit tasks total
|
|
93
|
-
- `294` regular unit-lens tasks
|
|
94
|
-
- `10` large-file split tasks
|
|
95
|
-
- `29` flow tasks
|
|
96
|
-
|
|
97
|
-
That fan-out is consistent with the current unit-first planner, not with the intended lens-block dispatch model.
|
|
98
|
-
|
|
99
|
-
## Refactor goals
|
|
100
|
-
|
|
101
|
-
The next implementation pass should do the following.
|
|
102
|
-
|
|
103
|
-
### A. Make the slash-command orchestrator the review dispatcher
|
|
104
|
-
|
|
105
|
-
The `agent` executor should represent review work owned by the current
|
|
106
|
-
conversation or host agent session, with semantic review delegated to bounded
|
|
107
|
-
subagents whenever possible.
|
|
108
|
-
|
|
109
|
-
Target behavior:
|
|
110
|
-
|
|
111
|
-
- normal `/audit-code` usage does not require `provider: "claude-code"` or `provider: "opencode"`
|
|
112
|
-
- session-config should not be the normal way to choose a second LLM for review
|
|
113
|
-
- backend provider bridges remain available only for explicit fallback workflows
|
|
114
|
-
- when subagents are unavailable, one invocation performs at most one semantic
|
|
115
|
-
review task before stopping
|
|
116
|
-
|
|
117
|
-
### B. Plan review work at the file/lens level
|
|
118
|
-
|
|
119
|
-
Coverage should still know which files require which lenses, but dispatch planning should work from unresolved `(file, lens)` obligations rather than from unit-wide lens unions.
|
|
120
|
-
|
|
121
|
-
Target behavior:
|
|
27
|
+
fallback review task and stops so `/audit-code` can be rerun from fresh
|
|
28
|
+
context.
|
|
29
|
+
4. Backend provider adapters remain explicit compatibility bridges, not the
|
|
30
|
+
default semantic-review owner.
|
|
122
31
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
- review blocks in the same dispatch wave should be file-disjoint unless overlap is intentionally justified
|
|
32
|
+
Session config remains backend fallback configuration. It should not be treated
|
|
33
|
+
as the normal way to redirect semantic review into a second external LLM.
|
|
126
34
|
|
|
127
|
-
|
|
35
|
+
## Implemented Changes
|
|
128
36
|
|
|
129
|
-
|
|
37
|
+
The refactor now includes:
|
|
130
38
|
|
|
131
|
-
|
|
39
|
+
- deterministic `review_packets.json` derived from current `AuditTask` records
|
|
40
|
+
- `audit_plan_metrics.json` with packet counts, repeated reference estimates,
|
|
41
|
+
largest packet details, and estimated agent reduction
|
|
42
|
+
- packet-first pending-task ordering for provider-assisted batches
|
|
43
|
+
- tiny homogeneous test-file batching before dispatch
|
|
44
|
+
- graph-edge expansion from import, call, and reference edges
|
|
45
|
+
- packet prompts that assign multiple task outputs to one worker
|
|
46
|
+
- validation and merge checks for missing, duplicate, unknown, malformed, or
|
|
47
|
+
out-of-scope task results
|
|
48
|
+
- compact `prepare-dispatch` and `merge-and-ingest` JSON envelopes
|
|
49
|
+
- terse worker completion convention:
|
|
50
|
+
`valid: <packet_id>, findings=<n>`
|
|
51
|
+
- selective deepening for high-severity, low-confidence, conflicting,
|
|
52
|
+
high-risk clean, and runtime-disagreement cases
|
|
53
|
+
- refreshed packet metrics whenever selective deepening adds follow-up tasks
|
|
132
54
|
|
|
133
|
-
|
|
134
|
-
- large-file splitting may remain, but it should happen inside the lens-block planner
|
|
135
|
-
- critical-flow context should influence block construction without blindly adding overlapping tasks on top
|
|
55
|
+
## Dispatch Contract
|
|
136
56
|
|
|
137
|
-
|
|
57
|
+
`prepare-dispatch` writes a small `dispatch-plan.json`. Each entry points to a
|
|
58
|
+
packet prompt under the run-scoped `task-results/` directory.
|
|
138
59
|
|
|
139
|
-
The
|
|
60
|
+
The conversation orchestrator should:
|
|
140
61
|
|
|
141
|
-
|
|
62
|
+
- read only `dispatch-plan.json`
|
|
63
|
+
- launch one subagent per packet entry
|
|
64
|
+
- tell the subagent to read and follow `entry.prompt_path`
|
|
65
|
+
- wait for terse success replies
|
|
66
|
+
- run `merge-and-ingest`
|
|
142
67
|
|
|
143
|
-
|
|
144
|
-
|
|
68
|
+
The parent should not read source files, prompt bodies, result payloads, or
|
|
69
|
+
large task manifests during the normal packet route.
|
|
145
70
|
|
|
146
|
-
|
|
71
|
+
## Artifacts
|
|
147
72
|
|
|
148
|
-
|
|
73
|
+
Packet mode adds or updates these artifacts:
|
|
149
74
|
|
|
150
|
-
`
|
|
75
|
+
- `review_packets.json`
|
|
76
|
+
- `audit_plan_metrics.json`
|
|
77
|
+
- `<artifacts_dir>/runs/<run_id>/dispatch-plan.json`
|
|
78
|
+
- `<artifacts_dir>/runs/<run_id>/task-results/*.prompt.md`
|
|
79
|
+
- `<artifacts_dir>/runs/<run_id>/task-results/*.json`
|
|
80
|
+
- `<artifacts_dir>/runs/<run_id>/dispatch-warnings.json`, only when needed
|
|
151
81
|
|
|
152
|
-
|
|
153
|
-
|
|
82
|
+
The existing coverage, runtime validation, requeue, and synthesis artifacts
|
|
83
|
+
remain backend-owned.
|
|
154
84
|
|
|
155
|
-
##
|
|
85
|
+
## Verification
|
|
156
86
|
|
|
157
|
-
|
|
87
|
+
Current in-repo verification:
|
|
158
88
|
|
|
159
|
-
-
|
|
160
|
-
- The slash-command orchestrator dispatches bounded subagents when available and
|
|
161
|
-
falls back to one semantic review task per invocation otherwise.
|
|
162
|
-
- The backend fallback still supports deterministic stages and explicit compatibility bridges.
|
|
163
|
-
- The default dispatch granularity for semantic review remains one review block per task.
|
|
164
|
-
- Pending review tasks are planned as lens-aware, non-overlapping file blocks.
|
|
165
|
-
- `parallel_workers` no longer defines the default semantic-review parallelism model.
|
|
166
|
-
- The next fresh audit can be run from a clean slate without inheriting the current stale provider-mediated task queue.
|
|
89
|
+
- `npm test` passes with 143 tests.
|
|
167
90
|
|
|
168
|
-
|
|
91
|
+
Relevant test coverage:
|
|
169
92
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
93
|
+
- packet construction and metrics
|
|
94
|
+
- packet ordering
|
|
95
|
+
- graph-connected packet merging
|
|
96
|
+
- tiny test-file batching
|
|
97
|
+
- packet prompt generation
|
|
98
|
+
- packet merge compatibility with the legacy result array
|
|
99
|
+
- missing-result blocking
|
|
100
|
+
- path-heuristic regressions
|
|
101
|
+
- graph extraction from source contents
|
|
102
|
+
- selective deepening triggers and packet refresh
|
|
175
103
|
|
|
176
|
-
##
|
|
104
|
+
## Remaining Follow-Up
|
|
177
105
|
|
|
178
|
-
|
|
106
|
+
The main remaining work is operational, not structural:
|
|
179
107
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
108
|
+
- run `/audit-code` against at least one nontrivial external repository and
|
|
109
|
+
compare packet counts, warning counts, worker completion summaries, and
|
|
110
|
+
observed token/quota behavior against the legacy baseline
|
|
111
|
+
- keep host-specific smoke testing current for Codex, Claude Desktop, OpenCode,
|
|
112
|
+
VS Code, and Antigravity guidance
|
|
185
113
|
|
|
186
|
-
For the
|
|
114
|
+
For the detailed packet dispatch reference, see
|
|
115
|
+
`docs/dispatch-implementation-plan.md`.
|
package/package.json
CHANGED
|
@@ -17,21 +17,7 @@
|
|
|
17
17
|
"properties": {
|
|
18
18
|
"id": { "type": "string" },
|
|
19
19
|
"title": { "type": "string" },
|
|
20
|
-
"category": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": [
|
|
23
|
-
"correctness",
|
|
24
|
-
"architecture",
|
|
25
|
-
"maintainability",
|
|
26
|
-
"security",
|
|
27
|
-
"reliability",
|
|
28
|
-
"performance",
|
|
29
|
-
"data_integrity",
|
|
30
|
-
"tests",
|
|
31
|
-
"operability",
|
|
32
|
-
"config_deployment"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
20
|
+
"category": { "type": "string", "minLength": 1 },
|
|
35
21
|
"severity": {
|
|
36
22
|
"type": "string",
|
|
37
23
|
"enum": ["critical", "high", "medium", "low", "info"]
|
|
@@ -40,6 +40,22 @@
|
|
|
40
40
|
"additionalProperties": false
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
+
"references": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"required": ["from", "to"],
|
|
48
|
+
"properties": {
|
|
49
|
+
"from": { "type": "string" },
|
|
50
|
+
"to": { "type": "string" },
|
|
51
|
+
"kind": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Reference edge kind from literal or path-oriented extraction (e.g. 'relative-string-reference', 'repo-path-reference')."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
43
59
|
"routes": {
|
|
44
60
|
"type": "array",
|
|
45
61
|
"items": {
|