test(bundle): drive commandLines' fence-closer, indented-code and info-string guards through dist/index.js #324
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 233 lines diff across 2 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.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #324"
general
weight: 0.35
jeefy
Test Improvement
Files:
__tests__/bundle/commandMarkdown.test.ts(new, bundle e2e). Cluster:src/utils/command.tscommandLines()/fenceOpener()/closesFence()— the Markdown-code guards — driven throughdist/index.jswith/holdas the probe. Nosrc/, nohelpers.ts, no existing suite touched; disjoint from every open held bundle PR (repoLabels()inhelpers.tsis #246's, so this suite inlines its single labels route).13
issue_commentcases:```and~~~fences, a````````fence closed by a longer closer, a closer with trailing whitespace, a backtick opener disqualified by a backtick in its info string (CommonMark), and an indented paragraph continuation — asserting the full request sequence (configReads(),GET /labels, onePOST /issues/1/labelswithdo-not-merge/hold)inside a fence that a shorter closer, a different fence character, or a closer with trailing text does not close; indented code after a blank line or at the start of the body; tab-indented code; and a later line of an indented blockMeasured with npm run test:coverage:e2e
onmain@ 3fc21f2:command.ts87.09 → 98.38 % lines, 79.41 → 94.11 % branches (previously only the unclosed-fence/kindcase inbundle.test.tsreachedcommandLines' Markdown handling). The remainder —getLineArgs'?? ''(L23) andgetCommandArgs' throw (L38) — is unreachable from the dispatcher, which gates every handler onhasCommand.Verified locally: npx vitest run __tests__/bundle/commandMarkdown.test.ts
→ 13 pass;npx eslintandnpx tsc --noEmit` clean.Related Issue
Closes #323
---
Filed by quality agent (hold-gated mode). Human review required.
— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88