Commit 0ff1ed1
docs(skills): fix MCP method references and dedupe shared guidance (#452)
* docs(skills): fix MCP method references and dedupe shared guidance
Review pass over the three issue-workflow skill commands:
- Add frontmatter (description + argument-hint) to all three so they
surface properly in the slash-command picker.
- plan-issues: issue_read's default `get` method does not return
comments — call `get_comments` separately for triage comments.
- address-review: get_review_comments now returns threads with
isResolved/isOutdated flags; skip resolved/outdated threads instead
of re-addressing them. Qualify get_check_runs as a pull_request_read
method.
- Replace verbatim duplication of guidance promoted to AGENTS.md in
#444 (model-selection table, CI/coverage triage principles, GitHub
MCP heredoc note) with pointers, so the skills can't drift from the
canonical copy.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* chore(mcp): expose mise as a project MCP server
Add a project-scoped .mcp.json that runs `./bin/mise mcp`, exposing
mise tasks, tools, env, and config to AI assistants over stdio. The
server provides the run_task tool plus mise://tasks, mise://tools,
mise://env, and mise://config resources.
Pre-approve it via enabledMcpjsonServers in .claude/settings.json so
web/remote sessions trust it without a manual approval prompt.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* Revert "chore(mcp): expose mise as a project MCP server"
The mise MCP server is redundant in this environment: `mise … --json`
(tasks ls, ls, config ls, env) already returns the same structured data
the mise:// resources expose, via the already-allowlisted CLI. run_task
duplicates the existing `./bin/mise run` allowlist and loses the
log-file grep workflow the test/analyze tasks provide. MCP's real edge
is reaching systems the shell can't (GitHub API, browser, DBs) — not
wrapping a local CLI that already speaks JSON.
This reverts commit 4506fea.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* docs(agents): note mise --json for structured introspection
Most mise introspection commands (tasks ls, ls, config ls, env) support
--json. Prefer it over scraping the human-readable text when parsing
output programmatically.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* chore(mise): auto-activate sandboxed + dev envs on Claude Code Web
Add .miserc.toml that detects CLAUDE_CODE_REMOTE=true and selects the
`sandboxed` and `dev` envs automatically, so plain `./bin/mise` (e.g.
the session-start hook) gets the right config without anyone passing
MISE_ENV by hand. Off the sandbox both entries render empty → no-op.
- sandboxed: existing git-transport fix (libgit2/gix off) now applies
on web automatically, and Node is pinned to the image-baked
/opt/node22 (path: backend) to skip a redundant download. The
version-metadata host is blocked by the sandbox proxy, but the four
pinned tools resolve via their own backends, so this is an
optimisation rather than a fix.
- dev: watchexec/buf/api-linter become available without MISE_ENV=dev,
and sandboxed's libgit2=off is what lets the github-backend api-linter
install in the sandbox.
Note in AGENTS.md that MISE_ENV=dev must NOT be set on web (it overrides
.miserc.toml and drops the sandbox env); it's still required locally/CI.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* chore(mise): rename sandboxed env to claude-code-web
Rename mise.sandboxed.toml → mise.claude-code-web.toml and update the
.miserc.toml selector + AGENTS.md note to match. The env name now states
exactly what it targets (the Claude Code on Web sandbox) and aligns with
the convention used in sibling repos. Behaviour is unchanged: git mv
preserves history, and the env still auto-activates via CLAUDE_CODE_REMOTE
alongside dev.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* docs(mise): warn against setting MISE_ENV in the web environment config
An explicit MISE_ENV overrides .miserc.toml, so a leftover
MISE_ENV=dev,sandboxed at the environment level would shadow this file
and — after the sandboxed→claude-code-web rename — silently load nothing
for the missing env. Document the footgun next to the selector.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* refactor(mise): hoist the CLAUDE_CODE_REMOTE check in .miserc.toml
The two env entries gated on the same condition. Compute it once into a
Tera `on_web` variable and emit both env names together, so off-sandbox
resolves to a clean `env = []` instead of two empty-string elements.
Behaviour is unchanged (verified: in-sandbox loads claude-code-web+dev
with node pinned and libgit2 off; off-sandbox stays base-only).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
* refactor(mise): omit the env key entirely off-sandbox
Wrap the whole `env = [...]` line in the CLAUDE_CODE_REMOTE conditional
so off-sandbox the key is absent rather than an empty list. On web it
renders the two env names; elsewhere .miserc.toml is just comments.
Verified unchanged activation on both paths.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016osYfpqBmMA5DZ82au86Cd
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 02b9dc9 commit 0ff1ed1
7 files changed
Lines changed: 82 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
14 | | - | |
15 | | - | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | | - | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
52 | | - | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
91 | 100 | | |
92 | 101 | | |
93 | 102 | | |
| |||
115 | 124 | | |
116 | 125 | | |
117 | 126 | | |
| 127 | + | |
| 128 | + | |
118 | 129 | | |
119 | 130 | | |
120 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
This file was deleted.
0 commit comments