Skip to content

Releases

v0.7.4 — the radial diagram redrawn as one converged run; the README halved

Choose a tag to compare

@skymanbp skymanbp released this 02 Oct 21:16

Documentation and diagram only; no runtime file changed.

Fixed (docs)

  • The code-audit node was called audit-finding in docs/ENGINE.md §0
    (and its Chinese parallel) and in skills/tree/SKILL.md's subject_label
    examples; presets/code-audit.md declares subject_label: finding.
  • Size estimates matched no shipped file. A new preset was "~150 lines"
    (README, docs/EVALUATION.md) and a command wrapper "~15 lines"
    (docs/EVALUATION.md); the shipped presets run 170–239 lines and the four
    preset wrappers 20–25. Now ~200 and ~20.

Changed (diagram and README)

  • The radial diagram follows the viewer's colour scheme. Neutral ink,
    cards, rings and leaders are CSS classes with a prefers-color-scheme: dark
    override, so it no longer renders as a white block on a dark GitHub page;
    the canvas lost a 110 px dead band under the legend.
  • The radial diagram drew states the engine cannot reach. It showed the four
    presets as four branches of one root (a run uses one preset), two or three
    children per expansion (every expansion yields one per framing, §0.1), and
    unexpanded advances tips counted as width. It is now one converged run —
    the root's twelve children lettered A–L, only advances nodes growing,
    n = 49, width = 45, depth 3 — with every call-out arrow on the element it
    names and the presets as a verdict-vocabulary table (§5.2);
    validate_model() refuses a tree that breaks §0.1, §5.3 or §6.1.
  • The README is half as long (786 → 395 lines, the Chinese in step):
    tables that restated docs/ENGINE.md, docs/framings.md and the
    CHANGELOG became links; the sweep record, the full deliverable excerpt, the
    extensibility table and the search-terms list are gone.
  • README §8.1 gained an architecture diagram (Mermaid): what a run loads,
    what it writes, and the repo-side verification that never ships to a run.
    The ASCII tree under the radial diagram, which restated the picture, is gone.

Install

claude plugin marketplace add skymanbp/cc-tree
claude plugin install cc-tree@cc-tree

Full detail: CHANGELOG.md

v0.7.3 — structure audit: validator crash fixes, path confinement, closed verdict gaps

Choose a tag to compare

@skymanbp skymanbp released this 24 Sep 08:02

Structure audit: three validator crashes fixed, two confinement checks
added, the verdict tables of two presets closed, and a slimmer runtime
prompt. No engine rule changed; every runtime edit removes an ambiguity or
restores something the docs already stated.

Fixed (validator)

  • An unclosed code fence in any document crashed check_crossrefs.
    The fence-aware scanner raises I18nError, which only check_i18n
    translated; the cross-ref sub-checks that share the scanner let it
    escape as a raw traceback. It is now a named check failure
    (<file>: unclosed Markdown code fence).
  • A non-object metadata in marketplace.json crashed
    check_manifests
    with an AttributeError instead of a diagnostic.
  • A dot-directory under skills/ was reported as a skill with its
    SKILL.md missing.
    check_skills now applies the same is_skipped
    rule as every other scan — the .pytest_cache lesson, one directory
    over.

Added (checks)

  • glossary_paths is confined to the project. The §2.0 grill Reads
    each entry from the project root, yet ../../etc/passwd, /etc/shadow
    and ~/.ssh/config all validated. Entries must now be clean
    project-relative paths (a trailing / for a directory is allowed),
    judged by the same is_clean_relative_path rule docs/languages.json
    already used, so "clean path" has one definition.
  • A relative link must stay inside the repository. ](../../x.md)
    resolves on the author's disk and is dead in every other checkout;
    ](/etc/hosts) is absolute, so src.parent / was discarded and the
    target "existed". Judged before existence, so the diagnostic names the
    real defect.
  • The CI job token is read-only (permissions: contents: read).
  • A test per rule above, diagnostic pinned: five preset-schema cases in
    test_validate.py, four check-group cases in test_checks.py.

Changed (runtime prompt)

  • presets/attack.md had no verdict for 8 ≤ score ≤ 10 with an empty
    artifact_defense.
    MARGINAL required a partial defense, CONFIRMED
    required ≥ 11, REFUTED required ≤ 7, so a score-9 critique the
    artifact never addresses fell through every rule. The band is now
    MARGINAL unconditionally; an adequate defense is still REFUTED-first.
  • presets/code-audit.md: score ≤ 7 with X = 0 matched both
    MARGINAL ("OR X = 0") and REFUTED.
    The X = 0 clause now applies
    only above the REFUTED band.
  • presets/design.md's "(F = 0)" now reads "a violation scores
    F = 0", so the parenthetical cannot be read as the RECOMMENDED
    condition.
  • skills/tree/SKILL.md's description shrank by nearly a third. It had
    accumulated all four presets' "Use when" triggers — the description
    pollution docs/EVALUATION.md rejected Path 2 for; they live in the
    command wrappers, where Path 3 put them. The skill's and tree-chain's
    argument-hints drop their trailing prose (the bodies say it). Its "not
    a chat interface" note, both READMEs, and docs/EVALUATION.md now name
    the §2.0 grill as the one prompting carve-out (§F6).
  • Wrapper hints harmonized. attack advertises --glossary and
    --no-grill (the shipped example runs it with --no-grill); design
    advertises --seed-from — how tree-chain wires stage 2 — and
    --no-grill; code-audit advertises --no-grill.
  • docs/ENGINE.md §7.3 wrote the framing placeholder as §3.X, which
    is also the external cross-check's real ID; now §3.<A–L>. §8's tool
    table and a §9 anti-pattern said "width ≥ 5" for the §8.1 threshold,
    which §0 defines as the final leaf count; now "fan-out ≥ 5". Chinese
    parallel mirrored, digest refreshed.

Changed (tooling)

  • tools/tests/_harness.py holds the sys.path bootstrap and the
    pytest-visibility wrapper once, instead of one copy per suite.
  • _frontmatter.py's two flow-map scanners share one quote tracker;
    validate_plugin.py gets one _require_frontmatter helper in place of
    three "no YAML frontmatter" copies and a single-return check_commands;
    the i18n summary drops its digests count, which could never differ
    from pairs.
  • tools/README.md maps which check reads what, in which order, and
    which suite proves it; CONTRIBUTING.md and the docs index link it.
    docs/presets.md lists the glossary_paths rule as its 11th.

Install

claude plugin marketplace add skymanbp/cc-tree
claude plugin install cc-tree@cc-tree

Full detail: CHANGELOG.md

v0.7.2 — documentation-only release

Choose a tag to compare

@skymanbp skymanbp released this 03 Sep 06:20

Documentation only. No preset, command, skill, runtime prompt, or validator behaviour changed — every flag, preset, command, and output filename is unchanged from v0.7.1.

Restructure

  • Both READMEs were restructured into a nine-section standard layout, and the repository map now names all three test suites.
  • The engine's companion project is named cc-enforcer in docs/ENGINE.md, its Chinese parallel, skills/tree/SKILL.md, and .gitignore. docs/ENGINE.zh.md's source digest was re-stamped for the English edit.
  • .gitignore covers .ce/ and .ccm/ — a cc-enforcer index and cc-memory state; machine-local, never content.
  • README §4.3 is scoped to sweeps rather than releases — four whole-corpus adversarial sweeps since v0.3.0 plus v0.7.1's documentation audit — and the v0.5.0 row names all three drift classes that sweep turned into CI failures. The validator transcript was refreshed to the run the corpus produces today.

Corrections

  • docs/EVALUATION.md undercounted v0.5.0's drift gates as two. Three became CI failures: dead §N prose references, anchors outside the link href, and a machine token registered in a form that matched nothing. The two sources that record it — CHANGELOG.md and the release commit — already agreed on three.
  • docs/EVALUATION.md counted seven maintained English↔Chinese documentation pairs, and its header date trailed its last content change. docs/languages.json declares eight; docs/README.md joined as the eighth in v0.7.0's restructure.
  • The validator transcript in both READMEs was labelled a v0.7.1 snapshot. No such block existed at that tag, and its counts were revised after it. The label now names what the block is: a snapshot at HEAD, dated.
  • README §9.1 pointed all four roadmap items at docs/EVALUATION.md, whose "Open questions" list tracks the first of them alone — the scoring rubric. The pointer is now scoped to that bullet, the two bullets with a concrete work item link the issue tracking them, and three open issues the section did not name — a tree.json diagram export, a showcase gallery, and long-run ergonomics — are listed as bullets of their own.

Install

claude plugin marketplace add skymanbp/cc-tree
claude plugin install cc-tree@cc-tree

Full detail: CHANGELOG.md

v0.7.1 — close the coverage gap, and a full documentation audit

Choose a tag to compare

@skymanbp skymanbp released this 17 Aug 01:54

Two things v0.7.0 left open.

Coverage: the checks had no tests

A trace showed 17 of validate_plugin.py's 35 functions were never entered by any test — main(), check_manifests, check_crossrefs, check_i18n, and every cross-file sub-check among them. All of them could have been reduced to no-ops with CI still printing OK. The shipped repository passing is evidence that the repository is clean, not that a check works.

tools/tests/test_checks.py now runs all seven check groups against a synthetic repository and mutates it once per rule — 7 clean + 40 rejection cases, each rejection pinning its expected diagnostic so an unrelated failure cannot green a dead check. Coverage is 35/35. It runs in CI as a fifth step.

Writing it found three defects the shipped repository could not surface:

  • Deleting every command wrapper passed the wrapper-parity check. check_commands returned early on not files, so N=0 — the most complete way to violate the rule — was the one case that passed.
  • _check_command_flags ignored its argument. Written def f(repo: Path = REPO), the module global was captured at def time, so the check always scanned the real repository. That is also why it was the one cross-ref sub-check that could not be pointed at a fixture, and therefore the one that could not be tested.
  • v0.7.0's own zero-count tripwire was too strict. It required at least one anchored link; zero anchored links is a legitimate state, and it rejected the validator's own fixture repository. Narrowed to the single count that cannot legitimately be zero — proving each sub-check still fires is a test's job, and now is one.

Documentation: full-corpus audit

Five dimensions, every finding put through an independent refuting pass: 14 confirmed, 26 rejected. Among the rejected was one the maintainer had called confirmed — presets/design.md's (F = 0) is an appositive gloss on "violated hard constraint", so the gate was never inverted.

Confirmed and fixed:

  • Following CONTRIBUTING.md's field-profile recipe broke CI. Field profiles are registered in docs/languages.json one path at a time while presets/ and commands/ use globs, so a new profile was an unregistered canonical document. Reproduced, fixed in both the contributor guide and field-profiles/README.md, and re-verified by following the corrected recipe end to end.
  • The chaining handoff contract called deliverables "line-per-item" and told tree-chain to take "the first K lines". They are ranked ## <id> sections carrying several lines of fields each, so a head-N over lines would slice an item's body in half. Now defined as entries, split on level-2 headings.
  • ENGINE §4's slot table named fields no preset declares — falsifiability attributed to design, cost_of_change to nothing at all — and had no row for the external-check field §3.X mandates. Every example is now a field a shipped preset really declares.
  • §F7 listed --max-branches as a cap with a cap-trip status that §6.1, §6.2 and §7.4 never define. It raises a per-node ceiling whose floor §3 fixes at 12 and never terminates a run.
  • README double-nested the run directory (an explicit --out is the run directory), miscounted CONTRIBUTING.md, and claimed CI runs on every push when ci.yml restricts push to main.
  • Two physically wrong worked examples in framings.md: relaxing a 5σ cut to 3σ cannot make detections drop out (it triples the sample), and 10¹¹ M_sun is a Milky-Way-scale halo, not the galaxy-cluster regime.

Every Chinese parallel was co-edited and its source digest refreshed.

No interface changes: every flag, preset, command, and output filename is unchanged from v0.7.0.

Full detail: CHANGELOG.md

v0.7.0 — restructure, README rewrite, and the sweep that fixed the gates

Choose a tag to compare

@skymanbp skymanbp released this 17 Aug 01:28

A 5-dimension multi-agent audit with an independent refuting pass: 32 findings confirmed, 6 rejected. Three of the confirmed ones were this repo's own checks failing open — so this release is mostly about the gates, not the runtime prompt.

Gates that were blind

  • Running the test suite broke the validator. is_skipped's skip list was hand-maintained against .gitignore and had drifted, so pytest && python tools/validate_plugin.py failed on .pytest_cache/README.md — a green checkout failing because of its own test run. Dot-directories are now skipped by rule, which cannot drift from .gitignore the way a list can.
  • pytest passed unconditionally. Both suites recorded diagnostics into a module list only main() read, so every collected test_* returned normally. Injecting root_kind: BOGUS into a shipped preset produced 13 passed. It now produces 1 failed.
  • Links without a #fragment were never checked — the form nearly every command, preset, and doc uses. Coverage went from 12 anchors to 208 links, and the new check caught stale paths during this very restructure.
  • examples/attack/expected-out/*.md was invisible to every cross-file check: the run-output heuristic swallowed the repo's own showcase fixtures.
  • Heading extraction was fence-blind, counting # === Slot 1: root type === inside a YAML example as a heading (9 phantoms in ENGINE.md alone).
  • Nothing tied the version to its release notes. v0.5.0 shipped as a tag and a release with no ## v0.5.0 changelog section. Both are now enforced, along with metadata parity between the two manifests.
  • CI now regenerates and diffs the diagram instead of only ast.parse-ing its generator.

Contract drift

  • /cc-tree:brainstorm --no-online could never converge: the preset declared field 11 as --no-online → empty, and §4 forces INCOMPLETE_FORBIDDEN on any blank field.
  • The default tree-chain pipeline stopped at stage 2 — a seeded design run had no root to fill goal_statement / hard_constraints from, so it hard-stopped. Seeded runs now derive both.
  • option_<id>.md and glossary-anchors.md added to the output contract; §6.2 → §6.1 condition 2 at the seven sites that meant the ratio; §0–§9 → §0–§11; design added to the non-inference preset list.
  • Copying field-profiles/_template.md as instructed produced a profile the validator rejects — neither the template nor the steps said to change field:.
  • The showcase example blamed the cap for its own hand-trimming; §F7 requires complete leaves under a cap too.
  • width now excludes blocked tips per ENGINE §0.1, in the diagram and both READMEs.

Structure and docs

  • EVALUATION.md → docs/; tools/test_*.py → tools/tests/. New docs/README.md (+ Chinese parallel) documentation index and CONTRIBUTING.md.
  • .gitignore completed — chain-out/ (the shipped tree-chain default) and .claude/ were missing — and grouped by purpose.
  • README rewritten and restructured, with the Chinese parallel rewritten alongside it. Manifest keywords 9 → 35.

No breaking changes to the runtime interface: every flag, preset, command, and output filename is unchanged.

Full detail: CHANGELOG.md

v0.6.0 — adversarial review sweep: harden the gates themselves

Choose a tag to compare

@skymanbp skymanbp released this 10 Aug 07:01

Three parallel read-only gpt-5.6-sol (xhigh reasoning) reviews — parser+validator, i18n subsystem, whole-repo architecture — returned 55 numbered findings; all 26 acted-on claims were reproduced by execution before any fix. Where v0.3.0/v0.5.0 fixed drift between files, this release fixes the gates themselves.

Highlights

  • Parser (tools/_frontmatter.py) — strict subset, no silent recovery: junk lines, duplicate keys, -item without a space, and flow-map tail garbage now raise; comments after collection keys/block markers, one-key block-map list items, inline flow-map values, UTF-8 BOM, and body blank lines now parse correctly.
  • Validator (tools/validate_plugin.py) — scalar schema fields must actually be strings (a mapping-valued convergence_metric used to crash with TypeError); node fields / score keys / verdict labels must be distinct; score keys are 1–3 letters as docs/presets.md always promised; output_artifacts (incl. secondary) confined to bare *.md names; field-profile sections matched as real level-2 headings; GitHub -N duplicate-heading slugs supported; wrapper-specific flags need local documentation; preset↔command wrapper parity enforced. ValidationError replaces sys.exit in every check helper.
  • i18n (tools/_i18n.py) — canonical_only can no longer whitelist a .zh.md; Han-prose floor runs on comment-stripped visible text; inline-code parity covers every harvested token (fences can't rescue localized identifiers); map keys + all skills harvested (298 → 439 machine-token checks); fence parity includes delimiter + owning section; manifest robustness + path-traversal rejection; exactly one lead-block digest.
  • Engine contract — ENGINE.md §0.1's terminal-leaf definition contradicted §5.3/§7.4 on what counts toward width; terminality is now defined by verdict role (kept/pruned count at scoring; advances after exhaustion; blocked never). Chinese mirror + digest refreshed; the README diagram is labeled a mid-run snapshot.
  • Tests — grouped runners, pinned diagnostics, replace-exactly-once mutations: test_validate 23 → 50 cases, test_i18n 30 → 43 cases. radon: two D-grade functions → zero.

Full details (including the reviewed-and-rejected findings with reasons): CHANGELOG.md.

🤖 Generated with Claude Code

v0.5.1 — CI toolchain + validator internals

Choose a tag to compare

@skymanbp skymanbp released this 06 Aug 16:36

Maintenance release. Nothing that ships with the plugin changed — the diff of v0.5.0..v0.5.1 excluding tools/, .github/ and CHANGELOG.md is empty. No skill, preset, command, or doc differs from v0.5.0, so an existing install behaves identically. This is the CI toolchain and the validator's own internals.

CI

  • actions/checkout v4 → v7, actions/setup-python v5 → v7. Both older majors target Node 20, which GitHub deprecated and now force-migrates to Node 24 with a warning on every run; v7 targets Node 24 natively, so the pinned version is the version that actually runs.

Validator internals (tools/)

Dead code removed:

  • _parse_flow_map's startswith("{") guard was unreachable — with no {, _find_flow_map_end already returns -1 and that path returns the same {"_raw": …}.
  • _split_top_level(s, sep) was only ever called with ",".
  • An unused import in test_i18n.py.

Duplication removed:

  • The SKIP_DIR_PARTS or endswith("-out") skip predicate existed in three copies → one shared is_skipped.
  • _FLAG_RE was byte-identical in two modules → one exported FLAG_RE.
  • build_machine_tokens / build_inline_tokens each ran a full _harvest_tokens pass for the same result, re-reading SKILL.md, every command, every preset and ENGINE.md a second time → merged into build_token_sets. Validation file reads: 128 → 117.
  • validate_manifest walked the tree twice → one pass; cyclomatic complexity 29 → 24, losing its worst-in-repo ranking.

Structure:

  • _harvest_tokens nested five deep; the preset walk is now _preset_tokens. Off the complexity top-10.
  • _validate_pair was 94 lines over six concerns; _check_shape and _check_section_coverage extracted. Off the length top-8.

Net: production logic is 26 executable lines smaller; file totals are flat because the extracted helpers carry docstrings.

Test coverage

Two branches of the section-coverage check had no test in the 28-case suite — a substantive section with no Chinese prose, and one answered with a token stub below the 20% letter floor. Only the byte-for-byte "English copy" case was covered. Now 30 cases, and neutering the check makes all three fail.

Verification

An old-vs-new harness proves nine surfaces byte-identical against v0.5.0: manifest pairs, canonical-only set, all 154 raw tokens, both enforcement sets, I18nStats, the scanned Markdown file list, flow-map parses, and frontmatter parses. Six negative cases produce identical error messages. All eight fail-closed probes still reject rather than crash. validate_plugin.py + test_validate.py (23 cases) + test_i18n.py (30 cases) pass.

Full detail: CHANGELOG.md

v0.5.0 — line-by-line debug sweep + 3 new drift gates

Choose a tag to compare

@skymanbp skymanbp released this 06 Aug 15:36

Second debug sweep, read line-by-line over every shipped file. 24 defects across 18 files, all in classes the existing CI gates could not see.

Parser (real defects, not style)

  • A bare - list entry crashed the validator with IndexError instead of failing cleanly. _strip_comment tested s[:1] in "\"'" — and "" in "\"'" is True (empty-substring semantics), so an empty value fell through to s[0]. A malformed preset now reports node_schema[i] is empty.
  • Frontmatter whose closing --- was the last byte of the file parsed as "no frontmatter at all".

Contract drift — the runtime prompt disagreeing with the spec

  • SKILL.md documented convergence_metric with the exact alias values the validator rejects. v0.2.0 fixed this in docs/presets.md and missed the runtime prompt, so authoring a preset by following SKILL.md produced a CI failure.
  • §3.X told the engine to write design's external findings to external_resources — a field design does not declare (it has external_dependencies).
  • attack and code-audit mapped score ≤ 7 to DEAD-END, a label in neither preset's verdict_enum (their pruned role is REFUTED).
  • [NEEDS VERIFICATION] (space) everywhere vs the registered NEEDS_VERIFICATION token — measured: that token's i18n parity check had never fired once.
  • framings.md restated ENGINE §8.1's MUST as a MAY for sub-agent dispatch at fan-out ≥ 5.
  • 8 dead § pointers (§0.x → F1–F8 renumbering residue, plus invented §2.4 / §6.6) and 4 dead #anchor fragments parked in link text where the validator structurally could not see them.
  • Plus: §4 slot 10 claiming "always risks" (true for 1 of 4 presets), design citing a proposed_fix field it lacks, §2.0's prompts contradicting §F6's full-auto contract, a malformed §6.2 table row, and validate_plugin.py's own docstring omitting the cross-refs check.

New gates (so these classes cannot regress)

  • _check_section_refs — every §N / §FN prose reference must resolve to a real heading. 304 refs checked. _check_anchors could never catch these: they are prose tokens, not Markdown links.
  • _check_anchors now blanks inline code spans (no false positive on prose quoting link syntax) and covers 12 links, up from 8, now that the fragments live in the href where it can read them.
  • root_underspecified / tool_blocked registered as machine tokens; NEEDS_VERIFICATION, operational_risks, threat_model_context newly enforced across translations (289 → 298 checks).

Verification

validate_plugin.py + test_validate.py (23 cases) + test_i18n.py (28 cases) pass on py3.11 / py3.13. 8 fail-closed probes on a throwaway clone confirm each gate rejects rather than crashes: dead § reference, stale i18n digest, dropped machine token, bare - entry, convergence_metric alias, dropped registered token, dead anchor, and a wrapper missing a required flag.

No user-facing flag or output-format change. Existing runs and presets are unaffected.

Full detail: CHANGELOG.md

v0.4.0 — English-canonical multilingual runtime + doc version control

Choose a tag to compare

@skymanbp skymanbp released this 11 Jul 10:53

English-canonical multilingual runtime and documentation version control.
Existing omitted-flag behavior remains English, while runs can now select a
stable human-readable output language without forking machine schemas.

Added

  • --lang <tag|auto> common flag across the universal skill and every
    command wrapper. Explicit BCP-47-like tags win; auto detects the dominant
    natural language of primary root/invocation content and falls back to en
    for mixed, unrecognized, path-only, or code-only input. zh is maintained
    Simplified Chinese; Traditional Chinese is explicit via zh-Hant.
  • Run-level language persistence through language_request,
    output_language, and language_source. Resume reuses the recorded tag;
    conflicting explicit tags fail with EARLY_STOP=language_mismatch; legacy
    output is treated as English. tree-chain resolves once and propagates the
    concrete tag to every stage, item sub-run, and framing sub-agent.
  • Arbitrary-language content contract: roots, artifacts, code comments,
    glossaries, field-profile bodies, custom-preset prose, citations, and quoted
    evidence may use any language. Quotations remain verbatim with localized
    explanation when needed.
  • Five new Chinese public guides (README.zh.md, docs/presets.zh.md,
    docs/chaining.zh.md, field-profiles/README.zh.md, and
    examples/attack/README.zh.md) plus normalized ENGINE and framings pairs.
  • docs/languages.json language-version manifest defining canonical/default
    language, maintained pairs, canonical-only exceptions, required runtime
    flags, and fixed machine tokens. Chinese files carry an LF-normalized source
    SHA-256 so stale translations fail CI.
  • tools/test_i18n.py with positive and negative fixtures for manifests,
    banners, digests, ordered headings, fence handling, Chinese coverage,
    machine tokens, and body-only command-flag validation; runs on Python 3.11
    and 3.13 in CI.

Changed

  • English machine-schema boundary is explicit and enforced: command/flag
    names, frontmatter and JSON keys, root_kind values, verdict roles/labels,
    score keys/names, node_schema fields, framing IDs, statuses/tags, output
    filenames, paths, code, equations, and API identifiers never translate.
    Human-readable statements, derivations, evidence explanations, risks, fixes,
    warnings, headings, and summaries follow the resolved output language.
  • Hedge/defer bans are semantic across languages. Existing English and
    Chinese phrase lists are examples, not an exhaustive bypassable whitelist.
  • I18n validation is manifest-driven and fence-aware: reciprocal banners,
    source freshness, ordered heading levels/markers, aligned fenced examples,
    minimum Chinese body coverage, and derived load-bearing token preservation.
  • Command flag validation now excludes frontmatter, fixing the prior
    self-documenting argument-hint flaw; required common flags must appear in
    the skill body and every command hint.

v0.3.0 — debug sweep + drift-class hardening

Choose a tag to compare

@skymanbp skymanbp released this 10 Jul 00:57

Debug sweep (26 confirmed defects fixed across 20 files) + hardening features that turn each found drift class into a CI failure.

Fixed

  • Frontmatter parser YAML-semantics defects: prose apostrophe swallowed trailing comments; quoted scalars kept quotes (spurious name-check failures); flow-map items with trailing comments degenerated to _raw. All with regression tests.
  • paper_defense/paper_position naming drift unified to the preset-canonical artifact_defense/artifact_position across ENGINE (en+zh), SKILL.md, framings (en+zh), presets.md, and attack.md itself.
  • Chaining contract contradictions: later stages now hand off by root_kind (topic/design-prompt → seeds via --seed-from; artifact/code → carried item as root); deliverable sort keys stated per preset (score / severity / severity × exploit-likelihood).
  • Example citation drift (+2 line offset incl. a past-EOF citation) eliminated; citations now CI-bounds-checked.
  • Dead SKILL.md anchors, --focus/--field flag registration, REPORT.md in output layouts (en+zh), zh banner/gloss divergences, dynamic test counts.

Added

  • Cross-file consistency CI checks: markdown anchor integrity (GitHub-slug aware), example file:line citation bounds, bilingual heading parity, command flag registry, field-profile schema.
  • field-profiles/physics.md — first shipped concrete profile (ApJ/MNRAS/PRD reviewer weighting, weak-lensing/cosmology flavored).
  • Block-map list items in the frontmatter parser (standard YAML list-of-maps now parses like the inline flow-map style).
  • examples/attack/expected-out/ regenerated as the abridged output of a real capped run.
  • CI matrix: Python 3.11 + 3.13.

🤖 Generated with Claude Code

⌂ 换网址