Commit Graph

3 Commits

Author SHA1 Message Date
Claude 20c7c47c32 fix(gates): self-heal gocyclo install in go-complexity-ceiling gate
check-go-absolute-complexity.sh exited 2 with a manual-install hint when
gocyclo was missing, which surfaced go-complexity-ceiling (weight=6) as a
FAIL on any machine whose PATH did not already have gocyclo even though
the repo's code was clean.

Auto-install gocyclo into GOBIN (or $GOPATH/bin) when 'go' is available,
then retry. Provide GOCYCLO_NO_AUTOINSTALL=1 as an opt-out for CI (which
already pre-installs gocyclo in validate.yml) and for offline runs.

Fitness (post-cycle2 -> post-cycle3):
  go-complexity-ceiling (w=6): fail -> pass

Verified:
  rm /root/go/bin/gocyclo; ao goals measure --goal go-complexity-ceiling
    -> auto-install + pass
  GOCYCLO_NO_AUTOINSTALL=1 bash scripts/check-go-absolute-complexity.sh
    -> exits 2 with install hint (CI-compatible)

https://claude.ai/code/session_015RK27PGX79MsGU5XUhBxkr
2026-04-22 06:40:46 +00:00
Boden Fuller 07c130efc7 evolve: enhance infrastructure scripts with --per-file, --track-delta, and cycle estimator
- check-go-absolute-complexity.sh: add --per-file flag for per-file violation counts
- check-go-per-package-coverage.sh: add --track-delta flag to save/compare coverage snapshots
- New evolve-estimate.sh: estimates cycles to clear violations using cycle-history.jsonl
2026-02-22 14:57:15 -05:00
Boden Fuller 8ec94093ce enforce two-tier orchestrator/worker fork classification
Remove `context: fork` from orchestrator skills (evolve, crank, post-mortem) so
they stay in the main session with full visibility. Add `context: fork` to
codex-team (worker spawner). Document the two-tier rule in SKILL-TIERS.md and
skill-structure.md.

Rule: orchestrators stay in context, workers fork.

Also includes: evolve compaction-proof cycle recovery, rpi_loop improvements,
GOALS.yaml updates, and validation scripts.
2026-02-22 08:14:35 -05:00