Skip to content

v0.6.22 — subject list --query title filter - #288

Merged
Shooksie merged 1 commit into
mainfrom
release/v0.6.22
Jun 29, 2026
Merged

v0.6.22 — subject list --query title filter#288
Shooksie merged 1 commit into
mainfrom
release/v0.6.22

Conversation

@Shooksie

Copy link
Copy Markdown
Contributor

What

Adds a case-insensitive substring filter on the subject title to subject list — a new --query CLI flag, surfaced on the animus.subject.list MCP tool.

Why

Agents (and the portal) had no way to look a subject up by name: subject list supports only kind/status/labels/limit/cursor, and the agent-facing MCP result truncates at a size budget — so on a large board (e.g. 180+ knowledge repos) a lookup by name was impossible (the agent only ever saw the first page). --query makes name lookup a first-class operation.

How

subject list --query <text> fetches the full set (the daemon re-serializes a typed SubjectFilter, dropping unknown fields, and the backend has no title filter), then filters by title client-side in the list handler and applies the page limit to the matches. Result carries an exact total and a null next_cursor. No protocol/plugin/version-line changes.

Test

  • cargo fmt --check, clippy -p orchestrator-cli: clean
  • subject MCP arg-builder test extended to cover --query
  • Note: 2 pre-existing decision_gate test failures exist on main (v0.6.21) unrelated to this change.

Adds a case-insensitive substring filter on the subject TITLE to `subject list`
(CLI flag + the animus.subject.list MCP tool). When --query is set the full set
is fetched and filtered client-side, then the page limit is applied — so an agent
or the portal can resolve a subject by name without paging, and without the
agent-facing MCP result truncating a large unfiltered list. The daemon
re-serializes the typed SubjectFilter (dropping unknown fields) and the backend
has no title filter, so filtering in the CLI list handler is the clean,
no-protocol-change path.
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
animus-docs Ready Ready Preview, Comment Jun 29, 2026 7:41pm

Request Review

@Shooksie
Shooksie merged commit e2618ed into main Jun 29, 2026
12 of 13 checks passed
Shooksie added a commit that referenced this pull request Jun 29, 2026
…llided with #289) (#290)

PR #288 added subject list --query but its release/v0.6.22 branch landed after
#289 also claimed v0.6.22, so the auto-tagger skipped (tag already existed) and
the v0.6.22 binary excludes --query. The change is on main; this re-cuts it as
v0.6.23.
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