Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the systematic-debugging skill to require an upstream/public exact-signature search as part of Phase 1 when debugging third-party runtime/container/framework/dependency failures, to prevent agents from thrashing locally when a shared failure signature likely exists.
Changes:
- Adds a Phase 1 completion gate requiring upstream/public search for exact failure signatures (or explicitly stating web access is unavailable).
- Inserts a new Phase 1 step (“Search Upstream for Shared Failure Signatures”) and updates the Quick Reference accordingly.
- Adds new red flags and rationalization-table entries to resist human-partner pressure to skip upstream search when web access exists.
blib
marked this pull request as draft
July 1, 2026 14:36
blib
marked this pull request as ready for review
July 1, 2026 14:51
5 tasks done
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
blib
force-pushed
the
codex/systematic-debugging-upstream-search
branch
from
July 3, 2026 08:00
afa6c5f to
b869fb2
Compare
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
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.
Who is submitting this PR? (required)
/Users/blib/.codex/skillsWhat problem are you trying to solve?
During a real debugging session for an NVIDIA vLLM container, the model engine started, but OpenAI-compatible endpoints such as
/healthand/v1/modelsreturned HTTP 500. The visible failure signature was:The agent failure mode was not "vLLM is hard to debug." The failure mode was that an exact third-party/runtime stack signature was available, but the agent continued local debugging and parameter changes instead of first searching upstream/public sources for the shared failure signature. An exact upstream search would likely have moved the next hypothesis toward an API/observability middleware dependency compatibility regression or upstream image/package mismatch class, rather than a model/GPU/local-config issue.
What does this PR change?
This adds a Phase 1 requirement in
systematic-debuggingwhen initial evidence points to a shared external/runtime/dependency failure: search upstream/public sources for the sanitized failure signature before deep local debugging or patching, unless web/network use is technically unavailable or prohibited. It also adds red flags, rationalization-table entries, and a quick-reference update for this failure mode.Is this change appropriate for the core library?
Yes, if scoped narrowly. The behavior is not vLLM-specific: it applies when initial evidence points to a likely shared runtime/dependency failure, such as third-party stack frames, implicated container/image/package versions, exact public error signatures, driver/runtime failures, model server errors, or platform integration failures. The core skill already requires root-cause investigation before fixes; this change clarifies what counts as Phase 1 evidence when the error likely comes from shared external software rather than local project code.
This does not add a new domain-specific skill or integrate a third-party service. It changes debugging discipline for a common class of externally shared failures.
What alternatives did you consider?
Does this PR contain multiple unrelated changes?
No. It modifies only
skills/systematic-debugging/SKILL.mdand only the upstream-search behavior for external/runtime/dependency failures.Existing PRs
Related issue: #1502 is adjacent but not a duplicate. That issue proposed a later conclusion-time gate for inherited/unverified identity chains and was closed as not planned in that standalone form. This PR is narrower and earlier: an exact-signature upstream search during Phase 1 for third-party runtime/dependency failures before deep local debugging begins.
Environment tested
New harness support (required if this PR adds a new harness)
Not applicable. This PR does not add a harness.
Clean-session transcript for "Let's make a react todo list"
Evaluation
systematic-debuggingbehavior went to local reproduction/version/middleware inspection first and did not run upstream/public exact-signature search before local debugging.Compact sample table:
prometheus_fastapi_instrumentator/middleware.py_IncludedRouter/prometheus_fastapi_instrumentatorupstream searches before local debuggingRepresentative baseline failure prompt:
Observed baseline behavior: agents chose local inspection/reproduction routes first, such as inspecting
prometheus_fastapi_instrumentator/middleware.py, local route objects, package versions, and local config.Representative passing behavior after the change:
Checks run:
cd evals && bun run checkhad passed earlier in this branch, but after the draft-review wording change it was rerun and failed in eval harness tests outside this markdown-only diff. The first reproduced failure wastest/evals-container.test.tsexpecting thescripts/evals-container upsubprocess to exit 0 but receiving 1; the full run also reported Kimi/runtime-env related failures. I did not patch those unrelated eval harness areas.scripts/lint-shell.shwas attempted but could not run in this environment becauseshellcheckwas not installed on PATH.Rigor
superpowers:writing-skillsand completed adversarial pressure testing (paste results below)Pressure-testing summary:
Human review