code-to10 v5: solidify 7 provisional resolutions per user confirmation (2026-11-02)
- whitelist expansion (tr + exit builtin) confirmed, comment only - B4 viewport wording: temp banner removed, wording untouched, change-list table stays in draft, not merged into body - B3-tail (a)/(b): no content change (bullet still absent), recorded as decided; v2 record showed it unselected, no side picked here - section 4: 6 templates/artifacts/ refs deleted per signed verdict; tripwire test updated 6 -> 0 to pin the new inventory - CHANGELOG pointer line kept, no marker present - workers audit landing migration confirmed, comment only - verify-script gate evidence confirmed, gate hard untouched - 2 temp stances NOT touched: actual-only quota, evidence binding not enforced / no anti-restamp - behavior code unchanged; directional skill tests 39/39 OK
This commit is contained in:
1 parent
c292fcc878
commit
102dd07f33
5 files changed
+22
-33
No files matched your search
@@ -10,8 +10,8 @@ What this pins (see TRANSPLANT-PREP-244.md next to the skill):
|
||||
- check-transplanted passes on those drafts and fails when an
|
||||
artifact reference survives or a preserved marker is dropped;
|
||||
- apply fails loudly when a required anchor is missing;
|
||||
- the real pack in this tree (v0.2 + #244 line) still carries exactly
|
||||
the six known templates/artifacts/ reference lines, so the
|
||||
- the real pack in this tree carries zero templates/artifacts/
|
||||
reference lines after the user-signed v5 deletion, so the
|
||||
decision-B inventory cannot drift silently.
|
||||
|
||||
Fixture texts are built from the script's own fragment constants, so
|
||||
@@ -278,10 +278,12 @@ class TransplantPrepTestCase(unittest.TestCase):
|
||||
capture_output=True, text=True)
|
||||
self.assertNotEqual(check.returncode, 0)
|
||||
|
||||
def test_real_pack_artifact_inventory_is_six_lines(self):
|
||||
def test_real_pack_artifact_inventory_is_zero_after_signed_deletion(self):
|
||||
# v5 用户定稿(2026-11-02):§4 的 6 处引用经用户签字删除,
|
||||
# 本测试由“钉住 6 处”改为“钉住 0 处”,防止删除后悄悄回潮。
|
||||
text = SKILL_MD.read_text(encoding="utf-8")
|
||||
refs = [l for l in text.split("\n") if "templates/artifacts" in l]
|
||||
self.assertEqual(len(refs), 6, refs)
|
||||
self.assertEqual(len(refs), 0, refs)
|
||||
self.assertIn("## 独立审计与自动推回", text)
|
||||
# 集成基底章节表:审计章在 v0.5 表里编号为 11-auditor
|
||||
#(00–08 + 09-ops + 10-iteration + 11-auditor),
|
||||
|
||||
Reference in new issue
Block a user