Skip to content

[Epic]: Product-grade QA-native repo understanding and packaging polish #154

Closed
8 of 8 issues completed

Description

@sumithr

Priority / sequencing

P0 / priority: high

Suggested labels

  • documentation
  • ux
  • compatibility
  • distribution

Roadmap fields

Status: Backlog; Priority: P0; Size: XL; Order: product-polish umbrella before or alongside #92, #137, #144, #149, #151; Depends on: none

Problem

sumo-qa has strong QA discipline, skills, installer work, MCP tools, and host adapters, but the product experience is still mostly advisory. The agent walks the repo in-session, reasons from skill prose, and emits text. That is useful, but it lacks the tangibility and polish of tools that generate a persistent artifact, expose memorable commands, show a report/dashboard, and demonstrate the loop in a tight first-run demo.

The aim is not to copy Understand-Anything's generic code graph. The useful pattern is the product loop: one-command setup, analyze once, persist an artifact, query/update it incrementally, show a polished visual/report, and keep host packaging clean.

Expected outcome

sumo-qa gets a QA-native repo-understanding product loop:

  1. Install or verify quickly.
  2. Analyze a repo into .sumo-qa/ artifacts.
  3. Review a diff using affected components, mapped tests, stale evidence, and uncovered risks.
  4. Generate a report/dashboard that is shareable and honest about missing data.
  5. Keep README, demo, marketplace assets, and host packaging aligned with the verified experience.

The core product promise becomes: understand any repo well enough to test it.

Single Source of Truth

Use this epic as the reference point for the product-polish track. Do not require implementation PRs or follow-up planning to repeatedly cite every related issue. The ownership map below is authoritative unless the issue bodies are later changed.

Area Owning issue Boundary
QA-native repo artifact #155 Owns .sumo-qa/repo-map.json, schema, deterministic scanner, freshness metadata.
Query and diff impact #156 Owns repo-map query, changed/affected node analysis, .sumo-qa/diff-impact.json.
Product CLI commands #160 Owns sumo-qa analyze/status/review/report command surface.
Static report/dashboard #157 Owns .sumo-qa/qa-report.html or equivalent polished report presentation.
Install/update/uninstall wrappers #158 Owns install.sh / install.ps1; does not own runtime product commands.
Marketplace metadata/assets/host docs #84 Owns generated plugin metadata, icons, preview assets, verified host install docs.
README/demo first-run narrative #86 Owns top-fold positioning and 5-minute demo loop after product behavior exists.
Skill/context token loading #137 Owns progressive skill/catalogue loading only; not repo-map generation.
Risk-to-test ledger semantics #144 Owns risk/test/evidence ledger semantics; may link to repo-map ids from #155.
PR/issue context bundle #149 Owns external/local context bundle contract; may reference repo-map and diff-impact artifacts.
Readiness scorecard semantics #151 Owns readiness state and evidence semantics; #157 renders it.

Scope

  • .sumo-qa/ artifact family:
    • repo-map.json for QA-relevant repo structure and evidence anchors;
    • diff-impact.json for changed/affected components and test evidence;
    • qa-report.html or equivalent report output for shareable status;
    • future linkage to risk ledger and scorecard artifacts.
  • Deterministic local analysis:
    • no mandatory network calls;
    • no graph database or vector store;
    • no external model dependency in the default path;
    • LLM/skill reasoning consumes artifacts but does not own deterministic scanning.
  • Product surfaces:
    • MCP tools for hosts;
    • CLI commands for terminal/docs demos;
    • install/update/uninstall wrappers;
    • README/demo/marketplace copy and visual assets.

Sequencing

  1. [Task]: Add a QA-native repo understanding artifact #155: define and generate the QA-native repo map.
  2. [Task]: Add repo-map query and diff-impact analysis tools #156: query repo-map and produce diff impact.
  3. [Task]: Add product-grade CLI commands for analyze, review, report, and status #160: add product CLI commands over the same service layer.
  4. Evidence integration: connect scorecards, risk ledger, and context bundle to the artifact model through their owning issues.
  5. [Task]: Add a polished local QA report or dashboard #157: render a polished local report/dashboard from those artifacts.
  6. [Task]: Add one-command install, update, and uninstall wrappers #158: add install/update/uninstall wrappers once the product loop is credible.
  7. Add marketplace-ready metadata, assets, and install docs per host #84/Rework README and demo around outcome-led QA workflows #86: finish marketplace assets and README/demo around the verified loop.

Acceptance criteria

  • Child issues exist for repo-map generation, repo-map query/diff impact, CLI command surface, report/dashboard, install wrapper polish, and README/marketplace polish.
  • Existing overlapping issues are updated rather than duplicated.
  • First implementation slice can land without mandatory network calls, graph DBs, vector stores, embeddings, or external model calls.
  • New artifacts are versioned, deterministic, schema-validated, and documented as local cache vs commit-worthy output.
  • Existing skill behavior remains backward-compatible when .sumo-qa/ artifacts are absent.
  • Artifact freshness and source metadata are visible enough that stale evidence cannot be mistaken for current proof.
  • README/demo/packaging claims stay aligned with verified host support.
  • The final loop is demonstrable in under five minutes: install, analyze, review a diff, see QA evidence/gaps, and open the report/dashboard.

Test plan

  • Each child implementation PR adds fixture tests for its artifact or command surface.
  • Required regression commands for product-loop PRs:
    • pytest tests/test_skill_conformance.py
    • pytest tests/test_tools_list_contract.py
    • pytest tests/test_token_weight_regression.py
  • Add snapshot tests for generated report output.
  • Add scenario or promptfoo coverage once skills consume repo-map/diff-impact artifacts.
  • Keep external network or host-session checks optional unless explicitly promoted to verified host support.

Context

Sub-issues

Sub-issues

8 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    enhancement
    ux
    compatibility
    distribution
    priority: high
    on May 25, 2026
  2. sumithr commented on May 25, 2026

    @sumithr
    OwnerAuthor

    Initial child issues created:

    Existing overlapping issues updated by comment instead of duplication:

  3. sumithr commented on May 25, 2026

    @sumithr
    OwnerAuthor

    Iteration notes:

    Recommended implementation order:

    1. [Task]: Add a QA-native repo understanding artifact #155 in one or two PRs: schema + fixture generator first, MCP wrapper second.
    2. [Task]: Add product-grade CLI commands for analyze, review, report, and status #160 first slice: analyze and status only, sharing [Task]: Add a QA-native repo understanding artifact #155 service code.
    3. [Task]: Add repo-map query and diff-impact analysis tools #156 query first, diff-impact second, skill consumption third.
    4. [Task]: Add evidence-based QA readiness scorecards #151/[Task]: Add a risk-to-test traceability ledger for QA workflows #144/[Task]: Add a host-neutral issue and PR context bundle for QA workflows #149 integration points after repo-map and diff-impact data is stable.
    5. [Task]: Add a polished local QA report or dashboard #157 static report first. Avoid interactive dashboard scope until the data model is proven.
    6. [Task]: Add one-command install, update, and uninstall wrappers #158 and Add marketplace-ready metadata, assets, and install docs per host #84/Rework README and demo around outcome-led QA workflows #86 polish after the command/artifact/report loop exists enough to demo honestly.

    Definition of "polish" for this epic:

    • the user can run memorable commands;
    • artifacts exist on disk and are inspectable;
    • stale/missing evidence is visible;
    • docs show the same commands the product actually supports;
    • screenshots or demos show real generated output, not aspirational mockups.
  4. sumithr commented on May 27, 2026

    @sumithr
    OwnerAuthor

    Backlog audit update (2026-05-27): child boundaries still look correct. Do not merge #155/#156/#160/#157/#158 into this epic; #154 remains the ownership map and sequencing reference, while the child issues own implementation slices.

  5. 2 remaining items

  6. sumithr commented on Jun 21, 2026

    @sumithr
    OwnerAuthor

    Epic complete: closing

    A finish-PR-style acceptance gate (2026-06-21) ran the product loop end to end on current main and audited each acceptance criterion against the real code, with adversarial verification. Result: 8/8 AC met.

    AC Result
    1. Child issues for all areas met (8 children, all closed)
    2. Existing issues updated, not duplicated met
    3. No mandatory network / graph-db / vector / embeddings / model met (zero banned imports; determinism reproduced; core deps = mcp / pydantic / PyYAML / starlette)
    4. Artifacts versioned, deterministic, schema-validated, documented met (the one gap, diff-impact.json shipping unversioned, fixed in #453)
    5. Backward-compatible when .sumo-qa/ absent met (tools fall back to a live scan; tests cover it)
    6. Freshness / source metadata visible met (git_commit + generated_at + generator_version; status reports fresh / stale)
    7. README / demo / packaging claims aligned met (host-support header corrected in #453)
    8. Five-minute loop demonstrable met (install, analyze, review-a-diff via the MCP tool, evidence / gaps, report all run on this repo)

    The final gap (AC#4) was closed by PR #453, merged to main and queued for release 0.50.2 via release-please #454: diff-impact.json now carries schema_version: "1.0" like its sibling artifacts, and the README host-support header was corrected to match the installer's real behaviour (it wires Claude Code and VS Code directly and prints config to paste for the JetBrains hosts).

    All eight child sub-issues (#155, #156, #160, #157, #158, #84, #86, #382) and the four cross-cutting integration issues (#137, #144, #149, #151) are closed. Closing this epic as completed; it stays readable as the ownership map and sequencing reference.

  7. added a commit that references this issue on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilitydistributionenhancementpriority: highux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions