Skip to content

Commit da4d7b5

Browse files
committed
Require new first-class tools to integrate with Workspace Manager V2 and existing dirty/save/cancel lifecycle handling - PR_26146_016-workspace-managed-tool-creation-rules
1 parent 9e11a10 commit da4d7b5

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,29 @@ Template consistency is part of stabilization and maintainability.
11501150

11511151
Structural divergence requires explicit PR scope authorization.
11521152

1153+
### Workspace-Managed First-Class Tool Creation Rules
1154+
1155+
New first-class tools must live under `tools/<tool-name>/`.
1156+
1157+
New first-class tools must integrate with `tools/workspace-manager-v2`.
1158+
1159+
New tools are expected to launch through Workspace Manager V2 unless explicitly exempted.
1160+
1161+
Workspace lifecycle integration requirements:
1162+
- new tools must wire into existing dirty-state handling
1163+
- new tools must wire into existing save/cancel flows
1164+
- new tools must participate in shared workspace lifecycle expectations
1165+
- new tools must not create isolated custom save-state systems
1166+
- new tools must use existing workspace/toolState patterns when applicable
1167+
1168+
Dirty-state participation is required for first-class workspace-managed tools.
1169+
1170+
Save/cancel behavior should remain consistent across the V2 ecosystem.
1171+
1172+
Custom persistence behavior requires explicit PR authorization.
1173+
1174+
New tools should integrate into existing workspace launch/navigation patterns.
1175+
11531176
## TOOL TEMPLATE V2 LOCATION
11541177

11551178
The official First-Class Tool V2 starter is:

0 commit comments

Comments
 (0)