## Root Cause Claims file was in applications/aphoria/.aphoria/ but all commands looked for .aphoria/claims.toml relative to project root. Additionally, .aphoria/ was fully gitignored, preventing version control of claims. ## Changes ### Path Fixes - Move claims.toml from applications/aphoria/.aphoria/ to .aphoria/ at project root - Update .gitignore: .aphoria/ → .aphoria/* with !.aphoria/claims.toml exception - Now claims can be version controlled while keys remain secret ### Verify Integration (Scanner) - scanner.rs: Load claims from ClaimsFile and call verify_claims() - ScanResult: Add verify field with VerifyReport - Report formatters: Add claim verification sections showing PASS/CONFLICT/MISSING ### Clippy Fix - report/json.rs: Replace filter().map().expect() with filter_map() ## Verification - aphoria scan . → Shows claim verification with verdicts - aphoria verify run → Per-claim verification results - aphoria verify map → Extractor coverage mapping (7/10 claims = 70%) - aphoria claims list → Reads from project root - aphoria claims create → Writes to project root - All tests pass (1120+ aphoria tests) - clippy --workspace passes ## Impact Both primary use cases now work: 1. Day-to-day (commit-time): Skills can read/create claims via CLI 2. Audit (scan-time): Scanner verifies code against authored claims Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
75 lines
854 B
Plaintext
75 lines
854 B
Plaintext
# Rust
|
|
**/target/
|
|
**/*.rs.bk
|
|
Cargo.lock
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
*.pem
|
|
*.key
|
|
credentials.json
|
|
service-account*.json
|
|
|
|
# Aphoria project data (contains keys)
|
|
.aphoria/*
|
|
!.aphoria/claims.toml
|
|
|
|
# Python virtual environments
|
|
.venv/
|
|
venv/
|
|
|
|
# Test/Coverage
|
|
*.profraw
|
|
*.profdata
|
|
/coverage/
|
|
/tarpaulin-report.html
|
|
|
|
# Build artifacts
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.dylib
|
|
|
|
# Code quality reports
|
|
.jscpd-report/
|
|
|
|
# Dependencies
|
|
node_modules/
|
|
vendor/
|
|
__pycache__/
|
|
|
|
# Temp
|
|
tmp/
|
|
|
|
# Runtime data
|
|
data/
|
|
|
|
# Go binaries (examples)
|
|
sdk/go/examples/*/basic
|
|
sdk/go/examples/*/conflict
|
|
sdk/go/examples/*/skeptic
|
|
|
|
# Generated audio files
|
|
applications/pitch/audio/
|
|
|
|
# Build artifacts
|
|
applications/stemedb-dashboard/.next/
|
|
applications/video-renderer/out/
|
|
cmd/load-test/load-test
|
|
cmd/demo-seed/demo-seed
|
|
*.sst
|
|
*.mp4
|