Skip to content

feat: threat report enhancements, TUI improvements, and new utilities#2

Merged
Animesh-Sri-bugb merged 3 commits intomainfrom
dev
Feb 23, 2026
Merged

feat: threat report enhancements, TUI improvements, and new utilities#2
Animesh-Sri-bugb merged 3 commits intomainfrom
dev

Conversation

@Shahid-BugB
Copy link
Contributor

@Shahid-BugB Shahid-BugB commented Feb 22, 2026

  • Expand analyze pipeline: multi-tool LLM support, project context builder, code snippet extraction, and SARIF/report output in threat reports
  • Add src/analyze/tools.ts for LLM tool-call definitions
  • Add src/util/ansi.ts utility module
  • Enhance TUI commands: richer /model flow, exposures table, severity formatting (severityTextPad, fileLinkTrunc, cleanCliArtifacts)
  • Extend dashboard: computeExposures, improved HTML generation
  • Improve agents: launcher inline mode, annotate prompt builder, config helpers
  • Update parser/validate with additional diagnostics
  • Expand report.ts and format.ts with new helpers
  • Update docs/GUARDLINK_REFERENCE.md and docs/SPEC.md

What does this PR do?

Type

  • Bug fix
  • New feature
  • Annotation spec change
  • Documentation
  • CI / tooling

Checklist

  • npm run build passes
  • npm test passes
  • guardlink validate . passes (if annotations changed)
  • CHANGELOG.md updated (for user-facing changes)

Spec changes

N/A

- Expand analyze pipeline: multi-tool LLM support, project context builder,
  code snippet extraction, and SARIF/report output in threat reports
- Add src/analyze/tools.ts for LLM tool-call definitions
- Add src/util/ansi.ts utility module
- Enhance TUI commands: richer /model flow, exposures table, severity
  formatting (severityTextPad, fileLinkTrunc, cleanCliArtifacts)
- Extend dashboard: computeExposures, improved HTML generation
- Improve agents: launcher inline mode, annotate prompt builder, config helpers
- Update parser/validate with additional diagnostics
- Expand report.ts and format.ts with new helpers
- Update docs/GUARDLINK_REFERENCE.md and docs/SPEC.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Restore missing TUI commands (cmdExposures, cmdShow, cmdScan) with
  lastExposures context tracking for exposure browsing and detail view
- Fix Anthropic model IDs to use aliases instead of invalid snapshot
  dates that would 404 (claude-sonnet-4-6, claude-opus-4-6, etc.)
- Remove empty src/util/ansi.ts placeholder (functionality in format.ts)
- Dashboard: SVG nav icons, collapsible sidebar with localStorage state
- Dashboard: restore mermaid diagram render trigger on first tab visit
- Merge main into dev to preserve release.yml OIDC publishing fix

Files: 6 changed, +184/-27 lines
@Animesh-Sri-bugb Animesh-Sri-bugb merged commit cb9c95a into main Feb 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants