diff --git a/apps/server/src/serverSettings.ts b/apps/server/src/serverSettings.ts index d8127bade65d..fedbbea145ee 100644 --- a/apps/server/src/serverSettings.ts +++ b/apps/server/src/serverSettings.ts @@ -1070,18 +1070,16 @@ const make = Effect.gen(function* () { } for (const sourceId of Object.keys(current.usageLimitSources)) { if (sourceId in next.usageLimitSources) continue; - yield* secretStore - .remove(usageLimitSourceSecretName(sourceId)) - .pipe( - Effect.mapError( - (cause) => - new ServerSettingsError({ - settingsPath, - operation: "remove-stale-secret", - cause, - }), - ), - ); + yield* secretStore.remove(usageLimitSourceSecretName(sourceId)).pipe( + Effect.mapError( + (cause) => + new ServerSettingsError({ + settingsPath, + operation: "remove-stale-secret", + cause, + }), + ), + ); } return { ...next, diff --git a/docs/internals/glossary.md b/docs/internals/glossary.md index 1799a5d60cf0..5a407b59c0cf 100644 --- a/docs/internals/glossary.md +++ b/docs/internals/glossary.md @@ -33,18 +33,18 @@ Terms whose meaning matters across T3 Code. Architecture and lifecycle constrain ## Providers and checkpoints -| Term | Meaning | -| ------------------- | ------------------------------------------------------------------------------------------------------------ | -| Provider | The agent runtime T3 Code controls, such as Codex or Claude Code. | -| Driver | The integration for a provider kind. | -| Provider instance | One configured provider, with its own settings and lifecycle. Multiple instances can use the same driver. | -| Adapter | The boundary translating a provider's native protocol into T3 Code operations and events. | -| Session | The provider runtime attached to a thread. A session can be stopped and resumed without deleting the thread. | -| Runtime mode | The thread's permission policy. See [permission modes](../user/permission-modes.md). | -| Interaction mode | How the agent approaches the task, such as planning. Separate from permission policy. | -| Checkpoint | A saved workspace state used for diffs and restore, stored as a hidden Git ref. | -| Checkpoint baseline | The workspace state captured before the work being compared. | -| Turn diff | The workspace changes attributed to one turn. | +| Term | Meaning | +| -------------------- | ---------------------------------------------------------------------------------------------------------------- | +| Provider | The agent runtime T3 Code controls, such as Codex or Claude Code. | +| Driver | The integration for a provider kind. | +| Provider instance | One configured provider, with its own settings and lifecycle. Multiple instances can use the same driver. | +| Adapter | The boundary translating a provider's native protocol into T3 Code operations and events. | +| Session | The provider runtime attached to a thread. A session can be stopped and resumed without deleting the thread. | +| Runtime mode | The thread's permission policy. See [permission modes](../user/permission-modes.md). | +| Interaction mode | How the agent approaches the task, such as planning. Separate from permission policy. | +| Checkpoint | A saved workspace state used for diffs and restore, stored as a hidden Git ref. | +| Checkpoint baseline | The workspace state captured before the work being compared. | +| Turn diff | The workspace changes attributed to one turn. | | Ticket provider | An external issue tracker consulted only to resolve a linked ticket's metadata. Not an agent provider. | | Thread process claim | A thread's registered ownership of a root process, so a machine-wide telemetry snapshot can be split per thread. | diff --git a/packages/effect-codex-app-server/src/schema.test.ts b/packages/effect-codex-app-server/src/schema.test.ts index aeb0fc9cd099..08d6b1afb533 100644 --- a/packages/effect-codex-app-server/src/schema.test.ts +++ b/packages/effect-codex-app-server/src/schema.test.ts @@ -193,10 +193,7 @@ it("accepts Codex misalignment policy errors for historical and live turns", () assert.equal(isThreadRollbackResponse({ thread: failedThread }), true); assert.equal(isThreadForkResponse(forkLikeResponse), true); const decodedResume = decodeThreadResumeResponse(resumeLikeResponse); - assert.equal( - decodedResume.thread.turns[0]?.error?.codexErrorInfo, - "misalignmentPolicyViolation", - ); + assert.equal(decodedResume.thread.turns[0]?.error?.codexErrorInfo, "misalignmentPolicyViolation"); assert.equal( isTurnCompletedNotification({ threadId: "thread-1",