Skip to content

claude-config: design per-rule deletion-evidence attribution for unhobble's ledger grammar #3563

Closed

Description

@claude

Context

Signed-off decision Q1 of the context-engineering integration contract
(docs/topics/context-engineering-integration/PLAN.md, 2026-09-01): consequential
standing-instruction deletions need ledger evidence in unhobble's grammar — but the shipped
two-rows-same-cause gate defends RE-ADDS after a full strip, not per-rule deletions during
normal operation. Until an attribution design exists, the consequential deletion tier is
deliberately unclearable (validation record, finding 2).

Proposed work

  • Design the per-rule deletion-evidence mechanism: observation window, stumble-to-rule
    attribution rule, same-cause aggregation — mirroring the re-add gate's grammar (rows,
    same-cause, citing commits) in the deletion direction.
  • Decide whether it lives as an unhobble extension or a sibling mode; keep one evidence
    grammar for the concern.
  • Only then wire audit-instructions' consequential-deletion proposals to require it.

Acceptance criteria

  • A written design answers: what counts as a row, over what window, attributed how.
  • The two-tier threshold in the integration contract becomes clearable in practice.
  • No second evidence grammar is introduced.

References

  • docs/topics/context-engineering-integration/PLAN.md (Q1, validation record)
  • plugins/claude-config/skills/unhobble/SKILL.md:159-176 (the shipped re-add gate)

Generated by Claude Code

Activity

  1. added theissue type on Sep 1, 2026
  2. kyle-sexton commented on Sep 2, 2026

    @kyle-sexton
    Member

    Partly done in #3588 (merged as ae3aa802) — staying open for the wiring

    The design this issue asked for now exists on main as
    docs/specs/context-engineering-deletion-evidence-attribution.md.
    It answers the three questions in the first acceptance criterion — what counts as a row, over what
    window, and attributed how — by attributing a stumble to the governed situation rather than to a
    named rule, with a co-absence rule for the case where several stripped rules could explain the
    same stumble, and it reuses unhobble's existing rows/same-cause grammar rather than minting a
    second one. So criteria 1 and 3 are met.

    Criterion 2 is not met and this issue should stay open for it. "The two-tier threshold becomes
    clearable in practice" needs the last step this issue lists ("only then wire audit-instructions'
    consequential-deletion proposals to require it"), and that wiring did not land.

    Worth stating precisely, because #3588 did wire audit-instructions and the two are easy to
    conflate: what landed is Q2's exception register — a hold on candidates matching a protected
    consequence class, which is a categorical carve-out that needs no evidence at all. What is still
    missing is Q1's evidence tier: the requirement that a consequential deletion outside those
    protected classes cite ledger rows before it may proceed. Different mechanism, different question,
    and only the first one is shipped.

    The design is no longer memory-tier, so the remaining work no longer depends on this session.


    Generated by Claude Code

  3. added 8 commits that reference this issue on Sep 28, 2026
    0e538cb
    a890832
    3628fa1
    1b00a62
    1b0274a
    a347a6b
    d5a2318
    1d8833c
  4. added a commit that references this issue on Sep 28, 2026
  5. kyle-sexton commented on Sep 29, 2026

    @kyle-sexton
    Member

    Fix in #5311 (Refs #3563; the issue stays closed). This comes from the 2026-09-29 audit of the unattended Cursor PR run.

    The audit found Phase 3/4 of unhobble could license permanent deletion of a consequential rule from an empty full-experiment ledger, i.e. silence used as a deletion warrant, and the delete-and-watch sites in audit-instructions criteria.md did not point at the deletion tiers.

    In #5311:

    • Phase 3/4 no longer permits permanent deletion of a consequential rule on an empty ledger. It reverts to a Deletion watch, per the deletion-evidence-attribution spec.
    • The remaining delete-and-watch sites in criteria.md point at the Deletion tiers section.
    • Eval 18 was replaced with an unambiguous non-protected rule.

    Flag for a veto: the one-row watch disqualifier versus the two-row re-add grammar is now stated in the skill as its own rule (the spec is not explicit about the asymmetry). If you want a different threshold, say so.

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

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions