From 1c8fee2a955ba5a6c236ade399dbfe6d50e770c7 Mon Sep 17 00:00:00 2001 From: Lucas Tavano Date: Fri, 13 Nov 2026 23:20:48 -0300 Subject: [PATCH 1/2] Freeze blind UI handover criteria and release rule --- .../2026-11-13-ui-identity-handover.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 evals/results/2026-11-13-ui-identity-handover.md diff --git a/evals/results/2026-11-13-ui-identity-handover.md b/evals/results/2026-11-13-ui-identity-handover.md new file mode 100644 index 0000000..12202c2 --- /dev/null +++ b/evals/results/2026-11-13-ui-identity-handover.md @@ -0,0 +1,35 @@ +# UI identity: class handover holdout + +## Protocol frozen before execution + +Compare the current published workflow (A) with the unchanged, unpublished final +overlapping-state candidate from the [prior round](2026-11-13-frontend-ab.md) (B). +This historical class-management screen is new to the identity evaluations. +Use the pre-fix view, domain guard and a reduced rendering with fictitious people. +Exclude later fixes, test assertions, evaluator expectations and other answers. +Two independent sessions per arm get identical input except for the guide. +One fresh judge receives shuffled, unlabeled answers and the rubric. The examiner +checks the judgements against the answers and source before the release decision. + +The selected successor is eligible to take over, while the **current recipient** +cannot receive payment for a published, priced class. The owner selected keeping +the current recipient and confirmed. Freeze these three binary checks per answer: + +1. **First message:** explicitly lead the post-attempt state with a refusal: + ownership did not move, and the selected destination for the money (the + current recipient, here the owner) cannot receive. A generic error or + blaming the successor fails. Accept equivalent wording and local placement. +2. **Next action:** make fixing the current recipient's ability to receive, or + expressly revisiting the money choice, the actionable next step. Keep the + real choices; do not silently reroute money, simply retry unchanged, promise + an unsupported route, or imply that choosing is itself a transfer. +3. **Control and commitment:** identify what happens if the owner explicitly + sends money to the eligible successor instead: confirmation must make clear + who gets the class and who gets the money; ownership changes only on success. + Do not require a payout fix for the outgoing owner on this branch. + +B must pass all three checks in **both** runs to clear the release gate. If A +does as well, keep the shorter published guide. Otherwise adopt B only if its +two answers clear the gate without a contradictory or unsafe recommendation. +A failure does not trigger more wording changes or another draw on this screen. +The gate applies to this bounded diagnostic family; it does not certify all UI. From 83429be92e4fe0e09d04c8d16641585000698f21 Mon Sep 17 00:00:00 2001 From: Lucas Tavano Date: Fri, 13 Nov 2026 23:24:37 -0300 Subject: [PATCH 2/2] Ground UI recovery actions in the remaining decision and prepare v1.2.0 --- CHANGELOG.md | 12 ++++- README.md | 2 +- docs/INSTALL_WITH_AI.md | 8 ++-- docs/README.pt-BR.md | 2 +- docs/provenance.md | 2 + docs/source-review.md | 2 +- .../results/2026-11-13-catalog-field-round.md | 4 +- evals/results/2026-11-13-frontend-ab.md | 2 + .../2026-11-13-ui-identity-handover.md | 47 +++++++++++++++++++ mix.exs | 2 +- priv/library/skills/ui-identity/SKILL.md | 4 ++ scripts/smoke_install.py | 2 +- 12 files changed, 77 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fc0dcc..96e4f23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog -## Unreleased +## 1.2.0 — 2026-11-13 + +- Minor release: adds decision guidance to existing workflows. Workflow IDs, + installer behavior, configuration and dependencies remain compatible. +- UI identity now checks which states a person sees together and whether + the proposed next action is reachable. The [blind class handover + review](evals/results/2026-11-13-ui-identity-handover.md) cleared the release + hold: both candidate runs grounded the recovery action in the supplied + evidence; both baseline runs assumed a destination. - Test strategy now checks whether an existing assertion catches the requested regression before changing tests. A demonstrated witness can remain unchanged. @@ -10,7 +18,7 @@ verify everything included in a bundle, separate editable recovery from publication, and review composed fields, clipped navigation and reduced-motion end states. The [catalog field round](evals/results/2026-11-13-catalog-field-round.md) - records the evidence and why UI identity still blocks the next release. + records the original evidence and the initial hold on UI identity. ## 1.1.0 — 2026-11-13 diff --git a/README.md b/README.md index 2882e9e..990fa7e 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ tags, **not Hex**; no token is needed. ```elixir {:elixir_agent_kit, git: "https://github.com/sallaumen/elixir-agent-kit.git", - tag: "v1.1.0", + tag: "v1.2.0", only: [:dev, :test], runtime: false} ``` diff --git a/docs/INSTALL_WITH_AI.md b/docs/INSTALL_WITH_AI.md index b296026..062c7e5 100644 --- a/docs/INSTALL_WITH_AI.md +++ b/docs/INSTALL_WITH_AI.md @@ -5,11 +5,11 @@ consuming Elixir project. Review the resulting diff and evidence under your project's existing delivery policy. The prompt grants no new paid calls or deploys. ```text -Install or migrate Elixir Agent Kit v1.1.0 in this Elixir project using its +Install or migrate Elixir Agent Kit v1.2.0 in this Elixir project using its reference-only layout. Read the project's instructions and the versioned guide: -https://github.com/sallaumen/elixir-agent-kit/blob/v1.1.0/README.md +https://github.com/sallaumen/elixir-agent-kit/blob/v1.2.0/README.md and compatibility: -https://github.com/sallaumen/elixir-agent-kit/blob/v1.1.0/docs/compatibility.md +https://github.com/sallaumen/elixir-agent-kit/blob/v1.2.0/docs/compatibility.md 1. Inspect the working tree, Mix project, existing instruction files, dependency aliases and any previous .elixir-agent-kit/state.tsv. Preserve unrelated work; @@ -17,7 +17,7 @@ https://github.com/sallaumen/elixir-agent-kit/blob/v1.1.0/docs/compatibility.md 2. In the existing deps/0 add or update exactly one dependency: {:elixir_agent_kit, git: "https://github.com/sallaumen/elixir-agent-kit.git", - tag: "v1.1.0", only: [:dev, :test], runtime: false} + tag: "v1.2.0", only: [:dev, :test], runtime: false} It is public: no token in source. Do not claim it is published to Hex. 3. In project/0 set elixir_agent_kit: [agents: [:codex, :claude, :generic], skills: :all], unless this project already has a deliberately narrower selection. diff --git a/docs/README.pt-BR.md b/docs/README.pt-BR.md index 5255887..352241c 100644 --- a/docs/README.pt-BR.md +++ b/docs/README.pt-BR.md @@ -37,7 +37,7 @@ Git, **não Hex**; não há token. ```elixir {:elixir_agent_kit, git: "https://github.com/sallaumen/elixir-agent-kit.git", - tag: "v1.1.0", + tag: "v1.2.0", only: [:dev, :test], runtime: false} ``` diff --git a/docs/provenance.md b/docs/provenance.md index 66bdbb8..22a3f21 100644 --- a/docs/provenance.md +++ b/docs/provenance.md @@ -172,3 +172,5 @@ anti-pattern vocabulary in `elixir/code-shape.md`. The book is a concept-only reference in the same way: no passage was consulted for wording or reproduced. The [catalog field round](../evals/results/2026-11-13-catalog-field-round.md) records original, application-derived experiments behind the 2026-11-13 workflow corrections. The application snapshots and the evaluator's answers are not installed as client instructions. + +The [class handover holdout](../evals/results/2026-11-13-ui-identity-handover.md) supports the additional UI identity decision points. The installed text is the general candidate tested across screens; no application rule or fixture is shipped. diff --git a/docs/source-review.md b/docs/source-review.md index 8b1233b..444854c 100644 --- a/docs/source-review.md +++ b/docs/source-review.md @@ -20,7 +20,7 @@ are not packaged. “Original workflow” means the historical authored material | Code | [`code-consolidation`](../priv/library/skills/code-consolidation/SKILL.md) | `consolidar-codigo` | elixir-antipatterns | The resulting API names the common concept and leaves meaningful differences visible at call sites. | | Domains | [`revision-lineage`](../priv/library/skills/revision-lineage/SKILL.md) | `versoes-e-rastreabilidade` + `assets-e-imagens` | original workflows; shared contract | Viewing never selects; every revision, pointer and derived artifact carries an identifier that survives regeneration and migration. Distinguish a change of published selection from recovery into a separately owned editable copy. | | Backend | [`data-contracts`](../priv/library/skills/data-contracts/SKILL.md) | `contratos-e-dados` | elixir-ecto-patterns | Document accepted input, output, errors and side effects at each meaningful boundary without repeating the same rule in every layer. | -| Frontend | [`ui-identity`](../priv/library/skills/ui-identity/SKILL.md) | `identidade-ui` | ui-review; impeccable; playbook-antislop | Make the primary action and essential information distinguishable by hierarchy, position, typography and wording; a decorative accent is not a substitute. | +| Frontend | [`ui-identity`](../priv/library/skills/ui-identity/SKILL.md) | `identidade-ui` | ui-review; impeccable; playbook-antislop | Make the primary action and essential information distinguishable by hierarchy, position, typography and wording; when states coexist, check the decision that remains and trace the available alternatives. | | Frontend | [`layout-density`](../priv/library/skills/layout-density/SKILL.md) | `espaco-e-densidade` | ui-review; impeccable | Align related labels, values and actions on a stable grid. Group information by decision, then give primary and secondary content appropriate weight. | | Frontend | [`navigation-ux`](../priv/library/skills/navigation-ux/SKILL.md) | `ux-e-navegacao` | ui-review; impeccable | Make the next meaningful action discoverable at each step without hiding context or creating an endless wizard. Separate route state from an active destination clipped inside a local viewport. | | Frontend | [`responsive-layout`](../priv/library/skills/responsive-layout/SKILL.md) | `mobile-e-responsividade` (layout half) | ui-review; impeccable | The task works at every width of a declared matrix with real content, touch and keyboard; history and overlays moved to `navigation-ux`. | diff --git a/evals/results/2026-11-13-catalog-field-round.md b/evals/results/2026-11-13-catalog-field-round.md index 6f81eff..6b8656f 100644 --- a/evals/results/2026-11-13-catalog-field-round.md +++ b/evals/results/2026-11-13-catalog-field-round.md @@ -19,7 +19,9 @@ controls vary by case; aggregating scores as an accuracy or improvement rate would obscure what was tested. No private application code or records are required by the installed guides and no evaluator runs during installation. -**Release decision: hold.** All 38 workflows have paired evidence. On these +**Updated release decision:** the [preregistered handover holdout](2026-11-13-ui-identity-handover.md) cleared the remaining UI identity gate, with both candidate runs passing all three checks. The original decision and its limits follow. + +**Decision at the end of the original round: hold.** All 38 workflows have paired evidence. On these cases, 37 have support for keeping the current guide or adopting a tested candidate. The exception is `ui-identity`: an addition improved the original agreement screen, missed an important combination of states in a second diff --git a/evals/results/2026-11-13-frontend-ab.md b/evals/results/2026-11-13-frontend-ab.md index ce7df2c..dffcbb6 100644 --- a/evals/results/2026-11-13-frontend-ab.md +++ b/evals/results/2026-11-13-frontend-ab.md @@ -104,3 +104,5 @@ One final pair tested a new, previously unseen payment-details screen. Before ei The candidate explicitly combined package coverage with paid and waived states and kept a useful package link while questioning payment emphasis. The baseline also recognized the problem of a permanently primary link. The candidate did not fully establish all settled/refunding combinations or the standalone paid-versus-waived copy distinction. This is partial transfer to one independent case, not proof that the final wording resolves the earlier purchase-confirmation miss. No further wording or case was fit to these responses. **Release interpretation:** accessibility, navigation and motion have supported, narrowly scoped guide changes. UI identity remains pending for the consent/commitment and overlapping-state family: the first novel transfer case missed the contradictory statuses and informed package confirmation, and this final comparison did not close those gaps across cases. Leave that experimental wording unpublished. Across the frontend experiments there were **37 distinct executor sessions and nine fresh judge sessions**, all read-only. No all-frontend release sign-off. + +The later [class handover holdout](2026-11-13-ui-identity-handover.md) tested the unchanged final identity candidate on a fourth screen and records the subsequent release decision. diff --git a/evals/results/2026-11-13-ui-identity-handover.md b/evals/results/2026-11-13-ui-identity-handover.md index 12202c2..d57aeeb 100644 --- a/evals/results/2026-11-13-ui-identity-handover.md +++ b/evals/results/2026-11-13-ui-identity-handover.md @@ -33,3 +33,50 @@ does as well, keep the shorter published guide. Otherwise adopt B only if its two answers clear the gate without a contradictory or unsafe recommendation. A failure does not trigger more wording changes or another draw on this screen. The gate applies to this bounded diagnostic family; it does not certify all UI. + +## Observations and decision + +The pre-fix application displays a refusal referring to “that person” after the +dialog is accepted, with the successor visibly selected and the transfer button +still present. In the pictured branch the **outgoing** owner is the selected +payee. Historical application tests inspected separately assert the refusal's +addressee and unchanged ownership. A local Elixir probe executed the extracted +pre-fix choice, recipient and payout-guard functions with synthetic readiness, +stubbing the database and recording entry to the write boundary. With just the +owner blocked, keeping the money failed before write and moving it passed to +write; reversing the readiness records reversed both outcomes. This was not a +database transaction or a connected LiveView test. WebKit rendered a reduced +static screen at 390 px with sample data; it did not test the production layout. + +Four fresh, tool-free Codex executions (gpt-6.1-sol, medium reasoning, maximum +450 requested words) saw the same screenshot, source, sample records, contract +and brief. No fixed implementation, test assertions or expected priority was +shown. A fifth session scored the answers in shuffled order without arm labels. +The examiner agreed with all twelve binary judgements before applying the rule. + +| Guide / blinded answer | First message | Next action | Control and commitment | +|---|---:|---:|---:| +| Published / 1 | 1 | 0 | 1 | +| Published / 3 | 1 | 0 | 1 | +| Candidate / 2 | 1 | 1 | 1 | +| Candidate / 4 | 1 | 1 | 1 | + +All four found the right blocker, preserved the explicit money choice and kept +confirmation distinct from success. Both published-guide answers prescribed +an “existing” setup destination without evidence for it in the supplied material. +Both candidate answers made that link conditional and offered the already +available choice on the page. This concerns evidence for a recovery route, +not proof that no such route exists elsewhere in the application. + +**Decision: adopt the unchanged candidate; clear the UI identity release hold +for this field round.** It met all three requirements twice. The measured +difference was grounding the recovery action, not detecting the overlapping +states more often. Four answers on one new screen are not an estimate of +general improvement; earlier misses on the agreement, registration and payment +screens remain on record. This is a guided review, not autonomous routing or a +usability study. No external application change was necessary. + +Full guide SHA-256: published +`c8a7bdadb404b96b61ed6ce92a706bc279afe2954e6fbcb437f6bcdc51a8ae03`; +candidate +`1619fd98766dfc134e4d08221b576eb4a51b4eb64f9cba3e850518661eb2aaaa`. diff --git a/mix.exs b/mix.exs index 8db5891..4b19fae 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule ElixirAgentKit.MixProject do def project do [ app: :elixir_agent_kit, - version: "1.1.0", + version: "1.2.0", elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: [], diff --git a/priv/library/skills/ui-identity/SKILL.md b/priv/library/skills/ui-identity/SKILL.md index aa74734..b09b2a6 100644 --- a/priv/library/skills/ui-identity/SKILL.md +++ b/priv/library/skills/ui-identity/SKILL.md @@ -43,6 +43,10 @@ This workflow owns one screen's hierarchy and product identity. Spacing, alignme ## Decision points +- Do not assume user states are mutually exclusive. For independently true conditions, inspect the actual combination one person sees, together with the action it invites. Keep useful links, but derive the primary action and wording from whether that person still has a decision or commitment to make. + +- When the screen asks for a consequential decision, compare the information and choices from the perspective of each person who can arrive there. Group supporting facts or terms as one decision, distinguish what commits it, and trace each realistic alternative through the same guards and state as the primary action. Keep an existing safe way out; if declining simply returns to the same question, identify the reachable alternative and the evidence for it. + - A visual refinement keeps the incumbent identity; a new direction needs the user's explicit authorization and a written comparison of the old surface against the product's actual purpose, made before the change. - When the design guidance and the implementation disagree, follow what the product already ships, name the gap, and route the rule to [design-system](../design-system/SKILL.md); do not silently pick a side. - Cards, tables, gradients and illustration are options judged by the user's task; a repeated container that adds no meaning is removed, one that groups a decision stays. diff --git a/scripts/smoke_install.py b/scripts/smoke_install.py index 0becd2c..b3d443e 100644 --- a/scripts/smoke_install.py +++ b/scripts/smoke_install.py @@ -12,7 +12,7 @@ parser = argparse.ArgumentParser() parser.add_argument("--git-url", help="Fetch a real published Git dependency instead of the local package") -parser.add_argument("--ref", default="v1.1.0") +parser.add_argument("--ref", default="v1.2.0") parser.add_argument("--deps-path", default="deps", help="Consumer dependency directory, relative to its root") args = parser.parse_args() if Path(args.deps_path).is_absolute() or ".." in Path(args.deps_path).parts: