Skip to content

Ship the phantom skill and widen omp tool output in bezel-omp - #36

Merged
VirtualMachinist merged 3 commits into
mainfrom
feat/w15-phantom
Nov 16, 2026
Merged

VirtualMachinist merged 3 commits into
mainfrom
feat/w15-phantom

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Member

Ships the Phantom code-graph skill with Bezel, and stops bezel-omp cutting long tool-output lines.

What changes

  • The phantom skill. .agents/skills/phantom/{SKILL.md,phantom.nu} is byte-identical to the canonical copy in Phantom's main. scripts/sync-skills writes the regular-file copies for .claude, .cursor and .grok.
  • Checks.
    • check-skill-copies.sh covers phantom.
    • check-skill-cli.sh runs phantom.nu against a fake phantom-fractal that records argv, checks that index is refused without a human request, and checks that the files hold no private path.
  • The omp output overlay.
    • packages/omp-overlay.yml sets one thing, tools.outputMaxColumns: 8192. omp cuts each tool-output line at 768 bytes by default, so one-line JSON skill replies used to arrive truncated.
    • bezel-omp passes it as --config=<overlay> ahead of the caller's arguments, so a caller's own --config still wins. BEZEL_OMP_OVERLAY=0 turns it off.
    • scripts/check-omp-overlay.sh checks both cases against a fake omp.
  • Docs. The README skills table gains phantom, and the Packages and Names sections describe the overlay and BEZEL_OMP_OVERLAY. The CHANGELOG gets an Unreleased entry.

Untouched: bezel-bridle, the Jev router, the nixpkgs pin and the flake inputs. No tag.

Checks run: nix flake check; nix flake check --all-systems --no-build; nix build .#bezel .#jev-router .#cursor-agent-jev .#grok-build-jev; and the three check scripts.

🤖 Generated with Claude Code

VirtualMachinist and others added 3 commits November 15, 2026 16:40
.agents/skills/phantom holds SKILL.md and phantom.nu exactly as Phantom
main has them at 946f39d. scripts/sync-skills wrote the regular-file
copies under .claude, .grok and .cursor.

check-skill-copies.sh requires both phantom files in every tree.
check-skill-cli.sh runs phantom.nu against a fake phantom-fractal that
records argv: help runs nothing, flags may come before the command, every
value is its own argv element, the CLI's not_found and ambiguous fields
are copied, usage errors run nothing, no read sends index and index takes
one path only, the override is used, and a missing binary is exit 127.
Phantom keeps its own envelope, which the check reads key by key and
SKILL.md documents. The skills README gains the phantom row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
omp cuts each tool-output line at 768 bytes, so a one-line JSON skill reply
arrives cut off. bezel-omp now passes --config=<overlay> ahead of the
caller's arguments. The overlay sets tools.outputMaxColumns to 8192 and
nothing else. BEZEL_OMP_OVERLAY=0 passes no overlay, and a caller's own
--config still comes later. check-omp-overlay.sh runs the wrapper against a
fake omp that records its argv and covers the default, the opt-out and the
order.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The README Skills section gains a table of the shipped tool skills,
phantom among them: the code graph through nu phantom.nu over
phantom-fractal on PATH or PHANTOM_FRACTAL_BIN, a byte copy of Phantom
main that keeps its own envelope. The Packages and Names sections
describe the omp overlay, share/bezel/omp-overlay.yml with
tools.outputMaxColumns 8192 only, which bezel-omp passes as --config
unless BEZEL_OMP_OVERLAY=0. CHANGELOG gains an Unreleased entry; no tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@VirtualMachinist
VirtualMachinist merged commit 6fb3c0f into main Nov 16, 2026
4 checks passed
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.

1 participant