Repository navigation
Releases
Releases · kairasystems/priima-kit
v1.3.1 — Horizon Map Session Handoff Ergonomics
Priima Engineering Kit (priima-kit) v1.3.1
Small ergonomic improvements to /horizon-map from real-world dogfooding:
- Copy-Paste
Next Session Prompton Session Exit: Every/horizon-mapsession (after charting, resolving 1 decision ticket, or Stage 4 vertical slice handoff) now ends with a ready-to-copy fenced prompt block targeting the exact next frontier ticket or Slice 1 intdd-seams. - Explicit
## Frontier (Open Decision Tickets)Section for Local Markdown Maps: Formalizes the open-ticket index indocs/maps/<slug>.mdtrackers (while keeping GitHub Issues lean via native open child-issue queries).
v1.3.0 — Horizon Map & Argv/Wrapper Command Guard
Priima Engineering Kit (priima-kit) v1.3.0
New Original Skill: /horizon-map
- Multi-session planner for initiatives too large or foggy for a single session (
disable-model-invocation: true, 0 background token cost):- Reframe Gate: Disambiguates problem shapes and surfaces verified domain / neighboring-field terminology before charting.
- Decision Frontier: Lean living index (
Destination,Decided,Fog,Out of Scope) backed by GitHub Issues or localdocs/maps/<slug>.md, resolving at most 1 decision per session (researchAFK,grill->grill-domain,prototype,unblock). - Dual-Shape Architecture Check: Sketches 2 contrasting structural shapes before locking irreversible decisions, with optional cross-family stress-testing via
cross-family-review(second-opinion.mjs). - Vertical Slice Handoff: Converts resolved decisions into ordered, risk-first vertical 1-session TDD slices ready for
tdd-seamsandfloor-guard.mjs.
Guardrail Hardening (Closes #1)
- Zero-Dependency Shell Tokenizer, Wrapper Unwrapper &
argvEvaluator (scripts/command-guard.mjs):- Replaces flat string regexes with quote-aware statement/pipeline splitting, quote-concatenation decoding (
r'm' "-rf" "/"), recursive shell wrapper unwrapping (sh -c,bash -lc,cmd /c,powershell -Command,pwsh -c,$(...), backticks), env/sudo prefix stripping, and structuredargvrules. - Catches split flags (
rm -r -f /,rm --recursive --force /), refspec force-pushes (+HEAD:main), quoted Windows drive paths (Remove-Item -LiteralPath "C:\"), and piped sudo/PowerShell shells (curl ... | sudo bash,irm ... | iex) while avoiding false positives on quoted strings (e.g.,git commit -m "fix: block rm -rf /").
- Replaces flat string regexes with quote-aware statement/pipeline splitting, quote-concatenation decoding (
- Explicit False-Negative Mutation Corpus & False-Positive Allowlist (
scripts/test-guards.mjs):- Expanded from
44to72automated assertions across Ubuntu & Windows CI (Node 20 & 22), including.constraintsignore,test-deleted,rule-removed, and 23 dedicated bypass mutation tests.
- Expanded from
v1.2.1 — Initial Public Release
Priima Engineering Kit (priima-kit) v1.2.1
Initial public open-source release of Priima Engineering Kit — deterministic anti-cheating guards, cross-family second-opinion reviews, and high-rigor TDD workflows for Google Antigravity.
Highlights
- 11 Engineering Skills (
skills/):- User-invoked (0 background token cost):
priima-router,before-building,grill-domain,no-comments,two-axis-review,retro-evolve - Model-invoked (on demand):
constraints-guard,tdd-seams,diagnose-loop,doubt-interrogate,cross-family-review
- User-invoked (0 background token cost):
- 4 Fresh-Context Subagents (
agents/):priima-comment-sicko,priima-standards-reviewer,priima-spec-reviewer,priima-inventive-catalyst - Executable Zero-Dependency Guardrails (
scripts/):command-guard.mjs—PreToolUsesafety hook blocking catastrophic shell commands regardless of flag orderingfloor-guard.mjs— Diff-scoped anti-cheating gate (@ts-ignore,.skip, emptycatch {}, deleted tests/assertions, loosenedCONSTRAINTS.mdthresholds,.constraintsignoresupport, secret-safe output)second-opinion.mjs— Read-only cross-family review runner for OpenAI Codex CLI (gpt-6.2-sol,gpt-6.2-astra,gpt-6.1-terra,gpt-6-luna) and16 KiB-capped Claude (claude-sonnet-5-5,claude-opus-5-5) with--dry-runand defaultultraguard
- Verified Quality:
44/44automated assertions passing on Ubuntu & Windows CI (Node 20 & 22) andagy plugin validate . --strictpassing with 0 warnings.
Quick Install
git clone https://github.com/kairasystems/priima-kit.git
cd priima-kit
npm test
agy plugin validate . --strict
agy plugin install .