Repository navigation
feat(notify): a choice for a device that does not follow FTW - #117
Merged
Merged
Conversation
control.not_following joins the push catalogue: the box tells the owner when its answer to "Are we in control?" has said a device is not following for ten minutes, as a battery that charges while FTW asks it to discharge (xorath, 5 Nov 2026). The notification settings list it as "If a device does not do what FTW asks". Paired with srcfl/ftw (the rule) and srcfl/ftw-app (the phone's words); the catalogue is byte-identical in all three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
ftw-webapp | 66f0797 | Commit Preview URL Branch Preview URL |
Nov 05 2026, 01:59 PM |
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.
Problem
xorath, 5 Nov 2026: a battery charged 2.3 kW while FTW asked it to discharge 812 W. The box's page said Not following. No notification told the owner.
Change
control.not_followingjoinscontract/push-catalogue.yaml:Pairs
This goes first. Then come srcfl/ftw (the rule, plus the copy and the regenerated
push_gen.go) and srcfl/ftw-app (the copy, the phone's words and the iPhone's choices). The catalogue is byte-identical in all three.Contract-pair: srcfl/ftw@4fc3194
Evidence
tests/push-contract.test.tsandNotifications.svelte.test.tspass, 13 tests.npm run test: 1188 passed on the first run. The energy chart test failed once while Core's suite loaded the laptop, then passed alone, 10 of 10.npm run buildis clean.scripts/check-contract-drift.mjsagainst the Core branch says both files match byte for byte.npm run checkstops on three missing@cloudflaretype packages on this machine. That is unrelated to this change.🤖 Generated with Claude Code