workspace: trim skill prose, move deterministic steps into scripts #348
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 611 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.384
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #348"
general
weight: 0.35
fonta-rh
Summary
Trims the
workspaceplugin. Skill prose goes from 2,389 to 599 lines with no loss of the functions in use. Deterministic steps move fromSKILL.mdprose into scripts that print JSON. Each non-ok result has anerror_messagethat tells the skill what to do next. The skills keep only judgment, questions to the user, file contracts, and gates on destructive actions.The handoff move to
/next:gois not in this PR.workspace:handoffstays.Scripts (commit 1)
scripts/project.py-
new: folder,.gitignore, frontmatter, section skeleton, and worktrees.-
worktree create|status: multi-repo, self-repo, and PR worktrees.-
close: removes worktrees and local branches, and updates the frontmatter and closing notes. It refuses uncommitted or unpushed work unless--forceor--keep-worktreesis given. It clears the handoff marker.-
touch: stampslast-active, and consolidates whenCLAUDE.mdis over 100 lines.workspace_lib.py: one sharedparse_frontmatter(it replaces four copies), frontmatter field editing, atomic write, and worktree status. PyYAML is imported lazily, so the SessionStart hook stays yaml-free.resume-project.py: an instructiveerror_messagefor every status, the restored no-projects bounds check, no skill suggestions (they named plugins that are not in this marketplace), and self-repo worktrees inworktree_status.domain-info.py --record: appends theUPDATES.mdentry and copies editedcontext/<repo>.mdfiles overDOMAIN-CONTEXT.md.consolidate-project.py: atomic writes.skills.py link-all: replaces the per-projectverifyandunlink-check.setup.sh:- New
detectcommand.-
init --selftakes--summaryand--ignore-projects.-
cloneapplies the settings template, links repo skills, and writes the rootCLAUDE.mdfromtemplates/workspace-CLAUDE.md.template. Only the content between the AUTO-GENERATED markers is refreshed.TODO.md(the items are done here) and six 3-line placeholder files indomains/tnf/supplemental/.Skills and docs (commit 2)
update-projectedits inline (no fork) and callsproject.py touch.auto-updateis removed, with its cron and--autologic.consolidate-projectis a short on-demand wrapper.update-projectruns consolidation automatically.clone. The per-projectskills:frontmatter and its steps are removed.new-project: one confirmation round. There are no type templates and no empty starter files.README.md.CLAUDE.mdnow lists the correct layout and tests.0.3.0to0.4.0(breaking:auto-updateis removed).| Skill | Before | After |
|---|---|---|
| new-project | 681 | 66 |
| setup-environment | 319 | 81 |
| close-project | 305 | 41 |
| resume-project | 282 | 50 |
| create-domain | 201 | 59 |
| update-project | 196 | 46 |
| update-domain | 184 | 155 |
| consolidate-project | 93 | 21 |
| handoff | 85 | 80 |
| auto-update | 43 | removed |
Not changed
settings.local.json.tplfiles are kept. They add permissions that the generic template does not have.Testing
bash plugins/workspace/tests/test_setup.sh: 104 passed (new cases fordetect,init --selfflags, the rootCLAUDE.md, and skill linking atclone).plugins/workspace/tests/test_.pypass.test_project.pyis new and coversproject.pyandresume-project.py.npx markdownlint-cli2 '/.md': no findings inplugins/workspace.claude plugin validate plugins/workspace --strict: the only finding is the warning aboutCLAUDE.mdat the plugin root, which is also onmain.claude --plugin-dirare not done yet.🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Workspace setup can detect workspace types, initialize or refresh workspace guidance, apply domain settings, and link skills from cloned repositories.
Project workflows support project creation, worktree management, status checks, closure, and activity tracking.
Domain updates can be recorded with dated entries and copied to matching context files.
Improvements
Workspace and project workflows provide clearer error messages and next steps.
Large project summaries can be consolidated automatically when updated.
Documentation
Updated workspace setup, project, and domain workflow guidance.
Removed
* Automatic update scheduling and skill verification commands are no longer available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->