Skip to main content

Interface: FsWriteCeiling

Defined in: packages/agentos/src/cognition/emergent/types.ts:118

The scope a host grants fs.write under. Every field is required: a forged tool writes only what the host has bounded. Granted only on an isolating executor.

Properties​

approval​

approval: EffectApproval

Defined in: packages/agentos/src/cognition/emergent/types.ts:131


maxBytesPerCall​

maxBytesPerCall: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:126

The bytes one call of the tool may write, together.


maxBytesPerFile​

maxBytesPerFile: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:124

One file's size, in bytes.


maxFilesPerCall​

maxFilesPerCall: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:128

The files one call of the tool may write.


mode​

mode: "create-only" | "create-or-replace"

Defined in: packages/agentos/src/cognition/emergent/types.ts:122

'create-only' refuses an existing file; 'create-or-replace' replaces one whole, through a temporary file.


roots​

roots: string[]

Defined in: packages/agentos/src/cognition/emergent/types.ts:120

Absolute directories a forged tool may write under, after symlinks are resolved; [] grants nothing.


timeoutMs​

timeoutMs: number

Defined in: packages/agentos/src/cognition/emergent/types.ts:130

One write's time bound; at most 2_147_483_647.