@integrity-labs/agt-cli 0.28.129 → 0.28.131
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/dist/bin/agt.js +4 -4
- package/dist/{chunk-KIHRKGQI.js → chunk-N5N3CA6W.js} +26 -22
- package/dist/chunk-N5N3CA6W.js.map +1 -0
- package/dist/{chunk-NCRDTQ54.js → chunk-RIT2OY5S.js} +29 -21
- package/dist/chunk-RIT2OY5S.js.map +1 -0
- package/dist/{chunk-GNDZBP3I.js → chunk-U3CDNNEK.js} +16 -2
- package/dist/chunk-U3CDNNEK.js.map +1 -0
- package/dist/{claude-pair-runtime-DDIIKRDG.js → claude-pair-runtime-NJDB2EPV.js} +2 -2
- package/dist/lib/manager-worker.js +45 -16
- package/dist/lib/manager-worker.js.map +1 -1
- package/dist/{persistent-session-YPKC2K44.js → persistent-session-6MR7EVEN.js} +3 -3
- package/dist/{responsiveness-probe-43JLWBJI.js → responsiveness-probe-GWJ6TKO2.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-GNDZBP3I.js.map +0 -1
- package/dist/chunk-KIHRKGQI.js.map +0 -1
- package/dist/chunk-NCRDTQ54.js.map +0 -1
- /package/dist/{claude-pair-runtime-DDIIKRDG.js.map → claude-pair-runtime-NJDB2EPV.js.map} +0 -0
- /package/dist/{persistent-session-YPKC2K44.js.map → persistent-session-6MR7EVEN.js.map} +0 -0
- /package/dist/{responsiveness-probe-43JLWBJI.js.map → responsiveness-probe-GWJ6TKO2.js.map} +0 -0
|
@@ -1930,20 +1930,33 @@ var charter_frontmatter_v1_default = {
|
|
|
1930
1930
|
},
|
|
1931
1931
|
tools: {
|
|
1932
1932
|
type: "object",
|
|
1933
|
-
description: "ENG-
|
|
1933
|
+
description: "ENG-6707: agent-driven skill authoring is governed by the SkillSpector scanner gate; tools.skills carries only the shared-scope kill switch.",
|
|
1934
1934
|
properties: {
|
|
1935
1935
|
skills: {
|
|
1936
1936
|
type: "object",
|
|
1937
1937
|
properties: {
|
|
1938
|
+
shared_authoring: {
|
|
1939
|
+
type: "boolean",
|
|
1940
|
+
default: true,
|
|
1941
|
+
description: "ENG-6707 kill switch for agent-driven shared-scope (team/organization) skill authoring. Default true (open): shared skills auto-publish on a clean SkillSpector scan, else land as drafts for operator review (fail-closed). Set false to revoke shared-scope authoring for a compromised agent; agent-scope authoring stays available."
|
|
1942
|
+
},
|
|
1938
1943
|
write_team: {
|
|
1939
1944
|
type: "boolean",
|
|
1940
1945
|
default: false,
|
|
1941
|
-
|
|
1946
|
+
deprecated: true,
|
|
1947
|
+
description: "DEPRECATED (ENG-6707): ignored. Superseded by the scanner gate + shared_authoring kill switch. Retained so charters written before the migration still validate."
|
|
1948
|
+
},
|
|
1949
|
+
write_organization: {
|
|
1950
|
+
type: "boolean",
|
|
1951
|
+
default: false,
|
|
1952
|
+
deprecated: true,
|
|
1953
|
+
description: "DEPRECATED (ENG-6707): ignored. Org-scope authoring is governed by the same scanner gate + shared_authoring kill switch as team scope. Retained so charters written before the migration still validate."
|
|
1942
1954
|
},
|
|
1943
1955
|
publish: {
|
|
1944
1956
|
type: "boolean",
|
|
1945
1957
|
default: false,
|
|
1946
|
-
|
|
1958
|
+
deprecated: true,
|
|
1959
|
+
description: "DEPRECATED (ENG-6707): ignored. Auto-publish is now driven by a clean SkillSpector scan, not this flag. Retained for back-compat."
|
|
1947
1960
|
}
|
|
1948
1961
|
},
|
|
1949
1962
|
additionalProperties: false
|
|
@@ -2488,13 +2501,16 @@ ${desc}
|
|
|
2488
2501
|
|
|
2489
2502
|
## Optional permissions
|
|
2490
2503
|
|
|
2491
|
-
|
|
2504
|
+
Agents may author skills at any scope by default. Shared-scope (team /
|
|
2505
|
+
organization) skills auto-publish on a clean SkillSpector scan and land as
|
|
2506
|
+
drafts for operator review otherwise. To REVOKE shared-scope authoring for a
|
|
2507
|
+
compromised agent, add the kill switch below to the YAML frontmatter above
|
|
2508
|
+
(agent-scope authoring stays available).
|
|
2492
2509
|
|
|
2493
2510
|
\`\`\`yaml
|
|
2494
2511
|
tools:
|
|
2495
2512
|
skills:
|
|
2496
|
-
|
|
2497
|
-
publish: false # ENG-4588: skip operator review for agent-authored skills
|
|
2513
|
+
shared_authoring: false # ENG-6707: revoke this agent's team/org skill authoring (default: true / open)
|
|
2498
2514
|
\`\`\`
|
|
2499
2515
|
`;
|
|
2500
2516
|
}
|
|
@@ -2613,22 +2629,14 @@ function runSemanticRules(file, charter) {
|
|
|
2613
2629
|
}
|
|
2614
2630
|
}
|
|
2615
2631
|
}
|
|
2616
|
-
|
|
2632
|
+
const skillsTools = charter.tools?.skills;
|
|
2633
|
+
if (skillsTools && (skillsTools.write_team !== void 0 || skillsTools.publish !== void 0 || skillsTools.write_organization !== void 0)) {
|
|
2617
2634
|
diagnostics.push({
|
|
2618
2635
|
file,
|
|
2619
|
-
code: "CHARTER.SEMANTIC.
|
|
2620
|
-
path: "tools.skills
|
|
2621
|
-
severity: "
|
|
2622
|
-
message: "
|
|
2623
|
-
});
|
|
2624
|
-
}
|
|
2625
|
-
if (charter.risk_tier === "High" && charter.tools?.skills?.write_team === true) {
|
|
2626
|
-
diagnostics.push({
|
|
2627
|
-
file,
|
|
2628
|
-
code: "CHARTER.SEMANTIC.HIGH_RISK_SKILL_WRITE_TEAM",
|
|
2629
|
-
path: "tools.skills.write_team",
|
|
2630
|
-
severity: "warning",
|
|
2631
|
-
message: "High-risk agents should not be granted tools.skills.write_team \u2014 they can pollute the shared team catalog"
|
|
2636
|
+
code: "CHARTER.SEMANTIC.SKILL_FLAGS_DEPRECATED",
|
|
2637
|
+
path: "tools.skills",
|
|
2638
|
+
severity: "info",
|
|
2639
|
+
message: "tools.skills.write_team / publish / write_organization are deprecated and ignored (ENG-6707). Agent-driven skill authoring is governed by the SkillSpector scan; set tools.skills.shared_authoring: false to revoke shared-scope authoring for a compromised agent."
|
|
2632
2640
|
});
|
|
2633
2641
|
}
|
|
2634
2642
|
return diagnostics;
|
|
@@ -5780,4 +5788,4 @@ export {
|
|
|
5780
5788
|
parseEnvIntegrations,
|
|
5781
5789
|
probeMcpEnvSubstitution
|
|
5782
5790
|
};
|
|
5783
|
-
//# sourceMappingURL=chunk-
|
|
5791
|
+
//# sourceMappingURL=chunk-RIT2OY5S.js.map
|