Printable idea sheet
click_session
reqlan rq/cli/click.rq:189
Katz 0.225
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.
- 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
Interactive page: click_session