Skip to content

harness-ops/audit-native-overlap: recheck skill-doctor row for context-budget:audit #6885

Description

@kyle-sexton

A store row's recheck trigger fired: the extraction shows /skill-doctor without the gated marker the row records. Recheck the row and update it.

markers differ: recorded gated, model-invocation-disabled, extracted model-invocation-disabled
row trigger: a Claude Code release or docs change removes or renames /skill-doctor, folds it into /doctor, makes it model-invocable, changes its version or feature-flag gate, or widens it to startup measurement or a before/after comparison

Drift key: native-drift:recheck:skill-doctor:context-budget:audit

Filed by /harness-ops:changelog apply (native drift, 2.1.265..2.1.296)

Found during the Claude Code v2.1.265..v2.1.296 changelog apply.

Activity

  1. added
    needs-triage
    on Oct 10, 2026
  2. added theissue type on Oct 10, 2026
  3. github-actions commented on Oct 10, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: the skill-doctor recheck for context-budget:audit fires "markers differ" because the extraction never sets gated, so refreshing the row alone would re-file it on every changelog apply. The recorded decision picks option (c). Add a per-row docs-sourced marker list that row_fire skips. Mark gated as docs-sourced on this row and any sibling extraction row. Add tests, including one showing that real marker drift still fires. Then refresh the row's evidence and recheck.verified, regenerate the derived doc, and update the drift docs.

    Nothing is missing. Related, not duplicates: #9105 and #6886.

    Automated triage, applied by the lanes App.

  4. removed
    needs-triage
    on Oct 12, 2026
  5. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner decision (2026-10-13): approved the recommendation.

    • Is /skill-doctor still gated? → Yes. The commands page still lists it as requiring v2.1.252 or later and feature-flag fetching. The extraction never sets a gated flag, so its absence there is not evidence the gate was removed.
      Basis: https://code.claude.com/docs/en/commands; origin/main docs/native-surfaces/records.json (context-budget:audit row evidence)
    • Which row? → The skill-doctor row for context-budget/audit at records.json:1424 (observation.class extraction), which matches drift key native-drift:recheck:skill-doctor:context-budget:audit. The row at :321 belongs to harness-ops:audit-skill-visibility.
      Basis: origin/main docs/native-surfaces/records.json
    • Will a refresh stop the re-fire? → No. row_fire compares recorded markers with extracted ones, and the extraction derives gated only from registration flags, so a refresh-and-close re-files on every changelog apply.
      Basis: origin/main plugins/harness-ops/skills/changelog/scripts/native_drift.py:254, :547-559, :651; context/native-drift.md:118-125
    • How to stop it? → Option (c): add a per-row list of markers sourced from the docs, which row_fire skips; mark gated docs-sourced on this row and any sibling extraction row with the same basis; add a test that fails before the change. Also refresh this row's evidence line and recheck.verified to the 2.1.296 check, and regenerate docs/native-surfaces.md if it is derived.

    Next: an agent lane, via admission, opens one harness-ops PR; records.json is a human-gated store, so a human merges it.

    This was generated by AI.

  6. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. Rule: class C1-C3, no trust surface, the independent check confirmed the recorded decision, and no owner step remains.

  7. added
    agent-ready
    and removed
    agent-ready
    on Oct 13, 2026
  8. github-actions commented on Oct 25, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (attempt 2 of 2).

  9. added
    status: ready
    needs-owner-decision
    on Oct 25, 2026
  10. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: no trusted-human acceptance criteria: a listed human must put the confirmed - [ ] criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  11. removed
    status: ready
    on Oct 25, 2026
  12. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    The latest triage verdict holds nothing: the issue is at status: ready.

  13. melodic-automation-lanes commented on Oct 25, 2026

    @melodic-automation-lanes
    Contributor

    Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.

    Intended outcome: Stop the skill-doctor recheck for context-budget:audit from re-firing on every changelog apply by adding a per-row docs-sourced marker list that row_fire skips, then refresh the row's evidence and verified date.

    Acceptance criteria

    • A test in plugins/harness-ops/skills/changelog/scripts/test_native_drift.py fails on the current code and passes after the change: a row with markers gated and model-invocation-disabled, where the extraction has only model-invocation-disabled, yields no 'markers differ' reason once gated is listed as docs-sourced.
    • row_fire in plugins/harness-ops/skills/changelog/scripts/native_drift.py (near :548-559) drops the row's docs-sourced markers from the recorded set before comparing, so a docs-sourced marker never counts as differing.
    • A row's docs-sourced list does not mask real drift: a test confirms an extracted marker change on another marker (e.g. model-invocation-disabled removed) still fires 'markers differ'.
    • The existing test_markers_differ_fires still passes for rows with no docs-sourced list.
    • The skill-doctor row for context-budget:audit in docs/native-surfaces/records.json (native.name skill-doctor, near :1424) lists gated as docs-sourced and keeps gated in native.markers.
    • Any sibling extraction row in records.json whose evidence says gated comes from the docs because the extraction set no gated flag (e.g. the harness-ops:audit-skill-visibility skill-doctor row near :321, if it is an extraction row) gets the same docs-sourced list.
    • The context-budget:audit skill-doctor row's evidence lines and recheck.verified are refreshed to the Claude Code 2.1.296 check, with the docs basis (code.claude.com/docs/en/commands, v2.1.252 or later and feature-flag fetching) restated by pointer.
    • docs/native-surfaces.md is regenerated if derived from records.json, and the repo's native-surface validation and the changelog scripts' tests pass.
    • context/native-drift.md (near :118-125) documents the new per-row docs-sourced marker list and that row_fire skips it.
    • The change is one harness-ops PR; records.json is human-gated so a human merges it.

    Related work

    Sources read

    • /home/runner/work/_temp/refine-data/context.json: owner decision of 2026-10-13 approves option (c), the per-row docs-sourced marker list, and the admission was ratified as work-class scoped.
    • docs/native-surfaces/records.json:1424-1455: the context-budget:audit skill-doctor row records markers gated and model-invocation-disabled, and its evidence at :1442 says gated comes from the docs because the extraction set no gated flag; recheck.verified is 2026-10-02.
    • plugins/harness-ops/skills/changelog/scripts/native_drift.py:548-559: row_fire compares the recorded marker set with the extracted one and emits 'markers differ'.
    • plugins/harness-ops/skills/changelog/scripts/test_native_drift.py:280-285: test_markers_differ_fires covers the current behavior.
    • docs/native-surfaces.md:460: the generated doc carries the same evidence line, so it needs regenerating.

    Automated refinement by the lanes App. Admission counts only criteria a listed human wrote: to confirm these, post them as your own comment whose first line is **Decision recorded.**, which sends the issue back through intake.

  14. added
    needs-triage
    and removed
    needs-owner-decision
    on Oct 25, 2026
  15. removed
    needs-triage
    on Oct 25, 2026
  16. added
    status: ready
    agent-ready
    and removed on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readystatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions