Repository navigation
feat: load agent tools, instructions, and skills at runtime - #7
Merged
Merged
Conversation
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
killall-agent-e0a: name, model, tools, agentfile, and skills now affect the running agent, with CLI counterparts for each YAML field.skills/layouts), reject malformed metadata/duplicate names, and include full SKILL.md text after the agentfile.github://owner/repo[/path]using shallow HTTPS Git clones in disposable directories. Disable Git hooks/global configuration and submodule initialization; clear inherited repository-local Git state, and reject unsafe source paths and fetched symlink escapes.Etctool.Closes
killall-agent-e0a.Refs:
killall-agent-e0a.5,killall-agent-e0a.6,killall-agent-e0a.7,killall-agent-e0a.8,killall-agent-e0a.9,killall-agent-svs.Evidence
After:
cargo test --locked --all-targets— 76 passed, 1 ignored (optional network check).cargo test --locked --test agent_runtime github_skill_instructions -- --ignored— 1 passed, fetching a public GitHub skill and capturing its instructions in a request to a local mock model. No live model API was called.GIT_INDEX_FILEcould overwrite caller staging and inherited askpass helpers could execute or block on authentication failure. Independently reproduced both in isolated fixtures, cleared repository-local Git state and askpass overrides, and added child-process regressions proving staging is unchanged and HTTP 401 responses never invoke inherited helpers.cargo fmt --all --check,cargo clippy --locked --all-targets -- -D warnings,cargo build --locked, CLI help smoke, andgit diff --checkpassed locally.Merge Danger
Door: two-way
No data migration or release is performed. Reverting restores the previous fixed tools/preamble behavior.
Blast Radius: runtime
Configured agentfiles/skills now become system instructions, and GitHub sources cause network access at startup. Only use trusted sources. GitHub support uses the default branch with no cache, ref selection, or private authentication. Companion assets/references are not loaded and do not expand workspace access. Empty tools still means all three read-only tools; there is no no-tools mode in this slice.
Pre-existing local AGENTS.md and Beads-export edits are excluded.