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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed — shared component contract

- Consolidated control geometry, spacing and response tokens; kept geometry in
the component stylesheet and reused catalogue checkmarks for installation
confirmation. Aligned comparable Review headings and panel insets.
- Installation starts expose busy state and suppress duplicate activation and
decorative disabled/busy response. Added an internal real-control reference
and busy/error retry coverage, with both themes and Calm captures.
- Split independent locale, viewport and capture checks into bounded tests
without removing assertions or raising timeouts. Removed the completed
consistency proposal; the component contract and acceptance checklist remain.

### Changed — languages and softer window motion

- Added a keyboard-operable round flag picker for English (UK), Brazilian
Expand Down
26 changes: 22 additions & 4 deletions docs/ACCEPTANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ browser report metadata use the triggering CI's source SHA.

The first PR #10 merge (`dfbed94`) passed main CI and Pages, but the original
`workflow_run` subscription to the GitHub-managed dynamic Pages workflow did
not start any acceptance run. The follow-up uses the repository's normal CI
workflow as its entry point and checks Pages explicitly. Its actual hosted
trigger remains unverified until the follow-up merges and runs; a configured
trigger alone is not evidence of execution.
not start any acceptance run. PR #11 corrected the entry point to normal CI
and checks Pages explicitly. This trigger is verified for merged main `18abe0a`:
[deployed acceptance run 40231047013](https://github.com/pedrobritx/mac-setup/actions/runs/40231047013)
passed all three cases in each of Chromium, Firefox and WebKit, after the
exact-revision Pages gates passed. This is automated dry-run evidence; the human
and real-installation rows below remain unperformed.

## Native macOS dry-run compatibility

Expand Down Expand Up @@ -116,3 +118,19 @@ Reviewer/date: ____________________
CI artifact for the tested commit; they cannot be inferred from Linux.
- The historical motion timeout remains unreproduced. New acceptance coverage
does not retrospectively establish its internal cause.

## Merged-main checkpoint — 26 October 2026

For `18abe0acd4f6bdbaedc980c099084ce4c0881345`, all five
[main CI jobs](https://github.com/pedrobritx/mac-setup/actions/runs/40230732341),
[Pages](https://github.com/pedrobritx/mac-setup/actions/runs/40230731914) and the
three-engine deployed suite linked above passed. Native macOS compatibility
passed its isolated dry-run job. None of these checks installed software on a
real test Mac or supplied human acceptance.

The next real-installation test needs an explicitly chosen disposable Mac or
macOS VM, a recoverable snapshot, and a reviewed minimal plan for the candidate
revision. Run the native collector and `./web.sh --dry-run --plan FILE` first;
record actual install/repeat-run outcomes only after real installation on that
disposable environment is separately authorized. Later source changes require
their own main CI, Pages and deployed-suite evidence.
7 changes: 6 additions & 1 deletion docs/CI_RELIABILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,17 @@ The live home page, Safety page, catalogue, `liquid.mjs` and `app.mjs` all retur
HTTP 200 and matched the merged main revision byte-for-byte. This establishes
asset availability and version consistency, not interactive production acceptance.

Still pending: installation on an isolated Mac; real sudo and App Store flows;
Pending at this checkpoint: installation on an isolated Mac; real sudo and App Store flows;
licences and vendor/MCP account authentication; human VoiceOver acceptance;
physical touch hardware; human cross-browser visual review; production FPS;
native-language editorial review; and interactive production/local-companion
acceptance. Existing dry-run specimens do not establish real installation.

The later [acceptance checkpoint](ACCEPTANCE.md#merged-main-checkpoint--26-october-2026)
records three-engine deployed browser/local-companion dry-run success for merged
main `18abe0a`. It supersedes the interactive automated-acceptance gap above;
real installation and human checks remain open.

## Evidence links

- [Historical failed PR workflow](https://github.com/pedrobritx/mac-setup/actions/runs/39888755209)
Expand Down
74 changes: 74 additions & 0 deletions docs/COMPONENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Component contract

The component consistency work uses the existing HTML controls and CSS layers;
it adds no UI framework. `style.css` owns geometry, spacing and semantic
materials. `liquid.css` consumes that geometry and owns decorative response.

Primary, secondary and tertiary actions differ in emphasis, with capsule action
surfaces and circular icon controls. Persistent selected/checked states belong
to profiles, categories, sources and checkboxes, not ordinary action buttons.
Catalogue and installation-confirmation checkboxes share the drawn mark while
retaining native checkbox semantics and keyboard focus.

Geometry uses named control, panel, window and mark radii, a 4/8/12/16/24/32/48
spacing vocabulary, 44px normal actions and 48px prominent actions. Dense source
links, compact navigation and nested corners retain their responsive/optical
exceptions in the component stylesheet. The motion layer must not override
component radii. Comparable review panels share their inset and heading origin.

Immediate feedback, elastic surface response and spatial transitions use the
shared quick/fast/slow duration and easing tokens. Ambient breathing and checkbox
stroke drawing retain their documented expressive timing.
Calm and system reduced motion override decoration. Disabled or busy actions
suppress press/hover deformation and pointer sheen. Starting an installation
sets `aria-busy`, disables duplicate activation, and clears busy state on success
or error; a failed start permits retry. Copy completion uses the existing Copied
feedback; normal actions do not acquire a persistent selected appearance.

## Internal control reference

Run from the repository root:

```bash
npm run test:browser -- --browser=chromium tests/browser/components.spec.mjs
```

The reference test clones the real current controls rather than maintaining a
second markup implementation. Screenshots under `test-results/` cover both
themes, Fluid/Calm, applicable states and long translated labels; compact width,
focus, geometry, native confirmation and a controlled busy/error transition are
checked. These are test artifacts, not another public product page or simulated
installation. The full browser suite also checks five locales, responsive
layouts, interrupted springs, reduced motion, accessibility and actual dry runs.

The completed implementation proposal was removed from
`outputs/consistency-review/REVIEW.md`; its original captures and Git history
remain historical evidence. Human VoiceOver, touch, visual/editorial review and
real installation acceptance remain in [ACCEPTANCE.md](ACCEPTANCE.md).

The Figma file still represents its saved desktop baseline. This runtime change
does not claim new Figma variants, editable phone layouts or automatic sync.

## Verification — 26 October 2026

The local Chromium suite passed all 26 cases, without retries, on the changed
source based on main `18abe0a`. Node 15/Python 21, catalogue and formatting checks
also passed. Source fingerprints are in `outputs/verification.json`.

Before splitting independent checks, the combined language journey exceeded its
60-second budget after successful interactions. Unchanged main also exhausted
the combined viewport/accessibility test's budget. An additional combined-language
repetition timed out at screenshot capture; another used almost the full budget.
Locale switching, keyboard/search/Safety, locale audits, viewport audits and
companion captures now have independent tests with the original deadlines and
assertions. The final locale-switching journey took 14.8 seconds, the keyboard/
search/Safety journey 12.0 seconds and the slowest viewport audit 28.7 seconds.
An earlier intermittent overflow observation was not reproduced in the final
suite; it is not assigned a speculative root cause.
The historical PR #8 timeout remains unresolved.

Local verification used Linux, Node 24.22.1, Python 3.12.14, Playwright 1.64.1 and
its pinned Chromium 156.0.8078.4 with an isolated browser dependency sysroot.
Docker, native macOS, Firefox and WebKit were unavailable locally for this pass;
hosted three-engine and native dry-run checks remain publication gates. A dry
run never establishes real Mac installation or human acceptance.
7 changes: 5 additions & 2 deletions docs/LIQUID_INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,8 @@ behaviour. Visual references and the comparison ledger live under `outputs/`.
The built-in browser is also used to inspect the actual local companion.

These checks do not install applications or apply macOS preferences on the
developer's Mac. Native touch hardware, VoiceOver and current Firefox/Chromium
rendering remain manual verification areas.
developer's Mac. Chromium, Firefox and WebKit now run in CI; native touch
hardware, VoiceOver and human browser rendering review remain acceptance areas.

The implemented [component contract](COMPONENTS.md) defines geometry ownership,
shared states, confirmation marks and the internal real-control reference.
2 changes: 2 additions & 0 deletions docs/assets/app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ async function startInstallation() {
}
if (!$("git-email").reportValidity()) return;
starting = true;
$("continue-button").setAttribute("aria-busy", "true");
$("continue-button").disabled = true;
// Discard the previous run's presentation before the new request can yield.
// A completed, hidden view must not look like the new run has finished.
Expand Down Expand Up @@ -716,6 +717,7 @@ async function startInstallation() {
showError(error.message);
$("continue-button").disabled = false;
} finally {
$("continue-button").removeAttribute("aria-busy");
starting = false;
}
}
Expand Down
43 changes: 31 additions & 12 deletions docs/assets/liquid.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
--duration-slow: 400ms;
--ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
--ease-liquid: cubic-bezier(0.2, 1.45, 0.4, 1);
--modal-open-dur: 250ms;
--modal-close-dur: 150ms;
--modal-open-dur: var(--duration-fast);
--modal-close-dur: var(--duration-quick);
--modal-scale: 0.96;
--modal-scale-close: 0.96;
--modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
--check-box: 150ms;
--modal-ease: var(--ease-smooth-out);
--check-box: var(--duration-quick);
--check-draw: 350ms;
--check-uncheck: 150ms;
--check-ease: cubic-bezier(0.22, 1, 0.36, 1);
--check-uncheck: var(--duration-quick);
--check-ease: var(--ease-smooth-out);
--liquid-opacity: 0.3;
}
html[data-theme="light"] {
Expand Down Expand Up @@ -120,7 +120,6 @@ html[data-theme="light"] {
) {
position: relative;
isolation: isolate;
border-radius: 24px;
}
:is(
.text-button,
Expand All @@ -145,8 +144,8 @@ html[data-theme="light"] {
opacity: 0;
transform: scale(0.82, 0.7);
transition:
transform 400ms var(--ease-liquid),
opacity 180ms ease;
transform var(--duration-slow) var(--ease-liquid),
opacity var(--duration-quick) var(--ease-smooth-out);
}
:is(
.text-button,
Expand Down Expand Up @@ -286,7 +285,7 @@ html[data-theme="light"] {
width: 19px;
height: 19px;
border: 1px solid var(--control-border);
border-radius: 6px;
border-radius: var(--radius-mark);
background: var(--field);
box-shadow: inset 0 1px 2px #0002;
transition:
Expand All @@ -300,8 +299,8 @@ html[data-theme="light"] {
stroke-width: 2.4;
}
.choice-mark path {
stroke-dasharray: var(--check-len);
stroke-dashoffset: var(--check-len);
stroke-dasharray: var(--check-len, 32);
stroke-dashoffset: var(--check-len, 32);
transition: stroke-dashoffset var(--check-uncheck) var(--check-ease);
}
.app-choice input:checked + .choice-mark {
Expand Down Expand Up @@ -527,3 +526,23 @@ html[data-transparency="solid"] .catalog-panel {
outline: 2px solid Highlight;
}
}

/* Disabled/busy controls never retain decorative hover or press surfaces. */
:is(button:disabled, [aria-busy="true"])::before {
transform: none !important;
box-shadow: none !important;
}
:is(
.text-button,
.back-button,
.icon-button,
.filter-button,
.source-option,
.category-button,
.effects-button
):is(:disabled, [aria-busy="true"])::before {
opacity: 0 !important;
}
:is(button:disabled, [aria-busy="true"]).has-liquid-light::after {
opacity: 0;
}
5 changes: 5 additions & 0 deletions docs/assets/liquid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ export function createLiquidUI() {
"pointermove",
(event) => {
if (!motionAllowed() || event.pointerType === "touch") return;
if (event.target.closest('button:disabled, [aria-busy="true"]')) {
clearHover();
return;
}
if (appWindow && event.target.closest(".setup-window") === appWindow) {
const bounds = appWindow.getBoundingClientRect();
const x = clamp(
Expand Down Expand Up @@ -460,6 +464,7 @@ export function createLiquidUI() {
pressed = event.target.closest(
".primary-button, .secondary-button, .icon-button, .filter-button, .text-button, .back-button, .nav-link, .source-option, .app-source",
);
if (pressed?.matches(':disabled, [aria-busy="true"]')) pressed = null;
pressed?.classList.add("is-liquid-pressed");
},
{ passive: true },
Expand Down
Loading
Loading