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
34 changes: 34 additions & 0 deletions repos/constitution/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# The org's one Dependabot configuration (public-repo standard, item 5). Only the ecosystems and the extra
# major-version ignores differ by repository. The 3-day cooldown matches pnpm's minimumReleaseAge; vendored
# subtrees under repos/ are never updated in place; @systemfsoftware/* moves with the flake input.
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: monday
cooldown:
default-days: 3
exclude-paths:
- "repos/**"
labels:
- "automerge"
groups:
github-actions-minor-patch:
patterns: ["*"]
update-types: ["minor", "patch"]

- package-ecosystem: "deno"
directory: "/"
schedule:
interval: weekly
day: monday
cooldown:
default-days: 3
exclude-paths:
- "repos/**"
groups:
deno-minor-patch:
patterns: ["*"]
update-types: ["minor", "patch"]
3 changes: 2 additions & 1 deletion repos/constitution/CODING_STANDARDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ A state the compiler refuses needs no test and cannot return unnoticed.
test with a defective assertion (checking steps, configuration, or file
layout; copying expected values from code; unable to fail; or covering removed
behaviour); never rewrite, retitle, or replace it. Fix a test whose only fault
is how it reaches the code (an internal import or real clock). Deleting a
is how it reaches the code (an internal import, a real clock, or a boundary,
entrypoint or protocol that moved while the behaviour stayed). Deleting a
worthless test is welcome and does not count as lost coverage. When a valid
test fails, fix the code under test, not the test.
- Why: reshaping a bad test keeps its cost and false confidence; weakening a
Expand Down
26 changes: 24 additions & 2 deletions repos/constitution/WORKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ narrow these rules, never loosen them.

- **SF-WRK-1** Deliver the whole task. Stop only when merged, in the merge
queue, or blocked by something only the owner holds, and state which applies.
- **SF-WRK-2** Do reversible work without asking. Send any design or technical
decision you would ask the owner to Gemini, report its answer, and proceed.
- **SF-WRK-2** Do reversible work without asking.
- **SF-WRK-4** Never run full test suites, end-to-end tests, or microVM runs on
shared hosts; leave them to CI.
- **SF-WRK-5** Before any destructive or broad action, restate the instruction's
Expand All @@ -22,5 +21,28 @@ narrow these rules, never loosen them.
of the task—such as an independent research path, parallel work in a fresh
context, or a review blind to its author—returning a compact result to the
main loop.
- **SF-WRK-7** Separate generation from verification. Done needs the concrete
proof `SF-FIN-1` names, produced by something other than the author (compiler,
deterministic tests, CI); a fresh-context reviewer's verdict adds to that
proof and never replaces it, and the author's self-approval never counts.
- **SF-WRK-8** Scale review depth to blast radius and reversibility, never by
the authoring agent's self-classification. A change is non-behavioural only
when every file it touches is documentation other than instruction files
(`AGENTS.md`, `CLAUDE.md`, this constitution, skills, review and coding
standards), or when the repository's risk check classifies it so; every other
change is behavioural. Read the risk tier from the repository's risk check,
which combines a deterministic structural floor and the owner's declared
high-risk paths with an independent calibrated classifier and fails closed;
where a repository has no risk check, every behavioural change is high-risk.
Every behavioural change receives independent review after its checks pass.
Before refactoring brownfield or untested code, commit characterization tests
that pass against the unmodified code; record non-trivial read-only
archaeology as a committed file under `docs/` in the same PR; and migrate in
complete units, removing the legacy path in the same PR.
- **SF-WRK-9** Give every behavioural PR a body that states intent and
non-goals, load-bearing decisions and rejected alternatives, raw verification
evidence (commands, and CI run IDs once CI has run), the test and grader
changes, and its rollback or live post-deploy check. Update the body whenever
the head changes what it says, and name the head SHA it describes.
- **SF-FIN-1** Never claim a task is done, blocked, or broken without concrete
proof, such as a passing command, compiler error, or observed system state.
2 changes: 1 addition & 1 deletion repos/constitution/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"prepare": "git config core.hooksPath .husky"
},
"imports": {
"@commitlint/config-conventional": "npm:@commitlint/config-conventional@^21.2.0"
"@commitlint/config-conventional": "npm:@commitlint/config-conventional@^21.2.4"
},
"fmt": {
"include": [
Expand Down
24 changes: 12 additions & 12 deletions repos/constitution/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.