Repository navigation
Conversation
A job file may name an input as a sha256 digest of a prior output. The local source resolves it from --inputs-from directories, and staging refuses a staged copy that does not match. Receipts already cross-reference by digest; the schema is unchanged. Closes #126
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.
Closes #126
A job may declare an input as a
sha256:digest of another job's output,alongside the existing relative paths. The local source resolves that digest
from
--inputs-fromdirectories by reading each priorreceipt.json. Stagingre-hashes the copy and refuses a mismatch, so a tampered upstream file does
not run. Two receipts chain by digest equality; the receipt schema is
unchanged. Kako still runs one job at a time.
Breaking
kako_core::Inputgains a publicdigestfield. Struct literals that omit itdo not compile.
Lane
feat/126.worktrees/issue-126503aed94130bffd5bb6add8a033938c3ae5b0a301449907ae27f9cab065cc1e1e02bddeeb4e6df3aVerification
cargo fmt --all -- --checkcargo build --locked --workspace --all-targetscargo clippy --locked --workspace --all-targets -- -D warningscargo clippy --locked -p kako-source-sekai --features sekai-client --all-targets -- -D warningscargo test --locked --workspacecargo test --locked -p kako-source-sekai --features sekai-clientbash scripts/validate-workflow-skills.shpython3 scripts/adr-index --checkFocused coverage: digest parse, staging mismatch, local digest lookup from a
prior receipt, tampered file refused at staging, parent output names refused,
CLI chain on linux_native (skipped on this host; CI Linux runs it). Isolation
fail-closed tests unchanged. Live isolated-process proof stays the ignored
sekai_livetests.Autoreview
$AUTOREVIEW --mode local --engine grok --model grok-4.6 --thinking xhighClean: no accepted/actionable findings.
Compatibility
receipt_version6).--inputs-fromis new onrun,validate,preview, andserve.JobSourcetrait is unchanged; sources resolve digest inputs when theyyield the job.
digest: None).