Repository navigation
Conversation
FTW Cloud (srcfl/ftw ADR 0008) needs names shared by the box, this app and the phone app: - scope ftw.events.read, for the events behind notifications; - cloud_scopes and cloud_purposes, which bound what an owner can let the box share with FTW Cloud, and what for; - capability cloud.link and carrier state cloud; - push kinds cloud.granted and cloud.revoked, sent to every owner when the grant changes. contract.ts, the push kinds and the carrier type follow, so the registry tests still read both directions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The box seeds cloud.granted and cloud.revoked on, unlike its other rules, so the simulated box does too and the notification test counts eight switches with those two on. A changeset names the change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 12, 2026
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ftw-webapp | f603879 | Commit Preview URL Branch Preview URL |
Oct 12 2026, 07:04 PM |
This was referenced Oct 13, 2026
Member
Author
|
Included in #82, squash-merged to main with the push catalogue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The names FTW Cloud shares between the box, this app and the iPhone app, added here first because this repository holds the source of the contract (srcfl/ftw ADR 0008, #1589).
Contract-pair: srcfl/ftw@claude/cloud-c2-a453be
Paired pull requests: srcfl/ftw srcfl/ftw#1595 (copy and Go constants), srcfl/ftw-app srcfl/ftw-app#15 (copy and Swift names), srcfl/ftw-cloud (not opened yet: the public repository
srcfl/ftw-cloudwaits for the owner's go-ahead) (the service).contract/registry.yamlftw.events.read, for the events behind notifications;cloud_scopes: [ftw.live.read, ftw.history.read, ftw.plan.read, ftw.health.read, ftw.events.read], which bounds what an owner can let the box share.ftw.assets.readstays out: the box sends no inventory;cloud_purposes: [serve, stats];cloud.link;cloud, betweenrelayandcache;go/protocol/contract_gen.go).contract/push-catalogue.yamlcloud.granted("FTW Cloud is on") andcloud.revoked("FTW Cloud is off"), sent to every owner when the grant changes. They are the only rules the box seeds on.App code
SCOPES, the pushKINDSwith their switch labels, andCarrierStatefollow the registry, so the registry and push tests still read both directions.#writeRulesalready sends only kinds the box lists.Checks
npm run check: 0 errors.npx vitest run: 1069 passed, 1 skipped.node scripts/check-contract-drift.mjsagainst the srcfl/ftw branch: both files byte for byte the same.🤖 Generated with Claude Code