Skip to content

Add all query command to export rules with full text#192

Open
adamdayan wants to merge 1 commit into
bearcove:mainfrom
adamdayan:feat/query-all
Open

Add all query command to export rules with full text#192
adamdayan wants to merge 1 commit into
bearcove:mainfrom
adamdayan:feat/query-all

Conversation

@adamdayan
Copy link
Copy Markdown

Introduces a new tracey query all command that returns every rule in a spec/impl along with its populated markdown body text. This is primarily designed for machine-readable export via --json (e.g., syncing requirements to external trackers).

To support this:

  • Bumped the daemon protocol version to 5.
  • Added AllRequest and AllResponse to the RPC protocol.
  • Modified RuleRef to optionally include raw rule text, ensuring existing lightweight commands (uncovered, untested) remain unaffected.

Introduces a new `tracey query all` command that returns every rule in a spec/impl along with its populated markdown body text. This is primarily designed for machine-readable export via `--json` (e.g., syncing requirements to external trackers).

To support this:
- Bumped the daemon protocol version to 5.
- Added `AllRequest` and `AllResponse` to the RPC protocol.
- Modified `RuleRef` to optionally include raw rule text, ensuring existing lightweight commands (`uncovered`, `untested`) remain unaffected.
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