You are working in /Users/userc042661f/Documents/reigh-workspace/reigh-worker. You are…
- User
You are working in /Users/user_c042661f/Documents/reigh-workspace/reigh-worker. You are not alone in the codebase: do not revert edits made by others, and keep your write scope narrow.
Task: Improve the new capability-contract tooling/docs for agent/developer discoverability after the megaplan. Ownership: reigh-worker docs/tests/scripts/capability_contracts only. Do not touch VibeComfy.
Context:
- Megaplan created
scripts/capability_contracts/,tests/test_capability_contracts.py, and regenerateddocs/vibecomfy-app-parity-tracker.md. - User wants agents/developers to know when to use these tools for import existing workflow, fork workflow, scratch-built workflow, validation, app parity, and community-added workflows.
- Keep it concise and practical. This is post-megaplan docs, not a full parity campaign.
Deliverable:
- Inspect
scripts/capability_contracts/README.md,docs/vibecomfy-app-parity-tracker.md, and any obvious agent docs/skills in this repo. - Add concise discoverability guidance where it belongs, preferably near the tool README and tracker, with exact commands and decision rules.
- Add/update a lightweight test if documentation consistency is already tested or easy to test.
- Run focused validation and report files changed and command results.
- Megaplan created
- Assistant
I’ll work only in
reigh-workerand keep the edit surface to the capability-contract docs/tests/scripts area plus relevant agent-facing docs if they already exist there. First I’m reading the current README, tracker, and repo docs shape so the guidance lands where developers will actually see it. - Assistant
The worktree already has the megaplan outputs as uncommitted changes. I’m treating those as existing user/team edits and will layer narrowly on top instead of normalizing unrelated diffs.
- Assistant
The generated tracker is fully owned by the renderer, so any tracker guidance has to come from
report.pyrather than hand-editing the markdown. I’m checking the renderer now and will add a small consistency test around the new discoverability text so future regenerations don’t silently drop it. - Assistant
I found no dedicated agent instruction file in this repo beyond the general README and the capability-contract README, so I’m putting the durable guidance in
scripts/capability_contracts/README.mdand adding a compact generated “When to use this tracker” section to the parity tracker. That keeps the tracker regenerated and avoids touching root docs outside the requested ownership area. - Assistant
The docs now have explicit decision rules and exact commands. I’m regenerating the generated tracker from the renderer so the markdown stays consistent with the source.
- Assistant
The bare
pythoncommand is blocked by the local pyenv setting (3.8.10is missing). I’m switching to an available interpreter for local validation while keeping the documented repo commands unchanged. - Assistant
The tracker regenerated cleanly with
python3. I’m running the focused tool validation, render freshness check, and the capability-contract test file now. - Assistant
Focused validation passed: the existing template-index warnings remain warnings, and the tests pass. I’m doing one final diff/status pass to make sure only the intended files were touched.
- Assistant
Implemented the discoverability pass without touching VibeComfy.
Changed:
- scripts/capability_contracts/README.md: added concise “When To Use This” rules for import, fork, scratch-built, validation, app parity, and community-added workflows.
- scripts/capability_contracts/report.py: added generated tracker guidance so it survives
render. - docs/vibecomfy-app-parity-tracker.md: regenerated with the new “When To Use This Tracker” section.