v1.5.4 — Downstream Adaptability & Credential Hardening
Patch release: downstream adaptability for heterogeneous flows/architectures (many custom skills, harness/subagent fan-out, other work-management flows), plus cross-contributor credential CI hardening and a security-policy refresh. Covers everything merged since v1.5.3.
Downstream adaptability (PR #238 — ADR-007 + ADR-008)
- Downstream Capability Declaration Seam (ADR-007) — a present-only, opt-in, gate-capped
downstream-capabilities.yaml(loaded at bootstrap §1b) lets a downstream registercustom-*skills into auto-activation, declare asubagent_policy, and declare advisorytrackers. Gate-relaxation is structurally unrepresentable — a denylist + allowlist schema validator rejects, never clamps. Absent file = zero behavior change. - Portable Safety Floor (ADR-008) — the three always-loaded
AGENTS.mdsafety invariants are fenced into a committed.agentcortex/AGENTS.safety.mdnucleus (+ a validator freshness check) that any non-shim harness (Codex/Gemini/custom) can inject into every dispatched subagent. A no-Python credential floor (credential_floor.sh/.ps1— narrow FP-free AKIA/PEM/ghp_subset, redacted) is wired into the pre-commit hook so the "block secrets before object history" control works without Python;scan_credentials.py— previously absent from the deploy whitelist, a dead control downstream — is added as the richer Python path. - Reviewed by 4 independent fresh-context agents (NOT READY → 4 fixes); 30 new tests, full fast suite 307 passed;
validate.sh↔.ps1parity; native-baseline ratchet 194/195. All additive + present-only.
Security / CI (PR #236 — #73/#74/#75; PR #237)
- CI PR-diff credential scan (#73) —
scan_credentials.py --range base...headin apull_requestjob so contributors who never install the opt-in hook still get pre-merge secret protection (complements TruffleHog--only-verified), with a# pragma: allowlist secretescape + zero-sha/exit-3 fail-safe. - ShellCheck now lints
.githooks/*.sample(#74); the opt-in hook's gitignored worklog-count check is WARN, not a hard FAIL that blocked every commit (#75). SECURITY.mdsupported-versions refreshed to 1.5.x (#237); TruffleHog action bumped 3.95.3 → 3.95.5 (#174).
Zero always-loaded prompt cost; all additive + present-only. Full notes: CHANGELOG.md [1.5.4].