You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f3e8cc3
Browse filesBrowse the repository at this point in the historyBrowse files
Suggestion decisions already expose a complete feedback path: busy paint
while delivery is unresolved, the content transition when it settles,
the shared notice, and Undo. This removes the additional persistent
“Accepted” / “Rejected” text from successful settlements so the margin
retains only controls the reader can still use.
Actionable failures still keep their receipt beside Retry and Cancel.
This also records that distinction in the shared UI guidance, updates
the suggestion registry and example copy, and removes tests that existed
only to preserve settled success receipts. The browser-test cleanup also
repairs a `decision` / `ask` variable-name mismatch in an existing
ask-arrival geometry assertion.
Tests:
- `uv run pytest tests` (888 passed)
- `uv run pytest
tests/test_render_pages.py::test_a_copy_keeps_a_wide_widget_inside_its_standing_reaction_rail`
- `uv run pre-commit run --all-files`
> _This was written by Codex on behalf of max-sixty_
Copy file name to clipboardExpand all lines: skills/leaf/assets/registry.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"lf-suggestion": {
3
-
"description": "One proposed change to content the user has already seen, decided in place. lf-old holds the current markup verbatim, lf-new the proposal: both slots replace, lf-new alone inserts, lf-old alone deletes. A widget-state change has no separate patch shape: put the complete old and new widget markup in those slots when one is genuinely needed. Pending, the old reads struck and the new tinted, with accept/reject controls in the page margin; deciding folds the retired half away and reaches the agent as an `accept` or `reject` action whose outcome survives later revisions. Deciding leaves visible Accepted or Rejected receipt text beside an Undo Button while the gesture can still be withdrawn. Undo or `z` takes back that named decision: the log keeps the decision and its withdrawal, and the change comes back pending — the complete state renderer receives its undecided initial value, preserving the widget and its children. `resolves` names the comment whose thread this change answers — accepting resolves that thread too. Suggestions don't nest, and a reply can't carry one (reply markup is frozen in the log, so no version could settle it). Fresh content — a new section, the first version — is written straight instead, and a block the user is to write in their own words is a lf-draft: theirs to rewrite, not the agent's to propose. The user can also just comment on a pending suggestion rather than decide it. An undecided one can also be taken back: a later version drops the wrapper and everything inside lf-new with it, since withdrawing it leaves the page where a reject would (x-withdrawn-as). It can't keep the proposal as settled prose, and it can't drop what lf-old wraps — losing that is the user's own accept to give. An undecided one is a standing decision (see $awaits) — counted in the banner, stepped to by `a`/`A`, and the one kind a single press answers wholesale, which is the banner's Accept all.",
3
+
"description": "One proposed change to content the user has already seen, decided in place. lf-old holds the current markup verbatim, lf-new the proposal: both slots replace, lf-new alone inserts, lf-old alone deletes. A widget-state change has no separate patch shape: put the complete old and new widget markup in those slots when one is genuinely needed. Pending, the old reads struck and the new tinted, with accept/reject controls in the page margin; deciding folds the retired half away and reaches the agent as an `accept` or `reject` action whose outcome survives later revisions. Undo remains in the page margin while the gesture can still be withdrawn. Undo or `z` takes back that named decision: the log keeps the decision and its withdrawal, and the change comes back pending — the complete state renderer receives its undecided initial value, preserving the widget and its children. `resolves` names the comment whose thread this change answers — accepting resolves that thread too. Suggestions don't nest, and a reply can't carry one (reply markup is frozen in the log, so no version could settle it). Fresh content — a new section, the first version — is written straight instead, and a block the user is to write in their own words is a lf-draft: theirs to rewrite, not the agent's to propose. The user can also just comment on a pending suggestion rather than decide it. An undecided one can also be taken back: a later version drops the wrapper and everything inside lf-new with it, since withdrawing it leaves the page where a reject would (x-withdrawn-as). It can't keep the proposal as settled prose, and it can't drop what lf-old wraps — losing that is the user's own accept to give. An undecided one is a standing decision (see $awaits) — counted in the banner, stepped to by `a`/`A`, and the one kind a single press answers wholesale, which is the banner's Accept all.",
0 commit comments