Pin persistence across resume
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start in crates/ganja-core/src/engine.rs:4560 and inspect the resume path, the root session row, and D492's activation flush. Trace how the pin map is cleared and re-seeded, then confirm that a resumed session retains name-addressed peer pins instead of requiring trust-on-first-use again.
Written by the indexing model from the issue text.
Description
What it does
Keeps the pin map of name-addressed peers across a resume: it is written to the root session row and re-seeded on resume, following D492's activation flush.
Source
ganja-code-crt (pin persistence across resume).
The bead is closed when this issue is published, with its external reference pointing here (#38).
File and line references in this issue are to main as of 75a7a92.
Against the three criteria
- Direction (README): The README says nothing about addressing between sessions; the nearest direction it states is ganja as the control plane (
README.md:16-18). - Today's terminal users: The pin guard is cleared on a new conversation (
crates/ganja-core/src/engine.rs:4560) and lost across a restart, so a resumed session's first name-addressed send is trust-on-first-use again. - Evidence: It was considered and refused twice (D528, D532–D535) because the reference showed no evidence of persistence; the captain's verdict does not wait for that evidence.
Depends on
Nothing.
Verdict
- Verdict: do
- Size: S — one commit, no plan.
- Exception to the probe rule: no.
- Date: 2026-09-19
- Verdict ticket: #41
Theme: #54
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 1h
- Merged PRs (30d)
- 17
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from zchee/ganja-code
-
idea size:S verdict:do
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
zchee/ganja-code#83 ·
-
idea size:S verdict:do
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zchee/ganja-code#71 ·
-
idea
Difficulty 5/5 Over a week Newbie friendliness 30/100
zchee/ganja-code#101 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
zchee/ganja-code#100 ·
-
idea verdict:park
Difficulty 4/5 3-5 days Newbie friendliness 35/100
zchee/ganja-code#98 ·
All issues in zchee/ganja-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100