Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6d3460c
Record the decisions on file operations and tool state
vinniefalco Nov 15, 2026
b61a7e8
Add the plan for tool file operations as effects
vinniefalco Nov 18, 2026
ef6b340
Move `VfsOp` to `runvil-vfs` as one list of operations
vinniefalco Nov 18, 2026
2116c85
Issue a tool's file request as a `Vfs` effect
vinniefalco Nov 18, 2026
2d61139
Let a Pack ask for files through `ToolContext::files`
vinniefalco Nov 18, 2026
48ec63d
Run each call that changes files alone and in order
vinniefalco Nov 18, 2026
9959817
Check claims in a store only, not on the Host's files
vinniefalco Nov 18, 2026
a4b8cd5
Move the loader and the test Plugin to contract 0.5
vinniefalco Nov 18, 2026
8cf2f43
Remove the access from `ToolCall` and `ToolContext`
vinniefalco Nov 18, 2026
0332624
Close the enums `VfsAsker`, `VfsOp`, and `VfsOutcome`
vinniefalco Nov 18, 2026
9ffccb5
Say what the `std` and `bash` Packs do, and record the build
vinniefalco Nov 18, 2026
5501f51
Give the executor a turn after every 32 file requests
vinniefalco Nov 18, 2026
5f824d3
Perform a request of `TestCall` at its first poll
vinniefalco Nov 18, 2026
24552c7
Make the docs and the pages state what the code does
vinniefalco Nov 18, 2026
e646296
Record the smoke test and the review of the work
vinniefalco Nov 18, 2026
50a7813
Ask the policy about the read and write of a copy or rename
vinniefalco Nov 18, 2026
5cf7ec0
Read a line bound too large for `usize` as past the end
vinniefalco Nov 18, 2026
8f43d1f
Correct the docs on the turn, replay, and file requests
vinniefalco Nov 18, 2026
b7267d8
Record the second round of the review
vinniefalco Nov 18, 2026
3ee3b86
Ask the policy about the read of a text replacement
vinniefalco Nov 18, 2026
dbe11fa
State the limits of the turn, the sink, links, and replay
vinniefalco Nov 18, 2026
9b0668b
Record the third round of the review
vinniefalco Nov 18, 2026
4afed45
Correct three statements of the docs and one test helper
vinniefalco Nov 18, 2026
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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Multi-crate Rust workspace for the Engine, the Harness that runs it, and the Rus

Seven terms have exactly one meaning each, everywhere in this repository: code comments, docs, rulebooks, and plans. Write them capitalized.

- **Engine**: the `runvil-*` crates. The Engine parses a prompt and steps a run. Whenever a run needs a model reply, a Pack's render of the tools a section offers it, a Pack tool's result, a timer, or a store operation, the Engine emits an effect and waits for its caller to answer it. In production the caller is the Harness.
- **Engine**: the `runvil-*` crates. The Engine parses a prompt and steps a run. Whenever a run needs a model reply, a Pack's render of the tools a section offers it, a Pack tool's result, a timer, or a file operation, the Engine emits an effect and waits for its caller to answer it. In production the caller is the Harness.
- **Harness**: the `runvil` crate, which is the one crate a Host depends on, and the `harness-*` crates. The Harness steps the Engine, performs every effect, returns each answer, and records every run through the recorder the Host supplies. Production code runs prompts only through the Harness.
- **Host**: an application that runs prompts through the Harness, such as Workshop or Papergate. The Host makes every policy decision. It may also use the Engine's parser and types to read prompts and show events.
- **Pack**: code which installs an optional native prelude, an optional Lua prelude, and zero or more tools.
Expand Down
5 changes: 3 additions & 2 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ bytes = "1"
runvil-engine = { path = "crates/runvil-engine" }
runvil-runtime = { path = "crates/runvil-internal/runtime" }
runvil-plugin = { path = "crates/runvil-plugin" }
# The C Plugin contract, version 0.4, from its own repository, pinned by
# The C Plugin contract, version 0.5, from its own repository, pinned by
# commit. `version` beside `git` keeps cargo-deny's wildcard check quiet.
# The crate sets `links`, so Cargo refuses two commits of the contract in
# one build: a Host that also names `runvil-plugin-sdk`, or a Plugin built
# on it, pins this same commit.
runvil-plugin-sys = { version = "0.4.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "03a9fa37d2fe690d42ee0aa5c7a8289173e8e0f2" }
runvil-plugin-sys = { version = "0.5.0", git = "https://github.com/cppalliance/runvil-plugin-api", rev = "52a4905aca0a9c945a93dc4ee7ea815db85612e4" }
runvil-types = { path = "crates/runvil-internal/types" }
runvil = { path = "crates/runvil" }
harness-runner = { path = "crates/harness-internal/runner" }
Expand Down
2 changes: 1 addition & 1 deletion crates/build-xtask/src/facade_shape-tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ fn a_re_export_rooted_outside_the_facade_dependencies_is_rejected() {
),
("pub use std::sync::Arc;", 1),
("pub use ::serde::Serialize;", 1),
("pub use runvil_lua::VfsOp;", 1),
("pub use runvil_lua::RosterEntry;", 1),
] {
assert_one(text, line, RULE);
}
Expand Down
2 changes: 1 addition & 1 deletion crates/harness-internal/plugin-loader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ libloading.workspace = true
# The Pack registry the inserts take, `PackId`, which validates a Plugin's
# name, and the universal error a failed load is.
runvil-plugin.workspace = true
# The C contract every entry point follows, version 0.4, as Rust types.
# The C contract every entry point follows, version 0.5, as Rust types.
runvil-plugin-sys.workspace = true
# A tool's parameters arrive as JSON text and its arguments leave as JSON
# text, because the C contract carries no JSON type.
Expand Down
Loading
Loading