Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DocVault/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ Each result names the signals that ranked it (SESF-68, SESF-77): `Semantic: 0.44
Ingest scans turn text for tracker issue tokens. The deduplicated, uppercased set goes in a structured `issue_ids` field (Milvus `VARCHAR(4096)` plus an FTS5 `issue_ids` metadata column). `issue_patterns.py` decides which tokens count. The dashed preset is always on: `[A-Z][A-Z0-9]+-\d+`, boundary-anchored, with a technical-standard prefix denylist. `~/.sessionflow/issue_ids.conf`, or the path in `SESSIONFLOW_ISSUE_ID_PATTERNS`, adds the `servicenow` preset, custom `regex:` lines and `deny:` prefixes (see `issue_ids.conf.example`).

- **`issue_id` filter** on `search_all_sessions` / `search_session` — optional structured exact-token pre-filter (`issue_ids like "%,SESF-25,%"`), case-insensitive, combinable conjunctively with `provider` / `project_root` / `date_from`. Unset leaves search behavior byte-identical.
- **`get_issue_timeline(issue_id, limit=50, provider, date_from, date_to)`** MCP tool + `GET /timeline` HTTP endpoint — single deduplicated, oldest-first cross-harness feed of every turn referencing an issue. Unions the structured field with an FTS keyword fallback (covering un-tagged turns), deduped by `doc_id`, sorted by `(timestamp, doc_id)`.
- **`get_issue_timeline(issue_id, limit=50, provider, date_from, date_to, include_subagents=false)`** MCP tool + `GET /timeline` HTTP endpoint: a single deduplicated, oldest-first cross-harness feed of every turn referencing an issue. Unions the structured field with an FTS keyword fallback (covering un-tagged turns), deduped by `doc_id`, sorted by `(timestamp, doc_id)`.
- The timeline leaves out `agent-*` sessions (subagents and compactions) unless `include_subagents` is true. The output names the number of hidden turns. `/timeline` returns them as `hidden_subagents` and `hidden_subagents_capped`. When `hidden_subagents_capped` is true, the FTS fallback filled its fetch window and `hidden_subagents` is a lower bound.
- **Re-tagging stored rows:** `cleanup.py retag-issues` re-extracts issue IDs from every stored `document` with the active patterns and rewrites the changed rows in Milvus and FTS without re-embedding. It is a dry run by default. Run `--apply --yes` after a config change, with the server stopped.

## Specs
Expand Down
Loading