Skip to content

Commit 3721694

Browse files
committed
Format the ask-authz suspend RFC with prettier
1 parent 1ba4b14 commit 3721694

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/RFC-ask-authz-suspend.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ already carries the primitive:
6868

6969
- The before-tool authz hook returns, for an `ask` effect,
7070
`{ type: "suspend", gate: { type: "approval", gateId, correlationId,
71-
timeoutAt }, pendingOp }` (`authz-extension.ts:263-267` upstream; the
71+
timeoutAt }, pendingOp }` (`authz-extension.ts:263-267` upstream; the
7272
reactor persists `pendingOp`, minting `correlationId` at :223 and
7373
`gateId = pending-${correlationId}` at :226).
7474
- `DEFAULT_APPROVAL_TIMEOUT_MS = 3_600_000` (:36) — one hour.
@@ -110,7 +110,7 @@ pending approvals is **not delivered and remains out of CL-5699 scope**.
110110
`src/permission/queue.ts` is an in-memory `Map` and
111111
`src/permission/store.ts` persists grants only, so a crashed session
112112
still loses the pending approval. The mapping above is what makes
113-
recovery *possible later* (the persisted `pendingOperations` plus
113+
recovery _possible later_ (the persisted `pendingOperations` plus
114114
`correlationId`-addressed resume), but wiring snapshot-and-restore is
115115
separate work and is not claimed by CL-5699.
116116

@@ -140,7 +140,7 @@ only reacts to events.
140140
### (c) classify.ts tiering stays a pre-filter above authz grants
141141

142142
**Decision:** `src/permission/classify.ts`'s allow/ask `Tier`
143-
(`classify.ts:69`) remains a pre-filter that decides *whether and how*
143+
(`classify.ts:69`) remains a pre-filter that decides _whether and how_
144144
the authz path is consulted; it does not become authz policy. Read-only
145145
tools classify `allow` and short-circuit; everything else classifies
146146
`ask` and flows through the authz grant path, where grants, denies, and
@@ -176,7 +176,7 @@ supports (`{ type: "block", reason }` is a first-class hook return in
176176
effect in the hook rather than gate-internal bookkeeping.
177177

178178
Neither path has an upstream equivalent, so both are ours to carry; the
179-
decision is only *where* they live. Putting them in the hook means the
179+
decision is only _where_ they live. Putting them in the hook means the
180180
gate's `ask` path is the only path that can suspend, and denial never
181181
needs a parked operation, a correlation id, or a resume.
182182

0 commit comments

Comments
 (0)