feat(presence): initiate the guided form-fill from God and the ⌥⌥ launcher - #51
Open
sameeeeeeep wants to merge 1 commit into
Open
feat(presence): initiate the guided form-fill from God and the ⌥⌥ launcher#51sameeeeeeep wants to merge 1 commit into
sameeeeeeep wants to merge 1 commit into
Conversation
…ncher The founder flow: copy a form → ask God "help me fill this with guide" (with the clipboard chip attached), or hit ⌥⌥ and tap Fill form on the clipboard offer — and the guided cursor walks you field by field, each value pre-loaded for ⌘V. - god.mjs: new [FILLGUIDE:[["label","value"],…]] action tag + GUIDED FORM FILL protocol block (fed the user's identity.json details; active project context already rides the prompt). Values must be REAL (identity/project/said) — never invented, never secrets. Hand-off to Swift via the proven god-action.json lane. - RelayMenuBar: raiseFillGuide(pairs, source:) factored out of the deterministic fillFormFromClipboard path; executeGodAction gains case "fillguide" (raises the same teach fill-guide, source "God"); the no-consent fast lane covers fillguide like drive — the guide itself is the consent surface (visible values, user pastes each, esc aborts). - NotchLauncherView: the clipboard offer chip gains a "Fill form" button → writes the existing ~/.relay/fill-form trigger and closes the launcher; the deterministic identity.json match takes it from there. Co-Authored-By: Claude Fable 5 <noreply@anthropic.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.
The founder's ask
Now: yeah.
Two entry points wired
God path — copy the form, ⌃⌃, tap Add on the clipboard chip, say "help me fill this with guide":
god.mjsgains a[FILLGUIDE:[["label","value"],…]]action tag + a GUIDED FORM FILL protocol block. God maps the form's fields to values it actually has — the user's~/.relay/identity.jsondetails (now fed into the prompt), the active project context (already rides viacontext-selection.json/contexts.json), or something the user said. Hard rules in-prompt: never invent a value, never secrets.god-action.jsonlane (same as DRIVE) and exits;executeGodActionraises the native teach fill-guide — one step per field, value pre-loaded on the clipboard,⌘Vto paste, auto-advance on paste/field-non-empty, user's clipboard restored at the end.escaborts.Launcher path — copy the form, ⌥⌥:
~/.relay/fill-formtrigger (same one the menu item + scripts use) and closes the launcher. The deterministicidentity.jsonlabel-match takes it from there (zero tokens, docs/FORM-FILL.md).What stayed untouched
Guide runtime (CursorGuide.swift), the daemon
guide_runverb, the deterministic matcher, consent topology.raiseFillGuide(pairs, source:)is factored out so both paths share one raiser.Verified
node --checkgreen; FILLGUIDE parse unit-tested headless (pair form, object form, malformed → graceful fall-through; other tags unaffected;stripTagsdrops it from the spoken line).packages/menubar/build.shbuilds clean (only pre-existing macOS 26 deprecation warnings).🤖 Generated with Claude Code