Skip to content

Public docs: licence, security policy, contributing guide, live links - #2

Merged
tomdebres-agent merged 1 commit into
mainfrom
tomdebres-agent/docs-public
Nov 16, 2026
Merged

tomdebres-agent merged 1 commit into
mainfrom
tomdebres-agent/docs-public

Conversation

@tomdebres-agent

Copy link
Copy Markdown
Collaborator

What and why

The repo is public now, so it needs what a public repo carries:

  • Licence: MIT OR Apache-2.0, as Nockchain is. Adds LICENSE-MIT and LICENSE-APACHE, with "the nockmark authors" as holder, and license = "MIT OR Apache-2.0" in tock/Cargo.toml and registry/Cargo.toml.
  • SECURITY.md: how to report privately through GitHub's private vulnerability reporting. In scope are the registry's verification and anything that would let someone inflate a rate.
  • CONTRIBUTING.md: runs from hardware not yet on the board come first. Then building (cargo runs inside tock/ or registry/), ./verify --fast and ./verify, and how PRs from outside are approved.
  • README: the build step in the quick start, a docs/ layout line that matches the tree, and Contributing, Security and Licence sections. The rest is unchanged.
  • Dead links: the design notes moved out of this repo, so links into docs/superpowers/ now 404. They are removed from the README, tock/README.md, tock/src/main.rs and the write-up's "How it got here" bullet. Nothing else in the write-up changes.
  • tock/README.md also drops two remarks about one particular machine (where its toolchain lived, and whose M1 the reference timings came from).

How it was tested

  • ./verify --fast: green, with the reviewer test at 15 passed and the risk-tier test at 26 passed.
  • cargo metadata --no-deps in tock/ and registry/ reports MIT OR Apache-2.0 for both packages. Neither lockfile changes.
  • grep -rn superpowers across the tree: the only hits left are in scripts/publish-check.mjs, which is its list of private paths.
  • publish-check on the tree: clean (227 files).
  • Not covered locally: the full ./verify. The Rust changes are one doc comment and the manifests' license field; CI runs it.

Risk

Low. Docs, licence files and package metadata, plus one doc comment. No high-risk path.

How to undo

Revert this commit.

Decisions

  • The copyright line is only in LICENSE-MIT. LICENSE-APACHE is the standard text, unchanged, as Nockchain's is.
  • SECURITY.md promises no response time.

- Licence: MIT OR Apache-2.0, as Nockchain is. LICENSE-MIT and
  LICENSE-APACHE (holder "the nockmark authors"), and `license` in the tock
  and registry manifests.
- SECURITY.md: report through GitHub's private vulnerability reporting.
  Scope: the registry's verification, and anything that inflates a rate.
- CONTRIBUTING.md: runs from hardware not yet on the board come first; then
  building (cargo inside tock/ or registry/), ./verify --fast and ./verify,
  and how outside PRs are approved.
- README: the build step in the quick start; a docs/ layout that matches the
  tree; Contributing, Security and Licence sections.
- Links to docs/superpowers/, which is no longer in this repo, are gone: from
  the README, tock/README.md, tock/src/main.rs and the write-up's "How it got
  here" bullet. tock/README.md also loses its notes about one machine's
  toolchain and owner.

Co-authored-by: Tom de Bres <tomdebres@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

Claude review, round 1 of 3 on 2ea4593: no open Important findings.

Round 1: the PR only touches docs (licence, security policy, contributing guide, README links) and adds license to two Cargo.toml files. It changes no registry, verifier, pin or endpoint code, and I found no bugs.

@tomdebres-agent
tomdebres-agent merged commit 040bbe9 into main Nov 16, 2026
4 checks passed
@tomdebres-agent
tomdebres-agent deleted the tomdebres-agent/docs-public branch November 16, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant