[Impl] Keep text overview authority summary readable#219
Conversation
Quality Gatekeeper ReviewVerdict: PASS Checks:
Notes:
Decision: PASS and eligible for squash merge. |
|
Event: Validation Evidence:
Manual acceptance check:
Decision: Product validation passes. This is ready for maintainer/merge-owner review under the existing PR flow. |
|
Event: Post-merge validation Evidence: merged as User value confirmed: text overview now wraps tool authority summary evidence into terminal-readable lines while preserving the authority labels and evidence. |
Closes #218
Summary
User value
Terminal-first users can scan tool authority evidence without horizontal scrolling or wrapped labels burying the signal.
Scope
Changed files
internal/engine/report.gointernal/engine/engine_test.goTest plan
go test ./internal/engine -run 'TestReportOverviewText(WrapsAuthoritySummary|ShowsIncidentAndAuthorityCues|TruncatesUnicodeSafely)'go test ./internal/enginego test ./...go build -o /tmp/agenttrace-parser-check ./cmd/agenttrace/tmp/agenttrace-parser-check --doctor || true/tmp/agenttrace-parser-check --demo --overview -f text >/tmp/agenttrace-parser-overview-218.txt/tmp/agenttrace-parser-check --demo --overview -f json >/tmp/agenttrace-parser-overview-218.json/tmp/agenttrace-parser-check --demo --overview -f markdown -o /tmp/agenttrace-parser-overview-218.md >/tmp/agenttrace-parser-overview-218.md.stdout/tmp/agenttrace-parser-check --demo --overview -f html -o /tmp/agenttrace-parser-overview-218.html >/tmp/agenttrace-parser-overview-218.html.stdoutrg -n "Tool authority|Highest category|Authority category counts|High-authority tools|Incident timeline|Recent Anomalies" /tmp/agenttrace-parser-overview-218.txt /tmp/agenttrace-parser-overview-218.md /tmp/agenttrace-parser-overview-218.htmlnode -e "const fs=require('fs'); const txt=fs.readFileSync('/tmp/agenttrace-parser-overview-218.txt','utf8'); if(txt.includes('\\uFFFD')) throw new Error('replacement character in text overview'); const max=Math.max(...txt.split(/\\n/).map(l=>[...l].length)); if(max>120) throw new Error('demo text line too wide: '+max); const json=JSON.parse(fs.readFileSync('/tmp/agenttrace-parser-overview-218.json','utf8')); if(!json.summary || !json.summary.tool_authority) throw new Error('missing authority summary'); console.log('overview artifacts ok, max text line '+max);"AGENTTRACE_BIN=/tmp/agenttrace-parser-check AGENTTRACE_CI_OUT=/tmp/agenttrace-parser-ci-output-218 scripts/ci/check-output-contract.shAGENTTRACE_BIN=/tmp/agenttrace-parser-check AGENTTRACE_CI_OUT=/tmp/agenttrace-parser-ci-deterministic-218 scripts/ci/check-deterministic-output.shAGENTTRACE_BIN=/tmp/agenttrace-parser-check AGENTTRACE_CI_OUT=/tmp/agenttrace-parser-ci-semantics-218 scripts/ci/check-report-semantics.shAGENTTRACE_BIN=/tmp/agenttrace-parser-check AGENTTRACE_CI_OUT=/tmp/agenttrace-parser-ci-docs-218 scripts/ci/check-docs-commands.shscripts/ci/check-release-surfaces.shscripts/ci/check-pages-artifact.sh sitegit diff --checkFixture/privacy note
Uses synthetic authority categories and tool names in unit tests plus demo output only. No real user prompts, logs, paths, tokens, or secrets were added.
Risk
Low to medium. The summary is bounded for readability while preserving all authority categories and high-authority tool evidence across continuation lines.
Non-goals
Blackboard events
impl/218-readable-authority-textfromorigin/masterafter confirming stale branchimpl/215-unicode-text-truncationwas merged in PR [Impl] Make text overview truncation Unicode-safe #217.Release impact
patch: text overview visible formatting changes for authority summary readability. No parser/source compatibility change, no CLI behavior change, no JSON/Markdown/HTML contract change, no install/package docs change.
Handoff suggestion
Handoff to: Growth after merge if release notes are being collected.
Suggested release note: text overview now wraps tool authority summary evidence into readable terminal-width lines.