Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

Commit d0bbfba

Browse files
authored
Merge pull request #24 from block/codex/surface-contract-fragments
[codex] Add surface contract fragments and safe artifact compiler
2 parents 53dae34 + 3ba478f commit d0bbfba

153 files changed

Lines changed: 11912 additions & 19396 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,27 @@ For the maintainer workbench:
4949
pnpm dev:all
5050
```
5151

52-
Open `http://localhost:5173/generate.html`.
52+
Open `http://localhost:5173/generate`.
5353

5454
1. Choose the **Host Data Search** showcase scenario.
55-
2. Confirm the run is interactive and only the `search` host tool is allowed.
55+
2. Confirm the agent broker selects an interactive run with only the `search`
56+
host tool allowed.
5657
3. Run it, then submit a generated search such as `chicken pasta`.
57-
4. Open `http://localhost:5173/adversarial.html` and confirm the sandbox
58+
4. Open `http://localhost:5173/adversarial` and confirm the sandbox
5859
boundary still holds.
5960

6061
To steer generation from a Ghost fingerprint, set `SUMMON_GHOST_ROOTS` in
6162
`apps/server/.env` before starting the demos. Each configured root should use
62-
the canonical `.ghost/fingerprint/manifest.yml` package layout; legacy
63-
`.ghost/fingerprint.yml` roots are bridged for compatibility. The Surface
64-
Gallery adds a Ghost preset for each root, and the Generate workbench adds both
65-
the Ghost scenario and the `Ghost · <id>` direction option.
63+
the canonical `.ghost/fingerprint/manifest.yml` package layout. The Surface
64+
Gallery adds a Ghost fingerprint preset for each root, and the Generate
65+
workbench adds a `Fingerprint · <id>` option. A fingerprint run is not a bundled
66+
visual direction: Summon consumes the Ghost relay brief as product design
67+
direction, then applies host-owned policy, capabilities, and token CSS.
6668

6769
The full guided path lives in
6870
[docs/adoption/quickstart.md](docs/adoption/quickstart.md).
71+
The architecture boundary is documented in
72+
[docs/ghost-fingerprint-architecture.md](docs/ghost-fingerprint-architecture.md).
6973

7074
## How It Fits Together
7175

@@ -86,16 +90,17 @@ registered host tools.
8690
- `examples/surface-gallery` - primary adopter gallery with curated live
8791
presets, compact host tools, Ghost-root presets when configured, a sandboxed
8892
surface, and a small event strip.
89-
- `/generate.html` - diagnostic maintainer workbench for surface configs, allowed host
90-
tools, trusted host components, token overrides, validation retries,
91-
edit/replay, Ghost steering, Devtools, and stream diagnostics.
92-
- `/batch.html` - parallel prompt harness for prompt coverage, host tool wiring,
93-
direction-token visual coverage, throughput, and consistency checks.
94-
- `/adversarial.html` - sandbox boundary checks for network, storage, parent
93+
- `/generate` - diagnostic maintainer workbench for broker-selected
94+
surface configs, allowed host tools, trusted host components, token
95+
overrides, validation retries, edit/replay, Ghost steering, Devtools, and
96+
stream diagnostics.
97+
- `/batch` - parallel broker harness for prompt coverage, host tool
98+
wiring, direction-token visual coverage, throughput, and consistency checks.
99+
- `/adversarial` - sandbox boundary checks for network, storage, parent
95100
access, and unallowed host tool requests.
96-
- `/strict.html` - trusted host overlay for sensitive input inside a generated
101+
- `/strict` - trusted host overlay for sensitive input inside a generated
97102
sandbox description.
98-
- `/fatal.html` - sandbox startup failure handling.
103+
- `/fatal` - sandbox startup failure handling.
99104

100105
## Public Packages
101106

apps/demo/adversarial.html

Lines changed: 0 additions & 33 deletions
This file was deleted.

apps/demo/batch.html

Lines changed: 0 additions & 53 deletions
This file was deleted.

apps/demo/fatal.html

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)