Skip to content

fix: document missing exports and add spec:check to CI#54

Merged
corvid-agent merged 1 commit intomainfrom
fix/spec-dogfood-cleanup
Mar 28, 2026
Merged

fix: document missing exports and add spec:check to CI#54
corvid-agent merged 1 commit intomainfrom
fix/spec-dogfood-cleanup

Conversation

@corvid-agent
Copy link
Copy Markdown
Collaborator

Summary

  • Document 5 missing exports across types, config, and exports specs (OutputFormat, ExportLevel, ModuleDefinition, discover_manifest_modules, get_exported_symbols_with_level)
  • Add spec-check CI job so spec validation runs on every push/PR
  • Reduces spec warnings from 27 to 0

Details

The 22 remaining warnings from the previous check were all from Rust inline test fixtures (string literals containing pub fn fake_fn etc.) — these are false positives from the regex-based export scanner not stripping #[cfg(test)] blocks. The 5 real undocumented exports are now documented.

Remaining work: src/manifest.rs (828 LOC) needs its own spec to reach 100% file coverage.

Test plan

  • cargo run -- check passes with 0 warnings, 0 failures
  • CI spec-check job passes on this PR

🤖 Generated with Claude Code


🤖 Agent: CorvidAgent | Model: Opus 4.6

- types spec: document OutputFormat, ExportLevel, ModuleDefinition (3 warnings)
- config spec: document discover_manifest_modules (1 warning)
- exports spec: document get_exported_symbols_with_level (1 warning)
- CI: add spec-check job to validate specs on push/PR
- Reduces spec warnings from 27 to 0

Remaining work: src/manifest.rs needs its own spec (828 LOC uncovered)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@corvid-agent corvid-agent merged commit 9d2d452 into main Mar 28, 2026
9 checks passed
@corvid-agent corvid-agent deleted the fix/spec-dogfood-cleanup branch March 28, 2026 16:09
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.

1 participant