From c6782944974637046baa56bdd1388842487a9adc Mon Sep 17 00:00:00 2001 From: Juan Carlos Ghiringhelli Date: Thu, 19 Nov 2026 22:44:19 -0600 Subject: [PATCH] docs(community): CONTRIBUTING, issue and PR templates, claims check, join block in README A 15-minute first contribution path, the one question every change is asked, three issue templates, a PR template, and an automatic check for forbidden claim words in added lines. Decision rules are marked as being drafted. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_017B1JHeKbBY6XidF634tFDk --- .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/propose-change.yml | 27 +++++++++++++ .github/ISSUE_TEMPLATE/report-a-run.yml | 28 +++++++++++++ .github/ISSUE_TEMPLATE/unclear-page.yml | 21 ++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 11 +++++ .github/workflows/claims-check.yml | 28 +++++++++++++ CONTRIBUTING.md | 49 +++++++++++++++++++++++ README.md | 12 ++++++ about/index.md | 2 + 9 files changed, 183 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/propose-change.yml create mode 100644 .github/ISSUE_TEMPLATE/report-a-run.yml create mode 100644 .github/ISSUE_TEMPLATE/unclear-page.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/claims-check.yml create mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..f8da5a8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Ask a question or float an idea + url: https://github.com/jghiringhelli/generative-specification/discussions + about: Questions, ideas and larger changes start in Discussions. diff --git a/.github/ISSUE_TEMPLATE/propose-change.yml b/.github/ISSUE_TEMPLATE/propose-change.yml new file mode 100644 index 0000000..1892761 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/propose-change.yml @@ -0,0 +1,27 @@ +name: Propose a change +description: A new definition, gate, example or correction +labels: ["proposal"] +body: + - type: markdown + attributes: + value: | + Large changes or changes to a definition: please open a Discussion first and link it here. + - type: textarea + id: change + attributes: + label: What do you propose? + validations: + required: true + - type: textarea + id: check + attributes: + label: The question. How does this make it easier to check, with a check that runs, that derived code is correct? + validations: + required: true + - type: textarea + id: evidence + attributes: + label: The check or evidence that supports it + description: A test, an example that fails and one that passes, or a source. Say if it is measured, a pilot, an anecdote or a hypothesis. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/report-a-run.yml b/.github/ISSUE_TEMPLATE/report-a-run.yml new file mode 100644 index 0000000..12d4704 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/report-a-run.yml @@ -0,0 +1,28 @@ +name: Report a replication or a run +description: You re-ran an experiment or applied the method. Null results are welcome. +labels: ["replication"] +body: + - type: textarea + id: what + attributes: + label: What did you run, and on what? + description: The experiment or guide, the model and version, the project type. + validations: + required: true + - type: textarea + id: result + attributes: + label: What happened? + description: Include results that did not match, and your conditions. Do not round up. + validations: + required: true + - type: dropdown + id: scope + attributes: + label: How would you label it? + options: + - Measured, with a stated method + - Pilot + - Anecdote + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/unclear-page.yml b/.github/ISSUE_TEMPLATE/unclear-page.yml new file mode 100644 index 0000000..777badf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/unclear-page.yml @@ -0,0 +1,21 @@ +name: Something is unclear +description: A page, a definition or an example that you could not follow +labels: ["feedback"] +body: + - type: input + id: page + attributes: + label: Which page or section? + placeholder: "https://genspec.dev/method/rubric/" + validations: + required: true + - type: textarea + id: unclear + attributes: + label: What did you not understand, or what seems wrong? + validations: + required: true + - type: textarea + id: expected + attributes: + label: What would have helped you? (optional) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..eaf1eac --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +## What changes, in one sentence + +## The question +How does this make it easier to check, with a check that runs, that derived code is correct? + +## The check or evidence that supports it + +## Labels +- [ ] Every claim is labelled measured, pilot, anecdote or hypothesis +- [ ] No "proven", "certified", "official" or "standard" +- [ ] If an assistant helped, I say so here, and I reviewed every line diff --git a/.github/workflows/claims-check.yml b/.github/workflows/claims-check.yml new file mode 100644 index 0000000..7322a9c --- /dev/null +++ b/.github/workflows/claims-check.yml @@ -0,0 +1,28 @@ +name: Claims check + +on: + pull_request: + paths: + - '**.md' + +jobs: + claims: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Flag forbidden words in added lines + run: | + set -e + git diff -U0 "origin/${{ github.base_ref }}...HEAD" -- '*.md' \ + | grep -E '^\+[^+]' \ + | grep -iE '\b(proven|certified|officially|ISO standard)\b' \ + | grep -v 'claims-ok' > flagged.txt || true + if [ -s flagged.txt ]; then + echo "These added lines use words the claims rule forbids (see CONTRIBUTING.md)." + echo "If a use is correct in context, add on the line and explain in the PR." + cat flagged.txt + exit 1 + fi diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..4f15371 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,49 @@ +--- +nav_exclude: true +search_exclude: true +--- + +# Contributing to Generative Specification + +Generative Specification (GS) is an open method, developed in the open as a working draft. It is not a standard and no body has recognized it. Anyone can read it, question it, test it and propose changes. This page tells you how. + +## Your first contribution in 15 minutes + +Pick one: + +1. **Tell us what is unclear.** Read one page ([the rubric](https://genspec.dev/method/rubric/) is a good start) and open a "Something is unclear" issue. This is a real contribution; it improves the page. +2. **Take a labelled issue.** Issues labelled [`first contribution`](https://github.com/jghiringhelli/generative-specification/labels/first%20contribution) are small, scoped and have a stated finish line. +3. **Propose a quality gate.** One YAML file, one property. See [how to contribute a gate](quality-gates/CONTRIBUTING.md). +4. **Re-run an experiment** and report the result, including a null result. See the [experiment publishing playbook](docs/white-paper/EXPERIMENT-PUBLISHING-PLAYBOOK.md). + +## The one question + +Before you open a change, ask it: + +> Does this make it easier to check, with a check that runs, that the code an assistant derived is correct? + +A change that does is in scope. A change that does not may still be a good idea, but it probably belongs in a discussion first. + +## What we ask of a pull request + +- **Include the check that supports it.** A new claim comes with the evidence or the test that backs it. A new gate comes with an example that fails and one that passes. A changed definition comes with the case it is meant to settle. +- **Keep it small.** One idea per pull request. If it is large or changes a definition, open a Discussion or an issue first and talk before you write. +- **Label what you know.** Say whether a statement is measured, a pilot, an anecdote or a hypothesis. Do not write "proven" or "certified". Do not write that something is "official" or a "standard". Do not claim independence unless it is true and you can show it. +- **No third-party tool attacks.** Describe what a check does, not what another tool lacks. +- **AI-assisted work is welcome, and a person reviews it.** If an assistant helped, say so in the pull request. You are responsible for every line you submit; we do not accept unreviewed generated text. + +An automatic check flags a few words in new text that the claims rule forbids (for example "proven" or "certified"). If it flags something that is correct in context, explain it in the pull request. + +## How decisions are made + +The working draft is open. Maintainers merge what passes the question above and the rules on this page. The written rules for who can block a change, and on what grounds, are being drafted and will be published here before they apply. Until then, a maintainer who declines a change will say why, in public, on the pull request. + +## Licence + +Text is under [CC BY 4.0](LICENSE). Code is under [MIT](LICENSE-CODE). By contributing you agree your contribution is released under the same licence as the part it touches. + +## Where to talk + +- **Questions and ideas:** the repository's Discussions. +- **Bugs and unclear pages:** issues, with the templates. +- Nothing is private. Please do not send proposals by direct message: a public thread helps the next reader. diff --git a/README.md b/README.md index 69c5d39..4e78c70 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,18 @@ Community home for the Generative Specification methodology — the first progra --- +## Join in + +Generative Specification is an open working draft. Three ways in, from the smallest: + +- **Tell us what is unclear** on any page: [open an issue](https://github.com/jghiringhelli/generative-specification/issues/new/choose). +- **Take a small task** labelled [`first contribution`](https://github.com/jghiringhelli/generative-specification/labels/first%20contribution). +- **Ask or propose** in [Discussions](https://github.com/jghiringhelli/generative-specification/discussions). + +How to contribute, and the one question every change is asked: [CONTRIBUTING.md](CONTRIBUTING.md). The method itself is at [genspec.dev](https://genspec.dev). + +--- + ## Repository Structure ``` diff --git a/about/index.md b/about/index.md index c53e95f..0ff385c 100644 --- a/about/index.md +++ b/about/index.md @@ -24,6 +24,8 @@ A revised base paper is in preparation; see [Evidence and papers](/evidence/) fo ## Contribute +Start with [how to contribute](https://github.com/jghiringhelli/generative-specification/blob/main/CONTRIBUTING.md): a first contribution takes about 15 minutes, and telling us what is unclear counts. + The [gate library](/quality-gates/) is community-maintained: each gate is one YAML file mapped to one of the seven properties, and anyone can propose one by pull request. See [how to contribute a gate](/quality-gates/CONTRIBUTING.html) and the [gate schema](https://github.com/jghiringhelli/generative-specification/blob/main/quality-gates/schema.yaml). Independent replications of the experiments, including null results, are also welcome by pull request. See [how to replicate an experiment](/docs/white-paper/EXPERIMENT-PUBLISHING-PLAYBOOK.html).