Skip to content

setup vitest on CLI for the main branch - #5

Merged
hurrymaplelad merged 4 commits into
mainfrom
testcli
Jan 13, 2026
Merged

hurrymaplelad merged 4 commits into
mainfrom
testcli

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor

Adds configuration for running tests on PRs

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 13, 2026
@hurrymaplelad

Copy link
Copy Markdown
Contributor

Worth mentioning how to test somewhere in the repo?

@hurrymaplelad
hurrymaplelad merged commit 9ab4920 into main Jan 13, 2026
2 checks passed
@cixzhang

Copy link
Copy Markdown
Contributor Author

Worth mentioning how to test somewhere in the repo?

It should be in the CONTRIBUTING doc.

@cixzhang
cixzhang deleted the testcli branch January 15, 2026 20:08
cixzhang added a commit that referenced this pull request Apr 21, 2026
Each sub-agent gets its own cloned project directory with only
the files a real consumer would see:

- XDS: package.json + node_modules/@xds/core (symlinked)
- Baseline: package.json + components/ui/ + lib/ + README.md
- HTML: package.json only

Templates in environments/project-{a,b,c}/ (generic names to
avoid leaking target identity). setup-environment.mjs creates
per-agent clones at runtime: results/<iter>/projects/<prompt-id>/

Agents write output to their own project dir — no cross-contamination
between agents or targets. Satisfies checker protocol invariant #4
(representative environment) and #5 (context-free agents).

Co-authored-by: Navi <[email protected]>
cixzhang added a commit that referenced this pull request Apr 21, 2026
* feat(vibe-tests): per-agent isolated project environments

Each sub-agent gets its own cloned project directory:
- XDS: package.json + node_modules/@xds/core (symlinked to source)
- Baseline: package.json + components/ui/ + lib/ + README.md
- HTML: package.json only (bare React project)

Templates: environments/project-{a,b,c}/ (generic names)
Runtime: setup-environment.mjs creates per-agent clones
Pipeline: collect-results.mjs copies output to eval path

Nightly prompts updated: 'Your project is at <path>. Explore it.'
No system-specific hints, no expected components, no coaching rules.

Tested: 2 prompts × 3 targets, all 6 passed tsc with 0 errors.
XDS agents found README → docs.mjs. Baseline found README → components/ui/.

Fixes checker protocol invariant #4 (representative environment)
and #5 (agent isolation — no cross-contamination).

Related: #1576, #1577

Co-authored-by: Navi <[email protected]>

* feat(vibe-tests): symlink CLI for XDS agents, add layout guidance to README

- Symlink @xds/cli + .bin/xds into agent project dirs so npx xds works
  Lets us measure whether agents reach for CLI (templates, theming docs)
  vs docs.mjs (component API)

- Add 'Page Layouts' section to core README recommending templates for
  full-page composition (AppShell, Layout, TopNav, SideNav patterns)

Co-authored-by: Navi <[email protected]>

* refactor: rename environment templates, add @xds/cli to devDeps

Templates renamed: project-{a,b,c} → project-{xds,baseline,html}
(agents see cloned copies, not the template names)

Added @xds/cli as devDependency in project-xds template so the
package.json looks like a real XDS project.

Co-authored-by: Navi <[email protected]>

* docs: add CLI install note to README templates section, use * versions

- Templates section now notes @xds/cli is required
- CLI section reworded to describe additional tooling beyond templates
- Removed duplicate template commands from CLI section
- Environment template uses * versions (always matches current)

Co-authored-by: Navi <[email protected]>

* docs(core): complete CLI command reference in README

List all CLI commands with descriptions so agents (and humans)
can see the full capability surface at a glance.

Co-authored-by: Navi <[email protected]>

---------

Co-authored-by: Navi <[email protected]>
cixzhang added a commit that referenced this pull request Apr 26, 2026
* feat(vibe-tests): per-agent isolated project environments

Each sub-agent gets its own cloned project directory:
- XDS: package.json + node_modules/@xds/core (symlinked to source)
- Baseline: package.json + components/ui/ + lib/ + README.md
- HTML: package.json only (bare React project)

Templates: environments/project-{a,b,c}/ (generic names)
Runtime: setup-environment.mjs creates per-agent clones
Pipeline: collect-results.mjs copies output to eval path

Nightly prompts updated: 'Your project is at <path>. Explore it.'
No system-specific hints, no expected components, no coaching rules.

Tested: 2 prompts × 3 targets, all 6 passed tsc with 0 errors.
XDS agents found README → docs.mjs. Baseline found README → components/ui/.

Fixes checker protocol invariant #4 (representative environment)
and #5 (agent isolation — no cross-contamination).

Related: #1576, #1577

Co-authored-by: Navi <[email protected]>

* feat(vibe-tests): symlink CLI for XDS agents, add layout guidance to README

- Symlink @xds/cli + .bin/xds into agent project dirs so npx xds works
  Lets us measure whether agents reach for CLI (templates, theming docs)
  vs docs.mjs (component API)

- Add 'Page Layouts' section to core README recommending templates for
  full-page composition (AppShell, Layout, TopNav, SideNav patterns)

Co-authored-by: Navi <[email protected]>

* refactor: rename environment templates, add @xds/cli to devDeps

Templates renamed: project-{a,b,c} → project-{xds,baseline,html}
(agents see cloned copies, not the template names)

Added @xds/cli as devDependency in project-xds template so the
package.json looks like a real XDS project.

Co-authored-by: Navi <[email protected]>

* docs: add CLI install note to README templates section, use * versions

- Templates section now notes @xds/cli is required
- CLI section reworded to describe additional tooling beyond templates
- Removed duplicate template commands from CLI section
- Environment template uses * versions (always matches current)

Co-authored-by: Navi <[email protected]>

* docs(core): complete CLI command reference in README

List all CLI commands with descriptions so agents (and humans)
can see the full capability surface at a glance.

Co-authored-by: Navi <[email protected]>

---------

Co-authored-by: Navi <[email protected]>
cixzhang added a commit that referenced this pull request Jun 21, 2026
* feat(vibe-tests): per-agent isolated project environments

Each sub-agent gets its own cloned project directory:
- XDS: package.json + node_modules/@xds/core (symlinked to source)
- Baseline: package.json + components/ui/ + lib/ + README.md
- HTML: package.json only (bare React project)

Templates: environments/project-{a,b,c}/ (generic names)
Runtime: setup-environment.mjs creates per-agent clones
Pipeline: collect-results.mjs copies output to eval path

Nightly prompts updated: 'Your project is at <path>. Explore it.'
No system-specific hints, no expected components, no coaching rules.

Tested: 2 prompts × 3 targets, all 6 passed tsc with 0 errors.
XDS agents found README → docs.mjs. Baseline found README → components/ui/.

Fixes checker protocol invariant #4 (representative environment)
and #5 (agent isolation — no cross-contamination).

Related: #1576, #1577

Co-authored-by: Navi <[email protected]>

* feat(vibe-tests): symlink CLI for XDS agents, add layout guidance to README

- Symlink @xds/cli + .bin/xds into agent project dirs so npx xds works
  Lets us measure whether agents reach for CLI (templates, theming docs)
  vs docs.mjs (component API)

- Add 'Page Layouts' section to core README recommending templates for
  full-page composition (AppShell, Layout, TopNav, SideNav patterns)

Co-authored-by: Navi <[email protected]>

* refactor: rename environment templates, add @xds/cli to devDeps

Templates renamed: project-{a,b,c} → project-{xds,baseline,html}
(agents see cloned copies, not the template names)

Added @xds/cli as devDependency in project-xds template so the
package.json looks like a real XDS project.

Co-authored-by: Navi <[email protected]>

* docs: add CLI install note to README templates section, use * versions

- Templates section now notes @xds/cli is required
- CLI section reworded to describe additional tooling beyond templates
- Removed duplicate template commands from CLI section
- Environment template uses * versions (always matches current)

Co-authored-by: Navi <[email protected]>

* docs(core): complete CLI command reference in README

List all CLI commands with descriptions so agents (and humans)
can see the full capability surface at a glance.

Co-authored-by: Navi <[email protected]>

---------

Co-authored-by: Navi <[email protected]>
cixzhang added a commit that referenced this pull request Jun 21, 2026
* feat(vibe-tests): per-agent isolated project environments

Each sub-agent gets its own cloned project directory:
- XDS: package.json + node_modules/@xds/core (symlinked to source)
- Baseline: package.json + components/ui/ + lib/ + README.md
- HTML: package.json only (bare React project)

Templates: environments/project-{a,b,c}/ (generic names)
Runtime: setup-environment.mjs creates per-agent clones
Pipeline: collect-results.mjs copies output to eval path

Nightly prompts updated: 'Your project is at <path>. Explore it.'
No system-specific hints, no expected components, no coaching rules.

Tested: 2 prompts × 3 targets, all 6 passed tsc with 0 errors.
XDS agents found README → docs.mjs. Baseline found README → components/ui/.

Fixes checker protocol invariant #4 (representative environment)
and #5 (agent isolation — no cross-contamination).

Related: #1576, #1577


* feat(vibe-tests): symlink CLI for XDS agents, add layout guidance to README

- Symlink @xds/cli + .bin/xds into agent project dirs so npx xds works
  Lets us measure whether agents reach for CLI (templates, theming docs)
  vs docs.mjs (component API)

- Add 'Page Layouts' section to core README recommending templates for
  full-page composition (AppShell, Layout, TopNav, SideNav patterns)


* refactor: rename environment templates, add @xds/cli to devDeps

Templates renamed: project-{a,b,c} → project-{xds,baseline,html}
(agents see cloned copies, not the template names)

Added @xds/cli as devDependency in project-xds template so the
package.json looks like a real XDS project.


* docs: add CLI install note to README templates section, use * versions

- Templates section now notes @xds/cli is required
- CLI section reworded to describe additional tooling beyond templates
- Removed duplicate template commands from CLI section
- Environment template uses * versions (always matches current)


* docs(core): complete CLI command reference in README

List all CLI commands with descriptions so agents (and humans)
can see the full capability surface at a glance.


---------
cixzhang added a commit to vjeux/astryx that referenced this pull request Oct 26, 2026
…00 ms release, and Button FR15 says the layer lasts through the fade

Cindy's DECIDED meta#5: on touch Button's press tint owns ::before and releases
over 250 ms; a mouse keeps 200 ms. A mouse button's or the Space key's press
the controller paints on a touch-first device now carries
data-astryx-press-input, and its release plays the deselect clock and curve
on the element, Button's ::before and a card's ::after alike; the controller
times it the same. Button FR15 states the ::before layer is present while
pressed and through its fade-out, and that a mouse or Space press keeps the
200 ms fade.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants