Conversation
TypeSafe client plus Ask why routing and household-intent composition. Judgments fill existing Core operations; they are not wired to Ask why or dispatch. Install the TypeSafe skill so later work uses the same model. Co-authored-by: Fredrik Ahlgren <fredrik@sourceful-labs.com> Signed-off-by: Cursor Agent <cursoragent@cursor.com>
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 and result
Fredrik asked to look at what Jev (TypeSafe System One) could do in FTW.
Jev is a fast judgment model: it takes named site state and returns typed Choice / Noul / Score answers with probabilities. It does not write prose, plans or driver commands. That matches FTW’s split: agents and language understand intent; Core admits and dispatches.
This PR installs the TypeSafe skill for later work and lands a proposed, unwired judgment layer:
loadpoint.hold), standing ready-by (PUT …/schedule), vehicle SoC (loadpoint.soc.set). Percent and clock values are extracted in code, then Jev selects among those candidates. Safety-bypass language refuses before any Core write is proposed.Nothing is hooked to
/api/assistant/ask, config, or dispatch. Missing TypeSafe means the existing UI and typed APIs keep working.Scope and safety
refuse_control, not a command.asks_to_bypass_safety) win over a high-confidence Charge now.go/internal/assistantor Ask why.Marked proposed in VISION.md, architecture and the roadmap agents row.
Verification
That run passed here, including composition cases for plan-without-issue, control refuse, weekday schedule, everyday vs weekday masks, and safety bypass.
Optional live check against Jev (not CI):
TYPESAFE_API_KEY=… TYPESAFE_LIVE=1 go test ./internal/assistant -run LiveJev -vNo UI changed; no browser review.
Checklist
no-changesetlabel: nothing ships to boxes yet (internal composer + docs + skill).