Skip to content

fix: baseline defects — 6a2→descriptiles, HAR-specific contractiles (all six verbs), documented CLI surface#111

Merged
hyperpolymath merged 5 commits into
mainfrom
fix/routing-strategies
Jul 7, 2026
Merged

fix: baseline defects — 6a2→descriptiles, HAR-specific contractiles (all six verbs), documented CLI surface#111
hyperpolymath merged 5 commits into
mainfrom
fix/routing-strategies

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Three of the recorded baseline defects, fixed in turn (curated multi-commit series — one logical change per commit):

1. chore(naming) — 6a2 → descriptiles + real contractiles

  • .machine_readable/6a2/.machine_readable/descriptiles/ per the estate naming mandate; references updated in 0-AI-MANIFEST.a2ml, GOVERNANCE.adoc, .claude/CLAUDE.md.
  • All six contractile verbs now exist and describe this repository: the four existing files were verbatim rsr-template-repo copies (wrong repo name, JS/TS-only secret scan in a Rust repo, template-drift checks, a Mustfile asserting the old 6a2/anchors path — so must failed by construction). Rewritten HAR-specific; Dustfile + Bustfile created (the two missing canon verbs). Bust failure modes reference the real test surface; Must gains a no-deprecated-6a2 regression guard; Intentfile now carries the actual north star (ADR-0002/0003, arghda track Proof-pipeline domain: arghda co-use for ladder pipelines (candidate resource domain, gated on 2A skeleton) #104).

2. docs — crate-count drift

README/EXPLAINME/ROADMAP said "7 crates"; the workspace has 8 since har-abi (#109). Also reflects har-abi's implemented+tested status in the README ABI row (Idris2 stubs stay honestly marked scaffold).

3. feat(cli) — documented route-management surface

har-cli was a 3-command demo with zero tests against a documented list/add/remove/inspect surface. Now config-backed: --config file bootstrap, add/remove with validation and orphan-rule cleanup, inspect with rule cross-references, route --tag dry-runs, default_strategy honoured from config. 8 unit tests; clippy -D warnings clean; every subcommand smoke-tested e2e against a real config file.

Note: the "4/7 routing strategies are dead placeholders" defect from the same list was already fixed by a prior session (all seven strategies implemented and tested in har-router) — verified, nothing to do.

🤖 Generated with Claude Code

hyperpolymath and others added 3 commits July 7, 2026 11:16
…HAR-specific

- .machine_readable/6a2/ renamed to .machine_readable/descriptiles/ per the
  estate naming mandate (canon: standards/CANONICAL-NAMES.adoc); path refs
  updated in 0-AI-MANIFEST.a2ml, GOVERNANCE.adoc, .claude/CLAUDE.md.
- Mustfile rewritten for this repository: descriptiles paths, flat six-file
  contractile layout (owner-directed), anchors at its real location,
  README.md not README.adoc, no-6a2 regression guard; template-only checks
  dropped, self-matching placeholder check scoped to real {{TOKEN}}s.
- Dustfile + Bustfile created (the two missing canon verbs); Bust failure
  modes reference the repository's real test surface.
- Intentfile/Trustfile/Adjustfile were verbatim rsr-template-repo copies
  (wrong repo name, JS/TS-only token scan, template-drift checks); rewritten
  HAR-specific: ADR-0002/0003 north star, Rust-aware secret scan,
  deterministic-routing invariant, honest ABI-wiring and crate-count drift
  bands.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ng status

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…remove, inspect)

har-cli was a 3-command demo (Targets/Route/Status) with zero tests, against
a documented surface of list/add/remove/inspect. Now:

- --config <path> global flag: mutating commands (add/remove) operate on a
  RouterConfig JSON file (bootstraps it when absent); read-only commands
  fall back to the built-in rpa-elysium demo config.
- add target/rule with validation (duplicate ids, unknown rule targets),
  remove target strips rule references and drops orphaned rules,
  inspect shows full target detail plus referencing rules (or rule detail).
- route gains --tag and prints to stdout; build_router honours the config's
  default_strategy (parse rejects unknown names) and applies enabled rules
  in priority order.
- 8 unit tests over the pure config mutations, strategy parsing, router
  construction, and file roundtrip; clippy -D warnings clean; e2e smoke of
  every subcommand exercised against a real config file.

Closes the cli-documented-surface intent (Intentfile updated).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hyperpolymath
hyperpolymath enabled auto-merge (rebase) July 7, 2026 10:33
@hyperpolymath
hyperpolymath disabled auto-merge July 7, 2026 19:44
@hyperpolymath
hyperpolymath enabled auto-merge (rebase) July 7, 2026 20:03
auto-merge was automatically disabled July 7, 2026 20:05

Branch protection rule check failed

@hyperpolymath
hyperpolymath merged commit 3ba731c into main Jul 7, 2026
20 checks passed
@hyperpolymath
hyperpolymath deleted the fix/routing-strategies branch July 7, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant