Skip to content
Closed
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
4 changes: 4 additions & 0 deletions examples/land/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,7 @@ npm ci --prefix ../../packages/surface --ignore-scripts && npm run --prefix ../.
npm ci && npm test && npm run typecheck
flows check land.flow.ts
```

Hosted auto stages A–D use read-only repository grants. The `gh` authentication
and push-capability preflight runs at E/F, where Cloud supplies the write grant;
a denied write grant stops that stage before the GitHub gate or final push.
34 changes: 34 additions & 0 deletions examples/land/evidence/staged-write-preflight/baseline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
TAP version 13
# Subtest: hosted auto allows read-only A-D and proves write access only at E/F
not ok 1 - hosted auto allows read-only A-D and proves write access only at E/F
---
duration_ms: 1.782291
type: 'test'
location: '/Volumes/T7/Projects/AgentWorkforce/worktrees/flows/flows-land-mode-contract-20261103/examples/land/tests/flow.test.ts:761:1'
failureType: 'testCodeFailure'
error: |-
read-only A-adversarial must advance
+ actual - expected

+ 'needs_human'
- 'success'

code: 'ERR_ASSERTION'
name: 'AssertionError'
expected: 'success'
actual: 'needs_human'
operator: 'strictEqual'
stack: |-
TestContext.<anonymous> (file:///Volumes/T7/Projects/AgentWorkforce/worktrees/flows/flows-land-mode-contract-20261103/examples/land/tests/flow.test.ts:769:12)
async Test.run (node:internal/test_runner/test:1054:7)
async startSubtestAfterBootstrap (node:internal/test_runner/harness:296:3)
...
1..1
# tests 1
# suites 0
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 75.223917
Loading
Loading