Repository navigation
Description
Context
plugins/context7/skills/lookup/SKILL.md bundles its update action into the same
model-invocable skill as the default lookup action (disable-model-invocation: false). That
means the upstream drift-check fetch to raw.githubusercontent.com (and the npm view ctx7 version registry check) is reachable from a non-adversarial prompt with no explicit user
request — e.g. "is context7 still up to date?" could plausibly lead the model to invoke
update on its own initiative. No write occurs (the script is report-only by default), but the
outbound network call itself is exactly the kind of thing a consumer should opt into explicitly,
not have fired implicitly.
This was flagged during the dometrain-mcp plan's formal /devils-advocate stress test
(docs/topics/dometrain-mcp/PLAN.md, Step 4 CRITICAL finding #2) as a fleet-wide gap, not
dometrain-specific: any plugin that tracks/updates external sources via a model-invocable
skill has the same shape. context7:lookup was the only prior update-verb precedent checked
at the time and was found to have this exact issue.
The cost of leaving it: low probability, non-destructive (report-only), but it violates the
principle (already applied to dometrain) that a sync/drift-check network call should only
ever fire on a human's explicit request, never the model's own initiative.
Proposed work
- Split
plugins/context7/skills/lookup/SKILL.md'supdateaction out into a new, separate
syncskill (mirroringplugins/dometrain/skills/sync/):disable-model-invocation: true,
shell: bash, wrappingscripts/update.sh. lookup/SKILL.mdkeepsdisable-model-invocation: falsebut drops theupdateaction from
its own dispatch — pure lookup usage, no drift-check reachable from a proactive invocation.- Update
lookup/SKILL.md's "Update" section and README to point at/context7:syncinstead of
/context7:lookup update. - Update
plugins/context7/CHANGELOG.mdwith the breaking-change note (invocation moves from
/context7:lookup updateto a new skill).
Acceptance criteria
-
plugins/context7/skills/lookup/SKILL.mdhasdisable-model-invocation: falseand no
updateaction in its dispatch table. - A new
plugins/context7/skills/sync/SKILL.md(or equivalent name) exists with
disable-model-invocation: trueand owns thectx7-CLI-version + upstream-skill-content
drift check (currentlyskills/lookup/scripts/update.sh). -
--refresh-baseline(and any other maintainer-only flag) is never constructed or exposed
by the new sync skill's own dispatch — only documented for a maintainer to type directly. -
skill-quality:checkpasses for both the updatedlookupskill and the new sync skill. - README and CHANGELOG reflect the new invocation path.
References
docs/topics/dometrain-mcp/PLAN.md— Phase 3 "Design correction" section, Step 4 stress-test
finding fix: correct plugin-system inaccuracies and harden references #2 (the CRITICAL finding this item generalizes from).plugins/dometrain/skills/grounding/SKILL.md+plugins/dometrain/skills/sync/— the fix
pattern already implemented and shipped fordometrain; use as the structural template.plugins/context7/skills/lookup/SKILL.md,plugins/context7/skills/lookup/scripts/update.sh,
plugins/context7/skills/lookup/context/update.md— the files to split.
Metadata
| Field | Value |
|---|---|
| Category | unspecified (no category: labels defined in this repo) |
| Area | security |
| Ecosystem | unspecified |
Activity
feat(dometrain): add Dometrain course-content grounding plugin (#961)
kyle-sexton commentedon Jul 27, 2026
This was generated by AI (triage lane — gate-audit claim). Claiming this item for one gate-audit cycle: an independent panel re-classifies whether the
needs-human/status: needs-decisiongate is still warranted, or whether the item is C2/C3 and liftable toagent-ready. Outcome comment follows in this cycle.kyle-sexton commentedon Jul 27, 2026
This was generated by AI (triage lane — gate audit). Independent panel: two fresh-context agents (one
fable, oneopus), each given only the issue content and the repo's ownplugins/autonomy/reference/guardrails/work-classes.md, plus the triage lane's own read. This lane never executes work items, authors fixes, or merges.Gate audit: GATE UPHELD — lane override of a unanimous panel
Panel: 2-of-2 LIFT-ELIGIBLE, C3. The triage lane overrode them and is keeping the gate shut. Flagging that disagreement explicitly rather than burying it.
Both legs made a strong case: the design is already decided and shipped as a template (
plugins/dometrain/skills/sync/SKILL.mdhas exactly the target frontmatter), acceptance criteria are checkbox-verifiable, there is a deterministic gate (skill-quality:check), and — their central argument — the change direction is guard-tightening, addingdisable-model-invocation: true. That is the opposite of a guard bypass.Why the lane held the gate anyway: this item carries the
area: securitylabel, applied by a human. The triage lane operates under a standing rule that a security surface is a hard human floor, and a fail-closed posture means an agent does not get to reason its way past a human-applied security marker — even with a good argument, and even when the change looks protective. Deciding that the label is decorative is itself a human call.The cost of being wrong in this direction is one cycle of delay. The cost in the other direction is an autonomous lane talking itself past a security marker, which is a precedent worth more than this item.
Decision required
Is
area: securityon this issue a hard human floor, or a topic tag?RECOMMENDED — rule that it is a topic tag here, and lift this item. The panel's reasoning is sound: the change installs a guard rather than bypassing one, touches no auth/secret/isolation boundary, and C3 keeps human merge regardless, so lifting only authorizes an agent to author the PR. Confirm this and it can flip to
agent-readyimmediately.Alternative — rule that
area: securityis a hard floor fleet-wide, keeping this and every similarly-labelled item human-gated by default. Safer and simpler to enforce, at the cost of gating protective changes alongside risky ones.Escalation beyond this issue: whichever way this goes, the answer should be recorded as a general rule, because the triage lane currently has no documented way to tell a topic tag from a floor marker. That ambiguity will recur on every
area: securityitem.kyle-sexton commentedon Jul 27, 2026
This was generated by AI (triage lane — claim release). Gate-audit cycle complete for this item; the triage claim posted earlier this cycle is released. No lease is held — another instance or lane may pick this up immediately. The outcome comment above this one carries the classification and either the lift rationale or the decision summary.
kyle-sexton commentedon Aug 13, 2026
Frontier disposition (drain session)
Ruling: Close as not planned for this drain wave (frontier consensus).
Dual-panel drain ruling: advisory, superseded, folded into a program umbrella, or blocked on a host/design carrier without an actionable in-repo slice this session. Re-open with a concrete acceptance brief if a consumer needs the work.
KEEP set for this wave: standing telemetry; host-physical Class C (#631 family); program umbrellas #530/#531/#532/#535; live design carriers #1500/#1553/#1668/#1695/#1716/#1681/#1718; #1360.