Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
- Test strategy now checks whether an existing assertion catches the requested
regression before changing tests. A demonstrated witness can remain unchanged.

- Paired field evaluations informed seven narrow corrections: preserve the
existing gesture on stale commands, distinguish examined from changed data,
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.

## 1.1.0 — 2026-11-13

- Minor release: code reviews can now use a changed branch, caller or previous
Expand Down
4 changes: 3 additions & 1 deletion docs/provenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ documentation or source of the version named; no passage is reproduced. The
review added `pipelines.md`, `architecture.md`, `library-authoring.md` and
`agent-loop.md`, expanded `code-shape.md` with the anti-pattern vocabulary, and
added the `data-pipelines` workflow for flows of many items, whose CI namesake
`pipeline-design` now points to it.
`pipeline-design` now points to it. A later [paired engineering exercise](../evals/results/2026-11-13-engineering-ab.md) contributed the distinction between records examined and records changed in a paged repair.

## Refactoring workflows in 0.8

Expand All @@ -170,3 +170,5 @@ the workflow is written in the kit's own words.
detail, comments that carry information, visible error flow) through the Elixir
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.
14 changes: 7 additions & 7 deletions docs/source-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@ are not packaged. “Original workflow” means the historical authored material
| Code | [`abstraction-layers`](../priv/library/skills/abstraction-layers/SKILL.md) | `stratified-design` | elixir-antipatterns | A reader can follow the business intent without chasing a chain of one-line wrappers or decoding transport mechanics. |
| Code | [`module-design`](../priv/library/skills/module-design/SKILL.md) | `organizar-modulos` | elixir-antipatterns | Each public module name predicts its responsibility, and exported operations form a coherent promise to consumers. |
| 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. |
| 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 | [`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. |
| 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`. |
| Frontend | [`direct-interactions`](../priv/library/skills/direct-interactions/SKILL.md) | `interacoes-diretas` | ui-review; impeccable | Use a representation that communicates the actual choice, such as a segmented control or thumbnail, without turning decoration into a hidden input. |
| Frontend | [`accessibility`](../priv/library/skills/accessibility/SKILL.md) | `acessibilidade` | ui-review; WCAG 2.2 | Provide correct heading/landmark order, labels and programmatic relationships that match the visible task. |
| Frontend | [`accessibility`](../priv/library/skills/accessibility/SKILL.md) | `acessibilidade` | ui-review; WCAG 2.2 | Provide correct heading/landmark order, labels and programmatic relationships that match the visible task. Inspect composed fields after rendering and follow each error source through correction. |
| Frontend | [`design-system`](../priv/library/skills/design-system/SKILL.md) | `design-system` | impeccable; stitch-design-taste | Describe principles by purpose: hierarchy, density, typography, color role, motion, imagery and interaction states, not a fashionable fixed palette. |
| Frontend | [`motion-design`](../priv/library/skills/motion-design/SKILL.md) | — (external adaptation) | motion-kit (MIT, pinned commit); Material 3; IBM Carbon | Every animated change names the state it explains, the curve and duration derived for it, and a reduced-motion alternative that keeps the state legible. |
| Frontend | [`motion-design`](../priv/library/skills/motion-design/SKILL.md) | — (external adaptation) | motion-kit (MIT, pinned commit); Material 3; IBM Carbon | Every animated change names the state it explains, the curve and duration derived for it, and a reduced-motion alternative that keeps the state legible. Inspect held and final states under reduced motion separately from pointer-following movement. |
| Code | [`performance`](../priv/library/skills/performance/SKILL.md) | `performance` | original workflow; shared contract | Before/after measurements use comparable inputs, warmup, configuration and statistical summary. |
| Code | [`process-lifecycle`](../priv/library/skills/process-lifecycle/SKILL.md) | none (new in 0.5) | shared contract; Elixir context | Every process has a stated reason, an owner of its state and a rebuild path after restart; duplicates and bursts are bounded. |
| Code | [`house-patterns`](../priv/library/skills/house-patterns/SKILL.md) | none (new in 0.7) | shared contract; Elixir context; a consuming application's conventions, generalized | Every conformed site has a public-seam test that passed before and after its own step, and every remaining deviation has a written reason. |
| Code | [`functional-refactoring`](../priv/library/skills/functional-refactoring/SKILL.md) | none (new in 0.8) | shared contract; Elixir context; *Grokking Simplicity* concepts (Eric Normand), concept only | Every extracted decision is tested with plain values and no stub, and the effect inventory is identical before and after. |
| Code | [`readable-code`](../priv/library/skills/readable-code/SKILL.md) | none (new in 0.8) | shared contract; Elixir context; *Clean Code* concepts (Robert C. Martin), concept only | Tests, effects and public names are unchanged and no new lint finding appears, while every obstacle in the reading notes is resolved or handed off. |
| Code | [`async-state`](../priv/library/skills/async-state/SKILL.md) | `estados-assincronos` | original workflow; shared contract | The UI and API can reconcile after reconnect or reload using persisted identifiers and a current-state read. |
| Code | [`async-state`](../priv/library/skills/async-state/SKILL.md) | `estados-assincronos` | original workflow; shared contract | The UI and API can reconcile after reconnect or reload using persisted identifiers and a current-state read; commands tied to a rendered result retain their gesture and confirmation requirements. |
| Domains | [`ai-orchestration`](../priv/library/skills/ai-orchestration/SKILL.md) | `orquestracao-ias` | original workflow; shared contract | Acquisition, release, timeout, cancellation and crash recovery keep capacity counters consistent. |
| Backend | [`provider-calls`](../priv/library/skills/provider-calls/SKILL.md) | none (new in 0.5) | a consuming application's paid-call rules, generalized; shared contract | Every call has one audit row at the provider's billing moment, failures are typed reasons, and a failed round trip never charges twice. |
| Backend | [`data-pipelines`](../priv/library/skills/data-pipelines/SKILL.md) | none (new in 0.7) | Elixir, Ecto, GenStage, Flow and Broadway documentation; shared contract | Every stage is bounded, a duplicate delivery produces one effect, and a poisoned item leaves the flow with a record without blocking the rest. |
| Backend | [`data-pipelines`](../priv/library/skills/data-pipelines/SKILL.md) | none (new in 0.7) | Elixir, Ecto, GenStage, Flow and Broadway documentation; shared contract | Stages stay bounded; duplicates and poison items do not block progress. A retained page advances the cursor without changing the meaning of public progress counts. |
| Domains | [`notifications`](../priv/library/skills/notifications/SKILL.md) | `notificacoes-e-bots` | original workflow; shared contract | A source event has stable identity through delivery so duplicate callbacks/retries do not create unexplained sends. |
| Domains | [`integration-setup`](../priv/library/skills/integration-setup/SKILL.md) | `setup-integracoes` | original workflow; shared contract | The UI and backend use one readiness contract with specific reasons, not several booleans with conflicting meanings. |
| Domains | [`commercial-eligibility`](../priv/library/skills/commercial-eligibility/SKILL.md) | `elegibilidade-comercial` | original workflow; shared contract | A single domain rule answers whether the exact offer can be produced, sold and fulfilled at its destination. |
| Domains | [`commercial-eligibility`](../priv/library/skills/commercial-eligibility/SKILL.md) | `elegibilidade-comercial` | original workflow; shared contract | A single domain rule answers whether the exact offer can be produced, sold and fulfilled at its destination. Trace all included components separately from unselected siblings. |
| Domains | [`metrics-costs`](../priv/library/skills/metrics-costs/SKILL.md) | `metricas-e-custos` | original workflow; shared contract | A metric definition states numerator, denominator, unit, period, source and exclusions so two screens mean the same thing. |
| Domains | [`operational-alerts`](../priv/library/skills/operational-alerts/SKILL.md) | `alertas-operacionais` | original workflow; shared contract | Repeated events for one active issue update a stable alert rather than flooding the operator. |
| Domains | [`simulation-isolation`](../priv/library/skills/simulation-isolation/SKILL.md) | `simulacao-e-producao` | original workflow; shared contract | Simulation cannot reach real orders, payments, messages or provider writes through a hidden common code path. |
Expand Down
3 changes: 3 additions & 0 deletions evals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ fails CI. Runs are manual and paid; nothing here calls a model.

## Case notes

The [catalog field round](results/2026-11-13-catalog-field-round.md) maps all
38 workflows to their paired evidence and records the release decision.

The [test-strategy pilot](results/2026-11-13-test-strategy-baseline.md) pairs a
missing assertion that shipped with an inverse control that needed no edit.
The [debugging baseline](results/2026-11-13-debugging-baseline.md) starts a
Expand Down
24 changes: 24 additions & 0 deletions evals/fixtures/engineering-pairs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Offline engineering behavior checks

These synthetic modules are small models of historical application contracts.
They are evaluator artifacts, not application code or shipped agent guidance.
Use Python 3 and Elixir on PATH:

```sh
python3 evals/fixtures/engineering-pairs/replay.py
```

The replay runs each recorded output in a separate Elixir process. For each
primary case, `cases.json` contains the participant brief, independently held
assertions, design criteria, modules actually returned and SHA-256 hashes of
the full original answers, including the omitted prose. The executable checks
do not score readability, dependency direction or deployment recommendations.
The accompanying report records that separate inspection.

For the discovery case, copy only `operation.exs` as `job.exs` and
`boundary.txt` as `recording.md` into each participant directory.
`request.txt` is the participant brief. Keep `holdout.exs`, `cases.json`,
`discoveries.json` and the grader outside those directories. A is the control;
B additionally receives the canonical shared contract and data-pipelines
workflow. The follow-up used the same files, brief and oracle after a focused workflow change. A recorded answer can fail an oracle: a successful replay means
the original verdict was reproduced, not that every answer passed.
1 change: 1 addition & 0 deletions evals/fixtures/engineering-pairs/boundary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support and accounting agree on these words: a manual mark only recorded an operator decision. A posting made by the system is already authoritative even if its link disappeared. A ledger entry that later reversed still represents a real movement; entries imported from old statements are also real. Duties do not allow the cleanup to change such history. The database may change between discovery and applying a write; use the current stored row. No numeric assumption beyond unique integer record IDs has been specified.
Loading
Loading