fix: inspect outputs by run kind - #182
Open
danielgaskins wants to merge 1 commit into
Open
danielgaskins wants to merge 1 commit into
danielgaskins wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Use Case / Run Evidence
Fixes #179.
The inspector still expected a retired manifest and treated bindings as the output location for every run. Current mounted responsibility runs instead publish through
world-model/and record commits inreceipts/.This could cause a structurally valid mounted run to be rejected before its outputs were inspected.
Design Boundary
This change updates the standard inspector contract and its focused conformance coverage. It does not change VM semantics, filesystem layout, compilation, or host behavior.
Examples
For a mounted responsibility, the inspector now resolves nodes from
compiled-intent.json, reads published outputs fromworld-model/, and checks them against the receipt ledger.For a standalone function, the inspector reads declared
### Returnsoutputs frombindings/without requiring mounted-only artifacts.Testing
corepack pnpm exec vitest run tests/open-prose/evals/inspector.test.ts --maxWorkers=1corepack pnpm test -- --maxWorkers=1The focused suite passed 6 tests. The full suite passed 307 tests across 20 files.
Residual Risk / Follow-ups
The tests verify that the inspector contract follows the documented artifact rules. They do not execute an inspection through a live Prose Complete host.
Issue #180 covers the analogous contract-grader behavior and remains separate.