@abubakarsiddiik/qa
v0.3.2
Published
Local, agent-first QA: test cases, runs, evidence, and repair.
Readme
@abubakarsiddiik/qa
Local, agent-first QA for Portolan. A coding agent plugs this into its harness through MCP or the CLI, authors test cases as JSON, runs them deterministically against a local app, and gets typed results and evidence.
- Cases and suites are files under
qa/, reviewed in git. - Run history, evidence, flakes, and verification records live in a local
SQLite database under
.portolan/. statusis database-derived: a file cannot claimverified; onlyqa verifycan record it.- No model is called in the run path. The caller's agent generates and repairs; the runner replays.
Install into a harness
npx -y -p @abubakarsiddiik/qa portolan-qa # stdio MCP server
# or, from a checkout:
portolan qa init
portolan qa plan --changed
portolan qa run --changedMCP tools
qa_list, qa_plan, qa_run, qa_status, qa_result, qa_case_read,
qa_case_write, qa_generate, qa_verify, qa_repair, qa_coverage,
qa_report.
qa_generate turns a loose spec or a recorded trace into a draft case; fill
values for secret-looking fields become ${env.*} references. qa_repair
recovers a moved or renamed target from a failed run and rewrites the case as
a draft, then confirms with one run. Neither is a path to verified; only
qa_verify is.
See docs/QA.md for the design and trust model.
