Skip to content

chore: add the merge queue and the organization constitution - #7

Merged
systemfsoftware-bot merged 4 commits into
mainfrom
chore-mergify-constitution
Nov 23, 2026
Merged

systemfsoftware-bot merged 4 commits into
mainfrom
chore-mergify-constitution

Conversation

@systemfsoftware-bot

@systemfsoftware-bot systemfsoftware-bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What

  • .mergify.yml extends the organization policy and names this repository's checks, as timescale-drizzle does: a default queue and a subtree queue, both gated on checks / check and squash message.
  • .github/workflows/squash-message.yml lints the pull request title and body, which the squash commit takes. The commitlint step leaves ci.yml, so a title edit no longer re-runs the full gate.
  • repos/constitution/ is vendored with git subtree add --squash from systemfsoftware/constitution; subtrees.toml declares it.
  • AGENTS.md is rewritten in the organization shape (commands, routing, boundaries); CLAUDE.md imports it, subtrees.toml and repos/constitution/WORKING.md; REVIEW.md includes the shared standards and review policy.
  • The upstream architecture and change-discipline rules move into a root CODING_STANDARDS.md, with the package direction updated for the four kept packages. The upstream sections that described Bun, Dev Kit skills, the review bot, benchmark examples, product documentation and a testing policy that conflicts with the shared one are dropped.
  • CODING_STANDARDS.md names, beside each rule, the check or test that enforces it, or says review does. The internal layer direction (core <- engine <- capabilities <- durable) is dropped because pnpm check:exports enforces it.
  • AGENTS.md routes unfamiliar library APIs to the installed node_modules/<library> source and the simplification skill to its trigger.
  • dprint and oxlint ignore repos/**.

This PR carries subtree commits, so it merges through the subtree queue (merge commit), not the default one.

Commands run (exit codes)

All from the worktree, at nice priority, one package's tests at a time.

command exit
pnpm install --frozen-lockfile --ignore-scripts 0
pnpm format:check 0
pnpm lint 0
pnpm typecheck 0
pnpm build 0
pnpm check:exports 0
pnpm check:record-format 0
pnpm check:package-purity 0
pnpm check:pack 0
pnpm --filter ./packages/storage-sql test 0
pnpm --filter ./packages/platform-node test 0
pnpm --filter ./packages/effect-agent test 0
pnpm --filter ./packages/storage-sqlite test 0
commitlint on the commit message 0

No package source changed.

Cannot be proven before merge

The queue itself runs only once this file is on main and a queued PR exercises it.

git-subtree-dir: repos/constitution
git-subtree-split: b8fb2776dbf202c5abcf9fd370bd62659765564e
Add the Mergify queue gated on checks / check, lint the squash message in its
own workflow, and replace the upstream agent instructions with the shared
routing, the repository coding standards and the review policy.
@mergify

mergify Bot commented Nov 23, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

…installed source

Drop the internal layer-direction rule that check:exports already enforces,
name the enforcing check or review beside every remaining rule, and move the
simplification pointer into the routing table.
@systemfsoftware-bot
systemfsoftware-bot merged commit bbcfe8b into main Nov 23, 2026
7 of 8 checks passed
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