Repository navigation
feat(cli): expose runtime JSONL observations and minimal device defaults - #265
Draft
jamesboyzj-design wants to merge 4 commits into
Draft
jamesboyzj-design wants to merge 4 commits into
jamesboyzj-design wants to merge 4 commits into
Conversation
Set leaf Authority Key Identifier and CA keyCertSign/cRLSign usages. Add a real local HTTPS probe with Python strict verification and synthetic credential injection; do not weaken client verification.
Add protected opt-in JSONL observations and COW change records without claiming kernel outcome coverage. Add validated standard character-device grants, explicit CLI opt-out and library opt-in. Cover spoofed output, timeout, path isolation, invalid encoding and real Git operation.
…-devices # Conflicts: # crates/sandlock-core/src/transparent_proxy/tls.rs
Contributor
Author
|
Synced this branch with current The remaining diff is the CLI runtime JSONL observation feature, minimal standard-device defaults, and their tests/docs. The synchronized head is |
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.
Scope
Draft for review of the CLI runtime JSONL observation contract and minimal device defaults. This branch is synchronized with current
main. The certificate fix from #264 and its strict X509 regression coverage are already inmain; this PR contains only the remaining CLI/runtime feature changes. It contains no Agent Workbench wrapper, product data or dependency bump.Changes
run --events-jsonl PATH: private, exclusive, versioned JSONL file, kept separate from child output and outside sandbox writable/mounted trees.policy_fnobservations andRunResult.changes. Never label a non-denied supervisor observation as kernel success, or a COW change set as a commit receipt. Omit argv, environment, file content and credentials.--no-default-devicesopts out; library callers explicitly opt in via.standard_devices()?without changing the library's default policy.Validation
Before synchronizing with current
main, the Linux ARM64 run reported 113 CLI tests passed and 842 core unit tests passed with two known root-environment COW failures (rename_staging_failure_fails_rename_and_rolls_backandwrite_open_in_unreadable_dir_virtualizes). The old CLI strict TLS test was included in that historical CLI count; it has since been removed because #264 moved this regression coverage intosandlock-core. These figures do not describe validation of the current synchronized head.CI for the synchronized head is running: https://github.com/multikernel/sandlock/actions/runs/37090872119
Boundaries
policy_fnobservations are not final kernel return values and may incur tracking/freezing overhead.supervisor_deniedreflects an errno action, not proof that every such error is a security denial. The core does not expose that final errno through this callback. SIGKILL or host failure can leave an incomplete stream; there is no exactly-once replay or cryptographic sealing. No x86_64 VM or workload-capacity benchmark was run in the earlier validation.