Idea detail
click_session
reqlan rq/cli/click.rq:189
Summary
Click sessions live in SQLite under application_memory as `click-sessions.sqlite`
( sibling of `ideas-index.sqlite`; not deleted by ideas-index rebuild ).
Each session has a stable `sessionKey`.
Sessions are keyed against ideas. Each surfaced idea stores a fingerprint of its
name, summary, status, and tags. When that fingerprint changes, the idea may
resurface on the next click.
Record clicked centres ( unique or revisit targets ) separately from names that were only listed.
When the target is a centre already clicked in this session, return the content of the connected nodes
( outbound, backlinks, and siblings that the first click listed ), capped by click_max_detail.
Do not repeat the centre body. Do not return an empty suppressed slice.
Skip a connected body that this session already showed as content, unless its fingerprint changed.
Session cache size is click_session_limit.
Eviction uses last-touched order: when the store exceeds the limit, drop the least recently touched sessions first.
Touch the active session on every successful click.
Path helper: application-memory.ts / click_sessions.rs.
Layout: reqlan_directory_layout.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | click_sessions.rs, click.rs, application-memory.ts, ignore.rs |
| status | done |
| tests | click.rs:click_revisit_returns_connected_content, click.rs:content_hash_change_allows_resurface, click.rs:session_cache_evicts_by_count_and_last_touched |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | click | reqlan rq/cli/click.rq | click_session |
| references | click_input | reqlan rq/cli/click.rq | click_session |
| references | click_output | reqlan rq/cli/click.rq | click_session |
| references | agent_advisory | reqlan rq/cli/click.rq | click_session |
| references | click_session_limit | reqlan rq/cli/click.rq | click_session |
| references | application_memory | reqlan rq/extension/index-host/index.rq | click_session |
| references | reqlan_directory_layout | reqlan rq/indexer/sidecars.rq | click_session |
| references | click | reqlan rq/ontology.rq | click_session |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…