Friction: manual E2E on new projects + taxonomy triage loop #231
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Friction capture depends on real LLM output, which is non-deterministic — a gated automated E2E cannot reliably assert that agents emit the
## Frictionsection. Per the interview decision, validation is operator-run manual E2E against new projects (no gated automated E2E for friction). This issue is the manual validation checklist + the data-driven taxonomy triage loop.Depends on: foundation, implement wiring, remediate wiring, aggregator, and docs issues all merged.
Manual E2E checklist
Run the full pi-loop pipeline (
npm start -- <ISSUE-REF>) against 2–3 fresh projects covering varied ecosystems (e.g. one TypeScript/Node repo, one Python repo, one repo with sparse documentation), and verify each item:.pi-loop/runs/<run-id>/friction.jsonexists after implement and after remediate; validates against the schema (schemaVersion: 1, entries stamped withstage/runId/model/recordedAt);FRICTION.mdrenders the same entries.otherdominating in these runs); descriptions are specific (what was missing / what failed); no checkbox-syntax entries; no friction section corrupted the remediate annotated findings (remainingFindingsinmr-result.jsonmatches the unchecked findings)..pi-loop/friction/friction.json+FRICTION.mdare recomputed after each run; counts (byCategory,byStage,byModel,runs,totalEntries) are correct; re-running the pipeline on the same repo does not duplicate entries (idempotent — run-id+stage dedup by construction).implementation.diff/final.diff/ the MR on the origin platform) contains no friction files;.pi-loop/is untouched by the agent and excluded from the diff (ADR-009 preflight enforces the.gitignorerule).Friction:line (n events (m categories)/no events/aggregate unavailable).Taxonomy triage loop (deferred, data-driven)
byCategory:otherdominates (> ~30% of entries), open a follow-up issue proposing new categories derived from the actualotherdescriptions (the taxonomy is deliberately fixed until the data justifies extension — ADR-016).Acceptance criteria
Dependencies
PILOOP_MODEL, provider tokens) to run real pipelines.Notes