@event4u/agent-config 15.0.0 → 16.0.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/CHANGELOG.md +142 -348
- package/dist/agent-src/commands/roadmap/create.md +3 -2
- package/dist/agent-src/contexts/communication/rules-auto/user-interaction-mechanics.md +50 -0
- package/dist/agent-src/rules/user-interaction.md +31 -30
- package/dist/agent-src/skills/error-handling-patterns/SKILL.md +9 -0
- package/dist/agent-src/templates/agents/agent-project-settings.example.yml +1 -1
- package/dist/cli-delegate/{chunk-HZ52BRGG.js → chunk-H32DGUJH.js} +14 -89
- package/dist/cli-delegate/chunk-NUHLI2RX.js +80 -0
- package/dist/cli-delegate/{chunk-TYSY33MD.js → chunk-QJWAUMJW.js} +12 -2
- package/dist/cli-delegate/{chunk-2KKXJW25.js → chunk-S3VFXMTM.js} +1 -1
- package/dist/cli-delegate/cmd_conformance.js +831 -272
- package/dist/cli-delegate/cmd_explain.js +4 -2
- package/dist/cli-delegate/cmd_handoff.js +2 -2
- package/dist/cli-delegate/cmd_packs_active.js +2 -1
- package/dist/cli-delegate/cmd_session_recycle.js +2 -2
- package/dist/cli-delegate/cmd_settings_set.js +13 -0
- package/dist/discovery/deprecation-report.md +1 -1
- package/dist/discovery/discovery-manifest.json +5 -5
- 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/dispatch.js +1274 -571
- package/dist/install/install.mjs +1 -0
- package/dist/mcp/registry-manifest.json +2 -2
- package/dist/mcp/server.json +2 -2
- package/dist/mcp/server.mjs +1218 -632
- package/dist/scripts/_lib/installed_lock.js +1 -1
- package/dist/server/io/yamlIO.js +50 -0
- package/package.json +1 -1
- package/src/config/continuity-surface.json +7 -0
- package/src/config/gate-violation-baselines.json +3 -3
- package/src/config/host-injection-effect.json +1 -1
- package/src/config/preamble-payload-budget.json +12 -7
- package/src/config/preamble-payload-exceptions.json +28 -0
- package/src/scripts/_dispatch.bash +3 -1
- package/src/scripts/_lib/base_ref_payload.ts +315 -0
- package/src/scripts/_lib/dropped_decision.ts +142 -0
- package/src/scripts/_lib/installed_lock.ts +1 -1
- package/src/scripts/_lib/measured_payload_ceiling.ts +424 -0
- package/src/scripts/_lib/payload_catalogue_completeness.ts +211 -0
- package/src/scripts/_lib/release_findings_ingest.ts +324 -0
- package/src/scripts/_lib/release_tag_dispatch.ts +63 -0
- package/src/scripts/_lib/review_baseline.ts +254 -0
- package/src/scripts/_lib/review_skipped_record.ts +61 -1
- package/src/scripts/_lib/standing_bound_ratchet.ts +216 -103
- package/src/scripts/_lib/turn_end_refusals.ts +51 -4
- package/src/scripts/check_beta_review_markers.ts +35 -4
- package/src/scripts/check_finding_dispositions.ts +167 -16
- package/src/scripts/check_held_object_arrivals.ts +381 -0
- package/src/scripts/check_preamble_payload_budget.ts +399 -122
- package/src/scripts/check_release_published.ts +1 -1
- package/src/scripts/check_reply_consistency.ts +86 -17
- package/src/scripts/hook_manifest.json +1 -1
- package/src/scripts/hook_manifest.yaml +39 -3
- package/src/scripts/hooks/block_kernel_rule_writes.ts +12 -2
- package/src/scripts/hooks/concern_registry.ts +2 -0
- package/src/scripts/hooks/end_review_nudge_hook.ts +101 -21
- package/src/scripts/hooks/review_baseline_hook.ts +130 -0
- package/src/scripts/hooks/turn_end_gate_hook.ts +232 -14
- package/src/scripts/hooks_doctor.ts +4 -1
- package/src/scripts/install.ts +1 -1
- package/src/scripts/interruption_report.ts +8 -2
- package/src/scripts/janitor.ts +8 -1
- package/src/scripts/measure_turn_end_gate.ts +302 -5
- package/src/scripts/release.ts +52 -64
- package/src/scripts/release_drill.ts +193 -14
- package/src/scripts/release_env.ts +1 -1
- package/src/scripts/release_publication.ts +1 -1
- package/src/scripts/report_held_object_arrivals.ts +456 -0
- package/src/scripts/sync_agent_settings.ts +140 -18
- package/src/server/io/yamlIO.ts +48 -0
|
@@ -6,13 +6,15 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
PROFILE_ID_ENV,
|
|
8
8
|
ProfileError,
|
|
9
|
-
artefact_roots,
|
|
10
9
|
resolve_profile
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H32DGUJH.js";
|
|
12
11
|
import {
|
|
13
12
|
StateLoadError,
|
|
14
13
|
load_state
|
|
15
14
|
} from "./chunk-GME3Q44L.js";
|
|
15
|
+
import {
|
|
16
|
+
artefact_roots
|
|
17
|
+
} from "./chunk-NUHLI2RX.js";
|
|
16
18
|
import {
|
|
17
19
|
DEFAULT_PROJECT_FILE,
|
|
18
20
|
ProjectRootError,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
predecessorTracePresent,
|
|
14
14
|
recycle_consumed_rel,
|
|
15
15
|
resolveContinuityRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S3VFXMTM.js";
|
|
17
17
|
import "./chunk-YUM5KURG.js";
|
|
18
18
|
import {
|
|
19
19
|
hasBoundaryMarker,
|
|
20
20
|
scanEnvelopeDirectives,
|
|
21
21
|
validateRecycleEnvelope,
|
|
22
22
|
wrapAsPriorSessionData
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QJWAUMJW.js";
|
|
24
24
|
import {
|
|
25
25
|
readHookStdin
|
|
26
26
|
} from "./chunk-F7DQWYR5.js";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
env_session_id,
|
|
6
6
|
recycle_envelope_rel,
|
|
7
7
|
resolvePredecessor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S3VFXMTM.js";
|
|
9
9
|
import {
|
|
10
10
|
CAPSULE_SCHEMA_VERSION,
|
|
11
11
|
validateRecycleEnvelope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QJWAUMJW.js";
|
|
13
13
|
import "./chunk-F7DQWYR5.js";
|
|
14
14
|
import {
|
|
15
15
|
atomic_write_json
|
|
@@ -118,6 +118,18 @@ function replaceFlatDottedKey(template, dottedPath, value) {
|
|
|
118
118
|
for (let i = hits.length - 1; i >= 1; i--) lines.splice(hits[i], 1);
|
|
119
119
|
return { found: true, body: lines.join("\n") };
|
|
120
120
|
}
|
|
121
|
+
function dropFlatDottedTwins(template, dottedPath) {
|
|
122
|
+
if (dottedPath.length < 2) return template;
|
|
123
|
+
const flat = dottedPath.join(".");
|
|
124
|
+
const lines = template.split("\n");
|
|
125
|
+
const kept = lines.filter((line) => {
|
|
126
|
+
if (line.length !== line.trimStart().length) return true;
|
|
127
|
+
const m = /^([A-Za-z_][A-Za-z0-9_.-]*)\s*:/.exec(line);
|
|
128
|
+
return m === null || m[1] !== flat;
|
|
129
|
+
});
|
|
130
|
+
if (kept.length === lines.length) return template;
|
|
131
|
+
return kept.join("\n");
|
|
132
|
+
}
|
|
121
133
|
function mergeIntoTemplate(templateBody, newValues) {
|
|
122
134
|
let body = templateBody;
|
|
123
135
|
const appended = [];
|
|
@@ -126,6 +138,7 @@ function mergeIntoTemplate(templateBody, newValues) {
|
|
|
126
138
|
const leaf = entry.path[entry.path.length - 1];
|
|
127
139
|
if (findScalarLine(body.split("\n"), sections, leaf) !== -1) {
|
|
128
140
|
body = replaceScalar(body, entry.path, entry.value);
|
|
141
|
+
body = dropFlatDottedTwins(body, entry.path);
|
|
129
142
|
continue;
|
|
130
143
|
}
|
|
131
144
|
const flat = replaceFlatDottedKey(body, entry.path, entry.value);
|
|
@@ -5010,7 +5010,7 @@
|
|
|
5010
5010
|
},
|
|
5011
5011
|
{
|
|
5012
5012
|
"category": "command",
|
|
5013
|
-
"checksum": "sha256:
|
|
5013
|
+
"checksum": "sha256:28fefa821f495cce0794b46885524a5c5c0f84c348bbfd63c5da32086a151027",
|
|
5014
5014
|
"install": {
|
|
5015
5015
|
"default": true,
|
|
5016
5016
|
"removable": false
|
|
@@ -8083,7 +8083,7 @@
|
|
|
8083
8083
|
},
|
|
8084
8084
|
{
|
|
8085
8085
|
"category": "rule",
|
|
8086
|
-
"checksum": "sha256:
|
|
8086
|
+
"checksum": "sha256:901d6fcb2480264ac8ba8c4d7a27e73461aeb6d4a98e862c993dde10832367e8",
|
|
8087
8087
|
"install": {
|
|
8088
8088
|
"default": true,
|
|
8089
8089
|
"removable": false
|
|
@@ -9990,7 +9990,7 @@
|
|
|
9990
9990
|
},
|
|
9991
9991
|
{
|
|
9992
9992
|
"category": "skill",
|
|
9993
|
-
"checksum": "sha256:
|
|
9993
|
+
"checksum": "sha256:1e3e4397121243f7ac7170180341c10f56ba5496fd769913dc256cd96440fdcc",
|
|
9994
9994
|
"install": {
|
|
9995
9995
|
"default": true,
|
|
9996
9996
|
"removable": false
|
|
@@ -14765,7 +14765,7 @@
|
|
|
14765
14765
|
"workspaces": []
|
|
14766
14766
|
}
|
|
14767
14767
|
],
|
|
14768
|
-
"checksum": "sha256:
|
|
14768
|
+
"checksum": "sha256:fd319bba8c48de690407adabab688742715059312377818adc23cb3206a5326f",
|
|
14769
14769
|
"deprecations": [
|
|
14770
14770
|
{
|
|
14771
14771
|
"key": "tier",
|
|
@@ -14914,7 +14914,7 @@
|
|
|
14914
14914
|
"reason": "scaffold template for ticket-bundle tickets (ADR-101); carries no runtime frontmatter — emit-tickets fills it in per ticket"
|
|
14915
14915
|
}
|
|
14916
14916
|
],
|
|
14917
|
-
"generated_at": "2026-09-
|
|
14917
|
+
"generated_at": "2026-09-12T08:49:20Z",
|
|
14918
14918
|
"packs": [
|
|
14919
14919
|
{
|
|
14920
14920
|
"artefact_count": 128,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cdda5aff30d587dd725d5fcc440f0f9ddfc55edca913f8fbe8bcc5010231a430 discovery-manifest.json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"checksum": "sha256:
|
|
3
|
-
"generated_at": "2026-09-
|
|
2
|
+
"checksum": "sha256:fd319bba8c48de690407adabab688742715059312377818adc23cb3206a5326f",
|
|
3
|
+
"generated_at": "2026-09-12T08:49:20Z",
|
|
4
4
|
"packs": [
|
|
5
5
|
{
|
|
6
6
|
"always_on": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"checksum": "sha256:
|
|
3
|
-
"generated_at": "2026-09-
|
|
2
|
+
"checksum": "sha256:fd319bba8c48de690407adabab688742715059312377818adc23cb3206a5326f",
|
|
3
|
+
"generated_at": "2026-09-12T08:49:20Z",
|
|
4
4
|
"scanner_version": "de0a22b4ac4c",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
{
|