Skip to content

program(reliability): close load-bearing gate, LSP latency, provisioning, and repair-proof gaps #1960

Closed

Description

@EffortlessSteven

Parent authorities

Why this program exists

ripr-swarm has substantial foundations on main: typed diagnostics and fix summaries, input identities, refresh scheduling, diagnostic-budget evaluation, managed server provisioning, repair packets, receipts, and a governed real-repository corpus.

The remaining load-bearing gaps are now integration and proof gaps rather than missing architecture:

  1. the gap-ledger source cannot currently reach a configured blocking decision (fix(gate): gap-ledger records can never block — seam_id hardcoded None makes route perpetually incomplete #1933);
  2. normal diff/LSP analysis reparses too much and every save can trigger another full refresh (perf(lsp): warm refresh is a full re-run on every save (no incremental index, no debounce, revision defeats dedup) #1908, perf(analysis): diff path bypasses the per-file fact cache — every ripr check re-parses all indexed files #1912);
  3. passive diagnostic budgets are reported but not enforced on delivery (fix(lsp): diagnostic budget is computed but NOT enforced on push publication — large diffs push unbounded diagnostics #1911);
  4. dirty buffers and long-running analysis do not have a complete standard LSP lifecycle (ux(lsp): no standard LSP progress signal — editor users see nothing during analysis #1909, fix(lsp): stale diagnostics on dirty buffers are undisclosed — did_change does not mark diagnostics as stale #1916, fix(lsp): no timeout on spawn_blocking or git invocations — hung git wedges the refresh queue indefinitely #1917);
  5. managed server archives are checksummed but not authenticated against a pinned signer (security(vscode): managed server download has no signature verification — MITM or compromised release is RCE #1936);
  6. the receipt chain accepts caller-supplied artifacts without sufficient repository/revision/content binding (security(agent): ripr agent receipt and verify accept fabricated input — no head binding, no signature, no re-execution #1941);
  7. the governed Rust repair corpus still lacks the required eligible attempt set (dogfood(rust): compile authorized real-repository repair corpus and scorecard #1560/analysis(rust): close the governed pilot missing-discriminator route family #1601).

Goal state

complete producer evidence
→ truthful configured gate behavior
→ cached and coalesced diff analysis
→ finite push/pull delivery with explicit overflow
→ dirty/current/running/cancelled states visible to generic clients
→ authenticated managed server installation
→ provenance-bound verification and receipt artifacts
→ one counted real-repository repair, then a growing governed corpus

Workstreams

A. Gate integrity

B. Hot-path performance and editor lifecycle

  • wire the existing per-file fact cache into diff analysis;
  • debounce/coalesce saved-workspace refreshes using content/input identity;
  • enforce diagnostic item/byte budgets on actual delivery;
  • quarantine dirty documents and disclose stale saved-workspace evidence;
  • provide standard progress and physical cancellation.

C. Provisioning and receipt trust

  • define a source-owned signed manifest/asset contract with a pinned verifier identity;
  • verify signatures and allowed origins before extraction or execution;
  • bind analysis, verification, and receipt artifacts to repository/revision/content identities;
  • keep static movement distinct from explicit runtime verification.

D. Real proof and consistency

  • run the next bounded authorized Rust-repair pilot;
  • fix the earliest producer stage that prevents a complete route;
  • establish canonical cross-language seam/oracle mappings and shared non-promotion tests.

Program acceptance

  • a complete gap-ledger candidate produces blocking and the configured nonzero exit in an end-to-end fixture;
  • warm diff/LSP analysis demonstrates real file-fact reuse with byte-identical semantic output;
  • rapid saves coalesce and dirty documents cannot present stale line-local evidence as current;
  • push and pull delivery enforce reviewed item/byte budgets and disclose omitted identities;
  • cancellation physically stops work and leaves one terminal typed status with no orphan process/lock;
  • managed server execution requires a valid signature from the pinned source authority;
  • verification/receipt artifacts reject repository, revision, schema, or content-identity mismatch;
  • at least one governed real Rust repair is eligible and retained, and the corpus continues toward 20 attempts across 3 authorized repositories;
  • support-tier and product claims do not exceed the observed evidence.

Coordination rules

  • One implementation writer per semantic conflict resource (gate, lsp backend/state, downloader/release manifest, receipt schema, or shared analyzer taxonomy).
  • Existing broad issues remain acceptance authorities; child issues are PR-sized execution slices.
  • A merged scaffold is recorded as partial until the parent acceptance is met.
  • Required proof binds to the PR revision; squash merge requires a compatibility assessment against current main, not automatic exact-base rebasing.

Non-goals

No public release, signing-key creation in the swarm, package/marketplace publication, support-tier promotion, automatic production edits, hidden test execution, or runtime mutation claim is authorized by this program.

Activity

  1. added
    status/needs-work
    on Jul 19, 2026
  2. coderabbitai commented on Jul 19, 2026

    @coderabbitai
    🔗 Related PRs

    #1612 - fix(lsp): reject ambiguous workspace roots [merged]
    #1691 - specs(ripr): materialize first RIPR-SPEC v2 requirement [open]
    #1714 - audit(goals): add fail-closed authority audit framework [merged]
    #1763 - feat(lsp): govern diagnostic codes with a versioned catalog (#1662 slice A) [merged]
    #1845 - fix(ci): unblock authority and policy gates [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. added
    vscode
    on Jul 19, 2026
  4. EffortlessSteven commented on Jul 19, 2026

    @EffortlessSteven
    MemberAuthor

    Execution graph created

    The program is now decomposed into PR-sized tracks:

    Gate integrity

    LSP hot path and feedback

    Provisioning and receipt trust

    Real proof and cross-language consistency

    Measured modernization

    Recommended merge order starts with #1961/#1962, #1967, #1974, #1977, and #1980 in separate conflict-resource lanes. LSP backend/state issues (#1968–#1973) should remain serialized. Public release/signing action stays source-repository-owned.

  5. EffortlessSteven commented on Jul 19, 2026

    @EffortlessSteven
    MemberAuthor

    Concurrent capability substrate

    Issue #1987 was created concurrently and fits this program as the shared ClientFeatureProfile authority. It should precede capability-dependent LSP slices such as #1971 standard progress, code-action capability work, guarded edits, and typed-agent delivery preferences. Downstream slices should consume that profile rather than adding new raw InitializeParams helpers.

  6. EffortlessSteven commented on Jul 19, 2026

    @EffortlessSteven
    MemberAuthor

    Additional feedback/input slices integrated

    These additions complete the initial reliability issue graph; no implementation PR was opened in this pass.

  7. EffortlessSteven commented on Jul 19, 2026

    @EffortlessSteven
    MemberAuthor

    Additional LSP reliability children

    The standard-LSP reliability closeout now also includes:

    These compose with the existing sequence:

    #1967/#1968 performance and refresh coalescing
    #1969/#1973 bounded push/pull delivery
    #1970 dirty-document quarantine
    #1971/#1972 progress and physical cancellation
    → #2030/#2033/#2034/#2036 lifecycle and transport completion
    

    #2031/#2032/#2035 remain standard-client modernization children under #1622/#1907. None of these issues changes producer evidence or substitutes for the real Rust repair proof under #1980/#1981/#1601.

  8. EffortlessSteven commented on Jul 23, 2026

    @EffortlessSteven
    MemberAuthor

    Program reconciliation after the July reliability wave

    Current status by acceptance area:

    Recommended remaining #1960 critical path:

    #2332 → #2333 → #2334 / #1941 closeout
                    ↓
                  #1560 counted real repairs
                    ↓
              support-tier/current-state reconciliation (#2324)
    

    This comment does not close the program or promote support; it updates the live dependency graph.

  9. EffortlessSteven commented on Aug 4, 2026

    @EffortlessSteven
    MemberAuthor

    Closing as resolved — all 9 named load-bearing gaps are CLOSED.

    #1933 (gap-ledger can't block), #1908 (full re-run on every save), #1912 (diff bypasses fact cache), #1911 (budget not enforced on push), #1909 (no LSP progress signal), #1916 (stale dirty-buffer diagnostics), #1917 (no spawn_blocking/git timeout), #1936 (managed server no signature check), #1941 (receipt/verify accept fabricated input) — all closed.

    The two remaining referenced authorities (#1560 dogfood corpus, #1601 governed pilot) are separately-tracked open work outside this issue's acceptance.

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

    status/needs-workvscode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions