-
Notifications
You must be signed in to change notification settings - Fork 713
fix(pstack): resume, verification, and engagement-edge discipline #383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
0f1a1f8
be9f206
f824ef9
360e2a1
dc622f7
4bd53f7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ Invoke when the user says "reflect" or "/reflect". Skip when the conversation is | |
|
|
||
| ### 1. Locate the active transcript | ||
|
|
||
| The parent finds its own transcript file before fanning out. The system prompt names the active workspace's `agent-transcripts/` directory. Use that path. Do not glob across `~/.cursor/projects/*/`. That crosses workspace boundaries and reads private chats from unrelated projects. | ||
| The parent finds its own transcript file before fanning out. Detect the harness first. Cursor writes JSONL under the active workspace's `agent-transcripts/` directory (the system prompt names the path; use it, and do not glob across `~/.cursor/projects/*/`). OpenCode stores sessions in `~/.local/share/opencode/opencode.db`; open it read-only with `?immutable=1` and export to text. Codex writes rollout files under `~/.codex`. Never cross workspace boundaries or read private chats from unrelated projects. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New prose uses banned clause joinersLow Severity · Bugbot Rules Added Additional Locations (2)Triggered by learned rule: pstack skill prose follows unslop punctuation Reviewed by Cursor Bugbot for commit 4bd53f7. Configure here. |
||
|
|
||
| ```bash | ||
| ls -t <agent-transcripts>/*.jsonl <agent-transcripts>/*/*.jsonl <agent-transcripts>/*/subagents/*.jsonl 2>/dev/null | head -10 | ||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Harness locators skip workspace-scoped matching
Medium Severity · Logic Bug
The new locators send the agent to OpenCode's
opencode.dband Codex files under~/.codexwithout scoping those stores to this workspace or session. Reflect then still globs workspaceagent-transcripts/JSONL and matches Cursor'smessage.content[0].text, so non-Cursor runs miss the active transcript or ingest other projects' chats.Additional Locations (1)
pstack/skills/poteto-mode/playbooks/session-pickup.md#L4-L5Triggered by learned rule: Workspace-scoping for transcript-mining skills
Reviewed by Cursor Bugbot for commit 4bd53f7. Configure here.