Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/propose-change.yml
Original file line number Diff line number Diff line change
@@ -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
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/report-a-run.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/unclear-page.yml
Original file line number Diff line number Diff line change
@@ -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)
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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" <!-- claims-ok: the rule itself -->
- [ ] If an assistant helped, I say so here, and I reviewed every line
28 changes: 28 additions & 0 deletions .github/workflows/claims-check.yml
Original file line number Diff line number Diff line change
@@ -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 <!-- claims-ok: reason --> on the line and explain in the PR."
cat flagged.txt
exit 1
fi
49 changes: 49 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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. <!-- claims-ok: the rule itself -->
- **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"). <!-- claims-ok: the rule itself --> 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.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

```
Expand Down
2 changes: 2 additions & 0 deletions about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Loading