test: close the frontend CI and stale-path drift found by the published-entry audit #34
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 568 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.380
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #34"
general
weight: 0.35
Xander-Xai
Final publication gate. Closes the three P0 findings from an entry-point audit of the published
main.Why
A reader entering the repository hits two self-contradictions, plus a deleted directory still written as a live path.
1. The frontend CI build was filed as
PENDING..github/workflows/ci.ymlhas runfrontend-build(npm ci→npm run build) since PR #19, butdocs/repository-truth-audit.mdsaid "CI does not build the frontend here" and classified the built frontend asPENDING— whiledocs/main-branch-governance.mdlisted 前端构建校验 as a required check. Both are canonical docs, and the contradiction favours understating the repo.The frontend now carries four claims that are never merged:
| | Claim | Level |
|---|---|---|
| A | React client + API metadata contract |
REPO_VERIFIED|| B |
npm ci+npm run buildin GitHub Actions |REPO_VERIFIED|| C | frontend + real backend end-to-end runtime |
PENDING|| D | production deployment |
PENDING|A green
frontend-buildcompiles a bundle. It observes no browser, no real backend and no deployed environment, so it cannot promote C or D. The committed Playwright demo capture drives the real UI against the syntheticdocs/demo/mock_api.py— a demo capture, explicitly not C.2.
docs/superpowers/was still a current path. PR #33 deleted the directory and relocated nothing, so the plans live only in Git history.PRD.md, the evidence map and the audit all named it in the present tense.Guards, not just prose
check_frontend_evidence_classificationderives (B) fromci.ymlat runtime, so removing the job turns the sentence into drift instead of hiding behind an unenforced guard. Rejects denials of (B) and inflation into (C)/(D), in both languages.check_removed_plan_path_is_historicalrequires a removal frame on every surviving mention, at sentence scope.supersededandhistoricaldescribe the plans, not where the directory went, so they deliberately do not qualify.docs/superpowers/exclusion incheck_documented_pathsis deleted. It was not merely obsolete — it silently skipped everydocs/superpowers/...reference, so a doc could point at a deleted plan file indefinitely.Three false negatives were found and closed during verification, each of which had made the guard decorative:
1. The audit row's own
PENDINGcell is on the same physical line as the denial, so a generic negation window excused it.2.
HISTORICAL_MARKERSmatched ordinary prose ("there is no separate pytest target").3.
"the row contains REPO_VERIFIED"cannot tell the CI build from the client contract, so demoting (B) still passed. It now parses level→qualifier pairs.Also in this PR
export-regression-candidates: reviewed negative feedback becomes aPENDING_REVIEWcandidate with a stablecase_id; only human-accepted candidates enterregression_dataset.jsonl.expected_behaviour/expected_evidenceare human-supplied and fail closed — a model answer is never promoted to ground truth. Produces no RAGAS score.docs/archive/gives historical documentation an enforced home and banner. It is currently empty of moved plans; it is where a future superseded doc goes, not a relocation ofdocs/superpowers/.SECURITY.md, stating the scope honestly: a public reference implementation, not a certified product.Unchanged on purpose
No evidence level was altered, no external runtime-validation tracker was touched, no Git history was rewritten, no historical plan was restored, and no Kubernetes / GraphRAG / Agent-MCP / Kafka / vector DB was added. No metric was created.
Verification
---
<sub>Public-metadata normalization (governance round 2): career- and recruiting-framing wording was replaced with neutral technical wording. The technical background, the reason for each change, the outcome and every commit/PR/issue reference are unchanged. Document paths are kept as they were at the time; several were renamed later on
main. Prior-organization operational figures were replaced by a reference to theirHISTORICAL_PRODUCTIONclassification rather than restated.</sub>