Skip to content
Draft
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
1 change: 1 addition & 0 deletions docs/dream-cycle/LEDGER.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
| 2026-11-12 | plan-contract | MAX_PLAN_INPUTS=16384 and MAX_PLAN_EXPECTATIONS=4096 now bound plan validate() | NONE | https://github.com/DreamLab-AI/visioncraft/pull/4 | yes | ACCEPT | | 3061c50121ab | | | |
| 2026-11-13 | evidence-and-gates | validate() rejects failed-to-start/unavailable receipts claiming exit/signal | NONE | https://github.com/DreamLab-AI/visioncraft/pull/5 | yes | ACCEPT | | 77fdaad607b5 | | | |
| 2026-11-14 | process-execution | stderr-only overflow is CaptureFailed, retains <=1KiB, error names the limit | NONE | https://github.com/DreamLab-AI/visioncraft/pull/6 | yes | ACCEPT | | 10d03540be5a | | | |
| 2026-11-15 | cli-and-snapshots | validate() refuses capture-failed receipts that claim capture_complete | NONE | https://github.com/DreamLab-AI/visioncraft/pull/7 | yes | ACCEPT | | 2950cf6b70ca | | | |
18 changes: 18 additions & 0 deletions tests/deepsec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,3 +427,21 @@ fn dry_run_is_read_only_and_carries_names_not_credentials() {
assert_eq!(out.status.code(), Some(78));
assert!(!f.root.join(".deepsec-gate").exists());
}

#[test]
fn unsupported_authentication_routes_are_refused_before_review() {
for policy in [
json!({"model_auth":"local","agent":"gemini","max_duration":"10s"}),
json!({"model_auth":"direct","ai_provider":"gemini","ai_api_key_env":"FIXTURE_CREDENTIAL","max_duration":"10s"}),
json!({"model_auth":"custom","agent":"pi","ai_api_key_env":"FIXTURE_CREDENTIAL","max_duration":"10s"}),
] {
let f = Fixture::new("pass");
let out = f.run(&["--files-from", f.list.to_str().unwrap()], policy);
assert_eq!(
out.status.code(),
Some(78),
"{}",
String::from_utf8_lossy(&out.stderr)
);
}
}
Loading