Skip to content

fix(plan): match Core household planning styles - #76

Merged
frahlg merged 4 commits into
mainfrom
cursor/plan-household-prefs-1a28
Oct 4, 2026
Merged

frahlg merged 4 commits into
mainfrom
cursor/plan-household-prefs-1a28

Conversation

@frahlg

@frahlg frahlg commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Contract-pair: srcfl/ftw@cursor/plan-household-prefs-1a28

The Plan screen still offered Passive arbitrage and Active arbitrage after Core moved to household planning preferences. It now shows Core's five planning styles: Very careful, Careful, Balanced, Bold and Very bold. Their stored values and help match Core, including the Balanced default of 0.3. Fine-tuning stays available behind a disclosure.

Battery export has its own permission. Each command sends only the preference the user changed, so choosing a style cannot overwrite an export choice made by another client. A delayed preference read cannot replace a newer choice. Manual modes stay behind Manual; Use the plan reads Core's mapped_mode and falls back to the mode that blocks battery sales when that read fails.

Paired with srcfl/ftw#1479 for the session command. Native app PR srcfl/ftw-app#7 keeps its registry snapshot in step. No hardware or production deployment has been tested here.

Validation:

  • npm run verify: 1,058 tests passed, one skipped; type check and production build passed.
  • Registry and push catalogue match Core byte for byte; shared theme token check passed.
  • Browser at desktop and 390 px width: all five styles fit; changed style, allowed export, entered Self (manual), and returned with Use the plan. The manual list has no planner choices.

The existing PRs keep their scope; no new planner modes or safety rules are added.

The Plan screen uses the forecast slider and battery-export choice
already on the box. Passive and Active are no longer buttons. Use the
plan asks for the mode the box maps from those prefs.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
ftw-webapp b335369 Commit Preview URL

Branch Preview URL
Oct 04 2026, 03:49 PM

The simulator catalogue still called idle "Idle". The box renamed the
label and tooltip; the key is still idle.

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
Signed-off-by: Fredrik Ahlgren <fredrik@sourceful-labs.com>
@frahlg frahlg changed the title feat(plan): follow the box household planner prefs fix(plan): match Core household planning styles Oct 4, 2026
@frahlg
frahlg marked this pull request as ready for review October 4, 2026 16:08
@frahlg
frahlg merged commit f378a28 into main Oct 4, 2026
3 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants