Skip to content

Fix SKILL.md YAML parsing and extension services path#27

Merged
pranavpatilsce merged 1 commit intomainfrom
fix/skill-yaml-and-extension-path
Apr 6, 2026
Merged

Fix SKILL.md YAML parsing and extension services path#27
pranavpatilsce merged 1 commit intomainfrom
fix/skill-yaml-and-extension-path

Conversation

@pranavpatilsce
Copy link
Copy Markdown
Contributor

Summary

Fixes two issues that break agent startup on provisioned VMs.

What changed

1. SKILL.md YAML parsing error

The code-delivery skill description contained an unquoted colon:

description: Use when doing code work that must be integration-friendly: branches, commits...

The YAML parser interprets : branches as a nested mapping key, which fails with "Nested mappings are not allowed in compact mappings." Fixed by quoting the value.

2. Extension services directory resolution

src/extension.ts resolved the services directory fallback as ./services (relative to process.cwd()). On provisioned VMs, /opt/reef is a symlink to /opt/src/reef, and depending on how bun resolves cwd through that symlink, the path can land at /opt/src/services instead of /opt/src/reef/services.

Fixed by resolving relative to the extension file's own location (import.meta.dir) instead of cwd. When SERVICES_DIR is set (the normal runtime path), the behavior is unchanged.

Quote the code-delivery SKILL.md description to prevent YAML parser
from interpreting the colon as a nested mapping. Resolve the services
directory relative to the extension file location instead of cwd so
it works correctly through symlinks on provisioned VMs.
@pranavpatilsce pranavpatilsce merged commit 1f12a19 into main Apr 6, 2026
1 check 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