Skip to content

Add metadata-only session search#253

Merged
luoyuctl merged 1 commit into
masterfrom
improve/session-metadata-search
May 24, 2026
Merged

Add metadata-only session search#253
luoyuctl merged 1 commit into
masterfrom
improve/session-metadata-search

Conversation

@luoyuctl
Copy link
Copy Markdown
Owner

Summary

  • add agenttrace --search for metadata-only local session lookup across names, paths, cwd, source/model, tools, tool args, files, anomalies, authority, and diagnostic evidence
  • add text and JSON search reports without indexing prompt or assistant message text by default
  • document the workflow and protect it with CI contract/doc smoke checks

Refs #101.

Verification

  • go test ./...
  • go vet ./...
  • go build -o /tmp/agenttrace ./cmd/agenttrace
  • git diff --check
  • scripts/ci/check-output-contract.sh /tmp/agenttrace
  • scripts/ci/check-report-semantics.sh /tmp/agenttrace
  • scripts/ci/check-deterministic-output.sh /tmp/agenttrace
  • scripts/ci/check-docs-commands.sh /tmp/agenttrace
  • scripts/ci/check-release-surfaces.sh
  • scripts/ci/check-pages-artifact.sh site

@luoyuctl
Copy link
Copy Markdown
Owner Author

Self-review: checked the PR diff, local validation, and CI. The feature is intentionally metadata-only: it searches session names, paths/cwd, source/model, tools/tool args, files, anomalies, authority, and diagnostic evidence, while avoiding prompt/assistant text indexing by default. #101 remains a broader radar item; this PR lands the narrow lookup workflow without adding a watcher or full search index.

@luoyuctl luoyuctl merged commit cecd8c1 into master May 24, 2026
1 check passed
@luoyuctl luoyuctl deleted the improve/session-metadata-search branch May 24, 2026 16:42
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