@event4u/agent-config 17.2.1 → 17.4.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/.augment-plugin/marketplace.json +3 -3
- package/.augment-plugin/plugin.json +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/skills/install-agent-config/SKILL.md +9 -9
- package/CHANGELOG.md +167 -193
- package/CREDITS.md +2 -2
- package/README.md +1 -1
- package/dist/agent-src/skills/code-intelligence/SKILL.md +16 -12
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/agent-src/templates/scripts/check_memory.ts +1 -1
- package/dist/cli/commands/recordTriggerEval.js +1 -1
- package/dist/cli/registry.js +2 -2
- package/dist/cli-delegate/{chunk-KR5ZIFPO.js → chunk-5AYJGUA3.js} +1 -3
- package/dist/cli-delegate/chunk-DIFZBP4G.js +1336 -0
- package/dist/cli-delegate/chunk-E7ACTJTJ.js +6792 -0
- package/dist/cli-delegate/{chunk-VYZGJLCA.js → chunk-RKNT4LIK.js} +22 -1286
- package/dist/cli-delegate/{chunk-BZJ4Y3CI.js → chunk-WY5ZZPGL.js} +2 -2
- package/dist/cli-delegate/{chunk-CMZEKSNN.js → chunk-X6LZ7W5A.js} +73 -10
- package/dist/cli-delegate/cmd_conformance.js +190 -192
- package/dist/cli-delegate/cmd_doctor.js +5 -5
- package/dist/cli-delegate/cmd_doctor_neighbours.js +3 -3
- package/dist/cli-delegate/cmd_explain.js +1 -1
- package/dist/cli-delegate/cmd_export.js +2 -2
- package/dist/cli-delegate/cmd_handoff.js +2 -2
- package/dist/cli-delegate/cmd_memory_get.js +1 -1
- package/dist/cli-delegate/cmd_prune.js +2 -2
- package/dist/cli-delegate/cmd_route_audit.js +1 -1
- package/dist/cli-delegate/cmd_session_recycle.js +2 -2
- package/dist/cli-delegate/cmd_settings_migrate.js +2 -2
- package/dist/cli-delegate/cmd_settings_set.js +8 -4
- package/dist/cli-delegate/cmd_sync.js +2 -2
- package/dist/cli-delegate/cmd_uninstall.js +2 -2
- package/dist/cli-delegate/cmd_update.js +24 -13
- package/dist/cli-delegate/cmd_upgrade.js +2 -2
- package/dist/cli-delegate/cmd_validate.js +2 -2
- package/dist/cli-delegate/dist-25AZAHOP.js +3240 -0
- package/dist/cli-delegate/dist-P7MFPMF3.js +411 -0
- package/dist/cli-delegate/dist-XAS5ZLQB.js +6 -0
- package/dist/cli-delegate/{upgrade_unattended-VVL6JLSX.js → upgrade_unattended-QCWOKTUN.js} +178 -163
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +3 -3
- package/dist/discovery/discovery-manifest.json.sha256 +1 -1
- package/dist/discovery/discovery-manifest.summary.md +1 -1
- package/dist/discovery/dormancy-report.md +1 -1
- package/dist/discovery/orphan-report.md +1 -1
- package/dist/discovery/packs.json +2 -2
- package/dist/discovery/trust-report.md +1 -1
- package/dist/discovery/workspaces.json +2 -2
- package/dist/hooks/code_graph_refresh.chunk.cjs +443 -0
- package/dist/hooks/code_graph_refresh.chunk.cjs.sha256 +1 -0
- package/dist/hooks/dispatch.js +1001 -938
- package/dist/hooks/dispatch.sha256 +1 -1
- package/dist/hooks/egress_engine.chunk.cjs +57 -7
- package/dist/hooks/egress_engine.chunk.cjs.sha256 +1 -1
- package/dist/hooks/update_notice.chunk.cjs +914 -0
- package/dist/hooks/update_notice.chunk.cjs.sha256 +1 -0
- package/dist/install/install.mjs +6974 -6037
- package/dist/mcp/mcp-cloudflare-catalogue.json +1 -0
- package/dist/mcp/registry-manifest.json +3 -2
- package/dist/mcp/server.json +13 -4
- package/dist/mcp/server.mjs +71202 -63282
- package/dist/scripts/_lib/egress_rules.js +8 -2
- package/dist/scripts/condense.js +18 -15
- package/dist/server/routes/discovery.js +1 -1
- package/dist/server/routes/install.js +1 -1
- package/dist/server/routes/ping.js +1 -1
- package/dist/server/routes/schema.js +4 -4
- package/dist/server/routes/settings.js +2 -6
- package/dist/server/routes/wizard.js +6 -6
- package/dist/server/schemas/settings.js +42 -42
- package/dist/shared/settingsSurface.js +1 -1
- package/dist/shared/userMd/schema.js +1 -1
- package/dist/shared/zodJsonSchema.js +47 -0
- package/dist/ui/assets/index-B0bcIgi0.js +77 -0
- package/dist/ui/index.html +1 -1
- package/package.json +6 -3
- package/src/agent-src/templates/scripts/check_memory.ts +1 -1
- package/src/config/ci-local-parity.yml +11 -0
- package/src/config/continuity-surface.json +9 -2
- package/src/config/evaluator-budgets.json +9 -8
- package/src/config/gate-violation-baselines.json +3 -3
- package/src/config/gitignore-block.txt +6 -5
- package/src/config/hook-bundle-budget.json +46 -6
- package/src/config/pack-size-budget.json +12 -1
- package/src/config/packed-binary-manifest.json +18 -0
- package/src/config/sigstore/npm_keys.json +50 -0
- package/src/config/sigstore/trust-material.json +9 -0
- package/src/config/sigstore/trusted_root.json +126 -0
- package/src/config/skill-body-budget.json +7 -1
- package/src/scripts/_cli/cmd_settings_set.ts +3 -2
- package/src/scripts/_cli/cmd_update.ts +48 -20
- package/src/scripts/_cli/cmd_upgrade.ts +7 -1
- package/src/scripts/_cli/upgrade_unattended.ts +90 -76
- package/src/scripts/_dispatch.bash +4 -3
- package/src/scripts/_lib/confusables.ts +0 -19
- package/src/scripts/_lib/egress_normalize.ts +53 -23
- package/src/scripts/_lib/egress_rules.ts +8 -2
- package/src/scripts/_lib/egress_text.ts +5 -3
- package/src/scripts/_lib/egress_token.ts +7 -5
- package/src/scripts/_lib/gate_collector_experimental.ts +633 -0
- package/src/scripts/_lib/git_common_dir.ts +10 -0
- package/src/scripts/_lib/graph_feeder_record.ts +3 -2
- package/src/scripts/_lib/install_reach_checks.ts +32 -2
- package/src/scripts/_lib/lineage_backfill.ts +136 -0
- package/src/scripts/_lib/lineage_ledger.ts +211 -0
- package/src/scripts/_lib/lineage_map.ts +55 -0
- package/src/scripts/_lib/lineage_query.ts +140 -0
- package/src/scripts/_lib/lineage_seed.ts +116 -0
- package/src/scripts/_lib/lineage_watch.ts +249 -0
- package/src/scripts/_lib/link_crypto.ts +8 -4
- package/src/scripts/_lib/listing_manifests.ts +85 -0
- package/src/scripts/_lib/neighbour_census.ts +1 -0
- package/src/scripts/_lib/production_reach.ts +3 -3
- package/src/scripts/_lib/project_registry.ts +227 -0
- package/src/scripts/_lib/provenance_verify.ts +14 -242
- package/src/scripts/_lib/release_settings_surface.ts +2 -6
- package/src/scripts/_lib/sigstore_provenance.ts +177 -0
- package/src/scripts/_lib/source_id.ts +48 -0
- package/src/scripts/_lib/source_shape.ts +4 -0
- package/src/scripts/_lib/unattended_gates.ts +6 -1
- package/src/scripts/adoption_status.ts +231 -27
- package/src/scripts/advisories.ts +26 -10
- package/src/scripts/ai_council/council_egress.ts +5 -6
- package/src/scripts/bench_graph_feeder_latency.ts +10 -3
- package/src/scripts/build_mcp_registry_manifest.ts +23 -12
- package/src/scripts/check_dependency_floors.ts +14 -0
- package/src/scripts/check_egress_mutations.ts +1 -0
- package/src/scripts/check_release_manifest_content.ts +17 -2
- package/src/scripts/check_release_pr_shape.ts +5 -0
- package/src/scripts/code_graph/build.ts +145 -45
- package/src/scripts/code_graph/cli.ts +382 -35
- package/src/scripts/code_graph/conventions_default.ts +247 -0
- package/src/scripts/code_graph/detect.ts +5 -5
- package/src/scripts/code_graph/estate_cli.ts +135 -0
- package/src/scripts/code_graph/estate_index.ts +394 -0
- package/src/scripts/code_graph/estate_manifests.ts +223 -0
- package/src/scripts/code_graph/estate_map.ts +141 -0
- package/src/scripts/code_graph/extract.ts +8 -2
- package/src/scripts/code_graph/extract_more.ts +241 -2
- package/src/scripts/code_graph/graph_budget.ts +158 -0
- package/src/scripts/code_graph/graph_home.ts +80 -0
- package/src/scripts/code_graph/lineage_cli.ts +315 -0
- package/src/scripts/code_graph/loader.ts +10 -2
- package/src/scripts/code_graph/map.ts +195 -53
- package/src/scripts/code_graph/map_model.ts +113 -20
- package/src/scripts/code_graph/map_verify.ts +80 -5
- package/src/scripts/code_graph/map_viewer/viewer.css +18 -0
- package/src/scripts/code_graph/map_viewer/viewer.js +146 -15
- package/src/scripts/code_graph/passes.ts +173 -0
- package/src/scripts/code_graph/project_ref.ts +25 -0
- package/src/scripts/code_graph/projects_cli.ts +254 -0
- package/src/scripts/code_graph/providers/angular.ts +55 -0
- package/src/scripts/code_graph/providers/aspnetcore.ts +182 -0
- package/src/scripts/code_graph/providers/catalog.ts +299 -0
- package/src/scripts/code_graph/providers/django.ts +206 -0
- package/src/scripts/code_graph/providers/express.ts +25 -0
- package/src/scripts/code_graph/providers/fastapi.ts +49 -0
- package/src/scripts/code_graph/providers/flask.ts +99 -0
- package/src/scripts/code_graph/providers/go_http.ts +121 -0
- package/src/scripts/code_graph/providers/index.ts +103 -0
- package/src/scripts/code_graph/{laravel_overlay.ts → providers/laravel.ts} +113 -7
- package/src/scripts/code_graph/providers/nestjs.ts +34 -0
- package/src/scripts/code_graph/providers/nextjs.ts +91 -0
- package/src/scripts/code_graph/providers/nuxt.ts +55 -0
- package/src/scripts/code_graph/providers/rails.ts +204 -0
- package/src/scripts/code_graph/providers/react-router.ts +58 -0
- package/src/scripts/code_graph/providers/shared/detect.ts +78 -0
- package/src/scripts/code_graph/providers/shared/extractors.ts +249 -0
- package/src/scripts/code_graph/providers/shared/js.ts +252 -0
- package/src/scripts/code_graph/providers/shared/kit.ts +210 -0
- package/src/scripts/code_graph/providers/shared/php.ts +64 -0
- package/src/scripts/code_graph/providers/shared/python.ts +223 -0
- package/src/scripts/code_graph/providers/spring.ts +175 -0
- package/src/scripts/code_graph/providers/sqlalchemy.ts +62 -0
- package/src/scripts/code_graph/providers/sveltekit.ts +59 -0
- package/src/scripts/code_graph/providers/symfony.ts +142 -0
- package/src/scripts/code_graph/providers/typeorm.ts +58 -0
- package/src/scripts/code_graph/providers/types.ts +56 -0
- package/src/scripts/code_graph/providers/vue-router.ts +21 -0
- package/src/scripts/code_graph/providers/wordpress.ts +128 -0
- package/src/scripts/code_graph/query.ts +9 -9
- package/src/scripts/code_graph/refresh_cli.ts +81 -0
- package/src/scripts/code_graph/refresh_lock.ts +197 -0
- package/src/scripts/code_graph/repo_identity.ts +169 -0
- package/src/scripts/code_graph/resolution_tiers.ts +19 -7
- package/src/scripts/code_graph/scip_reader.ts +2 -2
- package/src/scripts/code_graph/sqlite_store.ts +31 -28
- package/src/scripts/code_graph/types.ts +79 -41
- package/src/scripts/code_graph/validate.ts +6 -8
- package/src/scripts/condense.ts +15 -15
- package/src/scripts/generate_settings_reference.ts +2 -6
- package/src/scripts/hook_chunks.mjs +11 -0
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +43 -23
- package/src/scripts/hooks/code_graph_refresh_hook.ts +163 -0
- package/src/scripts/hooks/dispatch_hook.ts +6 -7
- package/src/scripts/hooks/host_semantics.ts +72 -0
- package/src/scripts/hooks/lazy_concern.ts +8 -0
- package/src/scripts/hooks/user_notice.ts +105 -0
- package/src/scripts/install-hooks.sh +54 -33
- package/src/scripts/install.ts +2 -6
- package/src/scripts/lint_harvest_provenance.ts +137 -11
- package/src/scripts/lint_hook_manifest.ts +2 -0
- package/src/scripts/lint_marketplace.ts +33 -0
- package/src/scripts/lint_mcp_registry_manifest.ts +36 -0
- package/src/scripts/mcp_server/consumer_tool_catalog.json +70 -15
- package/src/scripts/mcp_server/graph_tools.ts +165 -41
- package/src/scripts/network_sources.ts +24 -6
- package/src/scripts/release.ts +2 -5
- package/src/scripts/release_drill.ts +4 -1
- package/src/scripts/release_env.ts +17 -0
- package/src/scripts/release_mix_taxonomy.json +3 -0
- package/src/scripts/schemas/provenance-mechanism.schema.json +46 -0
- package/src/scripts/update_notice_hook.ts +75 -7
- package/src/server/schemas/settings.ts +42 -42
- package/src/shared/settingsSurface.ts +1 -1
- package/src/shared/userMd/schema.ts +1 -1
- package/src/shared/zodJsonSchema.ts +41 -0
- package/src/vendor/grammars/README.md +8 -6
- package/src/vendor/grammars/tree-sitter-c_sharp.wasm +0 -0
- package/src/vendor/grammars/tree-sitter-ruby.wasm +0 -0
- package/dist/cli-delegate/chunk-XIAPY44N.js +0 -4587
- package/dist/ui/assets/index-w70Ado09.js +0 -23
- /package/dist/cli-delegate/{chunk-FKYZOWVD.js → chunk-QBAFP67O.js} +0 -0
- /package/dist/cli-delegate/{chunk-BMGUGSY6.js → chunk-TQG6UMPC.js} +0 -0
package/CREDITS.md
CHANGED
|
@@ -13,7 +13,7 @@ contributors whose skills, rules or commands were merged.
|
|
|
13
13
|
| `design-intelligence` (`ui-styling`-derived assets) | "claudekit" | Apache-2.0 | [`LICENSE.apache-2.0.txt`](src/skills/design-intelligence/LICENSE.apache-2.0.txt) + modified-file markers per §4b |
|
|
14
14
|
| `corpus-grounding`, `design-tokens`, `react-shadcn-ui`, `tailwind-engineer` (derived slices) | see per-skill notices | MIT / Apache-2.0 | ADR-061 — the per-skill attribution notice is authoritative |
|
|
15
15
|
| `src/scripts/cost/budget.mjs`, `src/scripts/cost/track.mjs` | ruvnet/ruflo — `plugins/ruflo-cost-tracker` | MIT | full notice below; transformation record in [`provenance/borrows.jsonl`](provenance/borrows.jsonl) and [`docs/THIRD-PARTY-NOTICES.md`](docs/THIRD-PARTY-NOTICES.md) |
|
|
16
|
-
| `src/vendor/grammars/*.wasm` (
|
|
16
|
+
| `src/vendor/grammars/*.wasm` (8 compiled tree-sitter grammars) | `tree-sitter/tree-sitter-{php,typescript,javascript,python,go,java,c-sharp,ruby}`, packaged by `tree-sitter-wasms` (Unlicense) | MIT | full notice below; provenance and refresh procedure in [`src/vendor/grammars/README.md`](src/vendor/grammars/README.md) |
|
|
17
17
|
|
|
18
18
|
#### MIT notice — ruvnet/ruflo
|
|
19
19
|
|
|
@@ -49,7 +49,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
49
49
|
|
|
50
50
|
#### MIT notice — tree-sitter grammars
|
|
51
51
|
|
|
52
|
-
Reproduced in full for the same reason as the notice above: the
|
|
52
|
+
Reproduced in full for the same reason as the notice above: the eight
|
|
53
53
|
WebAssembly grammars under `src/vendor/grammars/` are **verbatim, unmodified
|
|
54
54
|
binary copies**, which is the clearest possible case of "copies or substantial
|
|
55
55
|
portions of the Software". They ship in the npm package (`package.json` →
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<p align="center"><a href="https://event4u.app"><img alt="event4u Agent Config" src=".github/assets/banner.png"></a></p>
|
|
1
|
+
<p align="center"><a href="https://event4u.app"><img alt="event4u Agent Config" src=".github/assets/info-banner.png"></a></p>
|
|
2
2
|
|
|
3
3
|
# Agent Config — every claim machine-checked, including the artifact counts in these badges
|
|
4
4
|
|
|
@@ -45,10 +45,9 @@ code-graph and no appetite to build one — plain `grep`/read is right there.
|
|
|
45
45
|
1. **Detect the source.** `agent-config code-graph detect` — is a fresh consumer
|
|
46
46
|
`graph.json` or native cache present? (A consumer-shipped fresh index wins;
|
|
47
47
|
the native engine covers stale-or-absent — ADR-124 § 2.)
|
|
48
|
-
2. **Build if absent and worthwhile.** No graph +
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
instead.
|
|
48
|
+
2. **Build if absent and worthwhile.** No graph + PHP, TS/JS, Python, Go, Java
|
|
49
|
+
or C#? `agent-config code-graph build` (deterministic, LLM-free, ~seconds).
|
|
50
|
+
Unsupported stack, one-off ask — grep.
|
|
52
51
|
3. **Query.** Pick the verb:
|
|
53
52
|
- `agent-config code-graph query <symbol>` — direct relations of a symbol.
|
|
54
53
|
- `agent-config code-graph affected <symbol>` — reverse: who calls /
|
|
@@ -82,25 +81,27 @@ Every answer built with this skill MUST:
|
|
|
82
81
|
|
|
83
82
|
## Gotcha
|
|
84
83
|
|
|
84
|
+
- **No provider, no framework links.** `MAP.md` names the active providers;
|
|
85
|
+
without one, missing routes mean "not covered", not "none".
|
|
85
86
|
- **A stale graph lies confidently.** If `detect` reports the index is N commits
|
|
86
87
|
behind, rebuild (`agent-config code-graph build --update`) before trusting
|
|
87
88
|
relationship answers, or say the answer is from a stale index.
|
|
88
89
|
- **Dynamic dispatch is honestly ambiguous — where there is anything to be
|
|
89
90
|
ambiguous ABOUT.** A `$obj->m()` whose name matches a method declared
|
|
90
|
-
somewhere in the repo is `AMBIGUOUS` and carries those candidates:
|
|
91
|
-
|
|
91
|
+
somewhere in the repo is `AMBIGUOUS` and carries those candidates: honest,
|
|
92
|
+
not broken — never "resolve" them by guessing. A
|
|
92
93
|
dynamic call whose name matches **no** in-repo method (`xs.push()`,
|
|
93
94
|
`map.get()`) is not emitted at all, and the count is published as
|
|
94
95
|
`suppressed_edge_counts.dynamic_no_candidate`. It used to be 39 % of this
|
|
95
|
-
engine's own graph, pointing at `symbol:push
|
|
96
|
-
|
|
96
|
+
engine's own graph, pointing at `symbol:push` — no node, unreachable by any
|
|
97
|
+
query verb.
|
|
97
98
|
- **The AMBIGUOUS share is a property of the code, not a constant.** Measured
|
|
98
99
|
2026-09-04 over the three roots the v2 benchmark uses: `AMBIGUOUS` is 0 of 495
|
|
99
|
-
edges under the
|
|
100
|
+
edges under the graph-engine root, 0 of 181 under `src/shared`, and 121 of
|
|
100
101
|
4,002 (3.0 %) under its council root — class-free TypeScript has
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
few in-repo methods to confuse. A Laravel codebase (facades,
|
|
103
|
+
injected services dispatching onto in-repo methods) is the opposite. Read the
|
|
104
|
+
graph's counts, not a remembered ratio.
|
|
104
105
|
|
|
105
106
|
## Measured twice, and it has not won (v2, 2026-08-29)
|
|
106
107
|
|
|
@@ -252,6 +253,9 @@ paragraph claiming "the same five answers" directly after a list of four:
|
|
|
252
253
|
| `graph_node` | no CLI verb — one symbol's location, in-edges, out-edges and degree |
|
|
253
254
|
| `graph_map_status` | whether `agents/map/` exists, its counts and freshness | <!-- ref-ignore -->
|
|
254
255
|
| `graph_area` | one area of the map: files, hubs, what it depends on |
|
|
256
|
+
| `graph_estate` | `estate` — across registered projects, from the local index (opt-in: `projects index on`) |
|
|
257
|
+
|
|
258
|
+
Every other tool takes `project` (a registered repo id, name or path).
|
|
255
259
|
|
|
256
260
|
`untested` has no tool of its own; it is a flag on `graph_impact`, because the
|
|
257
261
|
two answer the same question over the same diff and a separate tool would have
|
|
@@ -39,7 +39,7 @@ schema_version: 1
|
|
|
39
39
|
# CI guard: a release bump of `package.json` must update this value
|
|
40
40
|
# in lockstep — see scripts/check_template_pin_drift.ts (road-to-
|
|
41
41
|
# portable-runtime-and-update-check P3.3).
|
|
42
|
-
agent_config_version: "17.
|
|
42
|
+
agent_config_version: "17.4.0"
|
|
43
43
|
|
|
44
44
|
# --- Project identity ---
|
|
45
45
|
project:
|
|
@@ -136,7 +136,7 @@ export const REDACTION_PATTERNS: ReadonlyArray<readonly [RegExp, string]> = [
|
|
|
136
136
|
// Key=value secret with a clear credential-word prefix. The value must
|
|
137
137
|
// be a single token (no spaces, no "/" — skips filepaths and URLs).
|
|
138
138
|
[
|
|
139
|
-
/\b(api[_-]?key|auth[_-]?token|access[_-]?token|bearer|secret|password|passwd|private[_-]?key)\b\s*
|
|
139
|
+
/\b(api[_-]?key|auth[_-]?token|access[_-]?token|bearer|secret|password|passwd|private[_-]?key)\b\s*(?::|=(?!==|=\s|>)=?)\s*[A-Za-z0-9+/=_\-]{8,}(?![/.\w])/i,
|
|
140
140
|
'inline credential',
|
|
141
141
|
],
|
|
142
142
|
[/https?:\/\/[^\s"'/]*:[^\s"'/]*@/, 'url with credentials'],
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
*/
|
|
32
32
|
import { readFileSync, writeFileSync } from 'node:fs';
|
|
33
33
|
import { sep } from 'node:path';
|
|
34
|
-
import
|
|
34
|
+
import * as z from 'zod';
|
|
35
35
|
import { logger } from '../log/logger.js';
|
|
36
36
|
// Floors shared with the weekly canary rotation (ADR-118 §4) — values
|
|
37
37
|
// unchanged, single source of truth.
|
package/dist/cli/registry.js
CHANGED
|
@@ -15,7 +15,7 @@ export const REGISTRY = [
|
|
|
15
15
|
{ name: 'validate', disposition: 'delegate', synopsis: 'Drift detection on the manifest.' },
|
|
16
16
|
{ name: 'work', disposition: 'delegate', synopsis: 'Drive the work_engine on a prompt.' },
|
|
17
17
|
{ name: 'implement-ticket', disposition: 'delegate', synopsis: 'Drive the work_engine on a ticket.' },
|
|
18
|
-
{ name: 'update', disposition: 'delegate', synopsis: '
|
|
18
|
+
{ name: 'update', disposition: 'delegate', synopsis: 'Pin agent_config_version, installing that version globally first when the global install is older.' },
|
|
19
19
|
{ name: 'upgrade', disposition: 'delegate', synopsis: 'Install the latest package globally + refresh the global install.' },
|
|
20
20
|
{ name: 'refresh', disposition: 'delegate', synopsis: 'Idempotent re-install (no version change): --global or --project.' },
|
|
21
21
|
{ name: 'versions', disposition: 'native', synopsis: 'List @event4u/agent-config versions.' },
|
|
@@ -77,7 +77,7 @@ export const REGISTRY = [
|
|
|
77
77
|
{ name: 'affected', disposition: 'delegate', synopsis: 'Artefacts related to <artefact> via the discovery relation-graph (BFS).' },
|
|
78
78
|
{ name: 'graph-explain', disposition: 'delegate', synopsis: 'Seed on a <concept>, expand 2 hops over the discovery relation-graph with a node budget.' },
|
|
79
79
|
{ name: 'benchmark', disposition: 'delegate', synopsis: 'Report context-token reduction vs the full always-loaded projection.' },
|
|
80
|
-
{ name: 'code-graph', disposition: 'delegate', synopsis: 'Deterministic code-graph engine: build|detect|refresh|validate|query|affected|path|explain|map, plus the gate verbs impact|tests-for|untested|dead.' },
|
|
80
|
+
{ name: 'code-graph', disposition: 'delegate', synopsis: 'Deterministic code-graph engine: build|detect|refresh|validate|query|affected|path|explain|map, plus the gate verbs impact|tests-for|untested|dead, the user-global projects registry with its estate index and the lineage ledger.' },
|
|
81
81
|
{ name: 'hooks:install', disposition: 'delegate', synopsis: 'Install the combined pre-commit hook.' },
|
|
82
82
|
{ name: 'hooks:status', disposition: 'delegate', synopsis: 'Print the runtime hook matrix (per-platform install + bindings).' },
|
|
83
83
|
{ name: 'hooks:doctor', disposition: 'delegate', synopsis: 'Diagnose hook health: concerns, posture, missing trampolines (read-only).' },
|
|
@@ -46,7 +46,7 @@ function assignmentSource(shape) {
|
|
|
46
46
|
const alt = shape.keywords.map((k) => ASSIGNMENT_KEYWORDS[k]).join("|");
|
|
47
47
|
const group = shape.capture === true ? `(${alt})` : `(?:${alt})`;
|
|
48
48
|
const gap = shape.gap ?? "\\s*";
|
|
49
|
-
const head = `${shape.before ?? ""}${group}${shape.after ?? ""}${gap}
|
|
49
|
+
const head = `${shape.before ?? ""}${group}${shape.after ?? ""}${gap}(?::|=(?!==|=\\s|>)=?)`;
|
|
50
50
|
return shape.value === void 0 ? head : `${head}${gap}${shape.value}`;
|
|
51
51
|
}
|
|
52
52
|
function assignmentPattern(shape, flags) {
|
|
@@ -574,8 +574,6 @@ export {
|
|
|
574
574
|
rawKeyPrefixPattern,
|
|
575
575
|
maskingEnd,
|
|
576
576
|
evaluateMatch,
|
|
577
|
-
findSpans,
|
|
578
|
-
resolveOverlaps,
|
|
579
577
|
detect,
|
|
580
578
|
replaceSpans
|
|
581
579
|
};
|