still.fail
AGENTS.md69 starsChanged 16 days agoMITView on GitHub
- workflows/pipeline.yml is the one for pushes: its plan (scripts/plan.sh) decides from the paths changed which checks run and, on main, what is deployed (the beta of each part); scripts/plan-covers.ts checks that every file a deployed part is built from deploys it. contributions runs forks' pull requests on GitHub's runners with no secrets; never give pipeline a fork's trigger. - A pull request merges once its own checks passed (gh pr merge --squash), no queue before it. What a branch's…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AFK-surf/monoidword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- AFK-surf/monoid★ 68100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cloud/AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- station/AGENTS.mdAGENTS.md
- web/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cloud/CLAUDE.mdCLAUDE.md
- .github/CLAUDE.mdCLAUDE.md
- rules/CLAUDE.mdCLAUDE.md
- station/CLAUDE.mdCLAUDE.md
- web/CLAUDE.mdCLAUDE.md
- ste-writingSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 15
Every job says timeout-minutes, 5 at most, except the limits listed in scripts/ci-timeouts.py's LONGER.
- Very specific: line 32
Use GitHub's standard ubuntu-24.04 runners for Linux CI.
- Very specific: line 42
Keep the Apple native jobs and Xcode or simulator tasks on their existing Mac pools.
- Distinctive: line 57
Do not rerun an old commit's main pipeline: it deploys that commit's beta over the newer one.
- Very specific: line 95
Keep fetch-depth: 0 and a complete checkout on persistent macos-ci workspaces.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
Working on CI (for agents)
workflows/pipeline.ymlis the one for pushes: its plan (scripts/plan.sh) decides from the paths changed which checks run and, on main, what is deployed (the beta of each part);scripts/plan-covers.tschecks that every file a deployed part is built from deploys it.contributionsruns forks' pull requests on GitHub's runners with no secrets; never give pipeline a fork's trigger.- A pull request merges once its own checks passed (
gh pr merge --squash), no queue before it. What a branch's pushes leave out, the mbui app's tests and mbui's own at 120, 60, 24 and 7 frames a second, runs on main after the merge (workflows/mbui-check.yml,workflows/mbui-ci.yml; the user, 2026-11-11 15:51 UTC: 「直接合,帧率在 main 上合并后 跑」); a branch runs at 120, 60 and 24 only the test files it changed of sfapp and of the small packages (sfpages, settings, gallery, player, sfgraphic) (rates-changed; the user, 2026-11-14: 「PR 上也跑改到文件的帧率检查」, after four pull requests' own changed tests went red at a rate on main). Red on main holds no one back and is mended forward by whoever brought it, never rolled back: the run'srates-saidsays what merged since the last run that went through, the likeliest first (scripts/rates-said.sh). - Every job says
timeout-minutes, 5 at most, except the limits listed inscripts/ci-timeouts.py'sLONGER. Those allow 10 minutes, exceptprebuild.yml'sbuildjob, which allows 15. Cold Windows shell builds take around 540 seconds and can exceed 10 minutes with setup and packaging. Pion workflows (pion-station.yml,pion-station-main.yml,pion-ui.yml,mbui-sync-invar.yml) are capped at 3 minutes (PION_LIMITinscripts/ci-timeouts.py) and emit a::warning title=CI duration > 60s::summary step (if: always()). Other jobs that need longer are made faster, never finished over several pushes or reruns: a branch's mbui-check run cut before its programs were all built keeps none of the units it compiled (test.sh'sMBUI_BUILT_MARK), and main's store keeps what its runs used for two hours on app-build, one hour on secondary stores, and three hours on cut runs. Minutes are whole (the runner cut a step's 3.8 at 3): a step that must end some seconds before its job, for the caches saved after it, runs underscripts/with-timeout.sh@$((JOB_END - 35))(by what follows it: mbui-check's 25, its app build's 35 on a branch and 25 on main, its replay build's 35), JOB_END written by the job's first step, less its 5 s of setting up (preview's ios and windows 8). The units' stores of GitHub's Linux and iOS (xcode-27) images are keyed by their compiler (IMG,ccand 12 hex digits of clang, its--versionand the C standard headers it preprocesses — plus the SDK build version on iOS — notlinux-libc-dev's version orImageVersion): two compilers in turn kept only the last run's units in one, while multiple runner images carrying the same clang and headers tore main's store apart and left a push's image's units hours behind main's. - Use GitHub's standard
ubuntu-24.04runners for Linux CI; do not use paid runners. The pipeline plans only missing native parts.natives-buildsplits heavy independent Rust builds (shell-stationandmesh) onto separate VMs with per-target Cargo target and Zig caches (kept warm on main byworkflows/native-cargo-cache.yml), and defers Linux readers tonatives-linux-readerswhenshell-stationis rebuilt so cold builds stay under 5 minutes. Main publishes the archives by source key. A branch stages them in company R2 and uploads per-slot receipt artifacts for the rest of that run.nativescombines the status for the pipeline and Windows preview.natives-linux-readers,natives-win-reader, andnatives-harnesstake their static shell from that run when it changed. The Linux reader jobs use 8 MB C units with onemoonbit_initunit, and keep compiled units in the Actions cache. Branch readers and the tests' harness use -O0, and main's shipped readers retain optimization. Each Rust check shard uses its own GitHub runner and Cargo target.plan.shselects Rust checks when their inputs changed. - Keep the Apple native jobs and Xcode or simulator tasks on their existing Mac pools. A branch's
check-macruns on GitHub'smacos-26(main's too withvars.MINI1 = 'off'). A branch plansnatives-maconly when a job uses those parts,natives-mac-readeronly forcheck-macandmac-build, andnatives-mac-shell-station/natives-mac-station-piononly whenstation=true. On main, those four jobs — andworkflows/mbui-figure.yml'srendererandfilm— on the self-hosted Macs put what the store lacks in the store (native.ts ensure --publish-store, theproductionenvironment's Cloudflare token), never in the release:gh release uploadfrom Shanghai timed out at the job's 5 minutes. GitHub'smacos-26, or a run without the token, still uses--publish. Android release builds andstation-updateuse Mini1; Mac app and station release signing use GitHub'smacos-26. - A job that needs another job's output says that job's result in its
if:(contains(fromJSON('["success","skipped"]'), needs.natives.result)): one cut at itstimeout-minutesiscancelled, notfailure, and the run is not cancelled, so!cancelled() && !failure()alone ran nine jobs without the readers (main 44466921858). - A check that failed and passed on the same commit is never rerun green (the root AGENTS.md): a branch's
gate, in a run attempted again, fails unless every job that failed or was cancelled before failed for GitHub's or the network's sake (scripts/gate-rerun-check.mjs). The gate also allows a job stopped only bynative.ts's exact missing-prebuild diagnostic, with no other failure: its build or test never started. Supplying the artifact lets that work start. Do not rerun an old commit's main pipeline: it deploys that commit's beta over the newer one. - An artifact uploaded for people to look at (pictures, logs, what moved) says
continue-on-error: true: a runner's connection to GitHub's artifact service reset fails a check that had passed (main acb00686, 2026-11-01; #5157'soffscreen, 2026-11-10). One a later job downloads does not: there the upload's failure is the job's, unless that job is skipped without it (monoid's betas,monoid-upload's outcome in the job's outputs) or does without it (mbui-size's measures and what they measure:recordcarries the one before's for a measure missing). mbui-size downloads what it measures byscripts/download-artifact.sh --optional, not actions/download-artifact, which once ended 0 with half a zip on the disk (43955196994, 2026-11-16): a zip is checked by its size and digest, a cut one taken on by Range, and the directory is there only when it came whole. - A release's deltas (
scripts/release-deltas.ts: thedeltas-<part>jobs, each waiting for its own part's build alone,put_feedinscripts/release.sh) never fail or hold back a release: what goes wrong is a warning and that delta is left out, the feed whole without it. Their time is bounded by--deadlineinside the job's own 5 minutes; a part that needs more is made faster, split (the station's, a job a platform:--platform, put's--merge) or gets fewer bases, not longer (10 bases: the owner, 2026-11-11). Alldeltas-*jobs (deltas-android, itsjavacubuntu-24.04's JDK,deltas-desktop,deltas-desktop-win, and the station's four platforms) run onubuntu-24.04: fast R2 transfers keep them around 53–77 s, whereas runningdeltas-stationonci-1stalled 200–304 s downloading staged archives over Shanghai international egress. - Stable (
workflows/stable.yml) runs from main's head against the release's older checkout: a step that needs newer scripts takes them from$GITHUB_SHA(git show, a sparse checkout). Its station is built into a directory and staged; onlystation-putputs it, packages thenstation.jsonseconds apart, so a run cut before leaves the channel as it was. Its native parts come fromstation-natives-*, which build only what neither the releasenative-artifacts(10 of a part, hours of main's) nor the store (natives/: main'snatives-store, after its natives jobs; readers kept 14 days,scripts/release-prune.ts) has. desktop-buildwaits fornatives-macalone (it uses only the Apple parts, not the Mac's reader, whichnatives-mac-readerbuilds beside it) anddesktopfordesktop-buildalone, never fornatives' slower Linux build nor the reader's. The release's upload jobs (deltas-*,desktop,put,changelog) take Node alone (.github/actions/node), no pnpm:release-put.shandchangelog-put.shgo through Cloudflare's API with the token (wrangler only without it).release-prunedeletes old files afterputin a job of its own, which neitherdonenorstation-updatewaits for.- The Mac's beta never holds back the others' (
putruns whateverdesktopand its build,desktop-build, came to): its signing waits on Apple's notary service, which can take a job's five minutes (2026-11-12, four runs in a row). Nor does Windows' (desktop-win): a new MoonBit's cold build was cut at its five minutes run after run and held every part's beta back (the user, 2026-11-17). Nor do the station's and Android's (station,android): each handsputonly what it finished, and one cut at its upload held the signed Mac and Windows betas back (main 44147606865, 2026-11-17). A failed or cancelled part leaves its feed as it was; it is main's red, anddonewaits for it, so the next run plans it again. - The Android delta's deflater is part of the format: JZlib's version (
libs/ui/android/jzlib) and the level and settingsDelta.javadeflates with must be what every installed app carries, or what it makes no longer is the release's APK (each delta is checked by the Java applier before it is published, so such a change only stops Android's deltas). - Keep
fetch-depth: 0and a complete checkout on persistentmacos-ciworkspaces. A shallow job leaves.git/shallowand sends the next full-depth job through an expensive unshallow. Dedicated shallow pools (quickandmbui-render) use shallow checkouts. Quote'0'in GitHub Actions expressions because numeric0is falsy in&&and||.
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.

