Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .beads/issues.jsonl
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{"_type":"issue","id":"killall-agent-e0a.3","title":"Do not validate unselected Pi provider entries","description":"Claude review identified and local binary reproduction confirmed a regression: Config providers BTreeMap\u003cString, ProviderConfig\u003e eagerly requires all fields on every provider. A valid strata entry next to anthropic:{baseUrl:...} fails Invalid Pi provider configuration / missing apiKey before selection. Installed Pi docs/models.md explicitly permits baseUrl-only overrides for built-in providers. Parse/validate only the selected provider, and add a regression test with an unrelated partial provider. Review output: /tmp/killall-agent-claude-review.txt.","status":"closed","priority":1,"issue_type":"bug","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:53:29Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:59:08Z","started_at":"2026-12-03T00:57:41Z","closed_at":"2026-12-03T00:59:08Z","close_reason":"Provider entries remain raw JSON until selected; only selected entry is deserialized with provider-specific context. Regression test failed for missing apiKey before fix and now passes; selected incomplete provider still reports concrete serde_json error. Full suite: 40 tests.","dependencies":[{"issue_id":"killall-agent-e0a.3","depends_on_id":"killall-agent-e0a","type":"parent-child","created_at":"2026-12-03T00:53:29Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-e0a.4","title":"Trigger CI for sandbox YAML definition changes","description":"Claude review confirmed .github/workflows/ci.yml pull_request and push path filters omit sandbox/**, while src/definition.rs uses include_str! on sandbox/example-def.yaml and sandbox/default.yaml. YAML-only changes can break compilation/tests or the default agent without triggering CI. Add sandbox/** to both filters.","status":"in_progress","priority":2,"issue_type":"bug","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:53:30Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:57:42Z","started_at":"2026-12-03T00:57:42Z","lease_expires_at":"2026-12-03T01:02:42Z","heartbeat_at":"2026-12-03T00:57:42Z","dependencies":[{"issue_id":"killall-agent-e0a.4","depends_on_id":"killall-agent-e0a","type":"parent-child","created_at":"2026-12-03T00:53:30Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-e0a.2","title":"Review YAML agent loader with Claude","description":"User requested claude -p review of the first YAML loader slice. Obtain read-only review, independently verify impactful findings, and report results without changing implementation.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:52:16Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:53:31Z","started_at":"2026-12-03T00:52:27Z","closed_at":"2026-12-03T00:53:31Z","close_reason":"Ran claude -p read-only review and independently verified both findings: reproduced unrelated partial provider failure with isolated HOME and confirmed Pi docs support baseUrl-only overrides; inspected CI filters and fixture includes. Findings tracked as follow-up bugs; no implementation edits.","dependencies":[{"issue_id":"killall-agent-e0a.2","depends_on_id":"killall-agent-e0a","type":"parent-child","created_at":"2026-12-03T00:52:16Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-e0a.1","title":"Parse YAML agent definitions and require --agent at startup","description":"First implementation slice: typed YAML definition loader, required --agent, optional --model override, generic provider/model selection from Pi providers JSON, sandbox/default.yaml. Parse tool and skill lists without resolving them; defer tool selection, instructions and skill loading. Relative agentfile paths are based on definition directory. Verify parser, CLI, model resolution and startup failure paths with offline tests.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:37:10Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:40:33Z","started_at":"2026-12-03T00:37:22Z","closed_at":"2026-12-03T00:40:33Z","close_reason":"Implemented typed YAML parsing, required --agent, --model precedence, JSON-key provider/model resolution, default YAML and task run wiring. Tools/skills/instructions parsed only. Verified 37 tests, fmt, clippy -D warnings, diff check; no live provider calls.","dependencies":[{"issue_id":"killall-agent-e0a.1","depends_on_id":"killall-agent-e0a","type":"parent-child","created_at":"2026-12-03T00:37:10Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-e0a","title":"Load agent definitions from YAML via --agent","description":"Design and implement agent definitions using sandbox/example-def.yaml. Proposed components: typed YAML definition parsing and validation; CLI --agent path and precedence; model resolution through existing model-loader work (killall-agent-y5r); selection of available tools; agentfile instruction loading; skill source resolution; final runtime assembly. Keep definition parsing separate from provider credentials and side-effectful resource resolution. Decisions needed before implementation: CLI override behavior, relative-path base, ALL and tool-name semantics, supported skill sources, and required/defaulted fields. Baseline inspected: src/cli.rs, src/config.rs, src/models.rs, src/tools.rs, src/main.rs. cargo test --locked passes 21 tests. No implementation started.","design":"Confirmed: --agent required; explicit CLI arguments override YAML; future YAML keys should have CLI counterparts; relative resources resolve from definition directory, workspace stays unchanged. ALL means all registered tools but tool resolution is deferred. Parse skills only, no fetching. Model provider is a key in Pi providers JSON; selection splits at the first slash.","notes":"First slice complete in killall-agent-e0a.1. src/definition.rs parses names, model selections, tool/skill lists and optional agentfile, with agentfile relative to definition directory. Required name/model; optional lists empty by default. --agent required; --model overrides YAML. sandbox/default.yaml selects strata/qwen3.8. Runtime tool selection, instruction loading, skills and additional CLI counterparts remain future slices. 37 tests passing, fmt/clippy/diff checks clean.","status":"open","priority":2,"issue_type":"feature","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:33:17Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:40:34Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-0ds","title":"Merge config/models and hall-monitor work onto main","description":"Restore outstanding hall-monitor branch work into PR #4, include all current work, validate shell and Rust tests, wait for CI, merge, and fast-forward local main to origin/main.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:24:34Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:28:50Z","started_at":"2026-12-03T00:24:40Z","closed_at":"2026-12-03T00:28:50Z","close_reason":"Merged PR #4 (config/models refactor, sandbox example, Beads export, and all hall-monitor script/tests) after all six hosted checks passed. Closed superseded PR #2 and fast-forwarded local main to origin/main. All 21 Rust tests and 11 hall-monitor checks, ShellCheck, actionlint, formatting, Clippy, and build passed locally.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-9rk","title":"Open PR for config and models separation","description":"Create a feature branch containing all working-tree changes, including the Beads export and sandbox agent-definition example. Rerun checks, confirm latest remote main, push, and open a pull request.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:22:39Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:23:25Z","started_at":"2026-12-03T00:22:47Z","closed_at":"2026-12-03T00:23:25Z","close_reason":"Created and pushed refactor/config-and-models with all working-tree changes, opened PR #4: https://github.com/killallgit/killall-agent/pull/4. All 21 tests, formatting, Clippy, build and CLI smoke checks pass; verified latest origin/main is an ancestor before push.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-y5r","title":"Build out the model loader","description":"Follow up on the config/models separation: design and implement model loading beyond the existing Strata qwen3.8 path behind the common models interface. Confirm supported providers, selection behavior, and configuration requirements before expanding scope; keep this separate from the behavior-preserving module extraction.","status":"open","priority":2,"issue_type":"task","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:17:41Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:17:41Z","dependencies":[{"issue_id":"killall-agent-y5r","depends_on_id":"killall-agent-985","type":"blocks","created_at":"2026-12-03T00:19:07Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-y5r","title":"Build out the model loader","description":"Follow up on the config/models separation: design and implement model loading beyond the existing Strata qwen3.8 path behind the common models interface. Confirm supported providers, selection behavior, and configuration requirements before expanding scope; keep this separate from the behavior-preserving module extraction.","notes":"First slice implemented under killall-agent-e0a.1: model selection now splits provider/model at the first slash, provider comes from the Pi providers JSON key, and the model ID is checked against that provider. Construction still supports only openai-completions. Broader provider/API design remains open.","status":"open","priority":2,"issue_type":"task","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:17:41Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:40:32Z","dependencies":[{"issue_id":"killall-agent-y5r","depends_on_id":"killall-agent-985","type":"blocks","created_at":"2026-12-03T00:19:07Z","created_by":"archae0pteryx","metadata":"{}"}],"dependency_count":1,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-985","title":"Separate model construction from Pi configuration","description":"Extract config and models modules from strata.rs and main.rs while preserving the Pi models.json source and the single supported CLI model. Verify with focused tests, the full test suite, formatting and clippy.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-03T00:17:16Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:19:09Z","started_at":"2026-12-03T00:17:21Z","closed_at":"2026-12-03T00:19:09Z","close_reason":"Extracted Pi config and credential handling into config, moved selection and model construction into models with a provider-neutral DynModel\u003cCompletion\u003e result, and simplified main. All 21 tests, formatting, clippy with warnings denied, build, and CLI help/version smoke checks pass. Model-loader expansion tracked separately in killall-agent-y5r.","dependency_count":0,"dependent_count":1,"comment_count":0}
{"_type":"issue","id":"killall-agent-i14","title":"Open and merge read-only tool loading PR","description":"Review and validate tool loading and integration tests, push a feature branch, open a PR, wait for hosted checks, address blockers and merge once green.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-02T23:54:47Z","created_by":"archae0pteryx","updated_at":"2026-12-03T00:04:27Z","started_at":"2026-12-02T23:55:04Z","closed_at":"2026-12-03T00:04:27Z","close_reason":"Merged PR #3 after all seven hosted checks passed and no review findings. Hall-monitor graded all seven selected files A; all 18 local tests, formatting, clippy, build, CLI smoke test, actionlint and diff checks passed. Added tests/** CI path filters.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"killall-agent-1kq","title":"Add agent integration tests for read list and search","description":"Exercise each loaded tool through the Rig agent loop with a scripted model and real temporary workspace, keeping integration tests separate from unit tests and avoiding network calls.","status":"closed","priority":2,"issue_type":"task","assignee":"archae0pteryx","owner":"github@pocketcereal.com","created_at":"2026-12-02T23:23:35Z","created_by":"archae0pteryx","updated_at":"2026-12-02T23:25:55Z","started_at":"2026-12-02T23:24:19Z","closed_at":"2026-12-02T23:25:55Z","close_reason":"Added tests/tools.rs with one full agent-loop test each for read/list/search, asserting advertised tools, call identity, successful results and actual workspace content in the next model request. Exposed the existing tools module through src/lib.rs and replaced redundant direct-dispatch tests. All 18 tests, clippy, formatting and diff checks pass; no network or credentials required.","dependency_count":0,"dependent_count":0,"comment_count":0}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
pull_request:
paths:
- 'sandbox/**'
- 'src/**'
- 'tests/**'
- Cargo.toml
Expand All @@ -11,6 +12,7 @@ on:
push:
branches: [main]
paths:
- 'sandbox/**'
- 'src/**'
- 'tests/**'
- Cargo.toml
Expand Down
26 changes: 26 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ rig-tools = "0.47.2"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
tokio = { version = "1.54.1", features = ["macros", "rt-multi-thread"] }
yaml_serde = "0.10.7"

[dev-dependencies]
rig-core = { version = "0.47.2", default-features = false, features = ["test-utils"] }
Expand Down
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ tasks:
- task --list-all
silent: true
run:
desc: Send a prompt to Strata
cmd: cargo run
desc: Run the default agent
cmd: cargo run -- --agent sandbox/default.yaml {{.CLI_ARGS}}
pi:
desc: Dumb pi agent
cmd: ./scripts/pi.sh
2 changes: 2 additions & 0 deletions sandbox/default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name: default
model: strata/qwen3.8
Loading
Loading