Skip to content

Commit 8284830

Browse files
radroidclaude
authored andcommitted
style(coil): format the files this rename touched (#71)
Prettier only. The renamed directories carried pre-existing formatting drift with them, so this is scoped to the files whose formatting this branch actually changed — verified by control-running `vp fmt --check` on origin/main and diffing the two lists with paths normalised across the rename, rather than reformatting everything and burying the review. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 parent e9302c7 commit 8284830

12 files changed

Lines changed: 71 additions & 66 deletions

‎apps/server/src/coil/autoResume/Reactor.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,10 @@ describe("AutoResumeReactor (integration)", () => {
375375
const kinds = (yield* Ref.get(dispatched))
376376
.filter((c) => c.type === "thread.activity.append")
377377
.map((c) => (c as unknown as { activity: { kind: string } }).activity.kind);
378-
assert.deepStrictEqual(kinds, ["coil.auto-resume.scheduled", "coil.auto-resume.rescheduled"]);
378+
assert.deepStrictEqual(kinds, [
379+
"coil.auto-resume.scheduled",
380+
"coil.auto-resume.rescheduled",
381+
]);
379382

380383
// The original 160_000 due time passes without firing: that window is still shut.
381384
yield* advancePastResume; // 8 x 30s = 240_000ms

‎docs/coil/SEAMS.md‎

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

‎docs/coil/auto-build-runbook.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ checkout — script changes take effect after that checkout is updated.
163163
| What | Path |
164164
| --------------------- | --------------------------------------------------------- |
165165
| Built `.dmg` | `<repo>/release/` (override: `T3CODE_DESKTOP_OUTPUT_DIR`) |
166-
| Last-built SHA marker | `~/.t3/userdata/coil-autobuild-last-sha` |
167-
| Status JSON | `~/.t3/userdata/coil-autobuild-status.json` |
168-
| Log | `~/.t3/userdata/logs/coil-autobuild.log` |
166+
| Last-built SHA marker | `~/.t3/userdata/coil-autobuild-last-sha` |
167+
| Status JSON | `~/.t3/userdata/coil-autobuild-status.json` |
168+
| Log | `~/.t3/userdata/logs/coil-autobuild.log` |
169169

170170
Status JSON looks like:
171171

‎docs/coil/loop/DESIGN.md‎

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

‎docs/coil/loop/OPTIONS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Measured against merge-base `64bf01619` with the SEAMS.md recipe, re-run this se
267267
| `apps/web/src/routes/_chat.$environmentId.$threadId.tsx` | +1 (`<LoopOverlay threadRef={threadRef} />`) | 5 | **5** |
268268
| `apps/web/src/routes/settings.beta.tsx` | +2 (import + `<LoopBetaSection />`) | 1 | **2** |
269269
| `apps/server/src/server.ts` | 0 — the 3-line seam (59/224/422) already exists | 29 | **0** |
270-
| `apps/server/src/coil/index.ts` | +4, fork-owned aggregator | 0 | **0** |
270+
| `apps/server/src/coil/index.ts` | +4, fork-owned aggregator | 0 | **0** |
271271
| `packages/contracts/**` | 0 | — | **0** |
272272
| `apps/server/src/provider/Layers/ClaudeAdapter.ts` | 0 | 12 | **0** |
273273
| `apps/server/src/persistence/Migrations.ts` | 0 | 6 | **0** |

‎docs/coil/loop/report.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,8 +2681,8 @@ <h2>What this honestly does not solve</h2>
26812681
<strong>Upstream #3164 may make this redundant.</strong> If automations ship with their
26822682
own enablement and budget gates, Loop Watch becomes a parallel path that bypasses all of
26832683
them with no conflict, no type error and no failing test. Retirement is
2684-
<code>rm -r apps/server/src/coil/loop apps/web/src/coil/Loop*</code> plus reverting three
2685-
lines, and the ledger row will carry that adopt-or-sunset criterion explicitly.
2684+
<code>rm -r apps/server/src/coil/loop apps/web/src/coil/Loop*</code> plus reverting
2685+
three lines, and the ledger row will carry that adopt-or-sunset criterion explicitly.
26862686
</li>
26872687
<li>
26882688
<strong>Cost is not metered in dollars.</strong> The budget is turns and wall-clock.

‎docs/coil/mac-signing-runbook.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ A self-signed code-signing certificate, created by `scripts/coil/setup-mac-signi
3939

4040
| | |
4141
| --------------------- | ---------------------------------------------------------------------------------------------------------- |
42-
| Common name | `T3 Coil Code Signing` |
42+
| Common name | `T3 Coil Code Signing` |
4343
| Validity | 10 years (`notAfter=Aug 8 2036`) |
44-
| Public certificate | [`docs/coil/mac-signing/certificate.pem`](mac-signing/certificate.pem), committed |
44+
| Public certificate | [`docs/coil/mac-signing/certificate.pem`](mac-signing/certificate.pem), committed |
4545
| Private key | `~/.t3x/mac-signing/t3x-signing.p12`, mode 0600, never in the repo |
4646
| Keychain | `~/Library/Keychains/t3x-signing.keychain-db`, its own, password in `~/.t3x/mac-signing/keychain-password` |
47-
| Resulting requirement | [`docs/coil/mac-signing/designated-requirement.txt`](mac-signing/designated-requirement.txt) |
47+
| Resulting requirement | [`docs/coil/mac-signing/designated-requirement.txt`](mac-signing/designated-requirement.txt) |
4848

4949
A dedicated keychain rather than the login keychain, because its password is one we generate: that is
5050
what lets `security set-key-partition-list` run non-interactively, so `codesign` never raises the

‎docs/superpowers/specs/2026-07-23-fork-upstream-sync-design.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Safe to re-run; detects already-applied state.
167167

168168
## Deliverables
169169

170-
| Artifact | Path | Upstream conflict risk |
171-
| ---------------------- | ----------------------------------------- | ---------------------- |
170+
| Artifact | Path | Upstream conflict risk |
171+
| ---------------------- | ------------------------------------------ | ---------------------- |
172172
| Remote/rerere setup | `scripts/coil/setup-fork.sh` | none (new file) |
173173
| Daily sync workflow | `.github/workflows/coil-upstream-sync.yml` | none (new file) |
174174
| Weekly verify workflow | `.github/workflows/coil-weekly-verify.yml` | none (new file) |

‎docs/superpowers/specs/2026-08-10-coil-homepage-repositioning-design.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ the reader to fork the project is redundant on a page that is itself a fork.
1919
| ----------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2020
| Name | **Coil** | A coil is both a curl and a loop, tying the Curly Cloud handle to the roadmap in four letters. `Cirrus` was the near-miss — Latin for "a curl", and a cloud type — but Cirrus CI is an established dev-tooling brand and this is a dev tool. |
2121
| Voice | First person singular | "We" and "the community" describe a project that does not exist. One person builds this. |
22-
| Loops on the page | Roadmap section, tagged `planned` | Loops lead the _direction_, not the feature list. Nothing loop-related has shipped: `docs/coil/loop/` is design-only, archived in `67fb23e81` when its branch was deleted. |
22+
| Loops on the page | Roadmap section, tagged `planned` | Loops lead the _direction_, not the feature list. Nothing loop-related has shipped: `docs/coil/loop/` is design-only, archived in `67fb23e81` when its branch was deleted. |
2323
| Page spine | Two plain sections | "What's here today" and "Where this is going". The fork graph is retired. |
2424
| Long-term vision | Plain language, no jargon | "Forward deployed engineer" is precise for the few and opaque to everyone else. |
2525
| Domain | `coil.curlycloud.dev` | The product is Coil, so `t3.` would be stale on arrival. |

‎docs/superpowers/specs/2026-08-12-coil-rename-design.md‎

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ capability that quietly stops working. The bulk of this document is about those
1111

1212
## Decisions
1313

14-
| Question | Decision |
15-
|---|---|
16-
| Scope | All four stages of the issue, including the relay |
17-
| App name | `T3 Coil (Alpha)` |
18-
| Bundle id | `dev.curlycloud.coil` → `dev.curlycloud.t3coil` |
19-
| Signing certificate | `T3X Code Signing` → `T3 Coil Code Signing` |
20-
| First renamed build | One-time manual install; the updater's refusal is reworded, not bypassed |
21-
| Relay | `coil-update-relay` becomes authoritative; `t3x-update-relay` stays deployed as a proxy |
22-
| GitHub secrets and repo variables | Keep the `T3X_` prefix |
14+
| Question | Decision |
15+
| --------------------------------- | --------------------------------------------------------------------------------------- |
16+
| Scope | All four stages of the issue, including the relay |
17+
| App name | `T3 Coil (Alpha)` |
18+
| Bundle id | `dev.curlycloud.coil` → `dev.curlycloud.t3coil` |
19+
| Signing certificate | `T3X Code Signing` → `T3 Coil Code Signing` |
20+
| First renamed build | One-time manual install; the updater's refusal is reworded, not bypassed |
21+
| Relay | `coil-update-relay` becomes authoritative; `t3x-update-relay` stays deployed as a proxy |
22+
| GitHub secrets and repo variables | Keep the `T3X_` prefix |
2323

2424
Two of these have a cost that is paid by the user rather than by CI, and both are worth restating
2525
because neither is recoverable by editing code after the fact.
2626

2727
**The bundle id and the certificate each cost one full round of macOS permission dialogs.** macOS
2828
keys TCC grants — Screen Recording, Accessibility, Files & Folders — on the pair
29-
`(service, bundle id)`, and the *designated requirement* that authenticates the app names both the
29+
`(service, bundle id)`, and the _designated requirement_ that authenticates the app names both the
3030
bundle id and the signing certificate. Changing either invalidates every existing grant. Changing
3131
both at once costs one round of prompts, not two, which is the only reason to do them together.
3232
This is the second such reset in a week (PR #85 was the first), and it should be the last: both
@@ -59,7 +59,7 @@ publish build 1, every installed client would evaluate `1 <= 26`, and all of the
5959
forever. There is no error surface for this: skipping is the normal, expected outcome of that
6060
branch, so it looks exactly like being up to date.
6161

62-
Issue #71 names this hazard but attributes it to the *version string*, and concludes the suffix
62+
Issue #71 names this hazard but attributes it to the _version string_, and concludes the suffix
6363
change is safe because the updater never compares versions. Both halves of that are true and
6464
neither is the risk. The risk is the filename.
6565

@@ -106,7 +106,7 @@ costs the same handful of lines.
106106

107107
**Verification before cutover, against a real old build.** The `T3X_UPDATE_RELAY_URL` override does
108108
work when the `.app` is launched from a terminal rather than Finder, which makes it possible to
109-
point the *currently installed* build at a throwaway shim and confirm both `/latest` and `/events`
109+
point the _currently installed_ build at a throwaway shim and confirm both `/latest` and `/events`
110110
behave. That is the only test that proves anything about clients in the field, so it is a gate on
111111
the relay cutover rather than a nice-to-have.
112112

@@ -134,7 +134,7 @@ script path moved, and a regenerated plist and an unchanged script agree by cons
134134
the variables as well would have created a window where a hand-edited plist sets names the script
135135
no longer reads, silently reverting to defaults for the build worktree and the applications
136136
directory. The state files it writes (`<state-dir>/coil-autobuild-last-sha` and
137-
`coil-autobuild-status.json`) *do* move, because losing them costs exactly one redundant rebuild.
137+
`coil-autobuild-status.json`) _do_ move, because losing them costs exactly one redundant rebuild.
138138

139139
### 4. `app.setName()` sets a Keychain service name
140140

@@ -148,7 +148,7 @@ Threads, settings and sessions are **not** affected, and this is worth stating p
148148
adjacent literals look like they should be. `userDataDirName = "t3code"` and
149149
`legacyUserDataDirName = "T3 Code (Alpha)"` (`DesktopEnvironment.ts:171-172`) are hardcoded, not
150150
derived from `displayName` or from the bundle id. That is why PR #85 moved nobody's threads, and it
151-
is why this rename does not either. Renaming *those* would orphan every thread and is out of scope.
151+
is why this rename does not either. Renaming _those_ would orphan every thread and is out of scope.
152152

153153
**Resolution.** Accept the re-encrypt, but make it legible: the decode path is verified to degrade
154154
to a per-environment "re-enter this token" state rather than an error or an empty list. No
@@ -157,13 +157,13 @@ choice is whether the user finds out from a clear prompt or from a confusing fai
157157

158158
## What is deliberately not renamed
159159

160-
| Kept | Why |
161-
|---|---|
162-
| `userDataDirName` / `legacyUserDataDirName` | Renaming orphans every thread, setting and session |
163-
| GitHub secrets and repo variables (`T3X_*`) | Invisible to users and to macOS; renaming opens a window between merge and re-setting them where the release is broken, for no gain |
164-
| `~/.t3x/mac-signing`, `t3x-signing.keychain` | Local paths on one machine; moving them adds a manual step to an already manual certificate rotation |
165-
| `t3codeCommitHash`, `@t3tools/*`, `T3CODE_*` | Upstream's identity, not the fork's |
166-
| `apps/marketing/` | Untouched by design — see SEAMS.md's parallel-path note |
160+
| Kept | Why |
161+
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
162+
| `userDataDirName` / `legacyUserDataDirName` | Renaming orphans every thread, setting and session |
163+
| GitHub secrets and repo variables (`T3X_*`) | Invisible to users and to macOS; renaming opens a window between merge and re-setting them where the release is broken, for no gain |
164+
| `~/.t3x/mac-signing`, `t3x-signing.keychain` | Local paths on one machine; moving them adds a manual step to an already manual certificate rotation |
165+
| `t3codeCommitHash`, `@t3tools/*`, `T3CODE_*` | Upstream's identity, not the fork's |
166+
| `apps/marketing/` | Untouched by design — see SEAMS.md's parallel-path note |
167167

168168
## Seam impact
169169

@@ -190,7 +190,7 @@ rolled back by reverting a commit.
190190
2. **App identity.** Name, bundle id, certificate, reworded refusal.
191191
3. **Release identity.** Tags, version suffix, the counter offset.
192192
4. **Automation.** Workflow filenames, the `coil-sync` label, `coil/sync-*` branch and recovery-tag
193-
prefixes. These are matched by *running* workflows, so they land together, and they land only
193+
prefixes. These are matched by _running_ workflows, so they land together, and they land only
194194
when no sync issue or sync PR is open. `coil-ci.yml`'s push trigger matches both branch prefixes
195195
for one cycle.
196196
5. **Relay.** Deploy `coil-update-relay`, verify the shim against an installed build, then redeploy

0 commit comments

Comments
 (0)