Repository navigation
docs(contributing): define the QA tool preflight and source-tree degraded mode - #745
Merged
Merged
Conversation
…aded mode Contributor workflows that route through sumo-qa now have one tracked contract for a session without the sumo-qa tools attached: the orchestrator checks its own tool list once before dispatch, picks mcp or source-tree mode for the whole batch, and hands every worker the same mode and authority commit. The degraded route reads only tracked skills/knowledge/standards files at that commit, keeps the routing payload and the routed skill's gates, blocks on a missing file instead of falling back to memory, and records its provenance as a gap note. The docs also separate "the server is installed and healthy" from "the tools are attached to this session". Closes #473
This was referenced Sep 29, 2026
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 09134dea6e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ases in source-tree mode
…ng in source-tree mode
…er's no-tests stop
11 tasks done
sumithr
added a commit
that referenced
this pull request
Sep 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.67.0](v0.66.1...v0.67.0) (2026-09-30) ### Features * **review:** probe mirrored dependency constraints across manifests, hooks, CI, and images ([#493](#493)) ([#772](#772)) ([dd04c23](dd04c23)) ### Documentation * **contributing:** define the QA tool preflight and source-tree degraded mode ([#745](#745)) ([2eb9de0](2eb9de0)) ### Miscellaneous Chores * **pre-commit:** install the pre-push hooks by default and always run pytest ([#775](#775)) ([135cbf6](135cbf6)) ### Continuous Integration * **toolchain:** guard pre-commit hook dependency pins against pyproject ([#714](#714)) ([#751](#751)) ([121dc0e](121dc0e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
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.
Summary
A healthy sumo-qa install does not mean the running agent session has the sumo-qa tools attached. Until now, contributor workflows had no defined path for that case, so each batch worker improvised its own fallback. This PR adds one tracked contract:
mcporsource-treemode for the whole dispatch and hands every worker the same mode and authority commit.source-treemode, work follows a fixed ordered route pinned to that commit. A missing file blocks the run instead of falling back to memory.Related issue
Closes #473
Changes
.claude/README.md: new section "QA tool availability: preflight and source-tree degraded mode".using_sumo_qaonce. A failed invocation stops the run instead of switching sources.qa_context_modeand authority-commit hand-off. Fix-workers and the orchestrator's review route by the same mode, and a worker handedmcpwithout the tools escalates.git show <sha>:<path>. The routing payload uses canonical IDs, orn/aexactly where the deciding-approach skill allows it. When the router stops withnext_action.skillset tonone, the worker skips the routed skill but still records the gap note.ls-treefor directories and packs as both*.ymland*.yaml.applies_to_classificationsorclassificationsmetadata names a requested classification._RULE_CLASSIFICATION_ALIASESinsrc/sumo_qa/knowledge_loaders.py, held under the requested name.docs/DEVELOPMENT.md: short section cross-linking the contract.The local gitignored pipeline changes are not PR deliverables. The work-issue skill, implement-phase and the ready-batch skill run the preflight and pass the mode to workers, and implement-phase step 2 mirrors the filter, alias,
n/aand gap-note rules above. They are recorded in the issue comment and the merge-verification comment on #473.Follow-up commits on this branch:
35cf2e7and73893admake source-tree mode apply the loader classification filters and rule aliases, with the loader's alias naming and filter-term stripping. This resolves the Codex P2 review thread.bf99677keeps the degraded-provenance gap note when the router stops atnone.2321906allows the router'sn/avalues in the source-tree payload.ls-treesentence now sits under the loader table.How it was verified
pre-commit run --files .claude/README.md: all hooks passed, including the markdown-link hook.scripts/check_markdown_links.sh: 201 passed.istqb_v1, which the MCP loader drops.nonestop dropped its gap note.n/avalues.using_sumo_qaandsumo_qa_load_classificationsreturn byte-identical output on the branch and main builds.reviewing-before-mergepass over both changed files. It checked every factual claim against the loaders, standards, knowledge and skills, and all 11 acceptance criteria against the branch.73893adandbf99677came back clean. Codex then hit its usage limit, so the built-in/code-reviewreviewed2321906and found it clean. The one review thread on this PR is resolved.Checklist
pytest, and lint checks on the changed files are green. mypy was not run: no Python changed..claude/README.md, and the issue rules out a prose snapshot.