Repository navigation
Description
Problem or Motivation
Agents push code that the hooks did not check, and CI finds the defects later. The hooks review of 2026-11-11 measured these problems in the census week (2026-11-04 to 2026-11-11) and in the 14 days before 2026-11-11:
- No hook checks that a pushed branch holds
origin/main. 19 force pushes reached a pull request that had a conflict. 21 rebase-only pushes and 28 GitHub update-branch merges only caught up withmain(about 2,040 runner-minutes). - The commit stage takes 4.4 s for 3 Python files at load 11, and 12-16 s at a higher load.
ast-grep-scanscans all ofsrcandtestsat each commit. - The pre-push stage runs only
lintandformat. 6 agent Static Analysis failures in 14 days failed only inconstructs,swallowed-failures,depsoruv-check.typecheckfailed in 12 of 66 failed Static Analysis runs. - No CI job runs the hygiene hooks. One file on
mainfailsend-of-file-fixer. It came from a claude.ai/code session, which installs no git hooks. Plan Checkfailed 36 times on Service plan pull requests in 14 days. The stage job runs no Plan Check rule before its push.devops pr createchecks the title form, butdevops pr edit --titledoes not.- The
--no-verifydeny rules of.claude/settings.jsondo not matchgit push --no-verify .... - 7 of 22 documentation conflicts were two edits of the same long line.
Proposed Solution & Architectural Design
Goal
Agents produce valid, linted code with no merge conflict. Each push to GitHub holds the current origin/main and merges cleanly. The checks run at the earliest point where they are fast: at the edit, at the commit, at the push, then in CI. The same rules apply to the workstation, the cloud agent sessions, the implement Job and the Service. One definition, .pre-commit-config.yaml, holds the hooks.
Owner requirements and decisions
All are of 2026-11-11.
- The push is the check point. Fetch and rebase onto the current
origin/mainright before each push. Refuse a push when the branch does not holdorigin/mainor does not merge cleanly. Between pushes, an open pull request gets no catch-up update (docs/SDLC.mdPhase 5). The check also works for the runner Jobs and the Service, which push without the workstation hooks. - Nested OpenSpec capabilities. refactor(openspec): split big capabilities into nested ones #4622 splits the big capabilities. The archive stays in the closing pull request.
- Standard interfaces. Connect open tools through their standard interfaces, with no custom logic for each tool. Balance performance, complexity and maintainability.
- OD1 (a).
devops pr update <n>stays only for a failed required check whose fix is onmain.--alland every catch-up update go (refactor(pr): devops pr update acts only on a failed check #4674). - OD2 (a). Correct the 2 existing deny rules so that they also match
git push --no-verify ...andgit commit --no-verify .... Add no new kind of rule (child 20). - OD3 (a). Run the rumdl one-sentence-per-line trial now on the 5 busiest hand-written Markdown files (child 21).
- Timeouts. Every inner limit is shorter than the limit around it.
Ordered child list
Each line gives the issue, its title, its child number and the issues to merge first. "Start now" marks an item with no unmet dependency.
- feat(git): refuse a push that does not hold origin/main #4670 feat(git): refuse a push that does not hold origin/main (child 1, start now, hooks items P01 and P05). Depends on: none.
- feat(roadmap): detect merge conflicts on open ready pull requests #4027 feat(roadmap): detect merge conflicts on open ready pull requests (child 2, scope changed: no catch-up update-branch). Depends on: feat(git): refuse a push that does not hold origin/main #4670.
- feat(roadmap): automated rebase and plan rewrite for open plan branches #3969 feat(roadmap): automated rebase and plan rewrite for open plan branches (child 3, scope added: push only a changed plan). Depends on: feat(git): refuse a push that does not hold origin/main #4670.
- feat(roadmap): rebase staged branch onto main before implement #4076 feat(roadmap): rebase staged branch onto main before implement (child 4, closed as not planned: the Job already rebases, and
--no-rebasewould defeat the push gate). - refactor(pr): devops pr update acts only on a failed check #4674 refactor(pr): devops pr update acts only on a failed check (child 5). Depends on: feat(git): refuse a push that does not hold origin/main #4670.
- feat(agents): remote agent sessions install the git hooks (child 6, start now). Depends on: none.
- feat(ci): devops ci ends each row at a time limit (child 7, start now). Depends on: none.
- perf(ci): faster commit hooks and more fast pre-push checks (child 8). Depends on: feat(git): refuse a push that does not hold origin/main #4670, child 7.
- feat(ci): Static Analysis runs the commit hygiene hooks (child 9). Depends on: child 8.
- fix(roadmap): implement runs the commit hooks on docs and archive (child 10, start now). Depends on: none.
- feat(roadmap): run the plan checks before the stage push #4725 feat(roadmap): run the plan checks before the stage push (child 11, scope added: one shared Plan Check tree function). Depends on: feat(roadmap): run each stage item in its own Job #4559, feat(git): refuse a push that does not hold origin/main #4670.
- fix(pr): devops pr edit checks the title form (child 12, start now). Depends on: none.
- feat(openspec): refuse a capability that grows past 80 (child 13). Depends on: refactor(openspec): split big capabilities into nested ones #4622, feat(roadmap): run the plan checks before the stage push #4725.
- feat(agents): Claude Code fixes an edited file with the hooks (child 14). Depends on: child 9, child 6.
- feat(agents): Kilo formats a written file with the hooks (child 15, waits for a Kilo session test). Depends on: child 9.
- perf(ci): share one mypy cache across worktrees (child 16, start now). Depends on: none.
- perf(ci): typecheck runs in the pre-push hook (child 17, conditional). Depends on: child 16, child 8.
- chore(docs): mark the generated documents as generated #4888 chore(docs): mark the generated documents as generated (child 18, start now; scope widened by the content freshness tracker feat(docs): track current content and brain-fed reference docs #4880). Depends on: none.
- feat(research): watch upstream releases of the pins #3907 feat(research): watch upstream releases of the pins (child 19, scope added: the hook pins of
.pre-commit-config.yaml). Depends on: none. - fix(agents): deny the no-verify forms of git push and commit (child 20, start now). Depends on: none.
- docs: trial one sentence per line in the busiest documents (child 21, start now). Depends on: none.
#4670, #4674, #4725 and #3969 stay sub-issues of #4667, the iteration lane tracker. This list gives their order in the hooks plan.
Dropped parts (not filed)
| Part | Reason |
|---|---|
Commit hooks on each wip: commit of the implement Job |
The fixers would change files while the agent edits them. #4713 sends wip commits to a branch with no pull request. |
[skip ci] on wip commits |
#4713 removes the runs at the source. A stop head with [skip ci] leaves the required checks pending. |
| prek in place of pre-commit | It saves 0.4-0.6 s for each commit after child 8, and it puts a 0.x tool in the commit gate of the Job. File it only if the edit hook of child 14 is too slow. |
coreutils timeout in hook entries |
The rows ran on after rc 124, and timeout names no row. child 7 replaces it. |
MYPY_CACHE_DIR in the devcontainer environment |
It works only after a container rebuild. child 16 uses [tool.mypy] cache_dir. |
ruff-check in the manual stage and in the edit hooks |
Its --fix deleted a new import with no message. The lint row checks it in CI. |
check-added-large-files in the manual stage |
With --all-files it checks nothing. With --enforce-all, CHANGELOG.md and uv.lock fail. |
| The push hook inside the scoped pre-push run of the Job | A move of main would go to the model as a code defect. The Job checks in code at the push (#4670). |
| update-branch for a pull request with a conflict | GitHub cannot update a branch that has a conflict. #4674 prints the local recipe. |
PRE_COMMIT_FROM_REF as the remote head |
It is wrong for a new branch. In a test, a catch-up push overwrote a merge that GitHub made. #4670 fetches the remote tip. |
| Local copies of the upstream hooks | They copy the upstream hook metadata. #3907 watches the one remote pin. |
| A commit-msg hook, a blocking PreToolUse or Stop hook, new kinds of deny rules, merge drivers, pre-commit.ci, autofix.ci, lefthook, gitlint, commitlint, the merge queue, an up-to-date check in GitHub CI | Rejected. CONTRIBUTING.md decides that no hook checks branch commits. Strict up-to-date is off. A user-owned repository has no merge queue. |
Related open items
- fix(ci): give the test row and the index build own timeouts #4683 adds a limit for each row in
CheckSpec. child 7 adds the limit for a whole run. Both use the row runner ofdevops ci. - feat(ci): devops ci --remote runs the gate in the cluster #4698 reuses the setting
ci.check_timeout_secondsof child 7. - feat(pr): pr create gates the change and pushes once #4708 can supersede child 17: a passing gate before each push also runs
typecheck. - feat(roadmap): a toolchain preset sets the implement checks #4635 makes the implement check set a preset. child 8 removes
constructsfrom the default set. - ci(copilot): a release tag starts no setup steps run #4681 and child 6 change
copilot-setup-steps.yml. perf(ci): skip bytecode compile and unused caches in test jobs #4727 and child 9, child 16 change thesetup-toolchaincache paths. - fix(openspec): agent config spec names absent Claude settings #4478 states the deny rules in the agent config spec. child 20 changes them.
- fix(docs): a check finds a code span that nested backticks break #4605 can add rumdl or markdownlint-cli2. child 21 uses rumdl.
- fix(roadmap): stage verifies round-trip readability before push #3966 and fix(roadmap): stage must check packed files before opening a draft plan #3970 are narrow Plan Check rules before the stage push. feat(roadmap): run the plan checks before the stage push #4725 holds the shared function.
Measure of the whole
"Before" is measured. "Target" is an estimate with all children done.
| Measure | Before | Target |
|---|---|---|
| Pushes that reach a pull request with a conflict (census week) | 19 | 0 |
| Catch-up pushes and GitHub catch-up merges (census week) | 49 (about 2,040 runner-minutes) | at most 5 merges, 0 pushes |
| Commit stage, 3 Python files, load 11 | 4.4 s | at most 2 s |
| Push hooks, warm | 7.3-10.7 s (2 rows) | 13-18 s (push gate and 6 rows) |
| Agent Static Analysis failures that the pre-push rows catch (14 days) | 6 | 0 |
| Plan Check failures on Service plan pull requests (14 days) | 36 | at most 18 |
| Typecheck in a new worktree | 168-175 s cold | at most 20 s |
Files on main that fail a hygiene hook |
1 | 0 |
Target Subsystem
SDLC, Git & PR Governance: .pre-commit-config.yaml, devops ci, the push gate, the agent harness settings (.claude/settings.json, kilo.jsonc and their templates), the implement and stage jobs and the Static Analysis job.
Existing Tool Considered
pre-commit 4.6.2 (stages, the manual stage, fail_fast, minimum_pre_commit_version, the PRE_COMMIT_* push variables), git (merge-base --is-ancestor, merge-tree, patch-id), ast-grep, Claude Code SessionStart and PostToolUse hooks, the OpenCode formatter key of Kilo, the mypy cache_dir setting, openspec 1.14.3 JSON output, pydantic-ai output validators, GitHub REST update-branch and mergeable_state, the GitHub Linguist attribute and rumdl. Rejected: prek, lefthook, pre-commit.ci, autofix.ci, gitlint, commitlint and merge drivers (see the table).
Written cost of the new children (estimates): about 1.1M tokens and about 26 hours of agent time, plus a one-week trial and the reviews. The push gate cost is in #4670.
Alternatives check of 2026-11-26: in-use.
The repository already uses this tool.
Tool: pre-commit/pre-commit (https://github.com/pre-commit/pre-commit), MIT, last activity 2026-11-09, maintained.
Reason: pre-commit is the open hook framework that runs the commit and pre-push stages from one .pre-commit-config.yaml, which the repository already uses; the plan adds its own hooks and devops ci rows rather than a second framework.
Covers:
- One config file installs and runs commit and pre-push stages
- Each hook declares its own stage and file filter
fail_faststops later hooks after the push gate refusal- Pinned hook repositories with a minimum version
- Exposes
PRE_COMMIT_*push variables to hook entries
Lacks:
- No built-in origin/main ancestry gate
- No agent-session hook installation for cloud sessions
- No CI row runner with a time limit for each row
- No named timeout per hook beyond the entry command
Proposed design
Problem statement
Do not build this item as one change: it is a tracker, and its 21 child items deliver it. Act on the split: the 11 unnumbered children are filed as issues, and the 4 delivered children stay as history. The item records the agent hooks plan: each push holds the current origin/main, and one .pre-commit-config.yaml holds the hooks for the workstation, the cloud sessions, the implement Job and the Service. Two premises are out of date: #4670 and #4674 have merged, and the pre-push stage now runs lint,format,domain. No gate other than the child order applies, and no part waits on a person.
Acceptance criteria
Requirement: One hook file holds both hook types
The repository SHALL install the commit hook and the push hook from the one .pre-commit-config.yaml.
Scenario: Both hook types install from one file
- WHEN a clone installs the hooks from the repository's
.pre-commit-config.yaml - THEN the
pre-commithook and thepre-pushhook both run, becausedefault_install_hook_typesnames both.
Requirement: The push gate refuses a branch behind origin/main
The pre-push stage SHALL refuse a push of a branch that does not hold the fetched origin/main.
Scenario: A branch one commit behind main
- WHEN a branch behind
origin/mainpushes, andPRE_COMMIT_REMOTE_BRANCHnames its head - THEN the
branch-currenthook exits 1 and printsgit fetch origin && git rebase origin/main.
Requirement: Each pre-push limit nests inside the limit around it
Each inner time limit of the pre-push stage SHALL be shorter than the limit around it.
Scenario: The pre-push limits are read
- WHEN a test reads the
timeoutvalues of the pre-push hooks and the 120 s limit of the agent shell - THEN the 20 s fetch and the 40 s and 30 s rows each stay shorter than 120 s, and the rows together stay under it.
Requirement: Every committed file passes the hygiene hooks
Each commit hygiene hook MUST pass with --all-files on the tree.
Scenario: The hygiene hooks run over the whole tree
- WHEN
end-of-file-fixerandtrailing-whitespacerun with--all-files - THEN both hooks exit 0 and change no file.
Requirement: The deny rules refuse the no-verify forms
The deny rules of .claude/settings.json MUST refuse git push --no-verify ... and git commit --no-verify ....
Scenario: A no-verify push is matched
- WHEN
git push --no-verify origin mainis matched against the deny rules of.claude/settings.json - THEN one deny rule matches the command, the file adds no new kind of rule, and
src/devops_cli/templates/claude_settings.json.j2holds the same deny list.
Requirement: The trial checks only hand-written documents
The rumdl trial MUST run a check-only pass over exactly 5 hand-written Markdown documents and MUST NOT match a document of another inventory class.
Scenario: The trial pattern leaves every other class out
- WHEN a test matches the
filespattern of the trial hook against every tracked Markdown file - THEN 5 files match,
document_classreturnshand-writtenfor each, and the hook entry runsrumdl checkwith no--fix.
Existing Tool Considered
pre-commit 4.6.2 covers the hook need, and the repository already uses it (alternatives check of 2026-11-14, verdict in-use). It runs the commit stage and the pre-push stage from the one .pre-commit-config.yaml, and each hook declares its stage. It lacks the origin/main push gate, the agent-session hooks and a CI row runner with a limit for each row. The plan adds those as hooks and as rows of devops ci, and builds no second hook framework. For child 21, rumdl is the open, maintained Markdown linter and formatter (last commit 2026-11-14, fetched 2026-11-15); the trial runs it check-only, so the one-sentence-per-line convention (CONTRIBUTING.md:28) is measured, not enforced, and the trial adds no commit-stage gate. The written cost of the children is about 1.1M tokens and about 26 hours of agent time, plus a one-week trial and the reviews.
Key questions
- Does this item deliver a change of its own, or do its child items deliver it?: The item is a tracker. Its 21 child items deliver it, so no single pull request carries it. CONTEXT.md says a candidate is never a duplicate of an issue that has sub-issues, because the sub-issues deliver that issue, and docs/SDLC.md says a tracker issue has no milestone. [sources: CONTEXT.md:94, docs/SDLC.md:79]
- At which point does the plan check that a push holds origin/main?: At the push. The pre-push stage of the one
.pre-commit-config.yamlfetchesorigin/mainand refuses a branch that does not hold it, andfail_faststops the hooks after that refusal. A commit-stage check would rebase the tree while an agent edits it. A CI-only check finds the conflict after the push. (best practice) [sources: .pre-commit-config.yaml:103, CONTRIBUTING.md:93]- Chosen: pre-push stage of the one config. It is the last point before GitHub, and one fetch of 20 s fits the push.
- Rejected: commit stage. The fixers would change files while the agent edits them, and each commit pays the fetch.
- Rejected: CI only. The push already reached GitHub, so the conflict is found late and costs a runner.
- Is child 1 (feat(git): refuse a push that does not hold origin/main #4670) still open?: No.
CHANGELOG.mdholdsfeat(git): refuse a push that does not hold origin/main (#4879), which closes feat(git): refuse a push that does not hold origin/main #4670, and.pre-commit-config.yamlholds thebranch-currenthook at the pre-push stage. refactor(pr): devops pr update acts only on a failed check #4674 and thedevops pr edittitle check have merged too:devops pr updateacts only on a failed check, and thepr edittitle rule is in the current spec. [sources: CHANGELOG.md:695, .pre-commit-config.yaml:103, CHANGELOG.md:673, openspec/specs/pull-request-form/spec.md:325] - Does the premise that the pre-push stage runs only
lintandformatstill hold?: No. The pre-push row runsdevops ci --check --only lint,format,domain, and thedomainrow joined it with feat(security): refuse a commit that names the configured domain #5347. The plan already has one more fast pre-push check than its problem statement says. [sources: .pre-commit-config.yaml:132, CHANGELOG.md:451] - Do the two deny rules match
git push --no-verify ...?: No. The patternsBash(git push * --no-verify*)andBash(git commit * --no-verify*)need a token between the verb and--no-verify, sogit push --no-verify origin mainpasses. The owner decision corrects the two existing rules and adds no new kind of rule. [sources: .claude/settings.json:59] - Which tool covers the hook need, and what does the plan build beside it?: pre-commit 4.6.2 covers the need, and the repository already uses it (in-use). It lacks the
origin/mainpush gate, the agent-session hooks and a CI row runner with a limit for each row. The plan adds those as hooks and asdevops cirows, and builds no second hook framework. (best practice) [sources: .pre-commit-config.yaml:1, CONTRIBUTING.md:23]- Chosen: pre-commit. The repository already runs the commit and pre-push stages from its one config, and each hook declares its stage.
- Rejected: prek. It saves 0.4-0.6 s for each commit after child 8, and it puts a 0.x tool in the commit gate of the Job.
- Rejected: lefthook. It is a second framework, so one definition would no longer hold the hooks.
- Rejected: a hook runner of our own. The written cost is about 1.1M tokens and about 26 hours of agent time to match pre-commit.
- Do the pre-push limits nest inside the limit around them?: Yes. The fetch of
branch-currentis 20 s, the static row is 40 s and the workflow row is 30 s, and the config comment records the 120 s default limit of the agent shell; the three limits add up to 90 s. Each new hook takes a limit shorter than the limit around it. (best practice) [sources: .pre-commit-config.yaml:109, .pre-commit-config.yaml:128, .pre-commit-config.yaml:132, .pre-commit-config.yaml:144]- Chosen: a limit for each hook and each row, shorter than the outer one. A row that runs past its limit names the row, and the push still ends under the shell limit.
- Rejected: coreutils
timeoutin each hook entry. The rows ran on after rc 124, andtimeoutnames no row.
- OD1(a): for which cause does
devops pr update <n>stay?: Only for a failed required check whose fix is onmain.--alland every catch-up update go, because a push that holdsorigin/mainneeds no catch-up update. docs/SDLC.md Phase 6 keeps the command for that one cause, and prints the local rebase steps for a conflict. (best practice) [sources: docs/SDLC.md:322, CHANGELOG.md:673]- Chosen: a failed required check only. docs/SDLC.md Phase 6 keeps the command for that one cause, and prints the local rebase steps for a conflict.
- Rejected:
--alland catch-up updates. A branch that holdsorigin/mainat each push needs no catch-up update.
- OD2(a): how do the two deny rules change?: Correct the 2 existing rules so that they also match
git push --no-verify ...andgit commit --no-verify ..., add no new kind of rule, and change the templatesrc/devops_cli/templates/claude_settings.json.j2with the file, because a test keeps the two equal. (best practice) [sources: .claude/settings.json:59, src/devops_cli/templates/claude_settings.json.j2:59, CONTRIBUTING.md:72]- Chosen: correct the two existing patterns. The two patterns already state the intent, and a corrected pattern needs no new rule kind.
- Rejected: add a rule kind for each command form. The owner decision refuses a new kind of rule, and the deny list already holds the two commands.
- OD3(a): how does the one-sentence-per-line trial run?: Child 21 runs the trial as a check-only
rumdl checkin themanualstage of.pre-commit-config.yamlover the 5 hand-written Markdown documents with the most commits in the last 90 days. The 5 are measured once fromgit log --since=90.days --name-onlyand filtered bydocument_class, so the generated, tool-owned, record, prompt and tool-generated classes stay out. The hook uses the rule set the devcontainer gives the editor (MD013,MD024andMD033off), runs no--fix, and so changes no file until the result is read. It adds no commit-stage gate: the commit stage keeps its hooks until the trial shows the cost, and the style stays the convention thatCONTRIBUTING.md:28already permits. rumdl is the open, maintained Markdown linter and formatter (last commit 2026-11-14, fetched 2026-11-15), and itscheckcommand is read-only by default. (best practice) [sources: CONTRIBUTING.md:28, CONTRIBUTING.md:186, src/devops_cli/docs/inventory.py:25, src/devops_cli/config/constants.py:494, .devcontainer/devcontainer.json:59, docs/DESIGN.md:258, https://github.com/rvben/rumdl, https://rumdl.dev/]- Chosen: a check-only
rumdl checkin the manual stage over the 5 hand-written documents. It measures the cost with no gate and no rewrite, and it keeps the trial's rule set in the one hook file. - Rejected: markdownlint-cli2. It is a second engine for the same rule set, and the owner chose rumdl (OD3a); the devcontainer's markdownlint settings are editor-only, so either tool needs the rule set stated in the trial.
- Rejected: a commit-stage gate now. The trial must show the cost first, and a fixer in the commit stage changes files while an agent edits them.
- Chosen: a check-only
Fit
Needs splitting into 21 items:
- feat(git): refuse a push that does not hold origin/main #4670 feat(git): refuse a push that does not hold origin/main - delivered by feat(git): refuse a push that does not hold origin/main #4879; the
branch-currenthook is in.pre-commit-config.yaml. - feat(roadmap): detect merge conflicts on open ready pull requests #4027 feat(roadmap): detect merge conflicts on open ready pull requests - needs feat(git): refuse a push that does not hold origin/main #4670, which is delivered.
- feat(roadmap): automated rebase and plan rewrite for open plan branches #3969 feat(roadmap): automated rebase and plan rewrite for open plan branches - pushes only a changed plan; needs feat(git): refuse a push that does not hold origin/main #4670.
- feat(roadmap): rebase staged branch onto main before implement #4076 feat(roadmap): rebase staged branch onto main before implement - closed as not planned; the Job already rebases.
- refactor(pr): devops pr update acts only on a failed check #4674 refactor(pr): devops pr update acts only on a failed check - delivered by refactor(pr): devops pr update acts only on a failed check #4990; the command keeps only the failed-check cause (
docs/SDLC.md:322). - feat(agents): remote agent sessions install the git hooks - delivered by feat(agents): remote agent sessions install the git hooks #5126; the
SessionStarthook is in.claude/settings.json:19. - feat(ci): devops ci ends each row at a time limit - no dependency.
- perf(ci): faster commit hooks and more fast pre-push checks - needs feat(git): refuse a push that does not hold origin/main #4670 and child 7.
- feat(ci): Static Analysis runs the commit hygiene hooks - needs child 8.
- fix(roadmap): implement runs the commit hooks on docs and archive - no dependency.
- feat(roadmap): run the plan checks before the stage push #4725 feat(roadmap): run the plan checks before the stage push - adds one shared Plan Check tree function.
- fix(pr): devops pr edit checks the title form - delivered by fix(pr): devops pr edit checks the title form #4782; the spec is in
openspec/specs/pull-request-form/spec.md:325. - feat(openspec): refuse a capability that grows past 80 - needs refactor(openspec): split big capabilities into nested ones #4622 and feat(roadmap): run the plan checks before the stage push #4725.
- feat(agents): Claude Code fixes an edited file with the hooks - needs child 9 and child 6.
- feat(agents): Kilo formats a written file with the hooks - waits for a Kilo session test; needs child 9.
- perf(ci): share one mypy cache across worktrees - no dependency.
- perf(ci): typecheck runs in the pre-push hook - conditional; needs child 16 and child 8.
- chore(docs): mark the generated documents as generated #4888 chore(docs): mark the generated documents as generated - no dependency.
- feat(research): watch upstream releases of the pins #3907 feat(research): watch upstream releases of the pins - adds the hook pins of
.pre-commit-config.yaml. - fix(agents): deny the no-verify forms of git push and commit - no dependency; the patterns still miss
git push --no-verify, and the template changes with the file. - docs: trial one sentence per line in the busiest documents - no dependency; a check-only
rumdl checkin the manual stage over the 5 hand-written documents with the most commits in 90 days.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(ci)scope of the title gives the scope.It coordinates multiple child items but does not itself block a single delivery path.It is a coordination document that helps the team sequence work; users see value through the child items.It is a planning and tracking document, not an implementation task.Both concern the push gate that enforces a branch holds origin/main, but the candidate tracks the full hooks plan while #4670 implements one specific hook.devops-cli-service commentedon Nov 14, 2026
Alternatives check: in-use
Reason: The searches found pre-commit, the hook framework the issue itself already uses: one
.pre-commit-config.yamlruns hooks at the commit, commit-msg, pre-push and manual stages, which is the "one definition holds the hooks" part of the plan. It does not provide the origin/main push gate, the agent-session (Claude Code/Kilo) hooks or the CI-side runner, so it covers the need only in part.The repository already uses this tool.
Tool: pre-commit/pre-commit (https://github.com/pre-commit/pre-commit)
Covers:
.pre-commit-config.yamldefinition drives the hooks across several git stages (commit, commit-msg, pre-push, manual)stages, overridable per config, so fast and slow checks can be split between commit and pushLacks:
origin/mainor merges cleanly (the push gate of feat(git): refuse a push that does not hold origin/main #4670)devops ci, children 7 and 9)Tools considered:
Searches run:
Sources:
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 15, 2026
The proposal at e5dfddb needs splitting into 21 items. A person splits the item into the items below, or replies in a comment or edits the body to keep one item, and the next refine round looks at the item again.
branch-currenthook is in.pre-commit-config.yaml.docs/SDLC.md:322).SessionStarthook is in.claude/settings.json:19.openspec/specs/pull-request-form/spec.md:325..pre-commit-config.yaml.git push --no-verify, and the template changes with the file.rumdl checkin the manual stage over the 5 hand-written documents with the most commits in 90 days.dan-petty commentedon Nov 25, 2026
Correction for child 18 / P19 (#4888, PR #7081): P19 noted that no conflict push had only a generated file in conflict, but two did (#3614 and #4464, both on
docs/CONFIGURATION.md). PR #7081 documents the generated-file rebase conflict step inCONTRIBUTING.md, marks all 11 generated globs withlinguist-generated=truein.gitattributes, and routes all generated docs viaCONST_DOCS_INVENTORYinis_secret_scan_only.