Skip to content

Unify assistant auto-capture policy#566

Merged
jorisjonkers-dev-agents[bot] merged 1 commit into
mainfrom
feat/assistant-capture-policy
Jun 4, 2026
Merged

Unify assistant auto-capture policy#566
jorisjonkers-dev-agents[bot] merged 1 commit into
mainfrom
feat/assistant-capture-policy

Conversation

@jorisjonkers-dev-agents

Copy link
Copy Markdown
Contributor

Summary

  • Add a structured assistant-api capture request carrying provenance, session id, confidence, and duplicate-check metadata.
  • Enrich assistant-ui auto-capture candidates with trigger terms, evidence excerpts, confidence tags, and policy details in the captured body.
  • Suppress likely duplicate auto-captures via one-hit KB recall before consuming the per-session write budget.
  • Route low-confidence assistant captures to _inbox for curator review while keeping high-confidence captures scoped to the inferred project/agent scope.
  • Advertise the already-supported source field in the knowledge-api MCP capture tool schema.

Verification

  • ./gradlew :services:assistant-api:test :services:knowledge-api:test
  • ./gradlew :services:assistant-api:ktlintCheck :services:assistant-api:detekt
  • ./gradlew :services:knowledge-api:ktlintCheck :services:knowledge-api:detekt
  • git diff --check

Attempted ./gradlew :services:assistant-api:integrationTest :services:knowledge-api:integrationTest; both integration suites are blocked in this local environment because Testcontainers cannot find a Docker socket (/var/run/docker.sock).

@jorisjonkers-dev-agents jorisjonkers-dev-agents Bot added the enhancement New feature or request label Jun 4, 2026
@jorisjonkers-dev-agents jorisjonkers-dev-agents Bot merged commit 81680c0 into main Jun 4, 2026
47 checks passed
@jorisjonkers-dev-agents jorisjonkers-dev-agents Bot deleted the feat/assistant-capture-policy branch June 4, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant