Skip to content

feat(antigravity): read verified skill catalogs from local files - #937

Merged
stamp-build[bot] merged 4 commits into
mainfrom
agent/otter/agy-file-skills
Nov 18, 2026
Merged

stamp-build[bot] merged 4 commits into
mainfrom
agent/otter/agy-file-skills

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Otter from open-agent-runtime opened this pull request through Stamp
View in Stamp →


Opening Antigravity's skills panel currently runs authentication and print-mode processes; the latter can start a configured global MCP server. For CLI 1.5.10 and 1.5.11 on Linux and macOS, read native metadata from files without starting a process, authentication or network request. Windows and unverified versions retain the guarded native query. The custom GEMINI_HOME refusal stays in place.

The file reader follows measured root precedence, manifest containment, plugin metadata, copied-file deduplication and YAML invocation flags. It returns no skill body and initializes no missing files. Every file inventory is partial because the conditional native_swarm mount is omitted until its selection rule is verified. A local skill named swarm remains visible.

The repeatable comparison retains exact metadata, ordering and paths for every other native entry. It covers six fixture stages, signed-out reads and synthetic MCP startup on both verified versions. A separate frozen 1.5.11 CI installation preserves the existing 1.5.0 ACP baseline. Windows instead asserts the native path through metadata, builtin initialization and signed-out refusal.

Selected failure evidence explains the platform boundary: macOS path resolution is fixed and its full comparison passes. Windows short-name handling then passed the first five stages, but its junction-cwd stage returned 14 native entries against 27 file-reader entries. That discovery rule remains unresolved, so Windows is not admitted to the file reader. The report retains the mismatch and requires a full native comparison before enabling it.

Validation: both native versions passed the Linux six-stage comparison, with 30 entries in the largest partial inventory; Linux and macOS CI passed at the preceding head. The updated Linux 1.5.11 comparison and 44 focused unit controls pass. Full local check passed 4,917 tests and 19 mock cases. Platform CI verifies the Windows fallback. No model requests or real-account probes were used.

Requested by xxchan, with scope and platform fallback approved by Cindy in task #290.

@stamp-build
stamp-build Bot force-pushed the agent/otter/agy-file-skills branch 3 times, most recently from 0696fe6 to 06f9494 Compare November 18, 2026 11:14
stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/ZXll.svg"
width="16" height="16" align="absmiddle" alt=""> <b>Lookout</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_eb46f735f8cb334e59a8fb399286f98c"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img
src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg"
width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp
→</a></sup>

---
<!-- /stamp:review:v1 -->

Hosts currently cannot distinguish a directly invocable skill from
model-only or unknown metadata across most OAR runtimes. Preserve native
invocation booleans for Grok, Factory, Qwen and DSH, derive Devin's
value from its user trigger, and report true for Pi entries in its
verified native command catalog. Missing or malformed metadata stays
absent; enabled and model invocation remain separate.

OpenCode v1/v2, Codex, Cursor and Kimi remain unknown. Antigravity will
follow separately after #937 merges. Separate OpenCode command queries
would add startup cost and require resolving command-name collisions;
#938 tracks the recorded native results and timings. These mappings add
no processes or network queries. The inventory spec and runtime pages
link pinned controls and selected results under
`experiments/skill-invocability`.

Validation: pinned native controls use isolated homes and synthetic
fixtures, without real accounts, paid calls or skill execution. Positive
and negative cases preserve native distinctions: Qwen normalizes true to
absent and Pi ignores false frontmatter. Six changed-runtime behavior
suites passed 110 cases with 10 capability skips; native parity controls
for Factory, Qwen, DSH, Devin and Pi RPC pass. Full `CI=1 pnpm run
check` passes on main 4786ccf with 4,893 tests and 19 mock cases.

Requested by Cindy in task #295.

Co-authored-by: Lookout <[email protected]>
Otter and others added 4 commits November 18, 2026 12:20
Resolve workspace ancestry and manifest containment, follow linked skill directories, and exercise the real Node module loader in the native comparison.

Co-authored-by: xxchan <[email protected]>
Omit the unverified swarm mount with a partial inventory and retain Windows cwd spelling while resolving containment boundaries.

Co-authored-by: xxchan <[email protected]>
Limit the file reader to verified Linux and macOS controls; preserve the unresolved Windows junction sample and verify its native fallback in CI.

Co-authored-by: xxchan <[email protected]>
@stamp-build
stamp-build Bot force-pushed the agent/otter/agy-file-skills branch from 52fed5d to 692d0fa Compare November 18, 2026 12:25
@stamp-build
stamp-build Bot merged commit ba8c211 into main Nov 18, 2026
22 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/agy-file-skills branch November 18, 2026 12:37
stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_5b73c32a32f8e58709a51697aa77c637"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup>

---
<!-- /stamp:review:v1 -->

Faster runtime probes and skill reads, and skills now say whether a person can run them directly. One new optional field, `SkillEntry.userInvocable`; nothing existing changes shape.

## `installation()` remembers an unchanged executable (#932), performance
Hosts call `installation()` constantly (Raft's Computer before every usage read, on every login-status round and before each inventory read). Each call used to start the CLI: 3.6 s for CodeBuddy and 1.7 s for Kimi on a real machine. OAR now reuses the previous result while the resolved executable keeps its identity (real path, inode, size, modification and change times) and the probe environment is the same. Upgrades by npm, uv, Homebrew and the vendor installers replace the file, so the next probe runs again; `install()` and `upgrade()` clear it. Version-manager shims (asdf, mise, Volta and similar), `not_found`, failed readiness and missing versions are never remembered. The remaining stale cases are in docs/spec/install.md.

## `SkillEntry.userInvocable` (#934, #939), feature
Optional boolean: whether a person can run the skill directly as a slash command. Absent means the runtime did not say; it never defaults to true.
- Claude: true when the skill is in Claude's native command list; false only for user, project and local settings skills it does not list. Claude skills also gain their native `path` and `description`, `view: "discovered"`, and `partial: true` when Claude reports it left skills out of context (#934).
- Grok, Factory, DSH, Devin, Pi (SDK and RPC): copied from each runtime's own metadata. Qwen reports only an explicit false (#939).
- Antigravity, Codex, Cursor, Kimi and OpenCode leave it absent for now. OpenCode's command join is tracked in #938.

## Antigravity: skills from local files on Linux and macOS (#937), performance
For agy 1.5.10 and 1.5.11 on Linux and macOS, `skills()` reads the skill files directly instead of running `agy --print=/skills` (about 2.4 s, network access, settings rewrites and global MCP servers started). It starts no process, needs no login, and is compared entry by entry with native `/skills` in CI on both versions. The built-in `native_swarm` skill is left out because native shows it only sometimes under identical settings, so these results are always `partial: true`. Windows and other versions keep the native query; on Windows, native discovery under a junction working directory differs and is not reproduced yet.

## OpenCode v1: large skill catalogs (#933), fix
OpenCode v1 can exit before a large `debug skill` pipe write drains, which made valid catalogs fail. OAR now captures v1 output through a private temporary file. Failed queries keep the exit status and a redacted first stderr line. Reported upstream as anomalyco/opencode#64635.

## Also
- Kimi: CI now tests 2.6.3. From 2.5.0, resuming with different MCP servers leaves the original tool names offered to the model; to change the server set, start a fresh session (docs/runtimes/kimi.md, #940, upstream MoonshotAI/kimi-code#5036).
- harbor, the long-run test host: per-agent environment, run deadline and disk cap (#931); `no_reply` only for messages from people (#941).
- Grok docs distinguish first-home extraction from warm starts (#936); candidate workflow fix (#935).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Cindy <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/ZXll.svg"
width="16" height="16" align="absmiddle" alt=""> <b>Lookout</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_e12a453d3f9660a023e255d1e9f06b0e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img
src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg"
width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp
→</a></sup>

---
<!-- /stamp:review:v1 -->

Antigravity's skill catalog establishes which entries have slash
commands, but OAR still leaves `userInvocable` absent. Report true for
listed entries on both the native query and verified file reader. Skills
disabled with `disable-slash-command: true` stay omitted; model-hidden
skills remain directly invocable. No query or process is added. The
Linux/macOS version boundary, Windows native fallback and partial file
inventory stay unchanged.

The inventory spec also corrects Claude's existing behavior:
descriptions require usable native strings; command-only skills have
scope without source/path; builtin commands cannot describe non-builtin
skills or create hidden entries; absent invocation metadata differs from
false; omitted context skills make the inventory partial.

Validation: isolated native 1.5.0 fallback controls and the pinned
1.5.11 Node-loader comparison pass. Six file-reader stages each match
three reads, with only the already excluded conditional `native_swarm`
mount omitted. Positive and hidden negative fixtures pass with zero
model requests. Antigravity behavior passes 18 cases with two capability
skips. Windows CI retains the native 1.5.11 path and now checks the
hidden negative fixture. Selected native/OAR fields and repeatable
controls are committed under `experiments/skill-invocability`.

Full `CI=1 pnpm run check` passes: 4919 tests and 19 mock cases.

Requested by Cindy in task #295; follows merged #939 and #937. No real
accounts or paid calls were used.

Co-authored-by: Lookout <[email protected]>
Co-authored-by: xxchan <[email protected]>
@stamp-build

stamp-build Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

New failure in post-merge full tests: workflow ci on branch main after PR 937 merged.

Newly failing:

  • acp-behavior (ubuntu-latest, kimi-aimock): sea-trial/vendor/mcp-tools-list-changed.vendor.test.ts > kimi-aimock tools/list_changed > a running session takes a change to the served tools as the runtime d…

Please fix. See logs: stamp run view 44305731774 --repo botiverse/oar --log-failed

@stamp-build stamp-build Bot mentioned this pull request Nov 18, 2026
stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_7e43caa6d1ec932c17f518bf38c12e18"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup>

---
<!-- /stamp:review:v1 -->

Faster runtime probes and skill reads, skills that say whether a person can run them directly, and a typed Qwen sign-in refusal. One new optional field, `SkillEntry.userInvocable`; nothing existing changes shape. (0.119.0 was not published: its release run timed out waiting for macOS CI, so this release carries its changes.)

## `installation()` remembers an unchanged executable (#932), performance
Hosts call `installation()` constantly (Raft's Computer before every usage read, on every login-status round and before each inventory read). Each call used to start the CLI: 3.6 s for CodeBuddy and 1.7 s for Kimi on a real machine. OAR now reuses the previous result while the resolved executable keeps its identity (real path, inode, size, modification and change times) and the probe environment is the same. Upgrades by npm, uv, Homebrew and the vendor installers replace the file, so the next probe runs again; `install()` and `upgrade()` clear it. Version-manager shims (asdf, mise, Volta and similar), `not_found`, failed readiness and missing versions are never remembered. The remaining stale cases are in docs/spec/install.md.

## `SkillEntry.userInvocable` (#934, #939), feature
Optional boolean: whether a person can run the skill directly as a slash command. Absent means the runtime did not say; it never defaults to true.
- Claude: true when the skill is in Claude's native command list; false only for user, project and local settings skills it does not list. Claude skills also gain their native `path` and `description`, `view: "discovered"`, and `partial: true` when Claude reports it left skills out of context (#934). The inventory spec now states these rules exactly, including command-only entries without `source` or `path` (#943).
- Grok, Factory, DSH, Devin, Pi (SDK and RPC): copied from each runtime's own metadata. Qwen reports only an explicit false (#939).
- Antigravity: true for every listed skill; both readers already drop `disable-slash-command: true` skills (#943).
- Codex, Cursor, Kimi and OpenCode leave it absent for now. OpenCode's command join is tracked in #938.

## Antigravity: skills from local files on Linux and macOS (#937), performance
For agy 1.5.10 and 1.5.11 on Linux and macOS, `skills()` reads the skill files directly instead of running `agy --print=/skills` (about 2.4 s, network access, settings rewrites and global MCP servers started). It starts no process, needs no login, and is compared entry by entry with native `/skills` in CI on both versions. The built-in `native_swarm` skill is left out because native shows it only sometimes under identical settings, so these results are always `partial: true`. Windows and other versions keep the native query; on Windows, native discovery under a junction working directory differs and is not reproduced yet.

## OpenCode v1: large skill catalogs (#933), fix
OpenCode v1 can exit before a large `debug skill` pipe write drains, which made valid catalogs fail. OAR now captures v1 output through a private temporary file. Failed queries keep the exit status and a redacted first stderr line. Reported upstream as anomalyco/opencode#64635.

## Qwen: signed-out model lists (#944), fix
When no Qwen authentication type is configured, `listModels()` now returns `{ kind: "unauthenticated" }` instead of rejecting with a generic exit. OAR matches only Qwen's exact zero-turn startup refusal, checked on 0.26.0, 0.27.4 and 0.28.0; changed wording stays an error until verified, and an empty configured catalog stays `ok`.

## OpenCode: builtin skill scope only on verified versions (#945), fix
`skill://opencode/SKILL.md` and `skill://report/SKILL.md` get `scope: "builtin"` only on 2.2.7 and 2.3.0. Other versions, including 2.3.2, keep these skills with unknown scope until verified. Docs now state that v1's `<built-in>` marker becomes `source: "builtin"` with no `path`, and that v2 model lists are bare IDs.

## Also
- Kimi: CI now tests 2.6.3. From 2.5.0, resuming with different MCP servers leaves the original tool names offered to the model; to change the server set, start a fresh session (docs/runtimes/kimi.md, #940, upstream MoonshotAI/kimi-code#5036).
- Kimi docs: account-usage failure boundaries stated exactly (#947).
- harbor, the long-run test host: per-agent environment, run deadline and disk cap (#931); `no_reply` only for messages from people and not after a failed turn (#941, #946).
- Grok docs distinguish first-home extraction from warm starts (#936); candidate workflow fix (#935).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Cindy <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
…ms (#952)

<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/ZXll.svg"
width="16" height="16" align="absmiddle" alt=""> <b>Lookout</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_23666b87e1b2b3438a92da656f0a9b0a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img
src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg"
width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp
→</a></sup>

---
<!-- /stamp:review:v1 -->

The Antigravity behavior gate still uses 1.5.0, so it does not establish
readiness for the 1.5.10/1.5.11 Windows migration requested by Cindy.
This change adds six evidence jobs with exact native archives, full
behavior/vendor suites, native auth/usage observations, Windows
paths/junctions/CMD controls, PID/start-identity cleanup and fresh #871
MCP startup samples. Every lane retains failures and later stages
continue after an earlier failure. Accepted pins and product behavior
remain unchanged.

The first six-lane run, 44339897539, passed all 18 applicable behavior
cases and all extra MCP controls per lane. Both Windows vendor suites
passed 15 cases, and the explicit 1.5.11 native skill fallback passed.
Direct/junction or symlink turns and observed cleanup passed everywhere.
Original results are committed in
`experiments/antigravity-readiness/first-run-summary.json`.

That run exposed two control defects. The old skills vendor assertion
demanded a complete catalog even on #937's documented partial
file-reader path; it now requires partial=true and compares all native
rows except the exact unverified builtin native_swarm mount, preserving
complete Windows comparison. The custom Windows UTF-8 literal CMD
fixture exited before session startup without captured stderr. The probe
now retains that literal fixture's stderr/code page and requires the
copied native executable plus a portable ASCII `%~dp0` launcher to work
under the same Unicode path. Corrected six-lane results remain pending.

Synthetic Gemini API keys cannot establish Google quota or OAuth. The
native quota refusals/empty groups and OAR errors are observations, not
passes. Real signed-in Windows account behavior and production
reliability remain gaps. No real accounts or paid model calls are used.
Passing MCP samples do not prove #871 fixed.

Validation: `CI=1 pnpm run check` passes 4,937 unit tests and 19 mock
behavior cases; actionlint passes. The corrected native skills controls
pass 2 tests at each requested version on Linux. The report will propose
a baseline change only when the completed platform evidence supports it.

---------

Co-authored-by: Lookout <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants