agentleFS
hranesshraness/aicharts/AGENTS.md

aicharts

AGENTS.md4 starsChanged 2 months agoMITView on GitHub

- Follow WRITING.md for internal prose and STYLE.md for public prose. - Follow the managed Next.js compatibility guidance in CLAUDE.md: read the relevant installed node_modules/next/dist/docs/ guide before writing code and heed deprecation notices. The installed version may differ from training data. - Apply unreasonably robust programming when agent work is cheap. Model invalid states out of existence and pair readable regression examples with property tests for general laws. -

  • Reads credentials
  • Installs packages

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

30 rules. About 0 are common, 11 are distinctive, and 19 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 19

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Follow WRITING.md for internal prose and STYLE.md for public prose.

    line 27
  2. Very specific:

    Follow the managed Next.js compatibility guidance in CLAUDE.md: read the relevant installed node_modules/next/dist/docs/ guide before …

    line 28
  3. Very specific:

    Use immutable @hraness/web-discovery exports for generic metadata, JSON-LD serialization, and social-image rendering, and …

    line 32
  4. Very specific:

    Use a shared design kit or @hraness/ui only for stable, portable primitives and tokens at an immutable version.

    line 35
  5. Distinctive:

    Keep Nebula Sans from the immutable design-kit release as the ordinary proportional face across the chart, publication, exports, and social …

    line 36
  6. Very specific:

    Keep mandatory rules in the closest AGENTS.md, current procedures in docs/, executable contracts in types and tests, and pull-based …

    line 38
  7. Distinctive:

    Keep AI Charts the general product for sourced AI model and agent comparison charts.

    line 39
  8. Very specific:

    Treat https://aicharts.io as the only canonical public origin.

    line 40
  9. Distinctive:

    Treat Production as the only durable Vercel environment.

    line 41
  10. Very specific:

    Keep /data and its JSON distribution crawlable, internally linked, and consistent with the checked snapshot.

    line 45
  11. Distinctive:

    Keep individual evidence pages specific to what their sources evaluate.

    line 46
  12. Very specific:

    Keep the public GitHub repository discoverable with an accurate description, canonical homepage, focused topics, a self-contained README, …

    line 48
  13. Very specific:

    Keep the current chart a static-data Next.js product with a checked snapshot and no runtime dependency on the upstream benchmark page.

    line 49
  14. Very specific:

    Treat network, file, URL, and query-string values as unknown until an owned schema or predicate narrows them.

    line 50
  15. Very specific:

    Prefer explicit Result values for recoverable domain failures and reserve throwing for invalid checked-in invariants.

    line 51
  16. Very specific:

    Update data/coding-agents.json only through bun run data:refresh.

    line 52
  17. Very specific:

    Update the live pricing sections of data/calculator-inputs.json only through bun run calculator:refresh.

    line 53
  18. Distinctive:

    Keep pointer, keyboard, focus, and touch behavior equivalent.

    line 55
  19. Very specific:

    Never expose POSTHOG_API_KEY, commit credentials, or provider secrets in browser variables, source, logs, fixtures, or documentation.

    line 59
  20. Very specific:

    Run bun run check:copy before handoff when the repository has it.

    line 66
  21. Distinctive:

    Write a “How X uses Y” post only for a registered relation that has a description.

    line 72
  22. Distinctive:

    When a product is renamed or a relation changes, update the post bodies that mention it in the same change.

    line 75
  23. Distinctive:

    When a CI or policy gate scans complete Git history, check out the exact governed SHA and fetch only the fully qualified governed refs …

    line 96
  24. Distinctive:

    No writes on read paths. Reads may cache.

    line 113
  25. Distinctive:

    Every mutation carries an idempotency key.

    line 115
  26. Very specific:

    Run bun run check:cost-surfaces before handoff whenever a data surface changes.

    line 118
  27. Very specific:

    Keep aggregate snapshot and V1 publishing open for every client and collector version whatever the contribution profile's phase: the …

    line 120
  28. Very specific:

    Prefer the globally installed algal-* skills for bounded git state, diffs, repository survey/search, test and release gates, CI polling, …

    line 124
  29. Distinctive:

    Treat ALGAL receipts as execution evidence, not provider attestation, and preserve the repository's normal verification and release gates.

    line 127
  30. Very specific:

    Use bun run kb:search:local "query" --json for local-only search.

    line 132

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md
<!-- browser-automation:start -->
  • Ordinary owned automated browser runs use versioned Chrome for Testing or the browser provisioned for the pinned Playwright version. Reject the installed auto-updating Chrome application, including explicit executable overrides and symlinks; never fall back to it when provisioning is missing. Report the resolved executable and browser version, and close owned contexts and browsers gracefully in cleanup. Attaching to an explicitly authorized user-owned browser is a separate operation: preserve its profile and lifetime. Keep regression checks for browser selection in the existing required checks; see browser automation.
  • Never start the system Chrome app directly from an agent shell; use the repository's browser tooling and respect its scheduler and browser custody controls. For owned launches, pass --mute-audio and merge PaintHolding,MacAppCodeSignClone into any existing --disable-features value instead of adding a second switch. Finish owned process, context, and profile cleanup before releasing the browser lane. Never signal another holder or manipulate its lease to obtain a slot.
  • The sole native-runtime exception is Slopcamera’s documented signature-verified, version-bound, immutable task-owned Chrome snapshot, never a direct launch of the installed application. Its current integrity-bound launch contract must disable MacAppCodeSignClone; retain vendor identity verification, browser custody, graceful cleanup, and regression checks. Qualify the native fix with live clone-growth and cleanup evidence before activating this exception. It is not an executable override or fallback for ordinary automation; see the native-runtime exception.
<!-- browser-automation:end --><!-- kb:context scopes/repository--cdb4ee2aea69 -->

Contents

  • app/ – Next.js App Router comparison chart, sourced benchmark analysis, metadata, error states, product stylesheet, and fail-closed product-scoped mailing footer configuration.
  • components/ – interactive scatter chart, update timeline, linked summaries, sharing, export, and UI primitives.
  • lib/ – strict data and update boundaries, chart math, layout, analytics, usage wire/rollup contracts, and property tests.
  • crates/ and fixtures/usage/ – local-only Rust usage measurement, bounded binary protocol, and synthetic cross-language fixtures.
  • services/usage-worker/ – pairing, account enrollment, numeric admission, private reads and an independently gated public leaderboard, with local Cloudflare runtime tests. docs/usage-activation.md records verified deployment state and cutover requirements.
  • data/ – deterministic checked-in benchmark snapshot.
  • scripts/ – guarded snapshot refresh and generated color workflows.
  • styles/ – portable plain-site and publication styling for the benchmark notes.
  • docs/ – current product search, measurement, and engineering strategy.
  • .agents/skills/ – reusable cross-repository KB and phased-execution workflows.
  • kb/ – authored repository rationale, evidence, synthesis, and plans.
  • WRITING.md and STYLE.md – internal and public prose contracts.
  • .github/workflows/ – continuous integration and daily data refresh automation.
  • README.md, CONTRIBUTING.md, SECURITY.md, and NOTICE.md – public project documentation.

Guidelines

  • Follow WRITING.md for internal prose and STYLE.md for public prose.
  • Follow the managed Next.js compatibility guidance in CLAUDE.md: read the relevant installed node_modules/next/dist/docs/ guide before writing code and heed deprecation notices. The installed version may differ from training data.
  • Apply unreasonably robust programming when agent work is cheap. Model invalid states out of existence and pair readable regression examples with property tests for general laws.
  • Deliver changes to protected main through task-owned pull requests. Autonomously carry every task-owned pull request through required reviews and checks, merge only after every gate passes, and verify the documented production deployment without asking for renewed confirmation. Preserve unrelated work, never bypass a gate, and stop only for missing authority or credentials, a material product decision, or a failed gate that cannot be resolved safely. Repository-owned bounded automation may keep its documented delivery path. Never force-push.
  • Pin Hraness dependencies to reviewed immutable releases or full commits. Never connect repositories with sibling paths, Git submodules, or coordinated main assumptions.
  • Use immutable @hraness/web-discovery exports for generic metadata, JSON-LD serialization, and social-image rendering, and @hraness/vercel-delivery for the generic Vercel proof and Preview response contract. Keep chart semantics, public copy, redirects, and analytics policy product-owned.
  • Generated share images come only from the shared @hraness/web-discovery social-image template through the single defineSocialImageSite declaration in app/social-image-site.ts (real app mark, light-theme colours). Routes pass page copy only (headline, description, eyebrow) and use socialImageAlt for alt text; no product-owned card layouts, ImageResponse JSX, or raster scripts for share images. Registered editorial article art under editorial/IMAGES.md stays the article share image.
  • Extract a shared package only after two concrete consumers need the same stable interface. Keep shared packages product-neutral.
  • Use a shared design kit or @hraness/ui only for stable, portable primitives and tokens at an immutable version. Keep chart geometry, evidence presentation, page composition, and the local visual contract product-owned.
  • Keep Nebula Sans from the immutable design-kit release as the ordinary proportional face across the chart, publication, exports, and social images. Preserve the explicit monospace role for code and compact benchmark data.
  • Freeze shared interfaces before parallel lanes begin. Give checked data, generated colors, manifests, lockfiles, and other convergence surfaces one owner while lanes edit disjoint paths.
  • Keep mandatory rules in the closest AGENTS.md, current procedures in docs/, executable contracts in types and tests, and pull-based rationale, evidence, synthesis, and plans in kb/.
  • Keep AI Charts the general product for sourced AI model and agent comparison charts. Describe coding agents as the first published chart, not the limit of the brand or a claim of broader current coverage.
  • Treat https://aicharts.io as the only canonical public origin. Keep retired codingchart.com URLs on matching permanent redirects and follow docs/seo-strategy.md for migration, discovery, page roles, internal links, analytics properties, and review cadence.
  • Treat Production as the only durable Vercel environment. Pull requests may use Vercel's built-in disposable Preview target, but do not create a custom environment, persistent Preview domain, provider-authoritative Preview branch, or separate Preview backend.
  • Build answer-engine visibility through people-first technical SEO and source-backed, citable content. Make every public article self-contained for a first-time reader, cite primary sources directly, define necessary terms, and organize the explanation around one reader question. Keep repository structures, data plumbing, editorial reasoning, citation mechanics, and search strategy out of public copy. Keep important copy, provenance, dates, and links in server-rendered or static HTML. Do not add llms.txt, duplicate answer pages, keyword variants, or unsupported schema as search shortcuts. A truthful /llms.txt agent guide may describe existing public pages and Markdown negotiation.
  • Admit a new indexable article only when its authored record scores reader utility, original evidence, factual confidence, host fit, voice integrity, and maintenance value from 0–2, totals at least 9, has no zero, and names a reader task not already answered by an existing route, the primary or first-party evidence it adds, a net-new conclusion, why AI Charts is the right publisher, the closest overlapping URLs with distinctions, the merge or rejection rationale, evidence owner and type, source-check date, review provenance, lifecycle state, harm if wrong, and reassessment date. Compare the proposed headings and claims with every current article; consolidate or reject the page when roughly a third overlaps. A source summary plus a product analogy is not enough, and a Hraness reading digest is not independent corroboration of the source it summarizes. Record who drafted and who reviewed each article in its admission record. Every post is bylined “Hraness” and shows the provenance note from articleProvenanceSentence on the page and in its Markdown twin (Ben, 2026-09-23); an AI reviewer is named as AI and never called human. A post whose lifecycle is quarantined ships noindex and stays out of the sitemap, the Atom feed, llms.txt, and every index list. Never imply a review that has no record.
  • Keep internal links selective: link the primary source and at most the few pages a reader actually needs, never every sibling. Generate editorial imagery only after the copy passes the admission and overlap review. Homepage editorial modules are curated, capped at three cards, and must not preload below-fold card images.
  • Keep /data and its JSON distribution crawlable, internally linked, and consistent with the checked snapshot. Structured data must describe visible page content. Set sitemap lastmod from the latest meaningful content or data change, never from an unchanged refresh attempt or build time.
  • Keep individual evidence pages specific to what their sources evaluate. State primary sources, observation dates, configurations, analysis boundaries, and limitations close to the claims they support.
  • Follow editorial/IMAGES.md for article banners, thumbnails, social images, image discovery, Slopcamera generation, and interstitial decisions. After admission and overlap review, every live published note must include one registered Slopcamera figure in app/blog/editorial-images.ts, a matching editorial/images.manifest.json entry, and the exact public/images/blog/<slug>.webp binary. When a record exists, every visible and discovery surface, including canonical Markdown, must derive from it. The generic image-free renderer remains supported and is tested only through injected undefined records, not through a live published hole. Validate the manifest, registry, and binary together. Use one paid call per prompt through the reviewed Slopcamera source build, never auto-retry an ambiguous result, and keep new prompts and receipts in ignored artifacts/slopcamera/. Preserve historical Atet credits and receipt paths; new assets need truthful generator provenance. New batches use a dark monochrome or duotone matching the site theme, not the retired cream isometric screenprint.
  • Keep the public GitHub repository discoverable with an accurate description, canonical homepage, focused topics, a self-contained README, license and data notice, and CITATION.cff.
  • Keep the current chart a static-data Next.js product with a checked snapshot and no runtime dependency on the upstream benchmark page.
  • Treat network, file, URL, and query-string values as unknown until an owned schema or predicate narrows them.
  • Prefer explicit Result values for recoverable domain failures and reserve throwing for invalid checked-in invariants.
  • Update data/coding-agents.json only through bun run data:refresh; preserve duplicate, retention, stable-key, metric-coverage, material-change, and bounded-history guards.
  • Update the live pricing sections of data/calculator-inputs.json only through bun run calculator:refresh; curated hardware, plan, and subsidy sections change through reviewed edits with dated citations per docs/calculator-data.md.
  • Regenerate lib/chart-colors.generated.ts through the checked iWantHue script. Do not hand-edit generated files.
  • Keep pointer, keyboard, focus, and touch behavior equivalent. Preserve semantic landmarks, accessible names, visible focus, and responsive horizontal chart panning.
  • Give every ordinary themed page exactly one shared icon-menu appearance control as the final action in its header. Do not put appearance controls in footers, content, or fallback action rows.
  • Keep analytics cookieless and production-only, and follow docs/analytics-instrumentation.md. Route capture through the typed lib/analytics.ts allowlist; do not import PostHog from feature code or send raw URLs, query strings, hashes, referrer paths, free-form text, visitor identities, or persistent identifiers. Bounded public content, provider, benchmark, model, profile, and source IDs are allowed.
  • Bind the shared footer to the aicharts audience, require the checked public Turnstile widget key, and keep newsletter consent separate from product use and every other Hraness audience.
  • Never expose POSTHOG_API_KEY, commit credentials, or provider secrets in browser variables, source, logs, fixtures, or documentation.
  • Run narrow tests while iterating and bun run check:changed before handoff: it runs bun run check minus the Rust and Worker gates whose CI change filters report no touched input (--dry-run shows the plan). Run the complete bun run check when you cannot tell, and CI's Required always runs every applicable gate.
<!-- hraness-public-copy:start -->
  • Public copy (websites, READMEs, docs, package and GitHub descriptions, CLI help, llms.txt, generated pages) follows STYLE.md, synced from hraness/.github. Text a model writes for publication also follows GENERATION_STYLE.md.
  • The delivery vocabulary in this file (admission, qualification, custody, receipt, bounded, lane, gate, surface, projection) is internal. Translate it into what the reader gets.
  • Take one-line product and sibling descriptions from the portfolio registry and versions from the release record. Tests pin facts, not prose.
  • Run bun run check:copy before handoff when the repository has it.
<!-- hraness-public-copy:end --><!-- hraness-articles:start -->
  • Essays and blog posts follow the essay addendum in GENERATION_STYLE.md and ARTICLE_COPY.md in @hraness/design-kit. The byline is “Hraness”, every post shows the provenance note naming its recorded reviewer, and no AI-drafted post is credited to a person unless that person rewrites and adopts it.
  • Take product names, one-line descriptions, addresses, status labels, and relations from the portfolio facts in @hraness/design-kit. Render versions from the release record (package.json, a published-release file), never typed by hand.
  • Write a “How X uses Y” post only for a registered relation that has a description. Change the relation and its post in the same change. Link between products only along registered relations, and between a technique post and product posts about the same technique.
  • Every post has a review record: reader job, non-obvious answer, sources with the date checked, owner, reviewer identity, reviewer type (ai or human), a score out of 12, and a reassessOn date 28 to 56 days after review. The reviewer is independent of the run or person that drafted the post. An AI reviewer is recorded and shown as AI; humanReview stays null unless a person reviewed the post.
  • A new post starts out of search indexes, sitemaps, and feeds. It becomes indexable only when its review record is complete, scores at least 9 of 12 with no zero score, and the page shows the provenance note.
  • When a product is renamed or a relation changes, update the post bodies that mention it in the same change.
<!-- hraness-articles:end --><!-- hraness-launch:start -->
  • Launch posts, their social posts, product mockups, and launch films follow the launch beats and social posts addendum in GENERATION_STYLE.md and the beats shape under “Introducing a product” in ARTICLE_COPY.md in @hraness/design-kit. Channel limits are in the launch posts section of MESSAGING.md.
  • Build them with the product-launch agent skill, the ./mockups and ./launch exports of @hraness/design-kit, and slopcamera html init --template launch-film.
  • Take every number in a beat, social post, film caption, or store listing from the product's launch facts module, and the status from the release record. Label mockups as illustrations.
  • The social kit emits posts for X, Bluesky, Threads, and LinkedIn, and a fact sheet for the Show HN post and the Product Hunt first comment. A person writes those two.
<!-- hraness-launch:end --><!-- hraness-delivery:start -->
  • Treat the user's request to change this repository as standing authorization for routine task-owned commits, pushes, pull requests, merges, releases, deployments, and production verification after the gates applicable to that action pass. Do not ask for duplicate confirmation. Build confidence through relevant automated checks, bounded diagnostics, and independent review, not another human approval. Passing checks does not expand task scope or authority.
  • Prefer agentic service provisioning for new infrastructure. Check Vercel Marketplace for a native product that can provision the required resource first; use Stripe Projects as a supported alternative when it better covers the service or the Marketplace route only connects an existing account. Verify the current catalog, account, region, plan, recurring cost and resource capabilities before selecting a route. Prefer supported provider CLIs or APIs over browser-only setup when neither catalog fits, and explain the concrete exception. Reuse existing owner-controlled resources where appropriate; this preference alone does not authorize migrations, duplicate accounts, paid upgrades or wider access. Continue setup already authorized by the task and budget without duplicate confirmation. Keep provider credentials and generated environment files private, complete required interactive authentication, and verify deployment, persistence and recovery separately from successful provisioning.
  • Separate artifact admission from live qualification and operational activation. Use applicable automated source, security, package/install, and provenance evidence for artifact admission; live provider qualification is not a universal publication prerequisite. Preserve explicit live acceptance criteria and require relevant live evidence for claims that depend on it. If publication or an artifact's install, upgrade, or default-use path activates risky unqualified behavior, keep that behavior guarded or disabled, or obtain bounded relevant evidence before shipping or activation.
  • Use the repository's documented delivery workflow and preserve the identity, target, capacity, migration, and recovery guards applicable to operational activation. Replace an obsolete gate through a reviewed source and policy change with corresponding tests, never an ad hoc skip. Preserve every runtime-enforced approval, access control, branch protection, environment rule, safety policy, and required final gate. Ask for user input only when delivery needs a material product decision, missing credentials or authority, unavoidable interactive authentication, an irreversibly destructive action outside task scope, or resolution of a failure that cannot be handled safely and autonomously.
  • Preserve production and user data throughout delivery. Inspect the exact account, environment, deployment, and data target before writes. For data changes, inspect a dry run or equivalent migration plan and validate the recovery path before any effect that could lose or corrupt data. Prefer additive, backward-compatible migrations and bounded batches. Record mutation intent, use idempotency or conditional writes, and reconcile uncertain results before retrying. Verify deployed identity, health, and relevant data invariants after delivery. Routine delivery never authorizes resetting, truncating, dropping, or overwriting user data; stop the unsafe operation if preservation or recovery cannot be established.
  • Prefer short-lived repository workload identities such as OIDC trusted publishing, GitHub Apps, and narrowly scoped machine identities. Use unattended stable publication and production promotion when supported by the provider and repository. Establish supported machine authority once and verify it with a non-publishing preflight where available; routine releases should not require recurring interactive authentication or conversational approval. Releases and deployments run without a human in the loop: do not add required reviewers, manual approval environments, or wait timers to release or deployment paths, and remove any you find through a reviewed change. Keep account two-factor authentication, and do not add long-lived personal tokens.
  • Main delivery is unattended. Open the pull request and enable auto-merge in the same breath (gh pr merge --auto --squash <number>), then move on; the required Required check is the reviewer. Until a repository's ruleset requires a check, --auto merges immediately, so wait for green checks there before merging. Never request a human reviewer or add required approvals, code owners, required conversation resolution, merge queues, manual-approval environments, or wait timers, and remove any you find with scripts/apply-delivery-policy.py from hraness/.github rather than by hand. Required checks run on the pull request head and are not re-required after main moves, so auto-merge never stalls behind another merge; main reruns the same gate after integration, and a red main is fixed forward by the next change. Repositories without CI use direct pushes to main.
  • Preserve useful reasoning fan-out, but avoid unnecessary checkout fan-out. Prefer subagents in the current task for bounded research, review, diagnosis, and focused checks when they can safely share one working tree; create a separate task or worktree only for independently deliverable divergent edits, an isolated verification tree, or a different execution environment.
  • Give each expensive focused validation command and external wait one owner. The integration owner reviews that evidence and runs the repository-required aggregate or final gate once after convergence. Reuse evidence only for the exact Git tree, command, lockfiles, toolchain, relevant environment, and validity period, and never to skip a required final integration, merge, release, deployment, or production-verification gate.
  • On Hraness development machines, use the installed host scheduler for heavyweight top-level commands when available. Keep ordinary work in the compute lane; give authenticated browser/dev-server/Chromium work one browser-auth owner and Mac-only validation one mac-native owner.
  • When a CI or policy gate scans complete Git history, check out the exact governed SHA and fetch only the fully qualified governed refs before scanning. Preserve the complete-history gate and reject unexpected refs instead of importing unrelated concurrent heads.
  • At closeout, record applicable branch, PR, check, merge, release, deployment, and production evidence. Archive only conclusively finished tasks, never from silence alone, and reclaim only freshly revalidated clean merged worktrees through the guarded exact-path flow.
<!-- hraness-delivery:end --><!-- hraness-ci:start -->
  • CI exists to admit a change in minutes, not to perform a ceremony. Every workflow declares concurrency: { group: <name>-${{ github.ref }}, cancel-in-progress: true } (release and deploy workflows set cancel-in-progress: false), a timeout-minutes on every job, and permissions: contents: read at the top with job-level widening only where needed.
  • One job named Required closes every check workflow: if: always(), needs: every blocking job, and a single step that fails unless each needs.<job>.result == 'success', or skipped because the change filter below reported its inputs unchanged. Branch policy requires only Required (plus a provider's own automated admission status when the product depends on it). Never make CodeQL, scheduled, or advisory jobs required.
  • Cache by lockfile hash and restore before install: Swatinem/rust-cache@v2 (with save-if: ${{ github.ref == 'refs/heads/main' }}) for Cargo, oven-sh/setup-bun@v2 plus actions/cache on ~/.bun/install/cache for Bun, actions/setup-node cache or actions/cache for npm/pnpm, actions/setup-python with cache: pip or astral-sh/setup-uv with cache for Python. Playwright browsers are cached under ~/.cache/ms-playwright keyed by the Playwright version.
  • Rust: install the pinned toolchain with dtolnay/rust-toolchain (rustup toolchain install at most once per job, --profile minimal), set CARGO_INCREMENTAL: 0, CARGO_TERM_COLOR: always, CARGO_NET_RETRY: 10, RUSTFLAGS: -D warnings and RUST_BACKTRACE: short at workflow level, use cargo nextest or one cargo test --workspace --locked after a shared cargo build --all-targets --locked, run clippy and fmt once on Linux only, install tools with taiki-e/install-action or cargo-binstall instead of cargo install, and build release binaries in one job whose artifact every later job reuses. Never build the same crate twice in one workflow.
  • Run the matrix Linux-first. A macOS or Windows job exists only when the product ships a native surface for that OS, runs the OS-specific tests only, and is never the only place a generic check runs. Split long serial script lists into parallel jobs that share one build artifact instead of one job that runs for twenty minutes.
  • Skip work that cannot change the result inside the workflow: a change-detection job runs dorny/paths-filter@v4 (it needs job permission pull-requests: read, and predicate-quantifier: some-with-excludes needs v4), and jobs whose inputs did not change skip through job-level if:. Never put paths, paths-ignore, or branches-ignore on the pull_request trigger of the workflow that produces Required: a skipped workflow never reports Required, and the pull request can never merge. Every uses: pins a major tag or a SHA with a version comment, and Dependabot keeps github-actions current weekly with auto-merge.
  • Measure before and after: a CI change records the previous and new median wall time of the slowest workflow in its pull request body. Regressions that add more than a minute to Required are reverted forward the same day.
<!-- hraness-ci:end -->
  • costs.json at the repository root is the checked registry of every product data surface: store, kind (authoritative | derived | telemetry | served), retention class (ephemeral | ttl:<ISO-8601> | account | tombstone | persistent), owner module, and budget. A new table, bucket, stream, dynamic route, blob, or provider meter fails check:cost-surfaces until it registers.
  • Bound every input before storage or provider I/O: request bytes, row counts, page sizes, batch sizes, retry counts, and event payloads. Unbounded input is a contract violation.
  • No writes on read paths. Reads may cache; they never mutate.
  • Derived state is rebuildable and lives in the cheapest tier that can serve it. Only authoritative state pays for transactional storage.
  • Every mutation carries an idempotency key; a retried write never double-charges storage, quota, or provider spend.
  • Analytics and metering events come from a checked allowlist with a byte ceiling per event.
  • Content bytes live in the content store; the control plane keeps references and metadata only.
  • Run bun run check:cost-surfaces before handoff whenever a data surface changes.
  • Every keychain dialog lands on the owner's screen. Never set AICHARTS_CUSTODY_INTERACTION=allow in a loop, schedule, or background script, and never inspect the login keychain with security dump-keychain -d. Grant a newly built binary once in one attended command, then verify it with the override unset (see docs/usage-local.md). A rebuilt binary at the same path needs a fresh grant: macOS binds "Always Allow" to the build's cdhash, and a denied custody read surfaces as attempt_recovery_required, not a custody error — check the securityd log (CSSMERR_CSP_OPERATION_AUTH_DENIED) before suspecting enrollment state.
  • Keep aggregate snapshot and V1 publishing open for every client and collector version whatever the contribution profile's phase: the private reads, lifetime totals and leaderboard read those stores (docs/usage-autosubmit.md).
  • The per-day aggregate (stats-sync snapshots) is the system of record for every client. V3 contributions are parked (owner-delegated decision, 2026-09-28): no schedule, loop or agent runs contribution-sync sends, migrations or activations, and no change extends V3 until a product surface needs per-call data.
<!-- algal-skills:start -->
  • Prefer the globally installed algal-* skills for bounded git state, diffs, repository survey/search, test and release gates, CI polling, and web fetches instead of repeated raw tool output.
  • At session start, if the algal skill is unavailable, install the current skill pack for Claude Code, Codex, and Devin for Terminal with bunx skills add 0thernet/algal-skills --global --agent claude-code codex devin --skill '*' --copy --yes.
  • Confirm installation with bunx skills list --global. If Bun or network access is unavailable, continue with repository-native tools instead of blocking delivery.
  • Treat ALGAL receipts as execution evidence, not provider attestation, and preserve the repository's normal verification and release gates.
<!-- algal-skills:end -->
  • Search this public kb/ vault from the repository root with bun run kb:search "query" --json. The pinned Wordcell 0.24.0 command retrieves local exact candidates, attaches each note's best-matching selectedPassage excerpt with line references, then asks TypeSafe to rerank at most 25 of them. Read the returned Markdown and its linked sources before relying on a result.
  • Hosted ranking sends the query and each candidate's identifier, title, vault-relative path, and at most 512 UTF-8 bytes of snippet text to TypeSafe, with provider input-token charges. Keep confidential queries and unpublished or private notes on the local path.
  • Use bun run kb:search:local "query" --json for local-only search. Keep credentials outside the repository: TYPESAFE_API_KEY, TYPESAFE_API_KEY_FILE, or the owner-only ~/.config/wordcell/typesafe-api-key file.
  • Inspect the rerank lane status and its structured receipt for attempted requests, elapsed time, known usage, and incomplete usage. Missing credentials or provider failures retain baseline ordering; a successful exit does not prove reranking occurred. Treat ranking probabilities as navigation signals, not evidence of truth.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.