Go to file
jml e73bf3c4b7 feat(aphoria): add --show-claims flag to display all extracted claims
Implements the --show-claims feature requested by users who need to verify
extractors are working correctly and debug false negatives.

Changes:
- Add `claims: Option<Vec<ExtractedClaim>>` field to ScanResult
- Add `--show-claims` CLI flag to scan command
- Add `show_claims: bool` parameter to ScanArgs
- Populate claims in scanner when flag is set (sorted by file, then line)
- Display claims in all output formats:
  * Table: New "Extracted Claims" section with concept/value/file/line/confidence
  * JSON: Top-level `claims` array with full claim details
  * Markdown: "## Extracted Claims" section with table
  * SARIF: Informational-level results (level: "note") for IDE integration

User outcome:
- `aphoria scan . --show-claims` displays all claims (not just conflicts)
- Users can verify extractors detected their code patterns
- Users can debug false negatives by seeing what WAS extracted
- Builds trust through transparency

Quality:
- Zero breaking changes (opt-in flag, backward compatible)
- All tests passing (943 passed)
- Clippy clean (no warnings)
- Manual testing verified all 4 output formats

Addresses user feedback from /home/jml/Workspace/maxwell/.aphoria/.notes-for-aphoria-team

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 00:39:54 +00:00
.agentive-remediation feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
.cargo Initial project setup with Claude Code monorepo structure 2026-01-31 10:56:26 -07:00
.claude feat: add Aphoria dashboard scans and corpus UI 2026-02-07 15:56:49 -07:00
ai-lookup feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
applications feat(aphoria): add --show-claims flag to display all extracted claims 2026-02-08 00:39:54 +00:00
batteries feat: WAL hardening (Phase 5B) - CRC32C, crash recovery, group commit, log rotation 2026-02-02 12:36:35 -07:00
cmd feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
community feat: Ingestor deadlock fix + blessed assertion tracking + patent docs 2026-02-04 03:41:08 -07:00
crates feat(aphoria): add --show-claims flag to display all extracted claims 2026-02-08 00:39:54 +00:00
demo/keys feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
docs feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
latent feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
scripts feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
sdk/go feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
uat feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
use-cases feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
.aphoriaignore feat(aphoria): implement ignore & exclusion system (Phase 16) 2026-02-07 17:28:50 -07:00
.dockerignore feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
.gitignore feat: add Aphoria dashboard scans and corpus UI 2026-02-07 15:56:49 -07:00
.jscpd.json Initial project setup with Claude Code monorepo structure 2026-01-31 10:56:26 -07:00
aphoria.toml feat(aphoria): implement ignore & exclusion system (Phase 16) 2026-02-07 17:28:50 -07:00
architecture.md feat: Complete Phase 2 (The Cortex) - query, lens, and API layers 2026-02-01 13:22:44 -07:00
arena-roadmap.md refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
Cargo.toml feat: Aphoria scan modes + stemedb-ontology crate + consumer health UAT 2026-02-04 21:57:33 -07:00
CLAUDE.md feat: add aphoria-install skill for user-space installation 2026-02-07 07:47:54 -07:00
clippy.toml Initial project setup with Claude Code monorepo structure 2026-01-31 10:56:26 -07:00
CODING_GUIDELINES.md Initial project setup with Claude Code monorepo structure 2026-01-31 10:56:26 -07:00
docker-compose.yml feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
Dockerfile feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
GEMINI.md feat: Complete Phase 1 (The Spine) - storage foundation 2026-01-31 14:15:34 -07:00
Makefile feat: Add quickstart "Beyond Hello World" sections with Skeptic and Layered endpoints 2026-02-01 21:00:59 -07:00
position.md feat: Complete Phase 2 (The Cortex) - query, lens, and API layers 2026-02-01 13:22:44 -07:00
quickstart.md feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
roadmap-archive.md feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
roadmap.md feat: Complete Aphoria Phase 8-9 + UAT suite (90/90 tests passing) 2026-02-06 22:50:55 -07:00
rustfmt.toml Initial project setup with Claude Code monorepo structure 2026-01-31 10:56:26 -07:00
simulation-vision.md feat: Complete Phase 1 (The Spine) - storage foundation 2026-01-31 14:15:34 -07:00
stemedb.pdf feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
usage.md feat: Multi-application expansion with chaos testing and community UI 2026-02-04 01:24:14 -07:00
vision.md feat: Complete Aphoria Phase 14 - Governance Workflows 2026-02-07 05:16:26 -07:00
what-is-episteme.md feat: WAL hardening (Phase 5B) - CRC32C, crash recovery, group commit, log rotation 2026-02-02 12:36:35 -07:00