You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
allowed-tools drifts from skill body when mechanism changes — add a deterministic lint gate; fix discover-agents (mcp__trinity__report), trim orchestrate's vestigial schedule tools #7
allowed-tools frontmatter drifts out of sync with skill bodies when a skill's mechanism changes but its tool list isn't updated. Under enforcement, a body call to an undeclared tool is silently blocked. Reported by corbin (Item 1): orchestrate v1.7/1.8 rewired its watchdog onto set_reminder/cancel_reminder (trinity#1296) but its allowed-tools still listed only the old schedule tools.
Status of the reported instance: already fixed in HEAD
The orchestrate defect corbin hit was fixed upstream in orchestrate v1.11 / bundle v1.18 ("allowed-tools gains … the set_reminder/cancel_reminder the v1.7 watchdog already instructs"). Current bundle (v1.20, orchestrate v1.13) declares both reminder tools. Corbin diagnosed correctly against their cached bundle (v1.15), which predated the fix — every install of v1.14/v1.15 has it, current installs do not. list_reminders is not used in the body, so it does not need adding.
But the audit corbin asked for found a live same-class drift
I ran an allowed-tools-vs-body sweep across all eight bundle skills. One genuine hit:
discover-agents v1.7 calls mcp__trinity__report(...) (fleet_scan) in its body, but mcp__trinity__report is absent from its allowed-tools. The call is wrapped in a guard that swallows tool-not-found/permission errors, so it degrades gracefully — but under enforcement the fleet_scan report silently never publishes. Lower severity than the orchestrate watchdog (that was a safety fallback failing silently), but the same defect class.
Minor hygiene in the same pass:
orchestrate v1.13 still lists the three vestigial schedule tools (create_agent_schedule, delete_agent_schedule, list_agent_schedules) — zero positive body usage remains since the v1.7 watchdog moved fully to set_reminder. Safe to drop (least-privilege).
Proposed work
Fix discover-agents: add mcp__trinity__report to allowed-tools (v1.7→1.8).
Trim orchestrate: drop the three unused schedule tools (v1.13→1.14).
The durable fix — add an allowed-tools↔body lint as a deterministic /audit-wizards + /test-wizard gate: every mcp__trinity__* (and reserved tool) invoked in a skill body must appear in allowed-tools. This is what turns "someone hand-diffed eight skills and caught it" into "caught before publish." (An over-declared-tools warning — declared-but-unused — is a nice-to-have advisory, not a blocker.)
Version bumps, changelog, bundle bump, /audit-wizards green; push operator-gated.
Filed by trinity-pm on behalf of corbin's report. Verdict: adopt the generalizing gate + the discover-agents fix; the orchestrate reminder-tools defect is already resolved upstream.
Companion to #5/#6/#8. The lint gate proposed here (allowed-tools↔body) is the same class of durable fix as #6's autonomous-mode audit gate and #8's install-path doctor: turn hand-diffing into a pre-publish check.
Landed on main by content — add-orchestrator 1.21: discover-agents 1.8 gained mcp__trinity__report in its grant, orchestrate 1.14 dropped the three vestigial schedule tools (main is now at 1.10 / 1.16 and both grants still match). The fix/7-allowed-tools-grants branch was superseded and is deleted. The deterministic allowed-tools↔body lint gate proposed here is NOT built — tracked as the open remainder of this issue.
Activity
vybe commentedon Aug 16, 2026
Companion to #5/#6/#8. The lint gate proposed here (allowed-tools↔body) is the same class of durable fix as #6's autonomous-mode audit gate and #8's install-path doctor: turn hand-diffing into a pre-publish check.
fix(add-orchestrator): realign allowed-tools with skill bodies (#7) (#9)
back-port(profile-fleet): 1.4 → 1.6 + bundle mechanics — universalized (
back-port(add-orchestrator): universalize stranded sync-fleet-to-head…
vybe commentedon Sep 20, 2026
Landed on main by content — add-orchestrator 1.21:
discover-agents1.8 gainedmcp__trinity__reportin its grant,orchestrate1.14 dropped the three vestigial schedule tools (main is now at 1.10 / 1.16 and both grants still match). Thefix/7-allowed-tools-grantsbranch was superseded and is deleted. The deterministic allowed-tools↔body lint gate proposed here is NOT built — tracked as the open remainder of this issue.