Skip to content

Commit 08ea9fd

Browse files
committed
chore(pi-extension): fix whitespace
1 parent 0a17b38 commit 08ea9fd

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

integrations/pi-extension/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ export interface PreparedEntry extends Candidate {
2626
createdAt: number;
2727
lastAccessedAt: number;
2828
}
29-

wiki/plans/2026-07-29-pi-omp-native-extension-design.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,26 @@ The integration must preserve Headroom's safety invariant: never drop user or as
3838

3939
### Golden path
4040

41-
**Given** Headroom is deployed locally, the extension is enabled, and a Pi or OMP session has a large eligible tool result,
42-
**when** the result becomes older than the protected working set and a later model turn is assembled,
41+
**Given** Headroom is deployed locally, the extension is enabled, and a Pi or OMP session has a large eligible tool result,
42+
**when** the result becomes older than the protected working set and a later model turn is assembled,
4343
**then** the provider receives a validated Headroom-compressed text block, the raw transcript remains unchanged, and every CCR marker resolves to the exact original content.
4444

4545
### Provider switch
4646

47-
**Given** a session switches from Anthropic to OpenAI Codex, Gemini, or another Pi-supported provider,
48-
**when** the next context is assembled,
47+
**Given** a session switches from Anthropic to OpenAI Codex, Gemini, or another Pi-supported provider,
48+
**when** the next context is assembled,
4949
**then** the same cached transformation applies without changing endpoint, credential, or provider configuration.
5050

5151
### Headroom unavailable
5252

53-
**Given** Headroom is stopped, unhealthy, or times out,
54-
**when** Pi or OMP assembles context,
53+
**Given** Headroom is stopped, unhealthy, or times out,
54+
**when** Pi or OMP assembles context,
5555
**then** the original context is returned immediately and the agent request proceeds normally.
5656

5757
### Retrieval miss
5858

59-
**Given** a compressed result refers to a hash that is no longer present in Headroom's process cache,
60-
**when** the model calls `headroom_retrieve`,
59+
**Given** a compressed result refers to a hash that is no longer present in Headroom's process cache,
60+
**when** the model calls `headroom_retrieve`,
6161
**then** the extension checks its bounded in-memory original map, then Headroom's `/v1/retrieve` endpoint, and otherwise returns an explicit miss that tells the model to rerun the originating tool.
6262

6363
## Architecture

0 commit comments

Comments
 (0)