Repository navigation
Description
Summary
The loop determines whether a ticket is blocked by grepping a Blocked by: <url> line from the issue body, because no GitHub MCP tool exposes Relationships (REST: dependencies). This is a workaround for a platform gap, not a design choice. When the dependency tools become reachable from a routine, the loop should read them directly and the body line should stop being load-bearing.
Why the workaround exists
github/github-mcp-server already ships issue_dependency_read and issue_dependency_write (PR #2839 — full read/write, cross-repo), gated behind the issue_dependencies feature flag. That flag is in AllowedFeatureFlags, so it is user-toggleable in principle. Every route to enabling it from a Claude routine was tested and all are closed:
| Route | Fails at |
|---|---|
Repo .mcp.json, multi-repo routine |
Config never read — session root is /home/user, repos are subdirectories |
Repo .mcp.json, single-repo routine |
Config is read, then Dynamic Client Registration rejected (HTTP 403): sessions are bound to their configured repositories |
Routine mcp_connections |
headers: Extra inputs are not permitted; connector_uuid required |
claude.ai custom connector + X-MCP-Features |
The header name x-mcp-features isn't approved |
claude.ai custom connector + /insiders URL path |
Automatic client registration isn't supported (DCR unsupported for this endpoint) |
curl https://api.github.com/... with GH_TOKEN |
403 on every endpoint; the proxy declines rather than substituting |
Full detail in docs/routine-setup.md § "Issue Relationships are unreachable from a routine".
The cost of leaving it
Relationships are set correctly and are authoritative locally — the GitHub UI graph works, and draft-ticket / cross-repo-issue set them properly. The gap is only that a cloud run cannot read them, so the body line is the sole signal it has.
That makes a silent failure possible: a blocker recorded only in the Relationships panel is invisible to the loop, and the ticket gets picked up as ready and implemented against a shape that does not exist yet. The skills currently guard against this by treating the body line as mandatory, which relies on discipline rather than on the system.
How to detect that it is fixed
From a routine session:
ToolSearch: select:mcp__github__issue_dependency_read,mcp__github__issue_dependency_write
Today: No matching deferred tools found. When those resolve, this ticket is actionable. Worth re-probing after any GitHub MCP release, or if Anthropic adds approved headers or connector support for custom MCP servers.
Approach
- Confirm both tools resolve and work against a known pair —
sydevs/SahajAtlasWeb#171is blocked bysydevs/SahajCloud#632. loop-runrung 3: replace the body-line grep withissue_dependency_read/get_blocked_by, resolving each result's state.implement-issuestep 3: same, for the cloud branch. The localgh api .../dependencies/blocked_bypath stays as is.triage-issue: demote theBlocked by:line from mandatory to optional — it is still useful prose for human readers, just no longer the machine-readable source of truth.cross-repo-issue: same demotion.loop-config.json: setrelationships.cloudReadabletotrueand dropbodyMarker.- Existing tickets keep their body lines; no migration needed.
Acceptance criteria
-
loop-rundetermines blocked-ness from the dependency tools, not from body text - A ticket blocked only via the Relationships panel (no body line) is correctly skipped by a cloud run
-
triage-issueandcross-repo-issueno longer describe the body line as load-bearing -
docs/routine-setup.mdrecords how the gap closed, replacing the table of failed routes
Verification checklist
- In a routine,
select:mcp__github__issue_dependency_readresolves -
issue_dependency_readonsydevs/SahajAtlasWeb#171/get_blocked_byreturnssydevs/SahajCloud#632 - Remove the
Blocked by:line from a test ticket that has a real open blocker, then run/workflow:loop-run --dry-runand confirm rung 3 still skips it -
claude plugin validate ./workflow --strictpasses
Notes
Re-check: 2026-10-02 — mirrors the live Hold Until field, which is where the park lives
Blocked on GitHub/Anthropic, not on us — there is nothing to implement until the tools appear. Filed so the workaround has an owner and an exit condition rather than quietly becoming permanent.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Hold Until
Projects
- StatusShow more project fieldsDone
Activity
refactor(skills): one interface — MCP everywhere, gh only for Relatio…
Ardnived commentedon Sep 8, 2026
Parked until 2026-10-02 (migrated from the retired Hold Until field). The loop mentions @Ardnived when that date passes.
4 remaining items
sydevs-bot commentedon Oct 3, 2026
🤖 no session running
recent dispatches
Written by the sydevs dispatcher. Sessions never edit this comment.
sydevs-bot commentedon Oct 3, 2026
Not parked — an answer run never writes fields.
@sydevs-bot revisedoes, or you can set it yourself.The park is the
Hold Untilfield. It still reads2026-10-02, which passed, so the dispatcher posted the unblock above at 03:43Z. Re-dating that one field re-parks the ticket. Nothing else is needed.Set it to 2026-11-02. A calendar month lands on 2026-11-03, one day past
issueFields.holdUntil.maxHorizonDaysof 30, so 2026-11-02 is the longest park available.I corrected one line in
## Notes. It said the park had migrated off a retiredHold Untilfield. The field is load-bearing (docs/why.md#a-date-belongs-in-a-date-field), and it was the live source all along. TheRe-check:date beside it is only a mirror — update it when you set the field, or leave it, since the field wins.🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
fix(loop): close out the open tickets, and fold in #159's preview data (
Ardnived commentedon Oct 28, 2026
Closing as completed: the dispatcher reads native Relationships directly (gather, decide and sweep), landed in #70 and #82. Sessions still can't read them over MCP; that is a separate gap.
feat(loop)!: a derived Status lifecycle replaces the awaiting, blocke…