Nothing recorded how this repository is actually run, so every rule lived in
one head and had to be rediscovered. AGENTS.md now carries the two-forge
topology, why promotions are fast-forward-only, how to tell a genuinely ahead
branch from pre-rebase duplication, and the runtime and dependency constraints
that reviews keep enforcing by hand. CLAUDE.md points at it rather than
repeating it, so the two cannot drift.
The AI section in CONTRIBUTING is neither a prohibition nor a disclosure rule.
Assistants are welcome and there is nothing to declare. What it asks is that
you read the diff before sending it, because a person reads every line that
lands here and a diff its own author skipped turns their review into
proofreading. The four failure modes listed are the ones this codebase
actually sees — added dependencies, Node-only assumptions, deleted reasoning,
missing tests — and three of the four were live in a real pull request the day
this was written.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
CONTRIBUTING described GitFlow as though there were one forge. There are two,
and nothing said so: an outside contributor reading it had no way to learn
that GitHub is a mirror of `main` and that pull requests belong on `contrib`.
The first external PR duly went to `main`, which was our omission rather than
theirs.
The templates carry the parts that keep being repeated by hand — sign-off,
the local check commands, and the two failures that a graph framework invites:
an implementation growing an option that its public interface never declares,
and behavior that works on Node while silently doing nothing on Deno and Bun.
Blank issues stay enabled. Scope and placement discussions are most of what
gets filed here and they don't fit a bug form.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
`npm audit` sat fifth of fifteen steps, so any advisory anywhere in the tree
skipped lint, typecheck, tests and build. A high in a vitest transitive was
enough to hide whether the code itself was correct — and for external
contributors, whose runs need approval before they see anything at all, that
turned a red X into no information.
Severity is the wrong axis: a critical in the test runner reaches nobody,
while a high in `reflect-metadata` reaches everyone. Scope is the right one.
Production dependencies block; build tooling reports and moves on.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
External contributions land on `contrib`, and a PR targeting a branch absent
from the trigger list gets no checks at all — leaving contributors without the
feedback that would have caught the failure themselves.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Both audit trees were failing, for unrelated reasons and with different fixes.
**Root — undici, high.** miniflare 4.20260730.0 (the newest stable) pulls
undici 7.28.0, and the advisory range is 7.0.0–7.28.0. `npm audit fix --force`
wants miniflare 5.20260801.1-alpha: a breaking major, and an alpha, to patch a
devDependency that never ships. undici 7.29.0 is outside the range, so pin it
through `overrides` instead — same approach already used for find-my-way and
hyperid.
**website — js-yaml, high.** Reached through Starlight. 4.3.1 carries the fix
and the bump is not breaking, so a plain `npm audit fix` covers it.
Verified: root and website audits both report 0 vulnerabilities; 357 tests
pass; `test:edge` still passes, which is the one that actually exercises
miniflare against the pinned undici; `docs:build` produces its 23 pages.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
CHANGELOG.md ships inside the npm package, and its link references pointed at
the internal Gitea host — unreachable for anyone reading the changelog on
npmjs. Point them at the GitHub mirror, and compare Unreleased against `main`,
since `develop` is not mirrored.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
GoatCounter via Starlight's `head` option, same site code as the marketing
site so /docs traffic lands in one dashboard and referrer paths stay
comparable. No cookies, no personal data, no consent banner, nothing to host.
Answers the one question we cannot answer today: do the articles convert into
documentation reads?
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The README opened with identity and an install block; the pain that motivates
the graph only appeared after a scroll. Move it up: `req.user` first, then the
idea, then how to install it.
Three fixes while in here:
- The install line now pins `@beta`. `latest` and `beta` both point at the
newest beta until a stable ships, and the versioning note said the opposite.
- Document `RequestLimits`. Body caps, multipart parts and the request /
headers / keep-alive timeouts were already applied with defaults tighter
than Node's, and nothing in the README said so.
- Honest scope now admits there is no observability layer — no logger, no
metrics, no tracing hooks — and points at the issue tracking it as one
design. It is the gap a team hits in week one of a real evaluation.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Merge the current public main history while preserving develop's mutable Verdaccio staging policy for the npm provenance hotfix.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Replace an existing prerelease before publishing the refreshed candidate. Verdaccio remains mutable for validation while npmjs release versions stay immutable.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Stage only release branches and preserve immutable versions. Repeated identical candidates now exit successfully, while content changes under an existing version require a prerelease bump.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Link the package to its public source, issue tracker, and documentation so npm Trusted Publishing can validate provenance and consumers receive canonical project links.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Keep develop free to accept concurrent changes while Verdaccio validates an immutable release candidate. Audit dependencies and reject stable versions before publishing.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
A beta/alpha/rc version must not become 'latest' on npmjs (else npm install serves a prerelease). Derive the dist-tag from the version: 26.7.0-beta.0 -> beta, stable -> latest.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
Replaces the NPM_AUTH secret on the prod path with npm Trusted Publishing: id-token: write + npm>=11.5.1, npm exchanges the OIDC token for a short-lived publish token and attaches provenance. Requires a trusted publisher configured on npmjs (Expressive-Tea/green-tea, release.yml).
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
The staging registry (npm.svc.zoit.services) does not allow overwriting an existing version, so re-publishing the same prerelease on each main merge failed. Unpublish the version first (tolerant --force, no-op when absent) then publish fresh.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>