docs: close the gaps an outside contributor falls into #36

Merged
chrnx merged 7 commits from chore/contributor-friction into develop 2026-08-11 14:41:03 +00:00
7 Commits
Author SHA1 Message Date
chrnx f200045fd7 chore: put a project address in the package metadata
CI / dco (pull_request) Successful in 4s
CI / build (pull_request) Successful in 35s
author had no email and bugs had no address, so the only contact npm could show for a
published package was a GitHub issues URL. bugs.email is a field npm actually reads and
npm bugs surfaces, which makes it the right home for the catch-all.

No security address here on purpose: npm has no field for one, an invented key is read by
nothing, and the standard location is /.well-known/security.txt on the domain root, which
this repo does not serve.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 09:32:32 -05:00
chrnx 18d441b3ec docs: set real response times and a disclosure window
3/10 days was a placeholder borrowed from policies written for teams with someone on
rotation. This project is one person, so 5/15 with an escalation address, and an explicit
release from embargo if that also goes unanswered. A reporter facing silence should not
have to guess whether they are allowed to publish.

Adds the 90-day window, which was the real omission: the reporter's question is when they
may disclose, and leaving it unstated invites them to assume CERT/CC's 45.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 09:07:53 -05:00
chrnx 3714f7befc ci: reject commits without a Signed-off-by
CONTRIBUTING said unsigned commits are rejected and nothing enforced it, so the DCO was
caught by hand at review time. That is a full round-trip for a trailer, on top of however
long the fork's first run waits for approval.

Own job, so it reports separately from the code gates and costs nothing on push. Presence
only: whether a trailer that doesn't match the author is acceptable is a reviewer's call,
whether one exists at all is not.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 09:03:03 -05:00
chrnx ab58c064d5 docs: document local setup and the runtime suites
CONTRIBUTING went from clone straight to 'make the change' and never said npm install.
That mattered more than it looks: prepare wires core.hooksPath to .githooks, and the
pre-commit hook runs lint and complexity:check. An external contributor without it gets
told by CI what the hook would have told them before the commit existed.

The runtime commands were only in AGENTS.md and the README, so an assistant reading the
repo was better briefed than the person sending the pull request.

Checklist and the CI list now match ci.yml, which had grown complexity:check and build
without either following.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 09:02:56 -05:00
chrnx 6fa40672c6 docs: add a code of conduct and a security policy
Both were absent. The code of conduct is Contributor Covenant 2.1 verbatim, with
enforcement pointed at compliance@, which sits outside the project team so a report
about a maintainer has somewhere to go that isn't that maintainer.

The security policy exists so an exploitable finding has a route that isn't a public
issue. States the scope, the response times we can actually hold to, and that there is
no bounty, rather than leaving someone to find that out after the work.

Issue chooser now surfaces both, plus support@ for questions that are about the
reporter's own app rather than a bug here.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 09:02:49 -05:00
chrnx 1bb82491bd docs: document the cognitive complexity gate
complexity:check was missing from the list of commands CI runs, so the first
external contributor to trip it hit a failure with no way to have seen it
coming, on a rule the docs never stated.

Says what the number measures and why nesting is what it punishes, so the fix
reads as extracting a helper rather than raising the threshold.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 08:47:57 -05:00
chrnx b08ecb66cc chore: ignore bun.lock
Bun writes it on install but nothing reads it: test:bun runs against the
node_modules npm installed, already pinned by package-lock.json. deno.lock
stays tracked because the Deno tests resolve npm:/jsr: specifiers against
registries, where a lockfile is the only thing making them reproducible.

It reached a pull request once already, at 1278 lines.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-08-11 08:47:50 -05:00