Skip to Content
agore-skill
Explanation

Deterministic offline-first design

Why same input must mean same output, everywhere, without a network.

Why does agore-skill refuse to call a tokenizer, download a dictionary, or ask the network for anything short of publishing? Because every number and every artifact it produces is a claim about content, not about the environment — and a claim that changes between machines is not a check, it is a nuisance.

What determinism buys

Lint results are reviewable. When CI fails on CTX-001, the developer can reproduce the exact diagnostic locally — same budgets, same estimate, same message. A flaky, model-based token count would make every budget discussion an argument about measurement instead of about content.

Bundles are verifiable. Two runs of agore-skill release over identical content produce byte-identical archives (timestamps pinned to 1980-01-01 UTC, modes preserved). That is what makes checksums.txt meaningful: the digest certifies content, not a build environment.

Discovery is stable. The root skill sorts first, then alphabetical by relative path, regardless of filesystem enumeration order. A monorepo with ten skills lists them the same way in every terminal.

Offline is the default, not a fallback. A contributor on a plane, a CI runner in a restricted network, a security auditor with a single checkout — all get the full tool behavior.

What it costs

The token estimate is honest arithmetic, not a tokenizer: ASCII at ¼ token, CJK at 1.5. It under- and over-counts real tokenizers in different places. The design accepts this and treats budget numbers as stable relative measures — "this description doubled" — rather than model accounting. Similarly, estimate ≤ 1 floors are a convention, not a linguistic claim.

The lint rules are likewise bounded: ten fixed, pure rules instead of an extensible plugin engine. Extensibility was traded for the guarantee that lint output depends on nothing but the skill directory and the config.

The seam where the network appears

Exactly one path touches the network: the GitHub publisher in a real, non-snapshot release. It is isolated behind the App.PublishGitHub injection point, which is why it is also the one place tests use a fake instead of the real transport.

On this page