Skip to content

Improvements#27

Merged
davidroeca merged 4 commits into
mainfrom
improvements
Apr 4, 2026
Merged

Improvements#27
davidroeca merged 4 commits into
mainfrom
improvements

Conversation

@davidroeca
Copy link
Copy Markdown
Owner

Added the following:

  • Shared modules: Extracted src/core/spec_loader.rs and src/core/git.rs from mcp_tools.rs, updated all consumers.
  • notarai check: Deterministic LLM-free drift detection with 4 checks (coverage gaps, orphaned globs, changed files, overlapping coverage). Human and JSON output formats, exit codes 0/1/2.
  • Init rework: --agent claude|generic flag with interactive prompt. Generic mode writes AGENTS.md + .notarai/reconcile-prompt.md instead of Claude-specific files. Claude mode unchanged.
  • notarai export-context: CLI command outputting reconciliation context as markdown or JSON. --spec for single spec, --all for affected specs, --base-branch and --format flags.
  • Reconciliation & docs: CLI reference updated with check, export-context, and reworked init documentation.

- Shared modules: Extracted `src/core/spec_loader.rs` and `src/core/git.rs` from `mcp_tools.rs`, updated all consumers.

- notarai check: Deterministic LLM-free drift detection with 4 checks (coverage gaps, orphaned globs, changed files, overlapping coverage). Human and JSON output formats, exit codes 0/1/2. 7 integration tests.

- Init rework: --agent claude|generic flag with interactive prompt. Generic mode writes AGENTS.md + .notarai/reconcile-prompt.md instead of Claude-specific files. Claude mode unchanged. 6 new tests + all existing tests updated.

- `notarai export-context`: CLI command outputting reconciliation context as markdown or JSON. `--spec` for single spec, `--all` for affected specs, `--base-branch` and `--format` flags. 5 integration tests.

- Reconciliation & docs: CLI reference updated with `check`, `export-context`, and reworked `init` documentation. All specs validated, 156 tests passing, clippy clean.
@davidroeca davidroeca merged commit 21c0d83 into main Apr 4, 2026
4 checks passed
@davidroeca davidroeca deleted the improvements branch April 4, 2026 17:11
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