Skip to content
This repository was archived by the owner on Nov 2, 2026. It is now read-only.

test: define canonical Gardner persona contract - #368

Merged
chubes4 merged 1 commit into
mainfrom
feat-367-gardner-persona-contract
Aug 23, 2026
Merged

chubes4 merged 1 commit into
mainfrom
feat-367-gardner-persona-contract

Conversation

@chubes4

@chubes4 chubes4 commented Aug 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Add the versioned extra-chill-users/chris-gardner 1.0.0 persona fixture and draft-07 schema under the test-only tests/personas/ area.
  • Define the network-wide extra_chill_team membership shape, role baseline capabilities, explicit manage_brand_socials grant, behavioral traits, stable cross-product oracle IDs, and hard safety constraints.
  • Document how product-owned recipes pin the contract without moving Studio, Artist Platform, Events, Community, or future product behavior into Extra Chill Users.

Ownership rationale

Extra Chill Users owns canonical user identity, network memberships, roles, user-level grants, persona traits, and reusable oracle vocabulary. The contract therefore describes only those fields. Product repositories continue to own scenario setup, actions, assertions, and capability-gap expectations, while Extra Chill Network remains product-agnostic.

No production runtime endpoint, generic runner, orchestration substrate, product-specific implementation, or Network-layer dependency was introduced. The fixture remains test-only and is excluded from production packages by the existing .buildignore convention.

Contract

  • Persona ID: extra-chill-users/chris-gardner
  • Contract version: 1.0.0
  • Safe fixture identity: gardner_persona_fixture / gardner-persona@example.invalid
  • Team membership: extra_chill_team on every active network site
  • Explicit user grant: manage_brand_socials on every active network site
  • Oracles: task completion, obvious state, reload persistence, safe retry, duplicate prevention, attribution, actionable errors, jargon avoidance, and server authorization

Verification

  • npm run test:unit:js -- --runInBand tests/js/gardner-persona.test.js (4 tests passed)
  • npx wp-scripts lint-js tests/js/gardner-persona.test.js (passed; repository legacy-eslintrc advisory only)
  • npm run test:unit:js -- --runInBand (3 suites, 14 tests passed)
  • npm run build (passed)
  • git diff --check (passed)
  • homeboy review lint --changed-only --placement local --summary (passed)
  • homeboy review audit --changed-since origin/main --summary (0 introduced findings)
  • homeboy review build --path /var/lib/datamachine/workspace/extrachill-users@feat-367-gardner-persona-contract (passed, including production package structure and PHP syntax validation)
  • Managed WordPress PHPUnit was not started locally because the controller lacks the configured WP_CODEBOX_DB_* secret mapping; PR CI provides its MySQL test service. No PHP or runtime code changed.

Safety

The fixture contains no production credentials, tokens, personal contact data, or live external-write permission. Its identity is visibly test-only and uses the reserved example.invalid domain.

Closes #367

@homeboy-ci

homeboy-ci Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Homeboy Results — extrachill-users

Review lint

✅ review lint — passed

ℹ️ Auto-fix: homeboy refactor extrachill-users --path /home/runner/work/extrachill-users/extrachill-users --changed-since f6bc6df --from lint --write
ℹ️ Some issues may require manual fixes
ℹ️ Full options: homeboy self docs commands/lint
ℹ️ Save lint baseline: homeboy review lint extrachill-users --baseline
Deep dive: homeboy review lint extrachill-users --changed-since f6bc6df

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-extrachill-users-review-lint-homeboy-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-extrachill-users-review-lint-homeboy-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/extrachill-users/actions/runs/32669381323

Review test

✅ review test — passed

  • 107 failed out of 410 total
  • 3 skipped

ℹ️ Ignored a malformed test-failures sidecar (JSON error); the primary run result is preserved. Re-run with --analyze after the extension emits a valid sidecar for failure classification.
ℹ️ To run specific tests: homeboy review test extrachill-users -- --filter=TestName
ℹ️ Auto-fix lint issues: homeboy refactor extrachill-users --from lint --write
ℹ️ Collect coverage: homeboy review test extrachill-users --coverage
ℹ️ Save test baseline: homeboy review test extrachill-users --baseline
ℹ️ Analyze failures: homeboy review test extrachill-users --analyze
ℹ️ Pass args to test runner: homeboy review test -- [args]
ℹ️ Full options: homeboy self docs commands/test
Deep dive: homeboy review test extrachill-users --changed-since f6bc6df

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-extrachill-users-review-test-homeboy-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-extrachill-users-review-test-homeboy-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/extrachill-users/actions/runs/32669381323
Tooling versions
  • Homeboy CLI: homeboy 0.355.5+b81af80d4ebd
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 45e1968e
  • Action: Extra-Chill/homeboy-action@v2

@chubes4
chubes4 merged commit 627533b into main Aug 23, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define canonical Chris Gardner network power-user persona

1 participant