Skip to content

Latest commit

 

History

History
96 lines (71 loc) · 3.86 KB

CONTRIBUTING.md

File metadata and controls

96 lines (71 loc) · 3.86 KB

Contributing

Before you start

  • Look for an existing issue or pull request first. A duplicate splits the evidence. If there is none, open one with the Bug or Enhancement form.
  • Say what you intend to do on the issue before a large change, so nobody builds the same thing twice and the shape can be agreed early.
  • A security problem goes to the address in SECURITY.md, never to a public issue.

Setting up

Python 3.12 or later and uv. Flask is the only dependency.

To use a release, follow the uv installation guide. To contribute, run from a checkout:

git clone https://github.com/thinkflowlab/nullius.git
cd nullius
uv run --no-project --with-requirements app/requirements.txt app/app.py --no-debug

The app opens on 127.0.0.1:5057. Docker is needed only for the container backend and for Harbor recipes.

Where things go

  • app/ is the application. New code goes under it, never loose at the root: app/nullius/ for the backend, app/web/ for routes, app/templates/ and app/static/ for the interface.
  • docs/ is the documentation, published as the site.
  • app/nullius/catalogue/ holds the benchmarks, agents and capabilities, one folder each.

AGENTS.md holds the rules every contributor and coding assistant follows. Read it before your first change.

The tests require a Flask-free backend, one provider of nullius, and the template fields pinned in app/tests/field_contract.json.

Bringing in a benchmark, an agent or a capability

Use the import skills rather than writing an entry by hand: /import-benchmark, /import-standard, /import-agent and /import-capability under .agents/skills/. Each pins the upstream, wraps the upstream's own code and proves what fits. Nullius is a facilitator, not a re-implementer: anything beyond glue is asked about first. The + Add button on the Benchmarks, Agents and Capabilities pages writes the prompt for any assistant.

Running the tests

From the repository root. The backend suite needs git and uv; only the route suite needs Flask.

python3 app/tests/parallel.py
uv run --no-project --with-requirements app/requirements.txt python app/tests/parallel.py app/ui_tests

Some files are refreshed by hand after a deliberate change, and the suite fails while they are stale: AGENTS.md, "Commands", lists them.

A change to the interface also gets a look in a browser: the pages it touches, in both themes, at the widths it affects. The owner's rules for every page are in .claude/rules/ui.md.

A change to what a metric means updates the field guide, docs/field-guide.md, in the same change.

Releases

The release guide covers building verified downloads and preparing a draft release. Publication is a separate decision by the repository owner.

Pull requests

  • Small and targeted. One change per pull request; no refactoring of unrelated areas on the way.
  • Open it as a draft. Mark it ready when it is: the checks run then.
  • Fill in the template, short. It holds an example. The PR judge compares it with the diff and with the linked issue's acceptance list.
  • Reference the issue so it shows in the issue's Development panel.
  • Say what you verified. Tests run, browser checks made, widths tried. "Not verified" is an honest answer.
  • No key, no email address, no private link in a body, a commit or a screenshot.

Commit messages are about the change and why it was made. No machine attribution: no Co-Authored-By: Claude, no session metadata, no generated-by signature. A real person who contributed is named as a co-author as usual. The agents and models used may be named in the pull request, under ## Agents, nowhere else; a squash keeps its title alone.

Nothing merges without the repository owner's word.