Repository navigation
feat(kin): the owner edits the standing rules on web and phone - #1104
Merged
Merged
Conversation
Settings → Standing rules, beside Memory on web (and in the command palette) and under Agents in the phone's Settings, for the owner alone. The owner reads the rules, edits them as plain text and saves over the revision opened. A save that finds them changed keeps the draft and shows the current rules above it; only the owner's next Save replaces them. Emptying them asks first, text over 256 KiB says how far over, and leaving with a draft asks before discarding it. People-change: The owner can read and change the standing rules every agent follows from Settings on web and phone, and agents follow a saved change from their next turn. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ync' into feat/kin-rules-editor-screens
Use the contract's KinMemoryRulesPairAgain and KinMemoryRulesTooLarge in place of the placeholder. Pair again shows the host's sentence (with This phone on the phone); the development token's plain refusal stays plain. Rules too large to show open a blank replacement editor: Replace rules asks first, says the current rules can't be shown, and sends the revision the refusal named; a repeated refusal is shown, never retried. The no-publish refusal shows the host's sentence without a retry. People-change: When standing rules are too large to show, the owner can replace them with shorter ones from Settings, and a device that needs pairing again is told so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'t seen After a save finds the standing rules changed, the page shows the current rules and the owner's next Save goes over them. A held Cmd/Ctrl+S kept repeating keydown events, so the repeat itself sent that next save at once, replacing rules the owner had not read. Key repeats are now ignored; only a fresh press saves. People-change: Holding Cmd/Ctrl+S on Standing rules saves once; it never replaces rules someone else just changed without the owner seeing them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hen agents are stopped After a save finds the standing rules changed, the next Save asks "Replace the current rules with your text?" (with who changed them), on web and phone; a fast second tap can no longer replace rules the owner hasn't read. Save is available whenever the draft differs from the current rules, so the owner can put the opened text back. The phone keeps its leave guard while a save is in flight. Rules too large to show now say that agents can't work until they're replaced. People-change: Saving over standing rules someone else just changed asks first, and the owner is told that oversized rules stop the agents until they're replaced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People-change: none Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People-change: none Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis 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. |
|
This PR changes the test suite by +16 test cases (browser +2, unit +14, server 0). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
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 owner could change the standing rules only by editing a file outside the app. The server now has owner-only calls to read and save them, but no screen used them.
People-change: The owner can read and change the standing rules every agent follows from Settings on web and phone, and agents follow a saved change from their next turn.
Checked as part of train 19's one check at the tip.
An independent review by Claude Opus 5.5 found the screens LAND AFTER FIXES. Its fix is on this branch, with one later commit that asks before replacing changed rules.
🤖 Generated with Claude Code