@elvis1513/auto-coding-skill 4.3.1 → 4.3.2
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 +11 -1
- package/cli/assets/managed-install.json +1 -1
- package/cli/assets/skill/data/policies/feedback-resolutions-v1.json +5 -0
- package/cli/assets/skill/data/policies/workflow-migrations-v1.json +2 -2
- package/cli/assets/skill/data/templates/ENGINEERING.md +2 -2
- package/cli/assets/skill/data/templates/bridges/AGENTS.md +1 -1
- package/cli/assets/skill/scripts/ap.py +9 -4
- package/cli/src/index.js +10 -4
- package/cli/tests/core_shell_test.py +5 -5
- package/cli/tests/index.test.js +45 -33
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,9 @@ The Skill is a selectable guardrail, not a command sequence that must run for
|
|
|
9
9
|
every task. The model skips machinery whose expected benefit does not exceed its
|
|
10
10
|
cost; read-only work and obvious small clean-checkout changes normally stay direct.
|
|
11
11
|
|
|
12
|
-
Version 4.3.
|
|
12
|
+
Version 4.3.2 keeps upgrade history outside active `docs/`, so an upgrade that
|
|
13
|
+
archives the previous managed AGENTS or ENGINEERING contract is immediately
|
|
14
|
+
idempotent and `status` remains current. Version 4.3.1 preserves recursively nested project documentation assets of any
|
|
13
15
|
file type, and gives project-owned Skill feedback a release-aware lifecycle with
|
|
14
16
|
active/closed grouping, recheck and verification notices, and explicit routing
|
|
15
17
|
of project preferences into the project overlay. Version 4.3.0 separates exact managed defaults from a byte-stable project
|
|
@@ -386,6 +388,14 @@ model overrides, complete project `risk.rules`, supported project/access/
|
|
|
386
388
|
concurrency/route/structure values, and an existing project-owned structure
|
|
387
389
|
standard byte-for-byte. Removed content is archived outside active docs.
|
|
388
390
|
|
|
391
|
+
## What changed in 4.3.2
|
|
392
|
+
|
|
393
|
+
- Moved managed AGENTS and duplicate-workflow ENGINEERING history into
|
|
394
|
+
`.agents/archive/auto-coding-skill/<version>/` instead of `docs/archive/`.
|
|
395
|
+
- Added an upgrade regression proving legacy 4.3.1 active-doc archives are moved
|
|
396
|
+
out of active docs without byte loss and post-upgrade `status` is immediately
|
|
397
|
+
current.
|
|
398
|
+
|
|
389
399
|
## What changed in 4.3.1
|
|
390
400
|
|
|
391
401
|
- Replaced extension-bound documentation preservation with recursive ownership
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema_version":1,"skill_version":"4.3.
|
|
1
|
+
{"schema_version":1,"skill_version":"4.3.2","manifest_path":".agents/managed-install.json","entries":[{"path":".agents/agents/browser-debugger.toml","source":"agents/browser-debugger.toml","ownership":"normalized-agent","sha256":"40727952944917eb0b573bb96dca2906c27bc794737f3b6b392b56df7b4208aa","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/agents/docs-researcher.toml","source":"agents/docs-researcher.toml","ownership":"normalized-agent","sha256":"aa1fed6a6a1cde282fc152c7a88b8e097a6c53bcf447d35978607d594e3cb3e4","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/agents/explorer.toml","source":"agents/explorer.toml","ownership":"normalized-agent","sha256":"4cd89888acf7c0c04fbbcd0b9a0f346c6efed42fb723ec2037af9331a84a1cac","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/agents/fixer.toml","source":"agents/fixer.toml","ownership":"normalized-agent","sha256":"7bc00a45b9d1bcc90b8b0f06d773556eba1d52effff664472c3cb81073f6abfb","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/agents/reviewer.toml","source":"agents/reviewer.toml","ownership":"normalized-agent","sha256":"e1ad676e608ffee04d782571fb9bfbc787f69c100941b1811d955ef80439db36","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/SKILL.md","source":"skill/SKILL.md","ownership":"exact","sha256":"d142951aa5cd7062ec467421654c7cda0a9dac2262eedc97a92590428b3a21e7","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/contracts/orchestration-v1.schema.json","source":"skill/data/contracts/orchestration-v1.schema.json","ownership":"exact","sha256":"65a8c0d222b26f224794ec106101f903f0e3a357b249c2df22c5908a476a6835","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/policies/feedback-resolutions-v1.json","source":"skill/data/policies/feedback-resolutions-v1.json","ownership":"exact","sha256":"2df13774e9e93d02164487623c26f25801713d4df70706a1f2982351d8b2fcc4","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/policies/workflow-migrations-v1.json","source":"skill/data/policies/workflow-migrations-v1.json","ownership":"exact","sha256":"4c346fb95a58a2a84284828333ad648cc9361cd1fb947d0daa28f80b45f531da","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/templates/ENGINEERING.md","source":"skill/data/templates/ENGINEERING.md","ownership":"exact","sha256":"a5e0f84f74b4deb577aa7433852eaa54eaa2953cc123d335cec518577b76d86b","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/templates/bridges/AGENTS.md","source":"skill/data/templates/bridges/AGENTS.md","ownership":"exact","sha256":"fdd45240f80481406d3216e6fe05b5b01b9dd9bd163c06e09978c085dc86a168","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/data/templates/tools/ap.py","source":"skill/data/templates/tools/ap.py","ownership":"exact","sha256":"c352fbf2cbcb9692a34fd952d8541b1cbe6d475c6e11e64500a1f6b5283a00be","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/requirements.txt","source":"skill/requirements.txt","ownership":"exact","sha256":"0969da99a0bc2a1b71ed50584560f4588a37567ac63af3ddbaf3c4617ca5621a","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/scripts/ap.py","source":"skill/scripts/ap.py","ownership":"exact","sha256":"21f9dbd6ce523ee36ca89910e7179df8c453a2c29e890f9df18d9e52f6bc8b5d","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/scripts/core.py","source":"skill/scripts/core.py","ownership":"exact","sha256":"caefca925929bad840c3471b86332d4be48b5e19ad0ff79fde1dcedef0297c16","executable":true,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/scripts/http_checks.py","source":"skill/scripts/http_checks.py","ownership":"exact","sha256":"5620e187a0129f135621425a84b3a4e8f31137263c7e549a36a801fc36ff54ea","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/scripts/install_integrity.py","source":"skill/scripts/install_integrity.py","ownership":"exact","sha256":"41a2df7935027fb43cfcb3d18e57a7f33adc4861420ff43c8828743ad71cc429","executable":false,"scope":"shared","version":"4.3.2"},{"path":".agents/skills/auto-coding-skill/scripts/scaffold_templates.py","source":"skill/scripts/scaffold_templates.py","ownership":"exact","sha256":"7f25761cc065bb8c2875c8c99bea9077d339dedae81aeeddfab1c35f4cf054b3","executable":false,"scope":"shared","version":"4.3.2"},{"path":"AGENTS.md","source":"skill/data/templates/bridges/AGENTS.md","ownership":"exact","sha256":"fdd45240f80481406d3216e6fe05b5b01b9dd9bd163c06e09978c085dc86a168","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/ENGINEERING.md","source":"skill/data/templates/ENGINEERING.md","ownership":"exact","sha256":"a5e0f84f74b4deb577aa7433852eaa54eaa2953cc123d335cec518577b76d86b","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/architecture/adr/_TEMPLATE-ADR.md","source":"generated:scaffold_templates:docs/architecture/adr/_TEMPLATE-ADR.md","ownership":"exact","sha256":"88c89065ae0f8555412dbe096c05342152efc7becae8d8981e6442cdfee8e672","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/deployment/deploy-records/_TEMPLATE-DEPLOY-RECORD.md","source":"generated:scaffold_templates:docs/deployment/deploy-records/_TEMPLATE-DEPLOY-RECORD.md","ownership":"exact","sha256":"f2c17c0febc322b0ad50fb9d6f7e64e6c0cfb15c8a3e445a99da40f0a0dd1901","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/design/_TEMPLATE-DD.md","source":"generated:scaffold_templates:docs/design/_TEMPLATE-DD.md","ownership":"exact","sha256":"6ca022d127bfff68521f466b60bace4f1206baf0913daa855b9f751e74198db3","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/reviews/_TEMPLATE-REVIEW.md","source":"generated:scaffold_templates:docs/reviews/_TEMPLATE-REVIEW.md","ownership":"exact","sha256":"134f0d1bd3c7a317ef3cf4c2aea9f0539f3d53dccd5bcdabf6915b3629ef8802","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/skill-feedback/README.md","source":"generated:scaffold_templates:docs/skill-feedback/README.md","ownership":"exact","sha256":"3b146e1b7e7a1d4af57635307b825b38ce7bc58d1ee5f98871c877a64936edab","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/skill-feedback/_TEMPLATE-SKILL-FEEDBACK.md","source":"generated:scaffold_templates:docs/skill-feedback/_TEMPLATE-SKILL-FEEDBACK.md","ownership":"exact","sha256":"90ff26074305f8da537892060ffbc3a0206841702ed0483545e4ebe84e3ff357","executable":false,"scope":"project","version":"4.3.2"},{"path":"docs/tools/autopipeline/ap.py","source":"skill/data/templates/tools/ap.py","ownership":"exact","sha256":"c352fbf2cbcb9692a34fd952d8541b1cbe6d475c6e11e64500a1f6b5283a00be","executable":false,"scope":"project","version":"4.3.2"}],"managed_namespaces":[{"path":".agents/skills/auto-coding-skill","scope":"shared"},{"path":"docs/tools/autopipeline","scope":"project"}],"preserved":[".agents/archive/**",".agents/agents/* (except paths listed in entries)","docs/project/auto-coding-skill.yaml","docs/architecture/structure-standard.md","docs/architecture/** (except exact-managed entries)","docs/bugs/** (except exact-managed entries)","docs/deployment/** (except exact-managed entries)","docs/design/** (except exact-managed entries)","docs/interfaces/** (except exact-managed entries)","docs/project/** (except exact-managed entries)","docs/reviews/** (except exact-managed entries)","docs/testing/** (except exact-managed entries)","docs/skill-feedback/reports/*.md"]}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "auto-coding-skill-feedback-resolutions/v1",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"signature": "sha256:73270c5822d44e9b2e8ff33ab06808496557d78a1a9adc3fa66b8389f23dcb96",
|
|
6
|
+
"disposition": "fixed",
|
|
7
|
+
"effective_skill_version": "4.3.2"
|
|
8
|
+
},
|
|
4
9
|
{
|
|
5
10
|
"signature": "sha256:a5eeb5eb0ef5073dbeec726fa6c2016593b43eb1230171e3028f364c5b07bd86",
|
|
6
11
|
"disposition": "project-config",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
workflow:
|
|
3
|
-
skill_version: "4.3.
|
|
3
|
+
skill_version: "4.3.2"
|
|
4
4
|
mode: "dev"
|
|
5
5
|
profile: "auto"
|
|
6
6
|
completion: "push"
|
|
@@ -83,7 +83,7 @@ docs:
|
|
|
83
83
|
api_change_log: "docs/interfaces/api-change-log.md"
|
|
84
84
|
---
|
|
85
85
|
# Engineering Configuration and Project Facts
|
|
86
|
-
<!-- auto-coding-skill:managed-workflow:start version=4.3.
|
|
86
|
+
<!-- auto-coding-skill:managed-workflow:start version=4.3.2 -->
|
|
87
87
|
Root `AGENTS.md` is the single shared behavioral protocol. The installed
|
|
88
88
|
`SKILL.md` contains invocation guidance. This whole file is the managed default
|
|
89
89
|
configuration contract. Project-owned values live only in
|
|
@@ -287,7 +287,7 @@ _FINAL_GATE_CACHE_ALGORITHM = "final-gate-v1"
|
|
|
287
287
|
_WORKFLOW_MIGRATION_POLICY = Path("data/policies/workflow-migrations-v1.json")
|
|
288
288
|
_FALLBACK_WORKFLOW_MIGRATION_POLICY = {
|
|
289
289
|
"schema_version": 1,
|
|
290
|
-
"managed_versions": {"agents": "4.3.
|
|
290
|
+
"managed_versions": {"agents": "4.3.2", "engineering": "4.3.2"},
|
|
291
291
|
"known_official_engineering_body_sha256": [
|
|
292
292
|
"d1306cc626e8baf8c83c953b760fd771066de2bf125168eca3a7b7d6ff2b87a2",
|
|
293
293
|
"305931c6edef770033a4f1970b00e5fb1c1728351856a173dbfa497daf563021",
|
|
@@ -3029,7 +3029,7 @@ def cmd_upgrade(args: argparse.Namespace) -> None:
|
|
|
3029
3029
|
archive_content = archive_header + engineering_plan["original"]
|
|
3030
3030
|
archive_rel, archive_required = _select_project_archive_target(
|
|
3031
3031
|
repo,
|
|
3032
|
-
Path("
|
|
3032
|
+
Path(".agents/archive/auto-coding-skill") / version / "workflow/ENGINEERING.md",
|
|
3033
3033
|
archive_content.encode("utf-8"),
|
|
3034
3034
|
legacy_digest_payload=engineering_plan["original"].encode("utf-8"),
|
|
3035
3035
|
)
|
|
@@ -3089,9 +3089,14 @@ def cmd_upgrade(args: argparse.Namespace) -> None:
|
|
|
3089
3089
|
canonical_agents = template_agents.read_text(encoding="utf-8") if template_agents.exists() else ""
|
|
3090
3090
|
current_agents = agents_path.read_text(encoding="utf-8") if agents_path.exists() else ""
|
|
3091
3091
|
if canonical_agents and current_agents != canonical_agents:
|
|
3092
|
+
agents_version_match = re.search(
|
|
3093
|
+
r"auto-coding-skill:managed-agents:start\s+version=([0-9]+\.[0-9]+\.[0-9]+)",
|
|
3094
|
+
canonical_agents,
|
|
3095
|
+
)
|
|
3096
|
+
agents_version = agents_version_match.group(1) if agents_version_match else "current"
|
|
3092
3097
|
if current_agents:
|
|
3093
3098
|
archive_header = (
|
|
3094
|
-
"# Archived AGENTS.md before auto-coding-skill
|
|
3099
|
+
f"# Archived AGENTS.md before auto-coding-skill {agents_version}\n\n"
|
|
3095
3100
|
"This file is historical and non-authoritative. The root AGENTS.md is fully managed.\n"
|
|
3096
3101
|
"Move project configuration into docs/project/auto-coding-skill.yaml and facts into docs/project/,\n"
|
|
3097
3102
|
"without copying workflow rules back into the root AGENTS.md.\n\n---\n\n"
|
|
@@ -3099,7 +3104,7 @@ def cmd_upgrade(args: argparse.Namespace) -> None:
|
|
|
3099
3104
|
archive_content = archive_header + current_agents
|
|
3100
3105
|
archive_rel, archive_required = _select_project_archive_target(
|
|
3101
3106
|
repo,
|
|
3102
|
-
Path("
|
|
3107
|
+
Path(".agents/archive/auto-coding-skill") / agents_version / "AGENTS.md",
|
|
3103
3108
|
archive_content.encode("utf-8"),
|
|
3104
3109
|
legacy_digest_payload=current_agents.encode("utf-8"),
|
|
3105
3110
|
)
|
package/cli/src/index.js
CHANGED
|
@@ -1723,10 +1723,10 @@ function engineeringArchivePlan(root, current, version){
|
|
|
1723
1723
|
"",
|
|
1724
1724
|
].join("\n");
|
|
1725
1725
|
const archiveOutput = `${archiveHeader}${current}`;
|
|
1726
|
-
const archiveDir = path.join(root, "
|
|
1726
|
+
const archiveDir = path.join(root, ".agents", "archive", "auto-coding-skill", version, "workflow");
|
|
1727
1727
|
const selected = selectProjectArchiveTarget(
|
|
1728
1728
|
root,
|
|
1729
|
-
path.join(archiveDir,
|
|
1729
|
+
path.join(archiveDir, "ENGINEERING.md"),
|
|
1730
1730
|
archiveOutput,
|
|
1731
1731
|
{ legacyDigestPayload: current },
|
|
1732
1732
|
);
|
|
@@ -1765,10 +1765,16 @@ function planAgentsDocumentSync(project, assetSkill, policy = loadWorkflowMigrat
|
|
|
1765
1765
|
"",
|
|
1766
1766
|
].join("\n");
|
|
1767
1767
|
const archiveOutput = `${archiveHeader}${current}`;
|
|
1768
|
-
const archiveDir = path.join(
|
|
1768
|
+
const archiveDir = path.join(
|
|
1769
|
+
root,
|
|
1770
|
+
".agents",
|
|
1771
|
+
"archive",
|
|
1772
|
+
"auto-coding-skill",
|
|
1773
|
+
templateRegion.version,
|
|
1774
|
+
);
|
|
1769
1775
|
const selected = selectProjectArchiveTarget(
|
|
1770
1776
|
root,
|
|
1771
|
-
path.join(archiveDir,
|
|
1777
|
+
path.join(archiveDir, "AGENTS.md"),
|
|
1772
1778
|
archiveOutput,
|
|
1773
1779
|
{ legacyDigestPayload: current },
|
|
1774
1780
|
);
|
|
@@ -87,7 +87,7 @@ class ProjectConfigResolverTests(unittest.TestCase):
|
|
|
87
87
|
(self.repo / "docs" / "project").mkdir(parents=True)
|
|
88
88
|
self.write_managed(
|
|
89
89
|
"""workflow:
|
|
90
|
-
skill_version: "4.3.
|
|
90
|
+
skill_version: "4.3.2"
|
|
91
91
|
mode: dev
|
|
92
92
|
profile: auto
|
|
93
93
|
completion: push
|
|
@@ -130,7 +130,7 @@ access:
|
|
|
130
130
|
effective = core.load_effective_config(self.repo)
|
|
131
131
|
|
|
132
132
|
self.assertEqual("sample", effective["project"]["name"])
|
|
133
|
-
self.assertEqual("4.3.
|
|
133
|
+
self.assertEqual("4.3.2", effective["workflow"]["skill_version"])
|
|
134
134
|
self.assertEqual(self.repo / "docs" / "ENGINEERING.md", core.find_config(self.repo))
|
|
135
135
|
self.assertEqual({}, core.load_project_overrides(self.repo))
|
|
136
136
|
|
|
@@ -153,7 +153,7 @@ access:
|
|
|
153
153
|
|
|
154
154
|
effective = core.load_effective_config(self.repo)
|
|
155
155
|
|
|
156
|
-
self.assertEqual("4.3.
|
|
156
|
+
self.assertEqual("4.3.2", effective["workflow"]["skill_version"])
|
|
157
157
|
self.assertEqual("dev", effective["workflow"]["mode"])
|
|
158
158
|
self.assertEqual("project-profile", effective["workflow"]["profile"])
|
|
159
159
|
self.assertEqual("push", effective["workflow"]["completion"])
|
|
@@ -292,11 +292,11 @@ access:
|
|
|
292
292
|
|
|
293
293
|
def test_large_managed_body_is_not_part_of_frontmatter_bound(self) -> None:
|
|
294
294
|
self.write_managed(
|
|
295
|
-
'workflow:\n skill_version: "4.3.
|
|
295
|
+
'workflow:\n skill_version: "4.3.2"\n',
|
|
296
296
|
body="x" * (core.MANAGED_CONFIG_FRONTMATTER_MAX_BYTES + 1),
|
|
297
297
|
)
|
|
298
298
|
|
|
299
|
-
self.assertEqual("4.3.
|
|
299
|
+
self.assertEqual("4.3.2", core.load_effective_config(self.repo)["workflow"]["skill_version"])
|
|
300
300
|
|
|
301
301
|
def test_yaml_failure_does_not_echo_content_or_absolute_path(self) -> None:
|
|
302
302
|
secret = "NEVER_ECHO_THIS_SECRET"
|
package/cli/tests/index.test.js
CHANGED
|
@@ -422,8 +422,8 @@ function testInitFullyConvergesExistingProject() {
|
|
|
422
422
|
}
|
|
423
423
|
assert(exists(path.join(repo, ".agents", "agents", "custom.toml")), "project-owned custom agents must survive init");
|
|
424
424
|
assert(!exists(path.join(repo, ".agents", "skills", "auto-coding-skill", "obsolete.txt")), "extra Skill files must be removed");
|
|
425
|
-
assert(exists(path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
426
|
-
assert(exists(path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
425
|
+
assert(exists(path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "legacy", "old-taskbook.md")), "removed docs must be archived outside active docs");
|
|
426
|
+
assert(exists(path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "legacy", "orphan.bin")), "unowned legacy binary assets must still be archived");
|
|
427
427
|
assert(fs.readFileSync(structureStandard, "utf8") === customStructureStandard, "init must preserve a project-owned structure standard");
|
|
428
428
|
assert(fs.readFileSync(path.join(repo, "docs", "architecture", "adr", "0042-project-choice.md"), "utf8").includes("Keep me"), "numbered ADR artifacts must survive init");
|
|
429
429
|
assert(fs.readFileSync(path.join(repo, "docs", "architecture", "system-context.md"), "utf8").includes("Keep me"), "architecture artifacts must survive init");
|
|
@@ -538,12 +538,12 @@ function testManagedPolicySummaryPreservesProjectConfiguration() {
|
|
|
538
538
|
const legacySummary = "- `structure` and `optimization`: advisory architecture and no-new-debt policy.";
|
|
539
539
|
const installedOldDefault = current
|
|
540
540
|
.replace(/^ skill_version:.*$/m, " skill_version: 4.2.5")
|
|
541
|
-
.replace("managed-workflow:start version=4.3.
|
|
541
|
+
.replace("managed-workflow:start version=4.3.2", "managed-workflow:start version=4.2.5")
|
|
542
542
|
.replace(neutralSummary, legacySummary);
|
|
543
543
|
installTrustedEngineeringDefault(repo, installedOldDefault, "4.2.5");
|
|
544
544
|
const customized = current
|
|
545
545
|
.replace(/^ skill_version:.*$/m, " skill_version: 4.2.5")
|
|
546
|
-
.replace("managed-workflow:start version=4.3.
|
|
546
|
+
.replace("managed-workflow:start version=4.3.2", "managed-workflow:start version=4.2.5")
|
|
547
547
|
.replace(neutralSummary, legacySummary)
|
|
548
548
|
.replace(/^ enforcement:.*$/m, " enforcement: blocking")
|
|
549
549
|
.replace(" block_warnings: false", " block_warnings: true")
|
|
@@ -562,7 +562,7 @@ function testManagedPolicySummaryPreservesProjectConfiguration() {
|
|
|
562
562
|
const upgraded = fs.readFileSync(engineering, "utf8");
|
|
563
563
|
const managedAfterUpgrade = readEngineeringConfig(engineering);
|
|
564
564
|
const afterUpgrade = readEffectiveConfig(repo);
|
|
565
|
-
assert(managedAfterUpgrade.workflow?.skill_version === "4.3.
|
|
565
|
+
assert(managedAfterUpgrade.workflow?.skill_version === "4.3.2", "init must upgrade the managed workflow version");
|
|
566
566
|
assert(canonicalJson(afterUpgrade.structure) === canonicalJson(beforeUpgrade.structure), "init must preserve the complete project structure policy");
|
|
567
567
|
assert(canonicalJson(afterUpgrade.optimization) === canonicalJson(beforeUpgrade.optimization), "init must preserve the complete project optimization policy");
|
|
568
568
|
assert(upgraded.includes(neutralSummary), "upgraded managed text must defer to frontmatter policy");
|
|
@@ -1213,7 +1213,7 @@ function testTamperedInstalledDefaultRejectsInitAndSyncWithoutWrites() {
|
|
|
1213
1213
|
const skill = path.join(repo, ".agents", "skills", "auto-coding-skill", "SKILL.md");
|
|
1214
1214
|
const oldDefault = fs.readFileSync(engineering, "utf8")
|
|
1215
1215
|
.replace(/^ skill_version:.*$/m, ' skill_version: "4.2.7"')
|
|
1216
|
-
.replace("managed-workflow:start version=4.3.
|
|
1216
|
+
.replace("managed-workflow:start version=4.3.2", "managed-workflow:start version=4.2.7");
|
|
1217
1217
|
installTrustedEngineeringDefault(repo, oldDefault, "4.2.7");
|
|
1218
1218
|
writeFile(engineering, oldDefault);
|
|
1219
1219
|
fs.unlinkSync(overlay);
|
|
@@ -1502,7 +1502,7 @@ function testArchiveFallbackCollisionsNeverLosePreviousContent() {
|
|
|
1502
1502
|
const engineering = path.join(repo, "docs", "ENGINEERING.md");
|
|
1503
1503
|
fs.appendFileSync(engineering, "\n## Archive collision sentinel\n\nPreserve these ENGINEERING bytes.\n");
|
|
1504
1504
|
const previous = fs.readFileSync(engineering);
|
|
1505
|
-
const archiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
1505
|
+
const archiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs");
|
|
1506
1506
|
const preferred = path.join(archiveDir, "ENGINEERING.md");
|
|
1507
1507
|
const legacyDigest = path.join(archiveDir, `ENGINEERING-${digest12(previous)}.md`);
|
|
1508
1508
|
const occupiedPreferred = Buffer.from("occupied-engineering-default\n");
|
|
@@ -1532,7 +1532,7 @@ function testArchiveFallbackCollisionsNeverLosePreviousContent() {
|
|
|
1532
1532
|
".agents",
|
|
1533
1533
|
"archive",
|
|
1534
1534
|
"auto-coding-skill",
|
|
1535
|
-
"4.3.
|
|
1535
|
+
"4.3.2",
|
|
1536
1536
|
"docs",
|
|
1537
1537
|
"design",
|
|
1538
1538
|
);
|
|
@@ -1557,9 +1557,9 @@ function testArchiveFallbackCollisionsNeverLosePreviousContent() {
|
|
|
1557
1557
|
const agents = path.join(repo, "AGENTS.md");
|
|
1558
1558
|
const previous = Buffer.from("# Project AGENTS before sync\n\nPreserve this sync history.\n");
|
|
1559
1559
|
fs.writeFileSync(agents, previous);
|
|
1560
|
-
const archiveDir = path.join(repo, "
|
|
1561
|
-
const preferred = path.join(archiveDir, "AGENTS.
|
|
1562
|
-
const legacyDigest = path.join(archiveDir, `AGENTS
|
|
1560
|
+
const archiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2");
|
|
1561
|
+
const preferred = path.join(archiveDir, "AGENTS.md");
|
|
1562
|
+
const legacyDigest = path.join(archiveDir, `AGENTS-${digest12(previous)}.md`);
|
|
1563
1563
|
const occupiedPreferred = Buffer.from("occupied-sync-default\n");
|
|
1564
1564
|
const occupiedDigest = Buffer.from("occupied-sync-digest\n");
|
|
1565
1565
|
writeFile(preferred, occupiedPreferred);
|
|
@@ -1579,7 +1579,7 @@ function testArchiveFallbackCollisionsNeverLosePreviousContent() {
|
|
|
1579
1579
|
const agents = path.join(repo, "AGENTS.md");
|
|
1580
1580
|
const previous = Buffer.from("# Project AGENTS before init\n\nPreserve this init history.\n");
|
|
1581
1581
|
fs.writeFileSync(agents, previous);
|
|
1582
|
-
const archiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
1582
|
+
const archiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2");
|
|
1583
1583
|
const preferred = path.join(archiveDir, "AGENTS.md");
|
|
1584
1584
|
const legacyDigest = path.join(archiveDir, `AGENTS-${digest12(previous)}.md`);
|
|
1585
1585
|
const occupiedPreferred = Buffer.from("occupied-init-default\n");
|
|
@@ -2209,7 +2209,7 @@ function testCliInstallArchivesFeedbackTemplatesAndPreservesReports() {
|
|
|
2209
2209
|
writeFile(report, reportContent);
|
|
2210
2210
|
|
|
2211
2211
|
run("node", [cli, "init"], { cwd: repo });
|
|
2212
|
-
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
2212
|
+
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "skill-feedback", "README.md");
|
|
2213
2213
|
assert(fs.readFileSync(feedbackReadme, "utf8").includes("Auto Coding Skill Feedback"), "transactional init must install the managed feedback README");
|
|
2214
2214
|
assert(fs.readFileSync(archive, "utf8") === previousReadme, "transactional init must archive a pre-existing feedback README before replacement");
|
|
2215
2215
|
assert(fs.readFileSync(report, "utf8") === reportContent, "transactional init must preserve project feedback reports byte-for-byte");
|
|
@@ -2304,7 +2304,7 @@ function testManagedEngineeringInitIsAuthoritativeAndIdempotent() {
|
|
|
2304
2304
|
|
|
2305
2305
|
const engineering = path.join(repo, "docs", "ENGINEERING.md");
|
|
2306
2306
|
const initial = fs.readFileSync(engineering, "utf8");
|
|
2307
|
-
const startPattern = /<!-- auto-coding-skill:managed-workflow:start version=4\.3\.
|
|
2307
|
+
const startPattern = /<!-- auto-coding-skill:managed-workflow:start version=4\.3\.2 -->/;
|
|
2308
2308
|
const endMarker = "<!-- auto-coding-skill:managed-workflow:end -->";
|
|
2309
2309
|
assert(startPattern.test(initial), "new projects should include a versioned managed workflow marker");
|
|
2310
2310
|
assert(initial.includes(endMarker), "new projects should include the managed workflow end marker");
|
|
@@ -2318,21 +2318,21 @@ function testManagedEngineeringInitIsAuthoritativeAndIdempotent() {
|
|
|
2318
2318
|
const dryRun = run("node", [cli, "sync", "--projects", repo, "--dry-run", "--json"]);
|
|
2319
2319
|
const dryResult = JSON.parse(dryRun.stdout).results[0];
|
|
2320
2320
|
assert(dryResult.managedWorkflow.state === "stale", `dry-run should expose stale workflow state: ${dryRun.stdout}`);
|
|
2321
|
-
assert(dryResult.managedWorkflow.version === "4.3.
|
|
2321
|
+
assert(dryResult.managedWorkflow.version === "4.3.2", "dry-run should expose the target workflow version");
|
|
2322
2322
|
assert(dryResult.actions.some(item => item.action === "would-replace" && item.path === "docs/ENGINEERING.md"), "dry-run should plan exact replacement of the managed default document");
|
|
2323
2323
|
assert(fs.readFileSync(engineering, "utf8") === customized, "dry-run must not write ENGINEERING.md");
|
|
2324
2324
|
|
|
2325
2325
|
run("node", [cli, "init"], { cwd: repo });
|
|
2326
2326
|
const updated = fs.readFileSync(engineering, "utf8");
|
|
2327
2327
|
assert(!updated.includes("project note before") && !updated.includes("project note after"), "init must remove text outside the canonical ENGINEERING body");
|
|
2328
|
-
assert(updated.includes("version=4.3.
|
|
2328
|
+
assert(updated.includes("version=4.3.2"), "init should install the current managed workflow version");
|
|
2329
2329
|
assert(updated.includes("The frontmatter contract is:"), "init should refresh stale managed workflow content");
|
|
2330
2330
|
|
|
2331
2331
|
fillRequiredAccess(repo);
|
|
2332
2332
|
const status = run("node", [cli, "status", "--projects", repo, "--json"]);
|
|
2333
2333
|
const statusResult = JSON.parse(status.stdout).results[0];
|
|
2334
2334
|
assert(statusResult.managedWorkflow.state === "current", `status should expose current managed workflow state: ${status.stdout}`);
|
|
2335
|
-
assert(statusResult.managedWorkflow.version === "4.3.
|
|
2335
|
+
assert(statusResult.managedWorkflow.version === "4.3.2", "status should expose the installed managed workflow version");
|
|
2336
2336
|
|
|
2337
2337
|
const beforeSecondInit = fs.readFileSync(engineering, "utf8");
|
|
2338
2338
|
run("node", [cli, "init"], { cwd: repo });
|
|
@@ -2360,9 +2360,9 @@ function testLegacyEngineeringMigrationPreservesExistingBody() {
|
|
|
2360
2360
|
assert(dryResult.actions.some(item => item.action === "would-archive" && item.path.endsWith("/docs/ENGINEERING.md")), "custom legacy migration must plan archival before replacement");
|
|
2361
2361
|
run("node", [cli, "sync", "--projects", repo]);
|
|
2362
2362
|
const migrated = fs.readFileSync(engineering, "utf8");
|
|
2363
|
-
assert(migrated.includes("version=4.3.
|
|
2363
|
+
assert(migrated.includes("version=4.3.2"), "legacy migration should insert the current managed workflow");
|
|
2364
2364
|
assert(!migrated.includes(legacyNote), "legacy project text must not remain in the exact managed default document");
|
|
2365
|
-
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
2365
|
+
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "ENGINEERING.md");
|
|
2366
2366
|
assert(fs.readFileSync(archive, "utf8").includes(legacyNote), "legacy migration must preserve the complete previous body in history");
|
|
2367
2367
|
const stable = fs.readFileSync(engineering, "utf8");
|
|
2368
2368
|
run("node", [cli, "sync", "--projects", repo]);
|
|
@@ -2390,7 +2390,7 @@ function testOfficialLegacyEngineeringBodyIsReplacedWithoutDuplication() {
|
|
|
2390
2390
|
assert(migrated === canonicalEngineering, "official legacy migration must install the exact managed default document");
|
|
2391
2391
|
assert((migrated.match(/auto-coding-skill:managed-workflow:start/g) || []).length === 1, "official legacy migration should install exactly one managed workflow");
|
|
2392
2392
|
assert((migrated.match(/^## Execution profiles$/gm) || []).length === 0, "official legacy migration must remove the old duplicated workflow body");
|
|
2393
|
-
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
2393
|
+
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "ENGINEERING.md");
|
|
2394
2394
|
assert(fs.readFileSync(archive, "utf8").includes("## Execution profiles"), "official legacy body must remain available in the historical archive");
|
|
2395
2395
|
|
|
2396
2396
|
const stable = fs.readFileSync(engineering, "utf8");
|
|
@@ -2465,7 +2465,7 @@ function testManagedAgentsMigrationReplacesWholeFileAndArchivesPreviousRules() {
|
|
|
2465
2465
|
run("node", [cli, "sync", "--projects", repo]);
|
|
2466
2466
|
const agents = path.join(repo, "AGENTS.md");
|
|
2467
2467
|
const initial = fs.readFileSync(agents, "utf8");
|
|
2468
|
-
assert(initial.includes("managed-agents:start version=4.3.
|
|
2468
|
+
assert(initial.includes("managed-agents:start version=4.3.2"), "new projects should receive the versioned root AGENTS block");
|
|
2469
2469
|
|
|
2470
2470
|
const custom = [
|
|
2471
2471
|
"# Project rules",
|
|
@@ -2475,6 +2475,9 @@ function testManagedAgentsMigrationReplacesWholeFileAndArchivesPreviousRules() {
|
|
|
2475
2475
|
"",
|
|
2476
2476
|
].join("\n");
|
|
2477
2477
|
writeFile(agents, custom);
|
|
2478
|
+
const legacyActiveArchive = path.join(repo, "docs", "archive", "workflow", "AGENTS.pre-4.3.1.md");
|
|
2479
|
+
const legacyActiveArchiveBytes = Buffer.from("# Historical 4.3.1 AGENTS archive\n");
|
|
2480
|
+
writeFile(legacyActiveArchive, legacyActiveArchiveBytes);
|
|
2478
2481
|
const dryRun = run("node", [cli, "sync", "--projects", repo, "--dry-run", "--json"]);
|
|
2479
2482
|
const plan = JSON.parse(dryRun.stdout).results[0].managedAgentsDocument;
|
|
2480
2483
|
assert(plan.state === "legacy-custom", `unmarked custom AGENTS should be migrated: ${dryRun.stdout}`);
|
|
@@ -2484,16 +2487,25 @@ function testManagedAgentsMigrationReplacesWholeFileAndArchivesPreviousRules() {
|
|
|
2484
2487
|
|
|
2485
2488
|
run("node", [cli, "sync", "--projects", repo]);
|
|
2486
2489
|
const migrated = fs.readFileSync(agents, "utf8");
|
|
2487
|
-
assert(migrated.includes("managed-agents:start version=4.3.
|
|
2490
|
+
assert(migrated.includes("managed-agents:start version=4.3.2"), "AGENTS migration should install the current managed block");
|
|
2488
2491
|
assert(!migrated.includes("Preserve this repository-specific rule exactly."), "root AGENTS must contain no project-specific tail");
|
|
2489
2492
|
assert(!migrated.includes("must execute `commands.gate_full`"), "known official conflicting rule should be removed");
|
|
2490
2493
|
const canonical = fs.readFileSync(path.join(repoRoot, "cli", "assets", "skill", "data", "templates", "bridges", "AGENTS.md"), "utf8");
|
|
2491
2494
|
assert(migrated === canonical, "root AGENTS must be byte-identical to the packaged canonical file");
|
|
2492
|
-
const archive = path.join(repo, "
|
|
2495
|
+
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "AGENTS.md");
|
|
2493
2496
|
assert(fs.readFileSync(archive, "utf8").includes("Preserve this repository-specific rule exactly."), "previous AGENTS content must be archived once");
|
|
2497
|
+
assert(!exists(legacyActiveArchive), "legacy active-doc AGENTS archives must leave docs/archive during upgrade");
|
|
2498
|
+
const migratedLegacyArchiveDir = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "archive", "workflow");
|
|
2499
|
+
assert(
|
|
2500
|
+
listProjectFiles(migratedLegacyArchiveDir).some(file => fs.readFileSync(file).equals(legacyActiveArchiveBytes)),
|
|
2501
|
+
"legacy active-doc AGENTS archive bytes must survive under the managed archive root",
|
|
2502
|
+
);
|
|
2494
2503
|
const stable = fs.readFileSync(agents);
|
|
2495
2504
|
run("node", [cli, "sync", "--projects", repo]);
|
|
2496
2505
|
assert(fs.readFileSync(agents).equals(stable), "managed AGENTS sync should be idempotent");
|
|
2506
|
+
fillRequiredAccess(repo);
|
|
2507
|
+
const postUpgradeStatus = JSON.parse(run("node", [cli, "status", "--projects", repo, "--json"]).stdout).results[0];
|
|
2508
|
+
assert(postUpgradeStatus.ok === true && postUpgradeStatus.docsDiffs.length === 0, "status must be current immediately after AGENTS archive migration");
|
|
2497
2509
|
}
|
|
2498
2510
|
|
|
2499
2511
|
function testUnknownWorkflowConflictFailsWholeBatchBeforeWrites() {
|
|
@@ -2541,7 +2553,7 @@ function testEngineeringMarkerBoundaryIsNormalized() {
|
|
|
2541
2553
|
const normalized = fs.readFileSync(engineering, "utf8");
|
|
2542
2554
|
assert(normalized === current, "sync should restore the exact managed document when text is glued to its end marker");
|
|
2543
2555
|
assert(!normalized.includes("# Project-specific workflow"), "project workflow text must not remain in the managed default document");
|
|
2544
|
-
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
2556
|
+
const archive = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "ENGINEERING.md");
|
|
2545
2557
|
assert(fs.readFileSync(archive, "utf8").includes(`${marker}# Project-specific workflow`), "the malformed previous document must remain available in history");
|
|
2546
2558
|
}
|
|
2547
2559
|
|
|
@@ -2558,7 +2570,7 @@ function testEngineeringFrameworkRejectsAnyNonCanonicalWorkflowText() {
|
|
|
2558
2570
|
|
|
2559
2571
|
run("node", [cli, "init"], { cwd: repo });
|
|
2560
2572
|
assert(!fs.readFileSync(engineering, "utf8").includes("backend owns APIs"), "init must restore the canonical ENGINEERING body");
|
|
2561
|
-
const archived = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.
|
|
2573
|
+
const archived = path.join(repo, ".agents", "archive", "auto-coding-skill", "4.3.2", "docs", "ENGINEERING.md");
|
|
2562
2574
|
assert(fs.readFileSync(archived, "utf8").includes("backend owns APIs"), "removed project text should remain in non-authoritative history");
|
|
2563
2575
|
}
|
|
2564
2576
|
|
|
@@ -2570,12 +2582,12 @@ function testManagedInstallIntegrityIsBoundedAndRepairable() {
|
|
|
2570
2582
|
|
|
2571
2583
|
const manifestPath = path.join(repo, ".agents", "managed-install.json");
|
|
2572
2584
|
const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
|
|
2573
|
-
assert(manifest.schema_version === 1 && manifest.skill_version === "4.3.
|
|
2585
|
+
assert(manifest.schema_version === 1 && manifest.skill_version === "4.3.2", "installed manifest must identify the release");
|
|
2574
2586
|
assert(manifest.entries.length > 0, "installed manifest must list managed files");
|
|
2575
2587
|
for (const entry of manifest.entries) {
|
|
2576
2588
|
assert(typeof entry.path === "string" && !path.isAbsolute(entry.path) && !entry.path.includes(".."), "manifest paths must be safe relative paths");
|
|
2577
2589
|
assert(/^[0-9a-f]{64}$/.test(entry.sha256), `${entry.path}: manifest hash must be sha256`);
|
|
2578
|
-
assert(entry.version === "4.3.
|
|
2590
|
+
assert(entry.version === "4.3.2" && typeof entry.executable === "boolean", `${entry.path}: version/executable metadata missing`);
|
|
2579
2591
|
}
|
|
2580
2592
|
assert(!manifest.managed_namespaces.some(item => item.path === ".agents" || item.path === "docs"), "manifest must not mirror entire project-owned trees");
|
|
2581
2593
|
|
|
@@ -2660,7 +2672,7 @@ function testSkillFeedbackCollectionIsBoundedReadOnlyAndMetadataOnly() {
|
|
|
2660
2672
|
"status: open",
|
|
2661
2673
|
'created_at: "2026-07-18T10:00:00+08:00"',
|
|
2662
2674
|
`project: ${project}`,
|
|
2663
|
-
"observed_skill_version: 4.3.
|
|
2675
|
+
"observed_skill_version: 4.3.2",
|
|
2664
2676
|
"component: reviewer-runtime",
|
|
2665
2677
|
"kind: defect",
|
|
2666
2678
|
"impact: blocking",
|
|
@@ -2694,7 +2706,7 @@ function testSkillFeedbackCollectionIsBoundedReadOnlyAndMetadataOnly() {
|
|
|
2694
2706
|
.replace("schema: auto-coding-skill-feedback/v1", "schema: auto-coding-skill-feedback/v2")
|
|
2695
2707
|
.replace("status: open", `status: ${options.status ?? "open"}`)
|
|
2696
2708
|
.replace('created_at: "2026-07-18T10:00:00+08:00"', 'created_at: "2026-07-18T10:00:00+08:00"\nupdated_at: "2026-07-19T10:00:00+08:00"')
|
|
2697
|
-
.replace("observed_skill_version: 4.3.
|
|
2709
|
+
.replace("observed_skill_version: 4.3.2", `observed_skill_version: ${options.observed ?? "4.3.2"}\nlast_verified_skill_version: ${options.lastVerified ?? options.observed ?? "4.3.2"}`)
|
|
2698
2710
|
.replace(signature, options.signature)
|
|
2699
2711
|
.replace("export: metadata-only", `resolution: ${options.resolution ?? "pending"}\nexport: metadata-only`);
|
|
2700
2712
|
const firstReport = path.join(first, "docs", "skill-feedback", "reports", "2026-07-18-review-timeout-a13f82c1.md");
|
|
@@ -2753,12 +2765,12 @@ function testSkillFeedbackCollectionIsBoundedReadOnlyAndMetadataOnly() {
|
|
|
2753
2765
|
assert(fs.readFileSync(firstReport, "utf8") === firstContent && fs.readFileSync(firstOtherReport, "utf8") === firstOtherContent && fs.readFileSync(secondReport, "utf8") === secondContent, "collection must not modify reports");
|
|
2754
2766
|
assert(fs.readFileSync(closedReport, "utf8") === closedContent && fs.readFileSync(fixedReport, "utf8") === fixedContent && fs.readFileSync(rerouteReport, "utf8") === rerouteContent, "lifecycle collection must preserve every project-owned report byte-for-byte");
|
|
2755
2767
|
|
|
2756
|
-
writeFile(fixedReport, fixedContent.replace("last_verified_skill_version: 4.3.0", "last_verified_skill_version: 4.3.
|
|
2768
|
+
writeFile(fixedReport, fixedContent.replace("last_verified_skill_version: 4.3.0", "last_verified_skill_version: 4.3.2"));
|
|
2757
2769
|
let lifecycleCheck = JSON.parse(run("node", [cli, "feedback", "--projects", first, "--json"]).stdout);
|
|
2758
2770
|
assert(lifecycleCheck.metadata.find(item => item.report_id === "ACSF-assets-20260718-fd5748e4")?.lifecycle === "regression-current", "a fixed signature reproduced on the fixed release must re-enter active triage as a regression");
|
|
2759
2771
|
writeFile(fixedReport, fixedContent);
|
|
2760
2772
|
|
|
2761
|
-
writeFile(firstOtherReport, firstOtherContent.replace("observed_skill_version: 4.3.
|
|
2773
|
+
writeFile(firstOtherReport, firstOtherContent.replace("observed_skill_version: 4.3.2", "observed_skill_version: 4.2.8"));
|
|
2762
2774
|
lifecycleCheck = JSON.parse(run("node", [cli, "feedback", "--projects", first, "--json"]).stdout);
|
|
2763
2775
|
assert(lifecycleCheck.metadata.find(item => item.report_id === "ACSF-geesight-20260718-c35fa4e3")?.lifecycle === "recheck-due", "an unresolved v1 report from an older Skill version must require recheck");
|
|
2764
2776
|
writeFile(firstOtherReport, firstOtherContent);
|
|
@@ -2808,14 +2820,14 @@ function testSkillFeedbackCollectionIsBoundedReadOnlyAndMetadataOnly() {
|
|
|
2808
2820
|
}
|
|
2809
2821
|
|
|
2810
2822
|
function testReleaseVersionMarkersStayInSync() {
|
|
2811
|
-
const expected = "4.3.
|
|
2823
|
+
const expected = "4.3.2";
|
|
2812
2824
|
const pkg = JSON.parse(fs.readFileSync(path.join(repoRoot, "package.json"), "utf8"));
|
|
2813
2825
|
const lock = JSON.parse(fs.readFileSync(path.join(repoRoot, "package-lock.json"), "utf8"));
|
|
2814
2826
|
const policy = JSON.parse(fs.readFileSync(
|
|
2815
2827
|
path.join(repoRoot, "src", "auto-coding-skill", "data", "policies", "workflow-migrations-v1.json"),
|
|
2816
2828
|
"utf8",
|
|
2817
2829
|
));
|
|
2818
|
-
assert(pkg.version === expected, "package version must match the 4.3.
|
|
2830
|
+
assert(pkg.version === expected, "package version must match the 4.3.2 release");
|
|
2819
2831
|
assert(lock.version === expected && lock.packages[""].version === expected, "package-lock versions must match");
|
|
2820
2832
|
assert(policy.managed_versions.engineering === expected && policy.managed_versions.agents === expected, "managed workflow versions must match");
|
|
2821
2833
|
const manifest = JSON.parse(fs.readFileSync(path.join(repoRoot, "cli", "assets", "managed-install.json"), "utf8"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elvis1513/auto-coding-skill",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "CLI installer for a delivery-first .agents workflow with adaptive Git isolation, routed changed-scope validation, risk-based review, push completion, and safe cleanup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|