Repository navigation
feat(joe): explicit repo maintenance with evidence-based health - #703
Merged
Merged
Conversation
alari76
force-pushed
the
feat/joe-in-sessions
branch
from
September 30, 2026 08:03
5051004 to
ae45fe4
Compare
alari76
force-pushed
the
feat/joe-maintenance
branch
from
September 30, 2026 08:03
74ec1e6 to
5e982ed
Compare
A repo is maintained only when the user enables its maintenance plan. Plans hold responsibilities (scope, response policy, task limit, what always needs a decision), each linked to existing repo automations that provide its checks — no second scheduler. Nothing is inferred from sessions, tasks, memory or existing automations. Health comes from the linked automations' evidence: missing, stale, held, disabled or failing checks show as starting / needs attention / unavailable, never as Joe maintaining. Disabling or removing a linked automation reports the affected responsibilities. Joe proposes responsibilities and may pause; only the user enables, resumes or turns off. Pausing is a dispatch gate for automations adopted into the plan — their own enabled setting is never rewritten. Tasks under a responsibility require an enabled plan, respect its task limit, and a notify/propose policy never lets Joe start work the user has not started. Each finished run of a linked automation is recorded once and handed to Joe with the responsibility's policy. UI: a maintenance indicator under each maintained repo in the sidebar, a per-repo maintenance view (responsibilities and checks, managed automations, current actions, activity, permissions, review & enable), maintenance state in the Tasks overview, a badge on adopted automations, and Hand over / Take back control in each session's menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alari76
force-pushed
the
feat/joe-maintenance
branch
from
September 30, 2026 08:06
5e982ed to
13cd245
Compare
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slices 3–4 of
docs/JOE-REPO-COLLABORATION-MAINTENANCE-SPEC.md(§6–§9, §11). Stacked on #702.Model (
maintenance_plans,maintenance_responsibilities,maintenance_activityin runs.db)Health
affectedResponsibilitiesand records a coverage entry.Authority (enforced server-side)
enabledsetting is never rewritten, so resume restores them as they were. Independent automations are unaffected; "Run independently" releases one.responsibilityIdrequire an enabled plan and respect the task limit. Under a notify policy they can't be created; under propose, only the user can start them.Observation → bounded action
record_maintenance_activity.Joe tools:
list_maintenance,get_maintenance_plan,propose_maintenance_responsibility,remove_maintenance_responsibility,pause_maintenance,record_maintenance_activity.create_taskalso acceptsresponsibilityId. Instructions are template v12, with a new "Maintaining Repos" section.UI
/maintenance/<repo>:Verification
maintenance-service.test.ts(13), dispatch-gate tests,MaintenanceView.test.tsx.🤖 Generated with Claude Code