happier-ci-stabilize
Skill1.9k starsChanged 2 months agoMITView on GitHub
Stabilize failing, flaky, slow, or repeatedly rerun Happier CI and nightlies by collecting all reachable failures from one exact attempt, correcting canonical causes in one batch, simplifying low-value coverage, and choosing the cheapest safe rerun or candidate-resume path.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about happier-dev/happier
- slopus/happy“Not Dead Yet Release”GitHub · Jan 27, 2026 · 9 reactions
- @kaidav.is“github.com/happier-dev/...”Bluesky · Jul 19, 2026 · 6 likes
- @future-beginner.bsky.social“github.com/happier-dev/... memo”Bluesky · Sep 28, 2026 · 3 likes
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22”GitHub · Sep 27, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub and Bluesky (14 times).
On GitHub · 12
- Jan 27, 2026Not Dead Yet Release — slopus/happy9 reactions · 12 comments
- Oct 3, 2026agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22 — sudosubin/agents.nix0 reactions
- Sep 17, 2026Investigate and enable Copilot ACP mid-turn steering after live compatibility validation — cuihuibot/happier0 reactions
- Aug 8, 2026Add report: happier-dev/happier — SeeyeeTech/github-explorer0 reactions
7 more on GitHub
- Aug 8, 2026[Analyze] happier-dev/happier — SeeyeeTech/github-explorer0 reactions · 2 comments
- May 22, 2026Node builtins: classify node:sqlite as a platform module — fallow-rs/fallow0 reactions · 1 comment
- May 7, 2026happier: init at 0.2.1 — NixOS/nixpkgs0 reactions
- Apr 18, 2026Audit candidate: happier-dev/happier — xiaolai/nlpm0 reactions · 1 comment
- Apr 12, 2026byobu/tmux session support for terminal sessions (project → tmux session, task → tmux window), helps allow remote ssh access — debuglebowski/slayzone0 reactions · 1 comment
- Apr 10, 2026replacing or modifying the cli ai launch command? — debuglebowski/slayzone0 reactions · 1 comment
- Feb 28, 2026CRITICAL BUGFIX (daemon,app): Session spawning via tmux always fails — PID mismatch timeout, hidden errors, orphaned windows (#272) — slopus/happy0 reactions
On Bluesky · 2
- Jul 19, 2026github.com/happier-dev/... — @kaidav.is6 likes and reposts
- Sep 28, 2026github.com/happier-dev/... memo — @future-beginner.bsky.social3 likes and reposts · 1 reply
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/context.mdcCursor rule
- .cursor/rules/delegation.mdcCursor rule
- .cursor/rules/edison.mdcCursor rule
- .cursor/rules/implementation.mdcCursor rule
- .cursor/rules/validation.mdcCursor rule
- attack-conclusionSkill
- decompose-gatesSkill
- handoff-reportSkill
- happier-commit-worktreeSkill
- happier-compatibilitySkill
- happier-diagnoseSkill
- happier-docsSkill
- happier-github-opsSkill
- happier-implement-planSkill
- happier-implementSkill
- happier-instruction-evalSkill
- happier-issue-diagnoseSkill
- happier-issue-triageSkill
- happier-planSkill
- happier-port-0-2-to-0-3Skill
- happier-profile-and-optimizeSkill
- happier-pr-stewardSkill
- happier-release-notesSkill
- happier-release-promoteSkill
- happier-releaseSkill
- happier-release-validation-reviewSkill
- happier-release-validationSkill
- happier-reviewSkill
- happier-session-controlSkill
- happier-testingSkill
- verify-claimsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read and apply .agents/skills/happier-testing/SKILL.md before changing tests, fixtures, mocks, testkits, timeouts, or lane selection.
- Very specific: line 13
Use .agents/skills/happier-implement/SKILL.md for repository corrections and its RED -> GREEN requirement for behavior changes.
- Very specific: line 15
After a coherent validated 0.2 correction, use .agents/skills/happier-port-0-2-to-0-3/SKILL.md once for an evidence-backed 0.3 disposition.
- Distinctive: line 17
Read failure-collection.md for a failing run, ci-cleanup.md before simplifying CI/tests, and nightly-recovery.md before rerunning or …
- Distinctive: line 25
Run canonical CI once: Use the exact coherent SHA.
- Distinctive: line 27
Use one foreground monitor: Keep exactly one poller bound to the run and attempt.
- Distinctive: line 32
Do not enqueue the entire graph after every correction.
- Distinctive: line 35
run the affected package lane locally once the focused fixes are green.
- Very specific: line 36
when the local machine cannot represent the hosted boundary, dispatch tests-dispatch.yml with profile=custom, only the affected …
- Distinctive: line 38
after the correction batch is coherent, run the required full/release profile once on the exact final SHA.
- Distinctive: line 42
Use this exact 0.2 manual-dispatch shape for a focused hosted diagnostic, replacing only the check list and optional UI E2E spec list with …
- Distinctive: line 76
If explicit evidence is unavailable, use only the repository's canonical unattended lookup.
- Distinctive: line 90
Stop and report rather than retry when:
- Distinctive: line 103
every root-cause cluster and its classification.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Happier CI Stabilization
Drive a failing CI or release run to an evidence-backed terminal result with the fewest expensive reruns. This skill owns failure collection, failure clustering, stabilization sequencing, CI cleanup decisions, monitoring, and recovery selection. It does not grant release authority or replace the test-quality rules in .agents/skills/happier-testing.
Use the existing owners
- Read and apply
.agents/skills/happier-testing/SKILL.mdbefore changing tests, fixtures, mocks, testkits, timeouts, or lane selection. - Use
.agents/skills/happier-implement/SKILL.mdfor repository corrections and its RED -> GREEN requirement for behavior changes. - Resolve privileged publication through
.agents/skills/happier-release/SKILL.md; this skill never invents release authority. - After a coherent validated 0.2 correction, use
.agents/skills/happier-port-0-2-to-0-3/SKILL.mdonce for an evidence-backed 0.3 disposition.
Read failure-collection.md for a failing run, ci-cleanup.md before simplifying CI/tests, and nightly-recovery.md before rerunning or resuming a release.
One stabilization loop
- Bind the attempt. Record repository, workflow, run ID, attempt, event, head SHA, branch, and status. Never diagnose “latest” after a branch moves.
- Collect once. Let independent safe jobs reach terminal state. Then run
scripts/collect-actions-failures.mjs; retain complete failed-job logs under/tmpand use its compact summary. Stop early only for an unsafe mutation, conflicting publisher, or proven wedge blocking a corrected run. - Cluster causes. Collapse aggregators and repeated symptoms into the earliest causal signature and canonical owner. Use the shared testing taxonomy: production defect, stale test/expectation, harness/mock defect, release-control/setup defect, external service/configuration defect, resource/timeout defect, or inconclusive. Record dependent symptoms separately from the earliest cause. A timeout is only a symptom.
- Correct one batch. Reproduce every deterministic cluster that can be exercised locally. For each behavior change, prove the smallest meaningful RED, fix the canonical owner, and remove or update only coverage invalidated by that cause. Run all focused fixes together, then each affected lane.
- Run canonical CI once. Use the exact coherent SHA. The manual Blacksmith runner-pool input may accelerate approved non-secret Linux lanes; it selects a backend for the same reusable workflow and must not create a copied CI graph.
- Recover the cheapest safe way. Choose a native failed-job rerun, immutable-candidate resume, or fresh release using nightly-recovery.md. Preserve successful sibling candidates when their source and packaging identity remain valid.
- Use one foreground monitor. Keep exactly one poller bound to the run and attempt. Poll long setup, suites, builds, signing, notarization, store submission, and publication every 5-20 minutes. Long duration alone is not failure evidence.
- Close from terminal evidence. Require canonical CI success for the exact SHA. For a nightly, also inspect the terminal status artifact, immutable identities, required validation, promoted-reference verification, and requested side lanes. A green top-level badge alone is insufficient.
Iterate narrowly; certify once
Do not enqueue the entire graph after every correction. After one complete failure collection:
- reproduce each deterministic cluster with the smallest owner-level local command;
- run the affected package lane locally once the focused fixes are green;
- when the local machine cannot represent the hosted boundary, dispatch
tests-dispatch.ymlwithprofile=custom, only the affectedcustom_checks, and exactui_e2e_specswhen applicable; - select a Blacksmith Linux pool only for eligible non-secret Linux work and keep macOS, Windows, self-hosted, credentialed, and release-mutation lanes on their canonical runners;
- after the correction batch is coherent, run the required full/release profile once on the exact final SHA.
A GitHub native failed-job rerun is for the same SHA after a safe transient failure. It cannot validate code that exists only in a newer SHA. A custom dispatch on a corrected SHA is fast diagnostic evidence; it does not replace the final exact-SHA profile required by release policy.
Use this exact 0.2 manual-dispatch shape for a focused hosted diagnostic, replacing only the check list and optional UI E2E spec list with values accepted by the current workflow:
gh workflow run tests-dispatch.yml \
--repo happier-dev/happier \
--ref dev \
-f profile=custom \
-f runner_pool=github \
-f custom_checks=release_contracts \
-f installers_channel=stable \
-f providers_preset=all \
-f providers_tier=smoke--ref selects the workflow ref, not an arbitrary checkout SHA. Immediately bind the created run ID and prove its headSha equals the intended 40-character commit before using the run as exact-SHA evidence:
gh run view <run-id> --repo happier-dev/happier \
--json databaseId,attempt,event,headBranch,headSha,status,conclusion,workflowName,urlFor a same-workflow-SHA safe transient, retain successful jobs and rerun only failures and their dependents:
gh run rerun <run-id> --repo happier-dev/happier --failedBlacksmith never fails over automatically. If an explicitly approved Blacksmith run is unavailable or exhausted, start a new manual dispatch with the same profile/check/spec inputs and runner_pool=github; do not claim that the original run migrated pools. Blacksmith is never the pool for macOS, Windows, self-hosted, secret-bearing, or release-mutation jobs.
Keep source CI and release admission separate
- Source CI proves code correctness once for an exact SHA and emits or identifies explicit exact-SHA evidence.
- Release preflight cheaply proves that the already-tested SHA can be released with the requested channel, versions, notes, protocol, tools, credentials, and platform configuration.
- A nightly consumes the explicit successful
ci_run_id/attestation after verifying its repository, workflow, event, branch, status, and exact SHA. It does not rerun full source CI. - If explicit evidence is unavailable, use only the repository's canonical unattended lookup; do not create another scanner or occupy a release runner watching CI.
Expose every reachable failure
- Independent test jobs should not depend on unrelated test jobs.
- Independent checks inside one job may use
continue-on-erroronly when a finalif: always()aggregator fails the job if any required check failed. - Diagnostic artifact upload and terminal status projection should use
if: always()where safe. - Publication, promotion, signing, destructive mutation, and security/trust gates remain fail-closed and must not continue merely to collect more errors.
- A collector exposes all reachable failures. A downstream job gated on a missing candidate cannot be meaningfully tested until that prerequisite exists; do not label this unavoidable dependency as hidden CI failure.
Move cheap deterministic contracts, workflow parsing, generated-output checks, and configuration preflights before expensive work. Preflight calls the canonical owner or inspects its output; it does not duplicate source CI or production decisions.
Stop conditions
Stop and report rather than retry when:
- the origin run is still active and resume validation requires a terminal status artifact;
- source or candidate bytes changed but the proposed recovery would reuse old artifacts;
- a release mutation returned an ambiguous failure and current external state has not been reconciled;
- expected behavior is a product decision rather than an observable current contract;
- logs are unavailable and the remaining evidence cannot distinguish product, test, harness, or infrastructure failure.
Handoff
Report:
- exact run/attempt/SHA and whether collection was complete;
- every root-cause cluster and its classification;
- focused RED/GREEN evidence and broader lanes actually run;
- tests, mocks, timeouts, or workflow gates consolidated/removed and why coverage did not weaken;
- recovery mechanism used and what work it preserved;
- terminal CI/release evidence and residual risk.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

