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>
This commit is contained in:
chrnx committed 2026-08-08 17:39:47 -05:00
1 parent 1030109efa
commit f2db461187
4 files changed
+98 -3

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
name: Bug report
about: Something behaves differently from what the docs or the types promise
labels: bug
---
## What happened
## What you expected
## Minimal reproduction
The smallest module and route that shows it:
```ts
```
## Environment
- green-tea version:
- Runtime and version: <!-- Node 20.11 / Deno 2.1 / Bun 1.1 / Cloudflare Workers -->
- OS:
<!--
If it works on one runtime and not another, say which. That difference is
usually the bug rather than a detail of it.
-->
+3
View File
@@ -0,0 +1,3 @@
# Design questions, scope decisions and "should this live in core?" threads don't fit a
# bug form, and they are most of what gets filed here. Keep the blank option available.
blank_issues_enabled: true
+18
View File
@@ -0,0 +1,18 @@
<!--
Opening this from a fork on GitHub? The base branch must be `contrib`, not `main`.
See CONTRIBUTING.md for why, and for the worked example.
-->
## What this changes
<!-- A sentence or two, on the why rather than the what. -->
Closes #
## Checklist
- [ ] Commits are signed off (`git commit -s`)
- [ ] `npm run lint`, `npm run format:check`, `npm run typecheck` and `npm test` pass locally
- [ ] New behavior has a test
- [ ] A new public option or method is also declared in `src/app/types.ts`, and noted in `README.md`
- [ ] Behavior is the same on Node, Deno and Bun — or the difference is deliberate, and said out loud here