Skip to content

✨🧑‍💻 - Dogfooding add deterministic read only doctor command in GitHub #461

Description

@efraespada

Is there an existing issue or feature request for this?

  • I have searched the existing issues and feature requests.

What area does this improvement affect?

None

What actions does this improvement affect?

No response

Description of the idea or improvement

Add /copilot doctor as a deterministic read-only command in issue and PR conversations. Reuse existing setup/doctor policies and typed semantic read ports where their trust and credential roles match. Inspect the effective runtime configuration, installed workflow contracts, issue/SDD prerequisites, and approval policy accessibility/validity. Report pass, warning, blocked, unavailable and not-applicable separately, with one concrete next action and links. Actual successful reads are evidence only for those reads; never infer unavailable grants, write permission, credential health or producer attestation. No model invocation, credential disclosure or repair mutation. Preserve existing issue/PR status and locale behavior.

Current limitations or challenges

During the previous live round, recommendation assessment failed with policy-unavailable although the policy was valid. Diagnosis required opening workflow logs and using local doctor. /copilot diagnose is an AI investigation, not a deterministic runtime configuration audit. Developers should obtain safe evidence in the conversation without supplying tokens or installing a local CLI.

Expected impact

A maintainer can identify a missing prerequisite, inspect its source and retry after fixing it. The command never edits files, labels, variables, secrets, projects, checks or reviews; it publishes one correlated localized reply. Missing and unreadable policy are distinguished from invalid JSON. PR identity remains exact and linked issue is not inferred from matching numbers. Repeated deliveries update the same reply. Define a proportional numeric budget of at least 40 distinct cases across pure policy, read orchestration/errors, authorization, replay, locale, sanitization, workflows and documentation; preserve existing repository coverage budgets.

Alternatives considered

No response

Version of copilot

master da5484d

Additional context or comments

Second deep dogfooding round. Create and verify the SDD before implementation through the installed feature workflow and in-progress label. Consult specs/catalog.json and the setup/doctor, comment-automation and semantic-publication owners. Follow .agents/skills/product-specification/SKILL.md and specs/_template.md. No new configuration flag or permission expansion; unreadable evidence remains unavailable. Runtime PAT and local setup operator PAT are distinct: do not pretend the latter exists in an Action run. Ask blocking product or architecture questions through SDD Q.

Activity

  1. added
    enhancementNew feature or request
    priority: lowNot urgent, can be addressed later.
    featureLabel to manage feature branches
    on Oct 11, 2026
  2. added theissue type on Oct 11, 2026
  3. changed the title [-]Dogfooding add deterministic read-only doctor command in GitHub[/-] [+]✨ - Dogfooding add deterministic read only doctor command in GitHub[/+] on Oct 11, 2026
  4. vypbot commented on Oct 11, 2026

    @vypbot
    Contributor

    Hi! I’m @vypbot, the Copilot assistant for this repository.

    I can answer questions, explain the codebase, propose implementation and test plans, review issues and pull requests for potential bugs or security problems, and help authorized maintainers apply changes.

    Try /copilot help to see the available commands, or mention @vypbot with your question.

  5. vypbot commented on Oct 11, 2026

    @vypbot
    Contributor

    SDD work status

    Current status: The SDD is published; implementation can begin after branch verification.

    SDD: specs/github-runtime-doctor-command.md · Branch: feature/461-dogfooding-add-deterministic-read-only-doctor-command-in-github · First commit: ae7f86c6a9630b69d9e66be6c557fdd5d40cafe5

    Links: SDD · Branch · Commit

  6. 135 remaining items

  7. vypbot commented on Oct 13, 2026

    @vypbot
    Contributor

    Branch synchronization needs attention. Open the current status.

  8. efraespada commented on Oct 13, 2026

    @efraespada
    MemberAuthor

    /copilot doctor

  9. vypbot commented on Oct 13, 2026

    @vypbot
    Contributor

    🩺 Diagnóstico del runtime: No disponible

    Algunos requisitos no se pudieron verificar; las comprobaciones completadas siguen visibles.

    Siguiente acción: Revisa esta ejecución del workflow y vuelve a ejecutar /copilot doctor.

    Este comando solo lee evidencias. La configuración de aprobación declarada no acredita la salud de los productores ni el acceso de escritura.

    Comprobaciones

    • Configuración efectiva: Correcto
    • Requisitos de la issue y el SDD: No aplicable · Issue inspeccionada
    • Rama enlazada nativa: No aplicable · Issue inspeccionada
    • Estructura de los workflows instalados: No disponible
    • Lectura confiable de la política de aprobación: Correcto · Variable del repositorio
    • Requisitos de aprobación declarados: Advertencia · Modo: recommend
    • Identidad actual exacta del PR: No aplicable

    Revisión inspeccionada del repositorio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

100%Progress: 100%SDDAn SDD update is required before branch work.branchedIndicates that a branch has been created for this issue.enhancementNew feature or requestfeatureLabel to manage feature branchespriority: lowNot urgent, can be addressed later.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions