Fix SKILL.md YAML parsing and extension services path#27
Merged
pranavpatilsce merged 1 commit intomainfrom Apr 6, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two issues that break agent startup on provisioned VMs.
What changed
1. SKILL.md YAML parsing error
The
code-deliveryskill description contained an unquoted colon:The YAML parser interprets
: branchesas 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.tsresolved the services directory fallback as./services(relative toprocess.cwd()). On provisioned VMs,/opt/reefis a symlink to/opt/src/reef, and depending on how bun resolves cwd through that symlink, the path can land at/opt/src/servicesinstead of/opt/src/reef/services.Fixed by resolving relative to the extension file's own location (
import.meta.dir) instead of cwd. WhenSERVICES_DIRis set (the normal runtime path), the behavior is unchanged.