Commit Graph
291 Commits
Author SHA1 Message Date
hgshreyas 9e5e5cffe9 feat: add concurrent connection limits
Signed-off-by: hgshreyas <hgshreyas.cs24@bmsce.ac.in>
2026-08-09 17:27:47 +05:30
chrnx beec350fcd Merge pull request 'docs: add AGENTS.md and an AI assistance policy' (#24) from docs/agent-guidance into develop
CI / build (pull_request) Successful in 34s
Promote → GitHub / push-github (push) Successful in 5s
CI / build (push) Successful in 34s
Reviewed-on: #24
2026-08-09 05:45:30 +00:00
chrnx 37693246d7 docs: write down the release procedure and where AI assistance stands
CI / build (pull_request) Successful in 34s
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>
2026-08-09 00:32:48 -05:00
chrnx 1b8f2f3140 Merge pull request 'docs: document the two-forge flow, add PR and issue templates' (#21) from docs/contribution-flow into develop
CI / build (pull_request) Successful in 34s
Promote → GitHub / push-github (push) Successful in 7s
CI / build (push) Successful in 33s
Reviewed-on: #21
2026-08-08 22:42:10 +00:00
chrnx e820954ea8 Merge branch 'develop' into docs/contribution-flow
CI / build (pull_request) Successful in 34s
2026-08-08 22:41:54 +00:00
chrnx 324ddf0d61 Merge pull request 'ci: gate on what we ship, and run the audit after the code checks' (#20) from chore/ci-audit-gate into develop
CI / build (push) Successful in 34s
Reviewed-on: #20
2026-08-08 22:41:34 +00:00
chrnx f2db461187 docs: tell contributors where their changes go, and add the templates
CI / build (pull_request) Failing after 11s
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>
2026-08-08 17:39:47 -05:00
chrnx 55263f2d97 ci: scope the audit gate to shipped dependencies, and run it last
CI / build (pull_request) Successful in 43s
`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>
2026-08-08 17:39:46 -05:00
chrnx 506dedb624 ci: run checks on the contrib branch
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>
2026-08-08 17:39:45 -05:00
chrnx 1030109efa Merge pull request 'release: promote docs and audit fixes to main' (#18) from develop into main
Promote → GitHub / push-github (push) Successful in 6s
CI / build (pull_request) Failing after 15s
CI / build (push) Failing after 11s
Reviewed-on: #18
2026-08-07 21:58:41 +00:00
chrnx 08d92f5de7 Merge pull request 'docs: problem-first README, declared observability gap, docs analytics' (#16) from docs/observability-scope-and-analytics into develop
CI / build (push) Successful in 33s
CI / build (pull_request) Successful in 33s
Reviewed-on: #16
2026-08-07 19:27:49 +00:00
chrnx 4f504eda11 Merge branch 'develop' into docs/observability-scope-and-analytics
CI / build (pull_request) Successful in 34s
2026-08-07 19:27:37 +00:00
chrnx 94ab334d85 Merge pull request 'chore: clear the dependency advisories blocking CI' (#17) from chore/audit-advisories into develop
CI / build (push) Successful in 33s
Reviewed-on: #17
2026-08-07 19:27:21 +00:00
chrnxandClaude Opus 5 3a8d93320d chore: clear the dependency advisories blocking CI
CI / build (pull_request) Successful in 33s
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>
2026-08-07 14:22:43 -05:00
chrnxandClaude Opus 5 270480b2d6 docs: fix changelog compare links to point at the public mirror
CI / build (pull_request) Failing after 13s
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>
2026-08-07 14:13:54 -05:00
chrnxandClaude Opus 5 27f1d103ea docs(website): add privacy-friendly analytics to the docs site
CI / build (pull_request) Failing after 12s
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>
2026-08-07 14:03:39 -05:00
chrnxandClaude Opus 5 0ad53fa284 docs: lead with the problem, document limits, declare the observability gap
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>
2026-08-07 14:03:37 -05:00
chrnx 8babcb9554 Merge pull request 'fix(release): unblock npm provenance publication' (#15) from hotfix/npm-release-provenance into main
Promote → GitHub / push-github (push) Successful in 6s
CI / build (push) Successful in 35s
Reviewed-on: #15
2026-08-03 03:48:19 +00:00
chrnx 6dd23ed874 chore(release): reconcile main before npm fix
CI / build (pull_request) Successful in 33s
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>
2026-08-02 22:45:51 -05:00
chrnx 5fccd3cc8c Merge pull request 'fix(release): validate npm provenance and mutable staging' (#14) from hotfix/npm-release-provenance into develop
CI / build (push) Successful in 33s
Reviewed-on: #14
2026-08-03 03:44:11 +00:00
chrnx 9398a5a2df fix(ci): keep Verdaccio staging mutable
CI / build (pull_request) Successful in 34s
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>
2026-08-02 22:42:39 -05:00
chrnx 29aafde84c fix(ci): make Verdaccio staging idempotent
CI / build (pull_request) Successful in 32s
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>
2026-08-02 22:38:56 -05:00
chrnx dbb996dd4c fix(package): declare npm publication metadata
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>
2026-08-02 22:38:47 -05:00
chrnx 05e59383f1 Merge pull request 'release: promote 26.8.0-beta.0 to main' (#13) from release/26.8.0 into main
Promote → GitHub / push-github (push) Successful in 6s
CI / build (push) Successful in 35s
Reviewed-on: #13
2026-08-03 02:57:35 +00:00
chrnx 97a146a758 Merge branch 'main' into release/26.8.0
Stage → Verdaccio / publish-stg (push) Failing after 21s
CI / build (pull_request) Successful in 33s
2026-08-03 02:57:15 +00:00
chrnx aa3402bd84 ci(release): stage prereleases from release branches
Stage → Verdaccio / publish-stg (push) Successful in 21s
CI / build (pull_request) Successful in 36s
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>
2026-08-02 21:43:16 -05:00
chrnx f45ee7d309 Merge pull request 'feat: close router and security gaps for 26.8 beta' (#12) from feat/router-security-beta into develop
CI / build (push) Successful in 39s
Reviewed-on: #12
2026-08-03 02:28:13 +00:00
chrnx 00aef4541b Merge branch 'feat/router-security-beta' into develop
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:22:10 -05:00
chrnx bd3b2556bc docs: remove design whitespace
CI / build (pull_request) Successful in 56s
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:21:13 -05:00
chrnx 87c1226e97 chore(deps): sync deno lockfile
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:19:03 -05:00
chrnx 1db4e01e40 fix(deno): snapshot metadata before websocket upgrade
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:18:40 -05:00
chrnx 74f09d2e0b docs: document router completeness for beta
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:13:59 -05:00
chrnx fcd3df7022 docs(website): align guides with router behavior
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:11:08 -05:00
chrnx 934fbd4c19 ci: gate releases on clean dependency audits
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:03:54 -05:00
chrnx d9276a4769 docs: expand website documentation audit plan
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 21:01:49 -05:00
chrnx 3a56e656bd chore(deps): remediate security advisories
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:56:17 -05:00
chrnx a2acec69bf feat(openapi): document constrained route params
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:47:18 -05:00
chrnx 9a61ba8646 feat(http): complete HEAD and OPTIONS semantics
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:45:44 -05:00
chrnx 63be0ef8f7 feat(router): expose HEAD and OPTIONS decorators
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:40:02 -05:00
chrnx 8e38fffd77 fix(router): reject invalid and ambiguous paths
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:39:09 -05:00
chrnx 790db661e5 feat(router): compile safe constrained patterns
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:36:46 -05:00
chrnx 63a61aeb0b docs: plan router security beta implementation
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:34:03 -05:00
chrnx e343ae501f docs: design router security beta
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-02 20:28:11 -05:00
chrnx 813a29001b Merge pull request 'release: merge docs refresh to main' (#11) from develop into main
Stage → Verdaccio / publish-stg (push) Successful in 22s
CI / build (push) Successful in 23s
Promote → GitHub / push-github (push) Successful in 7s
2026-07-18 21:09:01 +00:00
chrnx e0212d14e5 Merge pull request 'docs: refresh README + docs, host at /docs on expressive-tea.io' (#10) from docs/readme-refresh into develop
CI / build (push) Successful in 29s
CI / build (pull_request) Successful in 23s
2026-07-18 21:08:35 +00:00
chrnx 8d923e053c Merge pull request 'release: OIDC publishing + beta dist-tag → main' (#9) from develop into main
CI / build (push) Successful in 24s
Promote → GitHub / push-github (push) Successful in 7s
Stage → Verdaccio / publish-stg (push) Successful in 22s
2026-07-18 20:18:07 +00:00
chrnx ab6b1b1ef2 Merge pull request 'ci: npmjs Trusted Publishing (OIDC, no token)' (#8) from ci/trusted-publishing into develop
CI / build (push) Successful in 29s
CI / build (pull_request) Successful in 24s
2026-07-18 20:17:41 +00:00
chrnx 1a313c21ad ci: publish prereleases under their channel dist-tag, not latest
CI / build (pull_request) Successful in 24s
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>
2026-07-18 14:59:48 -05:00
chrnx 3ff90b418d ci: publish to npmjs via OIDC Trusted Publishing (no token)
CI / build (pull_request) Successful in 23s
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>
2026-07-18 14:53:28 -05:00
chrnx 523e302012 Merge pull request 'release: promote stage fix to main' (#7) from develop into main
CI / build (push) Successful in 24s
Promote → GitHub / push-github (push) Successful in 7s
Stage → Verdaccio / publish-stg (push) Successful in 27s
2026-07-18 19:09:16 +00:00