Pin permission modes and the in-process hook bus #173

Merged
weichen merged 6 commits from feature/permission-hooks into main 2026-10-03 17:06:50 +00:00
Owner

Why: The libraries that implement session mode and the hook bus need to be pinned together.

Evidence: make test passed. A mock instance switched the composer to 计划 and stored permission_mode=plan.

Impact: Empty permission mode keeps today's profile policy.

Refs: feature/permission-hooks

Why: The libraries that implement session mode and the hook bus need to be pinned together. Evidence: make test passed. A mock instance switched the composer to 计划 and stored permission_mode=plan. Impact: Empty permission mode keeps today's profile policy. Refs: feature/permission-hooks
weichen added 2 commits 2026-10-03 17:06:21 +00:00
Pin permission modes and the in-process hook bus
ci / test (pull_request) Successful in 1m54s
f0da5d242a
Why: Session mode, confirmation detail, and the shared tool gate now exist in the libraries the product builds.
Evidence: make test passed. Plan mode rejects write_artifact while the default mode still runs it. Hook adapters match the old stop, reminder, and deny counts.
Impact: Empty permission mode keeps today's profile policy. There is no mode that skips every confirmation.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 2 commits 2026-10-03 17:06:37 +00:00
Why: The task card has to point at the Dev pull request before the sync checkpoints.
Evidence: Dev pull request 173 is open.
Impact: No code change.
Refs: feature/permission-hooks
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-03 17:06:37 +00:00
Record the sync checkpoint
ci / test (pull_request) Successful in 1m52s
245fe39b93
weichen added 1 commit 2026-10-03 17:06:39 +00:00
Record the sync checkpoint
ci / test (pull_request) Successful in 1m53s
be5408334b
weichen merged commit b6f4d317db into main 2026-10-03 17:06:50 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#173