Repository navigation
feat!: replace the constitution with org-wide CODING_STANDARDS.md and REVIEW.md - #37
Merged
Merged
Conversation
… REVIEW.md CONSTITUTION.md, ENFORCEMENT.md, the YAML corpus validator and CONCEPTS.md are removed. CODING_STANDARDS.md leads with 'Impossible states first' and carries every law that still earns its place under SF-* IDs, with a former-ID table. REVIEW.md holds the shared finding bar, severities and evidence rules.
|
This pull request is merged. |
This was referenced Nov 22, 2026
…d WORKING.md split out CODING_STANDARDS.md drops the Former IDs table (now in the PR body), SF-SHP-3, -4 and -6, and restating Why lines; folds SF-IMP-2 into SF-IMP-1, SF-TST-3 into SF-TST-5 and SF-SHP-2 into SF-SHP-1; scopes SF-IMP-1 and -3; rewrites SF-GATE-5 (CI evidence, operational timeouts, owner's quoted order) and SF-SHP-8 (search org packages and skills first); adds SF-SHP-9 and a Maintaining section. SF-GATE-1, -3, -4 and -6 move to an on-demand GRADERS.md. WORKING.md holds how agents work (SF-WRK-1..5, SF-FIN-1) for consumers to import always-on. REVIEW.md: moved code is judged by what its new place creates, P1 blocks, P0 waived only by the owner's quoted order, one round per head with a verdict line, findings stay on the PR, no finding asks for a check.
…review waives a P0; an owner-ordered grader change is its own PR
…n comments have no exception
… and let SF-IMP-4 assertions import internal types by relative path Gemini's plain-English pass, tightened under the pre-rewrite word counts, with owner-ruled passages kept word for word. README is rewritten for human readers per the write-readme-md skill. SF-IMP-4 (option B, ruled by Fable and Gemini): the assertion lives in test-types/ and imports a published type by package name or an internal one by a relative path into src/; no export, subpath or imports map is added for it. SF-TST-1 exempts SF-IMP-4 assertions. REVIEW.md checks for an export whose only importer is a .tst.ts file.
This was referenced Nov 23, 2026
Merged
Merged
Merged
chore(constitution): enroll the org-wide CODING_STANDARDS and REVIEW
systemfsoftware/effect-memfs#36
Merged
Merged
Merged
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This replaces the constitution with the organization's shared
CODING_STANDARDS.mdandREVIEW.md, on the Compound Engineering plugin's model.Removed:
CONSTITUTION.md,ENFORCEMENT.md, the YAML corpus validator (scripts/), andCONCEPTS.md. That vocabulary only described the corpus.CODING_STANDARDS.mdleads with Impossible states first:After that come Tests, Shape the code, Secrets and public repositories, Checks and gates (the part of
ENFORCEMENT.mdthat still earns its place), and Finish. Every rule has anSF-<family>-<n>ID and aWhy:line. A former-ID table maps everyCONST-*ID to its new home.REVIEW.mdholds the shared review policy: the finding bar (including that a finding asking for a test names the behaviour no type can hold), accretion, severities, the declared-breach waiver, limits, what not to report, and evidence.Consumption: each repository keeps the subtree at
repos/constitution/and includes both files from its rootREVIEW.md. The README says how.Check: the required
checkjob now runsdeno task check(deno fmt --checkover the markdown), the same task as the pre-commit hook. The validator it ran graded the YAML corpus, which this change deletes. This PR changes that grader because the grader is the subject of the change. The markdown formatting also reflowed the three solution notes.docs/plans/is history and stays as it was.Evidence
deno task check→Checked 9 files, exit 0.grepfor private names over every changed file: none.Revision after red-team and Gemini round 3
The red-team's diff-level proposal is applied. The owner delegated the two open calls, and the rulings are applied verbatim:
test-types/, run bytypecheckand never by tests. It imports a published type by package name and an internal one by a relative path intosrc/; no export, subpath or imports map is added for it (option B, ruled by Fable and Gemini). SF-TST-1 exempts these assertions. SF-IMP-1's ban on suppression comments has no exception.REVIEW.mdgains an "Always check" list of P1 limits on the assertions.CODING_STANDARDS.md1,476 words,REVIEW.md698 after the ordered checks,GRADERS.md166,WORKING.md167).README.mdis rewritten for human readers and follows the README skill.CODING_STANDARDS.mdWhy:lines that only restate their rule.GRADERS.md.WORKING.md(new): how agents work. It holds SF-WRK-1 to -5 and SF-FIN-1, which moved here from the standards. Every consumer imports it always-on; this restores what dropping CONST-W1 lost.REVIEW.mdGemini round 3 (High) fixes, all applied:
GRADERS.mdis citable.CODING_STANDARDS.mdandREVIEW.mdas graders.Size (tokens estimated as characters ÷ 4)
CODING_STANDARDS.mdREVIEW.mdGRADERS.md(on demand)WORKING.md(always-on)Former IDs
The retired
CONSTITUTION.mdlaws map to these rules. Dated plans keep the old IDs.GRADERS.md)WORKING.md), SF-GATE-5WORKING.md)REVIEW.md