Experiment Card
A ticket that is meant to move a number (rewrite a title, add FAQ schema,
shorten the inquiry form) should carry an experiment, so we learn whether it
worked instead of assuming it did. Create the card before the change ships;
Crewly does the rest:
- Ship — when the linked ticket reaches
done(or you runship), the
windows are fixed and the baseline is fetched right away: the
windowDays days that had settled before the ship day. The ship time is
the ticket's move to done in its log. If you link a ticket that is
already done and its log has no done time, create asks for
--shipped-at (when the change went live).
- Wait — the observation window is the
windowDaysdays after the ship
day. Nothing to do; don't re-check it by hand.
- Measure — once those days have settled (Search Console +3 days, GA4
+2), Crewly fetches the result and labels it:
- worked — a real change in the hypothesis's direction (|z| ≥ 1.96);
- didn't — enough data, but no real change (or the wrong way);
- inconclusive — too little data (e.g. fewer than 10 form submissions
across both windows, fewer than 30 clicks/sessions).
- Learn — your prediction (recorded at ship with
--confidence) is
resolved, the result is appended to the wiki experiment log
(llm-curated/experiments/log.md), the owner gets it, and a project
ticket gets a log line. show has the whole timeline (the run's trace).
Create
The metric comes from the seo-ops skill, so you need a seo-ops site config
(--config, absolute path; it names the GSC property / GA4 property and the
service-account credentials).
# Search Console: organic clicks to one page, on a project ticket
bash execute.sh create --hypothesis "FAQ schema on the H-1B guide → organic clicks from 120 to 160" \
--source gsc --measure clicks --page https://visa.careerengine.us/h1b-guide \
--from 120 --to 160 --config /abs/path/ce.seo-ops.json --project ce-site --ticket CE-31 --confidence 0.6
# GA4: inquiry-form submissions (all channels), on a harness ticket
bash execute.sh create --hypothesis "3-field inquiry form → submissions from 8 to 14 per two weeks" \
--source ga4 --measure events --event generate_lead --channel all \
--config /abs/path/ce.seo-ops.json --tkt TKT-212
- gsc measures:
clicks,impressions,ctr,position(lower is better;
direction defaults to decrease). Filters: --page URL, --query Q,
--page-match / --query-match exact|contains.
- ga4 measures:
sessions(Organic Search unless--channel all),
events (--event NAME) and conversions (GA4 key events; --event NAME
for one of them). Filter: --page /landing-path (a full URL is reduced to
its path; the query string is dropped).
--window-days7–90, whole weeks preferred (default 14).- One experiment per change: two changes on the same page in one window
can't be told apart.
Measure a ticket-autopilot period (owner / orchestrator / team lead)
When the owner lets a project's ticket autopilot drive a feature, one card
measures both the business number and how autonomous the run was:
bash execute.sh create --autopilot --project <project id> --label feed \
--hypothesis "Autopilot drives /feed for 4 weeks → feed card clicks up" \
--source ga4 --measure events --event feed_card_click --channel all \
--config /abs/path/ce.seo-ops.json --metric-label "Feed card clicks" \
--metric "ga4:sessions:page=/feed,pageMatch=contains,channel=all" \
--window-days 28 [--started-at ISO]
- Start is now (or
--started-at); the baseline is the equal window
before it. The card is running right away.
--label(with--autopilot): only tickets carrying that label count in
the process numbers. Use --metric-label to name the metric.
--metric "source:measure:key=value,…"(repeatable): more outcome
metrics, each with its own baseline, result and verdict. Keys: page,
pageMatch, query, queryMatch, event, channel, label, config
(default: --config). The primary metric gives the verdict.
- Process: tickets shipped, owner touches per ticket, stall time and $
per shipped ticket, from the autopilot stats of the same windows.
- The owner gets one short note a week while it runs, and the full result
(outcome verdicts + process) at the end. Everything is in the timeline.
- While it runs, the team lead's daily autopilot retro is on by default.
Follow it
bash execute.sh list --status running
bash execute.sh show --id EXP-3 # baseline, result, verdict, timeline
bash execute.sh ship --id EXP-3 # only if it has no ticket, or shipped before the ticket closed
bash execute.sh measure --id EXP-3 # only after dueAt; normally automatic
bash execute.sh cancel --id EXP-3 --reason "change reverted"
If a fetch keeps failing (credentials, property access) the owner is told
once with the error; after 6 failures in a row it retries once a day.