Skip to content

fix(compliance): restore akita.feature to 0 FAIL — dedupe helpers, split oversized files - #171

Merged
danielvm-git merged 2 commits into
mainfrom
danielvm-git/determined-chandrasekhar-f1acf9
Oct 30, 2026
Merged

danielvm-git merged 2 commits into
mainfrom
danielvm-git/determined-chandrasekhar-f1acf9

Conversation

@danielvm-git

Copy link
Copy Markdown
Owner

Summary

akita.feature reported PASS 17 / FAIL 2 on main (2.88.16). The global 94% gate hid it: the overall score was 97%, so the gate passed and exited 0.

The first triage named the wrong steps. Both "error messages" steps (BUG-2026-07-07-compliance-error-messages) pass. The two red steps were:

Both checks are correct, so I fixed the code and did not loosen either check:

  • lib/test-assertions.sh gains ta_err/ta_ok. The three validate-*.sh gates, test-project-runtime.sh and test-golden-gate-runner.sh now use the shared ta_* helpers.
  • run_fixture → ggr_run_fixture. In run-story-verify.sh, run_verify_cmd → run_memoized_chain; it moves with its memo helpers to lib/story-verify-memo.sh (314 → 267 lines).
  • render_okf_concept → lib/srp_engine_okf.py (srp-engine.py 333 → 274 lines).

BUG file: specs/bugs/BUG-2026-10-30-compliance-akita-masked.md

Not changed: the exit-code policy. The 94% threshold is project doctrine, so changing it to "any unwaived FAIL blocks" needs its own decision.

Test plan

  • Red: both akita step scripts exit 1 on b814ed1a
  • Green: akita.feature reports PASS 19, FAIL 0. Full compliance: 98/0 (100%)
  • Preflight green: compliance, verification gates 46/46, sync-skills, trace-stories --strict
  • Touched scripts pass on their own: run-story-verify --self-test, validate-omp/mcp, test-project-runtime, test-golden-gate-runner, test-setup-no-pyyaml

🤖 Generated with Claude Code

…lit oversized files

akita.feature sat at PASS 17 / FAIL 2 on main. The 94% global gate
(97% overall) hid it. Root cause: duplicate bash function names
(pass/fail/run_fixture/run_verify_cmd) added in #118, #123/#125 and #161,
and two files over the 300-line cap (srp-engine.py via #155,
run-story-verify.sh via #161). The checks were right, so the code is fixed:

- lib/test-assertions.sh gains ta_err/ta_ok; the validate-*.sh gates and
  two test scripts use the shared ta_* helpers.
- run_fixture -> ggr_run_fixture; run-story-verify's run_verify_cmd ->
  run_memoized_chain, moved with its memo helpers to lib/story-verify-memo.sh.
- render_okf_concept moves to lib/srp_engine_okf.py.

Compliance is now 98 PASS / 0 FAIL (100%). Exit-code policy is unchanged.

BUG-2026-10-30-compliance-akita-masked

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…#168) (#169)

The shipped .mcp.json used ${OMP_PLUGIN_ROOT} with no default. omp
injects it, but Claude Code project scope does not and leaves an unset
${VAR} literal, so it spawned node '${OMP_PLUGIN_ROOT}/...' and the
server failed with CONNECTION_CLOSED. Both references now use
${OMP_PLUGIN_ROOT:-.}, which omp ignores and other hosts resolve from
the project root.

mcp-smoke.ts now expands the manifest per host profile (omp, claude-code)
instead of hard-coding the entry, and validate-mcp-package.sh rejects a
reference without a :- default.

The failures reported in #168 (bare node ENOENT, missing SDK) were the
pre-2.88.4 manifest; re-verified fixed on a packed 2.88.16 install, so
BUG-2026-09-10-pi-mcp-omp-startup is marked fixed.

Closes #168
@danielvm-git
danielvm-git merged commit 4ed9a26 into main Oct 30, 2026
4 checks passed
github-actions Bot pushed a commit that referenced this pull request Oct 30, 2026
## [2.88.17](v2.88.16...v2.88.17) (2026-10-30)

### Bug Fixes

* **compliance:** restore akita.feature to 0 FAIL — dedupe helpers, split oversized files ([#171](#171)) ([4ed9a26](4ed9a26)), closes [#118](#118) [123/#125](#125) [#161](#161) [#155](#155) [#161](#161) [#168](#168) [#169](#169) [#168](#168) [#168](#168)
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.88.17 🎉

The release is available on:

Your semantic-release bot 📦🚀

danielvm-git added a commit that referenced this pull request Oct 30, 2026
…evidence (#172)

The fix from PR #169 landed on main in the #171 squash (4ed9a26).
Test Build Release run 41121956124 passed every job. The release job
did not publish because #170 had already landed on top, so the run for
90e12d9 publishes the next version. Clear the fix_bug cycle in
state.yaml.
@danielvm-git
danielvm-git deleted the danielvm-git/determined-chandrasekhar-f1acf9 branch October 30, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant