Repository navigation
Open launched Pi and OpenCode sessions with the task's context, report their session id, attribute writes through the journal - #3680
Conversation
Code Review SummaryVerdict: APPROVE (with one Pi item I would fix or consciously accept before merge). The change does what #3653 asks. The shared module now mirrors The one real concern is in the Pi bash re-registration, below. Acceptance criteria
FindingsCritical IssuesNone. Suggested Improvements
Nitpicks
Notes
|
malibio
left a comment
There was a problem hiding this comment.
Automated pragmatic-code-review: APPROVE (posted as a comment — GitHub blocks self-approval). Full findings in the review comment above.
Review addressedAddressed (docs and comment only, no logic change):
Skipped:
Re-Review DecisionDecision: NO RE-REVIEW NEEDED Rationale: Only a README paragraph and a comment changed; no code or tests. 🤖 Generated with Claude Code |
…t their session id, attribute writes through the journal (closes #3653) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…l limits Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
aa01bc8 to
e41fec0
Compare
Closes #3653.
What changed
plugins/shared/nodespace-session.ts: at start, reads the launch from the environment, reports the harness session id (session report-harness-session), and reads the launched task once, handing it over with the first prompt inside the graph-data marker; the task becomes the watched item. A launch for the chat node, an unanswered report or an unreadable task opens with nothing.NODESPACE_WRITE_JOURNAL,<home>/.nodespace/journals/<session>.jsonl), withjournal endat start and end.mayWrite,isRead, the forced pre-write check, the post-write re-read and the in-flight and moves counters are deleted. A deleted item (not_found) stops the session; any other failed read says nothing.ctx.sessionManager; its own bash tool is re-registered with aspawnHookthat sets the journal variable and drops the launch variables;session_shutdownends the journal. The powershell tool is not covered (the README says so).shell.envhook sets the journal variable per session; the launch variables are blanked, not removed, becauseshell.envis not documented to replace the environment. Only the first non-child session takes the launch.architecture/agent-session.md(docs repo, pushed to main) updated.Not done
plugin-session.test.tsover the fake CLI, andquality:checktype-checks both plugins against the published harness types.Tests
Skill package: 264 passed;
bun run --cwd packages/skill quality:checkclean.🤖 Generated with Claude Code