Skip to content

fix(lsp): preserve diagnostic budget evidence - #1855

Closed
EffortlessSteven wants to merge 1 commit into
mainfrom
fix/lsp-budget-contract-1837-v2
Closed

EffortlessSteven wants to merge 1 commit into
mainfrom
fix/lsp-budget-contract-1837-v2

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Follow-up to merged #1837. Preserve the diagnostic-budget evaluator's evidence when projecting workspace status:

  • prefer producer-owned diagnostic_id, canonical_gap_id, and inding_id identities, with a stable payload-hash fallback;
  • classify diagnostics without a canonical gap as profile_filtered instead of counting them as actionable;
  • expose selected/omitted identities, omission reasons, byte totals, overflow reasons, budget/evidence identities, and continuation route;
  • distinguish
    o_snapshot and evaluation/serialization unavailability from an available budget;
  • disclose that inline-detail measurement and producer-owned selection ranks are not yet available.

Source-of-truth Links

Spec: docs/specs/RIPR-SPEC-0126-lsp-diagnostic-delivery-budget.md
Active goal:
ust-one-shot-evidence-to-repair
Related: #1837

Scope

  • One public LSP workspace-status response contract
  • Nearby tests and traceability

Production delta:

  • Workspace status now carries the evaluator's bounded evidence projection and explicit unavailable state.

Evidence/support delta:

  • Same-line producer identities, profile filtering, omission reasons, overflow reasons, and no-snapshot state are covered by tests and the spec mapping.

Single acceptance criterion:

  • Every workspace-status response shape preserves budget state without fabricated actionability or byte evidence.

Non-goals:

  • No push/pull diagnostic delivery filtering.
  • No continuation handler implementation.
  • No fabricated producer ranks or inline-detail byte values.
  • No source-edit capability or broader agent protocol changes.

Policy Impact

  • none

Proof

�ash cargo fmt --check cargo check -p ripr --lib cargo clippy -p ripr --lib -- -D warnings cargo test -p ripr --lib lsp:: cargo xtask check-traceability

Results:

  • Pass: cargo check -p ripr --lib.
  • Pass: Clippy; no issues.
  • Pass: 338 LSP tests.
  • Pass: traceability after generating the expected local authority-audit reports.
  • Limited: cargo fmt --check reports an existing unrelated import-order diff in crates/ripr/src/lsp/diagnostics.rs; this PR does not touch that file.
  • The authority-audit command itself remains intentionally blocked by its current 13 reported blockers; it writes the reports consumed by traceability.

Claim Boundary

This establishes a truthful, bounded workspace-status projection for the current diagnostic snapshot. It does not establish delivery filtering, complete inline-detail accounting, producer-owned rank availability, or release readiness.

Rollback

Revert commit d41babe.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0126
  • Tests: budget bridge identity/actionability test; no-snapshot and snapshot workspace-status tests; existing evaluator suite
  • Code: crates/ripr/src/lsp/diagnostic_budget.rs, crates/ripr/src/lsp/backend.rs
  • Output: diagnostic_budget and diagnostic_budget_state
  • Metrics: existing lsp_diagnostic_budget_selected_items, lsp_diagnostic_budget_omitted_items, and lsp_diagnostic_budget_overflowed

Engineering Check

  • No new panic-family calls.
  • No new non-Rust files.
  • Static language remains conservative and advisory.

References: #1837

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jul 19, 2026 •

Copy link
Copy Markdown

Review Change Stack

Summary by CodeRabbit

  • New Features
    • Workspace status now reports diagnostic-budget availability and machine-readable failure reasons.
    • Diagnostic-budget details now include selected and omitted diagnostic identities, omission reasons, byte totals, and overflow information.
    • Diagnostics without producer IDs receive stable identifiers while preserving existing identity and actionability data.
  • Bug Fixes
    • Improved diagnostic payload measurement and eligibility reporting.
  • Documentation
    • Documented workspace-status diagnostic-budget fields and unavailable-state behavior.

Walkthrough

The LSP diagnostic bridge now preserves identities, generates deterministic fallback IDs, and derives eligibility from canonical gap data. Workspace status exposes detailed diagnostic-budget results with explicit availability states, supported by tests and specification updates.

Changes

Diagnostic budget projection

Layer / File(s) Summary
Diagnostic bridge identity and eligibility
crates/ripr/src/lsp/diagnostic_budget.rs
Diagnostic payloads are serialized fallibly, producer identities are preserved, missing identities receive SHA-256 fallback IDs, and eligibility reflects canonical gap IDs.
Workspace status budget projection
crates/ripr/src/lsp/backend.rs
Workspace status now includes detailed budget results and separate available or unavailable state information for snapshot, error, and no-snapshot paths.
Projection contract and coverage
crates/ripr/src/lsp/tests.rs, docs/specs/RIPR-SPEC-0126-lsp-diagnostic-delivery-budget.md, .ripr/traceability.toml
Tests validate budget counts and state fields; the specification and traceability manifest register the expanded projection.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant LSPClient
  participant collect_workspace_status
  participant DiagnosticBudgetEvaluator
  LSPClient->>collect_workspace_status: request workspace status
  collect_workspace_status->>DiagnosticBudgetEvaluator: evaluate diagnostic budget
  DiagnosticBudgetEvaluator-->>collect_workspace_status: result or error
  collect_workspace_status-->>LSPClient: diagnostic_budget and diagnostic_budget_state
Loading

Possibly related PRs

Poem

I’m a rabbit with IDs in a row,
Hashing each gap where diagnostics flow.
Budgets now speak, “available” or “no,”
Counts and reasons neatly show.
Hop through the status—clear as snow!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and directly matches the main change: preserving diagnostic budget evidence in LSP workspace status.
Description check ✅ Passed The description covers summary, scope, proof, traceability, rollback, and claim boundary, though several template sections are missing or abbreviated.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/lsp-budget-contract-1837-v2

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@crates/ripr/src/lsp/backend.rs`:
- Around line 2195-2208: Update the error handling in the surrounding LSP
request flow to replace both error.to_string() values with stable,
machine-readable reason codes that distinguish serialization failures from
evaluation failures. Keep detailed error text out of the JSON response and log
it separately where appropriate, while preserving the existing "unavailable"
status and null result.
- Around line 2182-2187: Update the diagnostic-budget evaluation call in the
workspace-status handling branch to use the producer-owned snapshot and
complete-evidence identities instead of hard-coded "workspace_status" values.
Thread the actual identities through from the producing result, or leave the
identity fields unset when they are unavailable.

In `@crates/ripr/src/lsp/diagnostic_budget.rs`:
- Around line 402-434: Add a third diagnostic without producer identity to
diagnostic_bridge_preserves_identity_and_actionability in
crates/ripr/src/lsp/diagnostic_budget.rs:402-434, then assert its deterministic
location/payload-hash fallback ID. In crates/ripr/src/lsp/tests.rs:6550-6575,
add an actionable diagnostic with canonical_gap_id and assert workspace_status
projects the expected selected canonical ID, document, and budget identity
fields.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b9df8289-6e2b-48dc-8bfb-ba4ee730b19a

📥 Commits

Reviewing files that changed from the base of the PR and between 37f4750 and d41babe.

📒 Files selected for processing (5)
  • .ripr/traceability.toml
  • crates/ripr/src/lsp/backend.rs
  • crates/ripr/src/lsp/diagnostic_budget.rs
  • crates/ripr/src/lsp/tests.rs
  • docs/specs/RIPR-SPEC-0126-lsp-diagnostic-delivery-budget.md
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

  • EffortlessMetrics/ripr (auto-detected)
  • EffortlessMetrics/unsafe-review (auto-detected)
  • EffortlessMetrics/perl-lsp (auto-detected)
  • EffortlessMetrics/ub-review (auto-detected)

Comment on lines +2182 to +2187
Ok(items) => match crate::lsp::diagnostic_budget::evaluate_diagnostic_budget(
items,
&crate::lsp::diagnostic_budget::DiagnosticBudget::default(),
"workspace_status",
"workspace_status",
) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== backend.rs slice =="
nl -ba crates/ripr/src/lsp/backend.rs | sed -n '2168,2215p'

echo
echo "== diagnostic_budget references =="
rg -n "evaluate_diagnostic_budget|DiagnosticBudget|complete_evidence_identity|workspace_status|error\\.to_string\\(\\)" crates/ripr/src/lsp -S

Repository: EffortlessMetrics/ripr-swarm

Length of output: 229


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== backend.rs slice =="
awk 'NR>=2168 && NR<=2215 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/backend.rs

echo
echo "== diagnostic_budget search =="
rg -n "evaluate_diagnostic_budget|DiagnosticBudget|complete_evidence_identity|workspace_status|error\\.to_string\\(\\)" crates/ripr/src/lsp -S

echo
echo "== diagnostic_budget module files =="
fd -a diagnostic_budget crates/ripr/src/lsp crates/ripr/src

Repository: EffortlessMetrics/ripr-swarm

Length of output: 12645


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== diagnostic_budget.rs API slice =="
awk 'NR>=145 && NR<=290 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/diagnostic_budget.rs

echo
echo "== diagnostic_budget.rs tests slice =="
awk 'NR>=420 && NR<=620 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/diagnostic_budget.rs

echo
echo "== workspace_status renderer slice =="
awk 'NR>=2288 && NR<=2338 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/backend.rs

Repository: EffortlessMetrics/ripr-swarm

Length of output: 16319


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== identity field search =="
rg -n "snapshot_profile_budget_identity|complete_evidence_identity|continuation_or_inspect_route|workspace_status.*reason|reason\\\": error\\.to_string|error\\.to_string\\(\\).*reason" crates/ripr/src/lsp -S

echo
echo "== workspace_status tests around collect_workspace_status =="
awk 'NR>=6480 && NR<=6575 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/tests.rs

echo
echo "== workspace_status tests around no-snapshot path =="
awk 'NR>=6150 && NR<=6215 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/tests.rs

Repository: EffortlessMetrics/ripr-swarm

Length of output: 552


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== exact field search =="
rg -n -F "snapshot_profile_budget_identity" crates/ripr/src/lsp crates/ripr/src -S || true
rg -n -F "complete_evidence_identity" crates/ripr/src/lsp crates/ripr/src -S || true
rg -n -F "\"reason\"" crates/ripr/src/lsp/tests.rs crates/ripr/src/lsp -S || true
rg -n -F "\"workspace_status\"" crates/ripr/src/lsp/tests.rs crates/ripr/src/lsp -S || true

echo
echo "== workspace_status tests with diagnostic budget assertions =="
awk 'NR>=6487 && NR<=6575 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/tests.rs

echo
echo "== workspace_status tests with receipt summary and status fields =="
awk 'NR>=7568 && NR<=7795 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/tests.rs

Repository: EffortlessMetrics/ripr-swarm

Length of output: 19180


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== DiagnosticBudgetError display =="
awk 'NR>=68 && NR<=100 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/diagnostic_budget.rs

echo
echo "== workspace_status diagnostic budget tests around JSON shape =="
awk 'NR>=6538 && NR<=6575 { printf "%d:%s\n", NR, $0 }' crates/ripr/src/lsp/tests.rs

Repository: EffortlessMetrics/ripr-swarm

Length of output: 2902


Use producer-owned identities here. Both identity arguments are hard-coded to workspace_status, so every workspace-status result gets the same snapshot_profile_budget_identity and complete_evidence_identity. Thread through the real snapshot/evidence identity, or leave these fields unset if it cannot be sourced.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/ripr/src/lsp/backend.rs` around lines 2182 - 2187, Update the
diagnostic-budget evaluation call in the workspace-status handling branch to use
the producer-owned snapshot and complete-evidence identities instead of
hard-coded "workspace_status" values. Thread the actual identities through from
the producing result, or leave the identity fields unset when they are
unavailable.

Source: Coding guidelines

Comment on lines +2195 to +2208
Err(error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": error.to_string(),
}),
),
},
Err(error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": error.to_string(),
}),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Keep unavailable reasons stable and machine-readable.

error.to_string() is implementation-dependent and can change across dependency versions. Emit stable reason codes for serialization versus evaluation failures; log the detail separately if needed.

Proposed fix
-                    Err(error) => (
+                    Err(_error) => (
                         serde_json::Value::Null,
                         serde_json::json!({
                             "status": "unavailable",
-                            "reason": error.to_string(),
+                            "reason": "budget_evaluation_failed",
                         }),
                     ),
@@
-                Err(error) => (
+                Err(_error) => (
                     serde_json::Value::Null,
                     serde_json::json!({
                         "status": "unavailable",
-                        "reason": error.to_string(),
+                        "reason": "diagnostic_serialization_failed",
                     }),
                 ),

As per coding guidelines, “keep unknown states explicit, human output actionable, JSON stable and versioned”.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Err(error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": error.to_string(),
}),
),
},
Err(error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": error.to_string(),
}),
Err(_error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": "budget_evaluation_failed",
}),
),
},
Err(_error) => (
serde_json::Value::Null,
serde_json::json!({
"status": "unavailable",
"reason": "diagnostic_serialization_failed",
}),
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/ripr/src/lsp/backend.rs` around lines 2195 - 2208, Update the error
handling in the surrounding LSP request flow to replace both error.to_string()
values with stable, machine-readable reason codes that distinguish serialization
failures from evaluation failures. Keep detailed error text out of the JSON
response and log it separately where appropriate, while preserving the existing
"unavailable" status and null result.

Source: Coding guidelines

Comment on lines +402 to +434
#[test]
fn diagnostic_bridge_preserves_identity_and_actionability() -> Result<(), String> {
let uri = "file:///workspace/src/lib.rs"
.parse::<tower_lsp_server::ls_types::Uri>()
.map_err(|err| format!("parse test URI: {err}"))?;
let mut first = tower_lsp_server::ls_types::Diagnostic::default();
first.data = Some(serde_json::json!({
"diagnostic_id": "finding:first",
"canonical_gap_id": "gap:first",
}));
let mut second = tower_lsp_server::ls_types::Diagnostic::default();
second.data = Some(serde_json::json!({
"diagnostic_id": "finding:second",
"finding_id": "finding:second",
}));
let diagnostics = std::collections::BTreeMap::from([(uri, vec![first, second])]);

let items = build_budget_items_from_diagnostics(&diagnostics)
.map_err(|err| format!("build budget items: {err}"))?;
if items.len() != 2 {
return Err(format!("expected two budget items, got {items:?}"));
}
if items[0].canonical_id != "finding:first" || items[1].canonical_id != "finding:second" {
return Err(format!("producer identities were not preserved: {items:?}"));
}
if items[0].eligibility != DiagnosticBudgetEligibility::Actionable {
return Err("canonical gap diagnostic was not actionable".to_string());
}
if items[1].eligibility != DiagnosticBudgetEligibility::ProfileFiltered {
return Err("diagnostic without canonical gap was over-credited".to_string());
}
Ok(())
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Add discriminators for fallback identity and selected-item projection.

  • crates/ripr/src/lsp/diagnostic_budget.rs#L402-L434: add a diagnostic without producer identity and assert its deterministic location/payload-hash fallback ID.
  • crates/ripr/src/lsp/tests.rs#L6550-L6575: add an actionable diagnostic with a canonical_gap_id and assert its selected canonical ID, document, and budget identity fields in workspace_status.

As per coding guidelines, “Every material behavior change should preserve the chain spec -> test or fixture -> code -> output contract -> metric”.

📍 Affects 2 files
  • crates/ripr/src/lsp/diagnostic_budget.rs#L402-L434 (this comment)
  • crates/ripr/src/lsp/tests.rs#L6550-L6575
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/ripr/src/lsp/diagnostic_budget.rs` around lines 402 - 434, Add a third
diagnostic without producer identity to
diagnostic_bridge_preserves_identity_and_actionability in
crates/ripr/src/lsp/diagnostic_budget.rs:402-434, then assert its deterministic
location/payload-hash fallback ID. In crates/ripr/src/lsp/tests.rs:6550-6575,
add an actionable diagnostic with canonical_gap_id and assert workspace_status
projects the expected selected canonical ID, document, and budget identity
fields.

Source: Coding guidelines

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 74.69880% with 42 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/ripr/src/lsp/backend.rs 66.33% 34 Missing ⚠️
crates/ripr/src/lsp/diagnostic_budget.rs 87.69% 8 Missing ⚠️

📢 Thoughts on this report? Let us know!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d41babedf1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +344 to +348
"diagnostic_id",
"canonical_gap_id",
"finding_id",
"gap_id",
"seam_id",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve seam IDs in budget identities

Failure mode: In full-profile LSP runs with seam diagnostics enabled, seam diagnostics carry both data.diagnostic_id (a generated seam:<hash> from diagnostic_for_classified_seam) and data.seam_id (the ID accepted by collect_context_packet/classified_seam_by_id). This new key order picks diagnostic_id first, so workspace_status.diagnostic_budget.selected/omitted reports the transport hash instead of the canonical seam id; consumers cannot feed that ID back to the existing context commands, and the projection no longer preserves the canonical identity contract described in RIPR-SPEC-0126. Fix direction: prefer canonical evidence IDs such as canonical_gap_id, gap_id, seam_id, or finding_id before diagnostic_id (or include both), then validate with a budget bridge test using a seam diagnostic.

Useful? React with 👍 / 👎.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Superseded by #1858. #1858 carries the same LSP diagnostic-budget contract repair from current main, includes the Rust 1.95 Clippy fixture fix, and avoids force-pushing this branch.

EffortlessSteven added a commit that referenced this pull request Jul 19, 2026
Make workspace-status diagnostic-budget evidence producer-aware and
snapshot-bound when projected through the agent-facing LSP interface:

- Derive budget eligibility from the producer actionability predicate
  (gap_decision_ledger -> gap_state actionable && repairable; else
  headline_eligible; else preview repair_packet_ready) instead of
  canonical_gap_id presence, so non-actionable gap records cannot consume the
  finite budget and displace real actionable repair packets.
- Bind budget/complete-evidence identities to snapshot input provenance and the
  workspace diagnostic result identity (no constant literals on the live path).
- Preserve selected/omitted identities, omission reasons, byte totals, overflow
  reasons, continuation routing; emit stable unavailable reason codes.
- Update LSP spec, traceability, and focused regression coverage.

Convergence winner #2 per #1862 (status/evidence integrity only). Verified
locally: diagnostic_budget (11 tests) + focused LSP status/identity tests pass,
clippy -D warnings clean, rustfmt clean; branch merged current with main
(conflict in tests.rs import list resolved as a union). Review P1/P2 addressed
with passing regression tests; all threads resolved. Supersedes #1855.
This was referenced Jul 19, 2026
This was referenced Jul 19, 2026
EffortlessSteven added a commit that referenced this pull request Nov 9, 2026
…13385)

* ci: restore PR evidence cross-checks (#1660)

Merge the reviewed bounded producer authority and hosted evidence contract.

* fix(classify): carry whitespace-stable wildcard-discard detection (#1664)

* fix(classify): share whitespace-stable wildcard discard detection

* test(classify): cover repeated wildcard whitespace

* fix(classify): preserve wildcard discard probe context

* fix(analysis): exclude non-data predicate tokens (#1666)

* ci(release): pin server builds and emit target receipts (#1665)

* ci(release): pin server build toolchain and locked cargo

* ci(release): pin toolchain action identity

* feat(release): emit deterministic server build receipts

* fix(release): inventory packaged archive members

* fix(release): pass workflow version through environment

* feat(release): bind server receipts to build identity

* fix(release): keep server receipts in flat artifact staging

* test(release): carry production Perl oracle-mapping proof (#1667)

* fix(perl): exercise production oracle mapping

* test(perl): discriminate production oracle mappings

* fix(release): assemble exact server manifest outputs

* fix(release): reject duplicate server targets

* fix(release): reject unsafe staging entries

* fix(release): parse manifest receipts

* style(release): format receipt validation

* fix(release): bind receipt version to manifest

* fix(release): verify staged archive checksums

* fix(release): require configured server targets

* fix(release): reject mixed server receipt identities

* fix(release): bind receipts to archive bytes

* fix(release): validate archive member inventories

* fix(release): require one receipt per target

* fix(release): reject extra staged subjects

* fix(release): atomically write manifest outputs

* fix(release): keep internal receipts out of public checksums

* feat(release): expose validated server assembly identity

* feat(release): retain server assembly receipt

* docs(release): document assembly receipt boundary

* fix(release): harden server manifest evidence boundaries

* fix(release): preserve server assembly outputs on failure

* fix(release): emit standard checksum manifest digests

* docs: propagate reviewed zero-gap and historical panel claim boundaries

* test(xtask): guard ambient cwd fixture lifetimes (#1685)

* test(xtask): guard ambient cwd fixture lifetimes

* test(xtask): avoid spinning while awaiting cwd writer

* fix(evidence): unify canonical review root identity (#1688)

* fix(evidence): unify canonical review root identity

* fix(evidence): cover binary producer and fallback root identity

* fix(evidence): validate compatibility checkout identity

* fix(xtask): keep the Windows driver outside workspace rebuild products (#1690)

* fix(xtask): separate Windows driver from workspace rebuild outputs

* policy(xtask): receipt the isolated Cargo driver fixture

* security: age dependency updates 14 days

* fix(dogfood): admit mixed-language evidence with isolated fixtures (#1693)

* feat(dogfood): enable preview TypeScript producer analysis

* test(dogfood): satisfy current fixture lint policy

* test(config): isolate fixtures from repository language policy

* test(cli): isolate default-policy fixture journeys

* fix(fixtures): isolate corpus configuration from host policy

* deps(deps): bump flate2

Bumps the cargo-minor-patch group with 1 update in the / directory: [flate2](https://github.com/rust-lang/flate2-rs).


Updates `flate2` from 1.1.9 to 1.1.10
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.9...1.1.10)

---
updated-dependencies:
- dependency-name: flate2
  dependency-version: 1.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* docs: hyphenate zero-badge compound modifier (#1676)

* fix(promotion): bind receipt digest to parsed decisions bytes; survive colon-bearing inventory patterns

Address review findings on the lane: parse_decisions now returns the
exact bytes it parsed and the receipt hashes those, closing the
minutes-long re-read window between parse and rendering. Extract
parse_inventory_line, which strips the known -o match suffix before
splitting path and line number, so colon-bearing governed patterns no
longer fail inventory with an invalid-line-number error. Both carry
unit tests written in the gate's concat! style so the tests do not add
governed literals. Verified: module suite 12/12, resolved-tree and
workflow-contract suites green, check-network-policy/process-policy/
command-catalog pass, fmt/clippy clean.

* fix(output): fail closed on unsupported shell tokens in PowerShell translations

Port the #1696 hardening onto the current Out-String renderer instead of
the superseded Start-Process rewrite: the compound-command scanner now
withholds glob characters, brace expansion, subshell/grouping parens,
splatting, tilde expansion, comments, any unquoted or double-quoted $,
non-spaced > forms, unbalanced trailing quotes, and any other character
outside the allowlist, so --%, KEY=value, and future unsupported tokens
fail closed instead of shipping a line the shells read differently.
Quoted forms stay data and keep translating. Both shell disclosures now
state that unavailable variants are disclosed.

Verified: ripr lib 5249 passed; goldens/fixtures/dogfood pass with zero
drift; test-oracle advisory unchanged; fmt/clippy clean.

* fix(analysis): disambiguate same-fingerprint probe ids within a run

Same-text lines under one owner (e.g. repeated } closers) share a
content-addressed probe id, which is deliberately line-independent so it
survives line movement. The ordinal mechanism existed for exactly this
but every producer passed 1, so repeated findings collided and failed
the PR evidence contract (duplicate stable ids, seen on the #1670
range: 23 collision groups). Add dedup_finding_probe_ids next to the
established dedup_probe_ids and apply it in the TypeScript and Python
adapters: repeats gain .2/.3 suffixes in order, Finding.id follows the
probe, and source_id evidence lines rebind. First occurrences keep bare
ids, so golden churn is zero.

Verified: new regression test; ids suite 9/9; analysis suite green;
goldens 0 drift; ripr-pr --check on the #1670 range goes from contract
failure to ok (220 unique ids, 16 collision families disambiguated).

* fix(output): withhold PowerShell form on a second output redirect

A second spaced redirect left > inside the artifact path, and the
generated WriteAllText call rejects its own path on Windows (> is not a
valid filename character there). Anything after the first redirect
operator is the artifact path, so any > in it withholds the form.
Pinned in the shell-expansion withhold test.

* fix(vscode): bind managed server install to embedded distribution descriptor

Re-targets the managed download/cache flow onto the embedded
distribution.json descriptor: the requested server generation is
resolved from the descriptor (product version plus placement
catalog) instead of the bare package version, while an explicit
ripr.server.version keeps working as a legacy transport override.

Refs #1670

* fix(vscode): fail closed on descriptor, cache, and placement fallback seams

Address review findings on the distribution-identity re-target:

- Resolve the embedded descriptor once and derive the managed
  version from it; a present but unreadable descriptor returns a
  descriptor-invalid failure instead of downgrading the download
  to the legacy version-only flow.
- Reject embedded development catalogs for managed resolution
  (the fixture origin stays available to unit harnesses) and treat
  a development descriptor as absent so source checkouts keep the
  legacy package-version path.
- Bind the managed cache to the descriptor generation identity:
  distribution-bound requests accept only receipts stamped with
  the same identity, and fresh installs record the stamp. Legacy
  unstamped receipts are reinstalled rather than reused.
- Fall through to a predeclared RC placement only on a direct
  initial HTTP 404 of the preferred manifest; transport errors,
  5xx, redirect-chain failures, and malformed manifests
  propagate, as does a failing fallback candidate.

Tests pin each seam; docs/SERVER_PROVISIONING.md records the
cache-identity and descriptor contracts.

* chore(release): bump 0.11.0 metadata (#1708)

* chore(release): bump 0.11.0 metadata

Align the pre-bump drift (workspace 0.10.0 vs shipped 0.10.1),
restore the documented single source of truth (crates/ripr
inherits version.workspace), bump the workspace and editor
manifests 0.10.1 -> 0.11.0 via cargo xtask bump-version, refresh
Cargo.lock, and stage the 0.11.0 changelog entry (supersedes
staged-only 0.10.1; no 0.10.1 tag or crate was published).

* chore(release): re-bless version-pinned corpus snapshots for 0.11.0

The unchanged-after-attempt snapshots pin producer 0.10.1 and the
pre-bump input identity. Regenerate both from the 0.11.0 binary
through the test's own normalize/recommit pipeline and update the
coupled agent-verify content commitments and receipt artifact
hashes. cli_smoke first_useful_action_corpus_pins_routing_cases
is green on the result.

* release(distribution): placement-independent server manifest v2 and distribution catalog producer (#1710)

* release(distribution): placement-independent server manifest v2 and distribution catalog producer

Implements PR A of the managed-distribution trust train (#1643, #1682,
#1639 packaging remainder; identity ruling posted on #1640):

- Server manifest v2 carries relative subject identity only
  (subject/archive_format/archive_size/executable/receipt), the
  content-derived distribution generation, target-set identity, and
  producer identity. No scheme, host, repository, tag, or absolute URL
  may enter manifest bytes; product versions with channel suffixes fail
  closed in both archive and manifest producers.
- New release-distribution-catalog producer emits one candidate catalog
  outside tracked source binding product, generation, manifest digest,
  target set, and allowed stable/RC placements; wired into the
  server-archive-qualification workflow as a required CI lane.
- Extension descriptor schema 2 with release-identity admission, a
  single Node admission authority shared by vscode-package and the
  suite, and vscode-package --catalog staging with admission, VSIX
  catalog-byte proof, and tracked-tree restore verification.
- bump-version owns the development descriptor template; tracked
  template coherence restored to 0.11.0.

Proof: 24 release_server + 4 catalog/version/packaging groups green,
workspace clippy/fmt clean, command-catalog/workflows/process-policy/
traceability/file-policy/static-language/product-copy gates pass, full
xtask suite 2300 green (one concurrency flake passes alone), extension
tsc clean with 21/21 descriptor and 3/3 admission suites green under
node. Electron e2e does not launch on this machine (host window never
spawns, identical on repeat); CI owns that leg.

* fix(distribution): address review findings on manifest v2 and catalog producer

- omit absent release identity from descriptor canonical form
- follow symlinks when bounding the release manifest read
- consolidate RC number validation without behavior change
- reject carriage returns in source repository URLs
- harden admission script error handling for non-Error throws
- add descriptor identity and catalog validation regression tests

* chore(distribution): allowlist catalog admission test spawn surface

check-process-policy requires the new catalog_admission.test.ts
execFileSync surface to name its owner; test-only admission probe.

* chore(release): stage guarded repair for distribution candidate

* chore(release): correct guarded repair contract

* chore(release): correct final guarded replacement count

* chore(release): use narrowed descriptor schema in repair

* chore(release): run editor proof under virtual display

* chore(release): fix repair transport ordering

* chore(release): remove one-use repair transport

* chore(release): raise PR-evidence timeout for #1710 distribution diff

The 120s evidence-producer default times out on this 18-file diff in
three independent jobs on e890240d (CI rust, Perl/release-proof, Routed
Rust Small Required PR evidence): 'ripr check for PR evidence timed out
after 120 seconds'. Raise RIPR_PR_EVIDENCE_TIMEOUT_SECS to 1800s in all
four PR-evidence steps; the ceiling stays well under the 45-minute job
cap (precedent: rust-gates.yml sets 3600s). No product code changes.

* fix(release): close three accepted review gaps on #1710

- server-archive-qualification: read .distribution_generation
  (snake_case, as the manifest producer emits) from the manifest side
  of the generation cross-check; the camelCase lookup returned null
  and failed every run.
- command catalog: name the real catalog default
  dist/ripr-distribution-catalog.json and both overrides (--out,
  DISTRIBUTION_CATALOG_OUT) in writes/notes.
- vscode-package: verify the VSIX-extracted catalog hash against the
  immutable admission receipt catalogSha256 instead of a disk re-read
  that a post-admission mutation moves together with the package;
  add a fail-closed mutation control test.

* fix(release): raise routed docs-gate cap above evidence ceiling

The docs-gate job allows 20 minutes but its Required PR evidence step
now permits RIPR_PR_EVIDENCE_TIMEOUT_SECS=1800s; evidence past ~1,200s
would be killed by the job cap. Raise to 45 minutes, matching the CI
rust/release-proof jobs running the same producer.

* fix(release): raise CI rust/release-proof caps above evidence composition

Product gates take ~28 min and the PR-evidence step allows 1,800s; the
45-minute job cap killed the rust job ~13 min into evidence on
3d8d59467. Raise both evidence-running jobs to 90 minutes, matching
routed rust-github.

* fix(rust): carry swarm #3759 literal match-arm observation binding (#1716)

Bounded 0.11.0 analyzer-truth carry (no broad join).
Donor: ripr-swarm#3759 merge 6edc2782e (head 289158f13),
base 8a67d68b9; source base 7bdf91c04 has byte-identical reveal.rs,
so the donor diff ports verbatim (21 files, +1915/-6).

Without this, RIPR over-credits observation for literal match arms:
the arm separator, guard keyword, operand split, and literal comparison
scanned only cooked strings and split patterns on the first text '=>',
so '=>' inside literal content truncated the pattern and raw spellings
were invisible to the owner-input check. Now strings (cooked, byte,
raw), lifetime-aware char literals, and nesting-aware comments scan as
opaque boundaries with decoded literal-value comparison; malformed
input fails closed.

Admission rationale: false observation credit on a supported Rust
MatchArm surface meets the 0.11 admission threshold.

Source proof (this tree): 13/13 match_arm_pattern_identity, 339
classify, 5259 lib, fixtures x2, goldens check, honesty gate, fmt,
clippy -D warnings — all green. Rollback: revert this commit.

* feat(vscode): bind manifests and cached servers to admitted digests (#1717)

* feat(vscode): bind manifests and cached servers to admitted digests (#1640)

Descriptor-bound downloads admit the raw manifest bytes against the
resolved distribution digest before any field is read, validate the
typed server-manifest/2 contract (schema, versions, generation,
repository, target-set, producer-shaped assets), compose asset URLs
from the accepted placement plus the admitted bare subject, cap
manifest (1MB) and archive (admitted size; 256MB legacy bound) bodies,
and confine redirects to the origin plus the release-asset hosts.
Install receipts stamp the admitted manifest digest; bound requests
reject unstamped or mismatched caches and fail closed without an
admission stamp. Legacy undescribed flows keep shape-checked behavior
with transport hardening.

Proof: 10 hostile admission/policy tests, 3 receipt-binding tests,
existing install/admission suites green, tsc + fmt clean. Full
electron suite runs in CI (local harness stalls headless here).

* fix(vscode): close review gaps on manifest admission lane

- Branch to the admitted download before any manifest fetch, so
  descriptor-bound flows never retrieve or parse unadmitted bytes.
- Validate the initial request destination with the same
  scheme/credential/visibility/port rules as redirects (hop zero was
  uncovered); policy helper lives in the pure trust module.
- Compare the admission stamp for equality with the expected digest
  before extraction, not just presence; add a mismatch control proving
  extraction never runs on unadmitted bytes.

* vscode: route server extraction through archive inventory authority (#1641) (#1718)

Replace the system tar/Expand-Archive shell-out with an owned,
dependency-free tar/zip inventory: one path normalization, closed
member kinds, and entry/total/ratio budgets enforced before any file
is created. Only planned regular files materialize (created new);
hostile archives leave no residue. No new runtime dependency.

* ci(security): move Droid auto-review behind trusted default-branch authority (#1654 PR 1) (#1720)

pull_request_target executes the base workflow definition; the
candidate head is never checked out. A new cargo xtask droid-admit
classifier binds repo, action, same-repo head/base, fresh SHAs, and
actor association, and writes an admission receipt before the
secret-bearing analysis job may run. Fork, stale-head, retargeted,
edited-action, untrusted-actor, oversized, and suppressed subjects
reject with receipts; malformed input fails closed. droid.yml review
triggers and writeback least-privilege follow in PR 2.

* ci(security): harden Droid tag handling with dispatch admission and per-mode writeback (#1654 PR 2) (#1721)

droid.yml keeps only base-defined issue_comment/issues triggers;
review, review-comment, and PR-body triggers are explicitly withheld
until App credentials exist. Subjects admit through droid-admit
--mode dispatch over API-refetched facts (mention, association,
12-hour recency, fresh SHAs); the PR and issue analysis jobs carry
exactly one write permission each, and the PR path binds
expected_head_sha. The droid-review-config gate enforces the new
shape: withheld triggers fail the gate.

* fix(rust): include test-module closing brace in evidence scope (#1428) (#1722)

The inline cfg(test) module range used strict inequality on both ends,
so an added test module's closing brace fell outside evidence scope
and minted a static_unknown production-debt seam. The closer belongs
to its module; the opener stays outside. Zero golden drift; production
braces stay eligible.

* fix(rust): carry comment-literal match-arm exclusion (#1714) (#1723)

Bounded 0.11.0 analyzer-truth carry (no broad join).
Donor: ripr-swarm#3766 merge 22160dddd; source base 60d0111e7 has
byte-identical reveal.rs, test, corpus, and cache bases, so the donor
diff ports verbatim with only the fixture SPEC boundary section
retargeted to source provenance.

Without this, RIPR over-credits observation for literal match arms:
quoted text inside a pattern comment supplied an arm value and borrowed
a sibling assertion's observation to fabricate exposure. Now line and
nesting-aware block comments are skipped by the pattern lexer; genuine
strings holding comment delimiters still lex; malformed input fails
closed. Classified-seam cache generations bumped (1.13/0.19/0.20);
rust_match_arm_comment_literal_oracle pins the non-promotion.

Admission rationale: false observation credit on a supported Rust
MatchArm surface meets the 0.11 admission threshold.

Source proof (this tree): red re-witnessed on pre-fix bytes
(quoted_pattern_comments negative FAILED), 15/15 match-arm green
post-repair, 79 reveal lib, carried fixture, goldens check, honesty
gate, fmt, clippy -D warnings — all green. Rollback: revert this commit.

* fix(rust): withhold impossible boundary-test prescription for unresolved operands (#1429) (#1724)

* fix(rust): withhold impossible boundary-test prescription for unresolved operands (#1429)

A predicate boundary discriminator whose operand values the bounded
evaluator cannot resolve (e.g. rfind/len_utf8 producers) is unconfirmed,
not established-missing. Prescribing boundary tests instructs the user to
add a test the suite may already contain, so the producer appends the
earliest unsupported edge to the missing-discriminator reason
(BOUNDARY_OPERAND_UNRESOLVED_MARKER) and the finding carries the typed
rust_value_propagation_unresolved limitation with a mutation-testing
deferral instead. Class stays weakly_exposed; directly observed
parameter/literal operands keep the honest listing and satisfiable repair.

Records the historical fixture with reviewed outputs, registers the
rust_boundary_operand_unresolved_limitation honesty case, and enriches
the binding_value_fail_closed golden with the same reason marker.

Admission rationale: false repair authority on a supported Rust
predicate surface meets the 0.11 admission threshold.

Source proof (this tree): pre-fix artifact prescribed Add-boundary-tests
with no limitation; post-fix carries the limitation with no
prescription. Unit pairs (unresolved withholds / parameter keeps),
81 rust language, activation/evidence/finding suites, both fixtures,
goldens check, honesty gate, output/capability/support/spec/
traceability/fixture contracts, fmt, clippy -D warnings green.
Rollback: revert this commit.

* fix(rust): invalidate classified caches for the unresolved-operand limitation (#1429)

Review finding: the limitation/prescription change alters classified-seam
content, so warm caches would keep serving impossible repair assignments.
Bump generations (1.14 / 0.20 / 0.21) with rationale comments and pins.

* style(rust): use then_some for the unresolved limitation assignment (#1429)

* ci: retrigger lane after wedged dispatch (run 35397923281 never left pending; cancelled)

* fix(rust): harden unresolved-operand limitation on review findings (#1429)

Address the five review threads on the exact head:

- Evaluate every related-test row before adding the unresolved
  marker: a single resolved row (exact or a demonstrated invalid boundary)
  withholds the marker, so row order can no longer decide whether
  the boundary-test prescription is withheld. Keeps the first
  unsupported edge for deterministic output. Adds the
  order-inversion regression control.
- Report the complete unsupported operation for try-operator
  chains: rest.rfind(close)? no longer degrades to the malformed
  close)? edge fragment.
- Repair the binding fixture input so the analyzed tree carries the
  claimed candidate hunk (via_dynamic_needle map_or(1)); the trace
  now reports the analyzed candidate initializer.
- Split call arguments char-literal aware so close is no longer
  mislabeled as open in observed argument values.
- The missing/unconfirmed wording thread is refuted: missing
  discriminator is established domain vocabulary for absent static
  evidence, and renaming it would churn the golden corpus for
  style.

Admission rationale: review-driven repair of false-evidence and
order-dependent behavior on the 0.11 analyzer-truth lane; golden
blast radius measured at zero outside the two intended fixtures.

Source proof (this tree): three new controls fail pre-repair for
the intended reasons and pass post-repair; 345 classify tests,
goldens check, and re-blessed boundary/binding goldens green.
Rollback: revert this commit.

* fix(rust): name unresolved guard edge for exactly-observed error return (#1579) (#1726)

* test(rust): witness imprecise error-return limitation (#1579)

Test-only stage: production-subject fixture with a real error
constructor and exact observer. Changing the return expression behind
the boolean guard currently reports bare infection_unknown without
naming the unresolved edge. Expected outputs pending the production
correction; the imprecise output is not accepted as a golden.

* fix(rust): name unresolved guard edge for exactly-observed error return (#1579)

A bare-guard predicate over a changed error return an exact
observer already covers reports a precise typed limitation naming
the guard the bounded evaluator cannot carry the producing
expression through, and withholds the impossible add-a-test
prescription. Class stays infection_unknown; the static limit kind
rust_value_propagation_unresolved is shared with CLI, ledger, gate,
LSP, and packet projections. Graduate the case into the
evidence-promotion-honesty corpus independent of the golden.

* fix(rust): harden guard limitation on review findings (#1579)

Address #1726 bot review on the guard-error limitation: normalize
the mut prefix when matching the guard parameter (function_parameters
preserves it; call-row binding keeps raw positional names), with a
red-proven mutable-guard control; require the strong assertion to
mention an identifier bound from an owner call so an unrelated strong
oracle cannot take the limitation. Fixture golden and honesty pin
unchanged.

* test(output): native pwsh argv/artifact proof for PowerShell translations (#1672) (#1727)

* test(output): native pwsh argv/artifact proof for PowerShell translations (#1672)

String pins run on every lane; the Windows-gated
powershell_translation_preserves_native_argv_and_artifact_bytes executes
translated lines under a real pwsh (argv/artifact bytes, failure
preservation, withholding controls) with fail-closed missing instrument.
Recorder compiles at test time; all-platform tests guard fixture rot.

* chore(policy): allowlist test-only Command::new x3 in output/markdown.rs (#1672)

The native pwsh argv/artifact proof spawns rustc, the pwsh
instrument probe, and real pwsh lines from the test module only;
no production spawn. Unblocks check-process-policy on the lane.

* fix(output): invoke quoted program paths with PowerShell call operator (#1672)

A quoted path in command position is a string expression in
PowerShell, not an invocation: the translated line echoed the path
and exited 0 without running anything. The native proof exposed it —
the recorder never ran, so no marker and no argv record appeared.
Quote-start invocations now carry '& ' in both plain and redirect
forms; unquoted program names are unchanged.

* fix(test): use drive-relative fixture paths in call-operator pins (#1672)

check-local-context forbids local absolute Windows paths in source;
the pins exercise quote-start invocation, not drive letters.

* fix(output): detect quoted program after leading whitespace (#1672)

is_compound_bash_command accepts leading whitespace, so a quote-start
check on the raw invocation missed '  prog' forms and PowerShell would
again read a string expression instead of an invocation. The operator
now keys on trim_start while preserving the original spacing.

* test(release): pin boundary_gap closed variant for #1429 case-3 corpus (#1730)

Same diff and canonical probe as boundary_gap, but the suite carries
the exact equality assertion: probe:src_lib.rs:predicate:c80557eb is
exposed instead of weakly_exposed. Together with boundary_gap (genuine
gap, actionable repair) and boundary_operand_unresolved (exact proof
present, propagation unsupported, typed limitation, no impossible
repair), the trio proves the discriminator — not analyzer mood — moves
the item.

* test(ci): isolate blocked-report gate from stale canonical-delta residue (#1711)

gate_command_writes_blocked_report_before_error rooted at the real
checkout, so ambient target/ripr/pr/canonical-delta.json from an
earlier cargo xtask ripr-pr run flipped the decision to advisory
(reproduced: clean passes, residue fails at the blocked assertion).
The test now owns its root: pr-guidance is staged inside an
invocation-owned temp dir, a contradictory delta is planted outside
it, and the blocked report is asserted alongside byte-identical
residue and no outside mutation. No gate semantics changed; no
production code touched.

* test(ci): failure-safe cleanup for hermetic blocked-report gate roots (#1711)

Own both temporary roots (owned invocation root plus ambient-residue
control) in a Drop guard created immediately after allocation, so an
early ? return or assertion failure can no longer skip cleanup and
leave residue behind. The ambient contradictory-residue control is
unchanged: it is the negative control proving the invocation-owned
root is isolated from unrelated repository evidence.

* test(determinism): hermetic eval-sweep binary copy; windows-advisory verdict preservation (#1712, #1729)

eval-sweep: refresh_candidate_validates_through_eval_sweep_check now
stages an invocation-owned copy of the analyzer into its temp root and
executes the copy. The route re-verifies binary content identity after
every subject, so a sibling test rebuilding shared target/debug/ripr
mid-run downgrades rows to tempfail; the immutable copy closes that
seam. Test-only; no timeout, contract, or production change.

windows-advisory: re-point header from nonexistent #2419/#2430 to live
#1729, and run both summarizers under if:always so a wedged or killed
test step still yields whatever verdict the partial logs support (or a
loud summarizer failure naming the missing evidence) instead of a
silent 90-minute job-timeout kill with no verdict.

* fix(workflow): approved vocabulary in advisory-lane comment (#1729)

check-static-language scans tracked prose: 'killed' is prohibited.
Use 'terminated'/'cancellation'. Caught by
policy_checker_facade_runs_current_repo_checks on the lane; verified
with cargo xtask check-static-language locally.

* test(release): first-hour harness core, installed-artifact authority (#1674 slice A) (#1733)

* test(release): first-hour harness core, installed-artifact authority (#1674 slice A)

New cargo xtask first-hour command owning what later slices consume:
explicit .crate/installed executable identity (crate + binary digests,
size, version), clean-prefix install through ordinary cargo tooling
(refusing live prefixes), per-step argv/cwd ledger, Drop-guard cleanup
authority, and a deterministic receipt skeleton recording slices
completed.

Includes the wrong-binary negative control (a non-identity executable
is refused, never substituted) and the live-prefix refusal, plus arg
surface tests. No journey behavior yet; slices B-D build on the
receipt.

* fix(first-hour): extract crate before install; never adopt pre-existing roots (#1674)

cargo install --path requires a package directory, never the .crate
archive: extract into harness-owned staging first, enforcing the
packaged-crate admission policy (one top-level root, no
traversal/absolute/link members, Cargo.toml present).

Fail-closed ownership: a pre-existing --fixture-root is refused before
any install work, so Drop cleanup can only remove directories the
harness created. Adds hostile-archive and pre-existing-root negative
controls (5/5 slice tests green).

* fix(first-hour): receipt must outlive fixture cleanup (#1674)

Reject --out equal to or nested under the harness-cleaned
--fixture-root before any install work; otherwise the receipt is
written and then deleted before success returns. Adds the overlap
negative control (6/6 slice tests green).

* fix(first-hour): stage outside workspace; install --locked (#1674)

E2E proof on a packaged ripr-0.11.0.crate exposed two install defects:

- Repo-forced TMPDIR=target stages the extracted package inside the
  Cargo workspace, which cargo then refuses as a member. Staging base
  now escapes the enclosing workspace (HOME cache fallback), with a
  regression test pinning the invariant.
- Fresh index resolution drifts dependency versions (observed
  unicode-ident/unicode-properties skew breaking the build). Install
  with --locked against the shipped Cargo.lock or fail loudly.

Verified: full install of the packaged candidate, installed binary
reports ripr 0.11.0, receipt carries crate+binary digests and the
2-step ledger, staging cleaned. 7/7 slice tests green.

* test(first-hour): clippy-clean test idioms, no unwrap/expect (#1674)

Lane enforces clippy -D warnings on all targets: rewrite slice tests
to the repo convention (Result returns, refusal_of helper, matches!
with concrete patterns only). No behavior change; 7/7 green, clippy
and fmt clean.

* #1674 slice A: record true step-start time for installed-version

The ledger stamped the record() call time (post-run) into a field
named started_epoch_secs; capture the timestamp before the installed
--version probe like the install step does, and drop the now-unused
post-hoc record() helper.

* #1674 slice A: close review ownership and containment gaps

Address three review findings with failing-first regression tests:

- Claim staging ownership exclusively: owned_staging no longer
  remove_dir_all's a predictable path before creation. A salted
  candidate is created with exclusive create_dir and AlreadyExists
  retries with a fresh candidate, so the harness never deletes a
  directory it did not create.
- Compare normalized paths in containment checks: absolute +
  lexical normalization before the out-vs-fixture comparison, so a
  '..' spelling cannot evade the cleanup-tree check.
- Refuse --prefix equal to or nested under --fixture-root before
  any install work: cargo install would otherwise create the fixture
  root as a side effect and the Drop guard would delete the installed
  tree behind a success receipt.

* #1674 slice A: create the staging base instead of assuming it

The hosted lane failed hostile_archive_members_are_rejected_before_extraction
with a staging error, not an extraction error: on a fresh runner the
home-cache staging fallback does not exist yet, and exclusive create_dir
needs its parent. owned_staging now builds the base with create_dir_all
(which never deletes) while exclusivity still applies to the candidate.

Proven by environment reproduction: TMPDIR inside the workspace plus a fresh
HOME fails the pre-fix code and passes the fixed code. New unit test
staging_creates_a_missing_base_instead_of_assuming_it pins it through an
explicit-base seam.

* test(release): first-hour fixture baseline plus installed check journey (#1674 slice B) (#1734)

* #1674 slice B: fixture baseline plus installed check journey

Builds the disposable baseline repository (exact-boundary > to >= change
under a weak mid-range-only test, at a checkout path with spaces and
non-ASCII text) and runs the installed check journey: human rendering must
contain its Start here section, JSON evidence must hold at least one
finding, and both run through the admitted installed executable under
fresh cache/HOME roots. Child processes never mutate the process cwd
(git -C / ripr --root); the ledger records exact argv and the real cwd.
E2E-proven once against installed ripr 0.11.0: 1 finding
[weakly_exposed], receipt and Drop cleanup verified.

* #1674 slice B: require the designed weakly_exposed oracle

The journey accepted any nonempty findings array, so a false promotion
to exposed would record a passing slice B. require_boundary_oracle pins
the fixture's earned strength (exactly one weakly_exposed finding) and
fails loudly for fixture redesign on promotion, demotion, or
multiplicity. Pinned by journey_requires_the_designed_weakly_exposed_oracle.

* test(release): first-hour negative controls against the production journey (#1674 slice C) (#1735)

* #1674 slice C: negative controls against the production journey

New report-only cargo xtask first-hour-controls installs the candidate
once, then drives the production journey with three dishonest states:
invalid base (failure must propagate, not record), empty diff (zero
findings must refuse), tampered binary (admission must refuse before any
product invocation, asserted via ledger absence). Each control passes
only on its typed refusal; setup failures report setup-not-established,
never a pass. E2E-proven 3/3 against installed ripr 0.11.0 with the
controls receipt read back. Discrimination proven by an admission-bypass
experiment: the bit-flipped binary still executed and passed, and the
tampered control fired.

* #1674 slice C: cold per-rendering caches; catalog both first-hour routes

- Each rendering (JSON gate, human front door) runs cold under its own
  fresh cache/HOME, so the JSON gate can no longer warm the cache the
  human check runs on. E2E-proven for both journeys.
- Registers first-hour and first-hour-controls in known_commands and the
  command mutability catalog (external_state_mutating, judgment
  required), so top-level help, per-command help, and the catalog check
  cover both routes.

* #1674 slice D: normalized evidence digests for rerun comparison (#1736)

Receipt evidence digests now hash location-normalized output (absolute
run locations attested in the ledger and repo SHAs), so two runs of one
candidate agree on normalized_sha256 while raw bytes stay auditable.
Proven e2e: twin runs agree on fixture SHAs, classifications, normalized
digests, subject identities, and ledger step sequence; raw digests differ
only by run location, by design. #1578 carries the first-hour receipt
contract and comparison rule for Lane 2.

* test(release): installed init journey with conflict proofs (#1674 slice E) (#1737)

* #1674 slice E: installed init journey with conflict proofs

Runs installed ripr init --ci github on an isolated checkout: fresh
generation must carry advisory markers (draft mode, continue-on-error,
SARIF gating, locked install ref, pilot packet) and leave a user-owned
workflow byte-identical. The conflict sequence then proves exact
behavior: rerun over generated output refuses, lone user ripr.toml is
preserved with success exit, user ripr.yml refuses without --force, and
--force provably overwrites. E2E-proven with the init receipt section
read back (21-step ledger).

* #1674 slice E: re-check user sentinel after --force

Review found the forced run never re-verified the unrelated user
workflow. The journey now reads the sentinel after --force and fails
when it is modified or deleted. E2E-proven.

* test(release): installed agent repair journey with movement gates (#1674 slice F) (#1739)

* #1674 slice F: installed agent repair journey with movement gates

Drives the production seam loop through the installed binary: finding to
seam resolution, agent start, repair before (attempt manifest binds the
seam), the fixed external test-only edit (append-only, baseline-checked),
separate focused cargo test execution (real checkout cwd, timeout-bound,
toolchain roots ambient, build tree isolated from the edit cage),
repair after (ready_to_finish), explicit agent verify (closed/improved/
zero-regressed gates) and outcome (weak-to-strong movement) routes, and
the phase-written receipt artifact (change improved).

The explicit agent receipt re-invocation is not driven: it refuses with
a stale after-verdict binding immediately post-after (filed as #1738).
E2E-proven with the repair receipt section read back (35-step ledger).

* test(release): bind repair gates to packet array, seam identity, ambient roots (#1674 slice F)

Address review on the repair journey: repair_seam_id now requires the
packets array itself to hold exactly one entry (an inconsistent
packets_total:1/two-entry report refuses instead of taking the first
packet); outcome_movement takes the repaired seam id and requires a
moved row with that id and a weakly_gripped->strongly_gripped class
transition; RUSTUP_HOME/CARGO_HOME keep configured ambient values with
the HOME-derived guess as unset-only fallback. New refusal cases:
inconsistent-count, wrong-seam, row-not-weak-to-strong, plus the
ambient-preference unit test.

* test(release): installed standalone-LSP journey with framing and orphan gates (#1674 slice G) (#1740)

* test(release): installed standalone-LSP journey with framing and orphan gates (#1674 slice G)

Drives issue step 8 through the installed binary over real OS pipes
with a generic framed client: initialize (capability advertisement
observed, not assumed), initialized, didOpen plus didSave of the real
fixture file, one bounded ripr.collectWorkspaceStatus inspection bound
to selected_single_root over exactly the journey checkout (spaces and
non-ASCII path round-tripped through percent-encoded file URIs),
shutdown with a null result, and exit. Stdout must parse as strict
Content-Length frames end to end; the server process must be gone after
exit or it is killed and refuses as an orphan. New unit tests pin URI
encoding, strict framing with refusal shapes, capability/status
binding, and response-id pairing.

* test(release): prove saved analysis, bound waits, reap before join (#1674 slice G)

Address review on the standalone-LSP journey: the status poll now
requires a committed full snapshot binding the opened document to its
saved content by digest (run_status plus analyzed_saved_content_identity
in the receipt) instead of accepting root selection; response waits run
against one absolute deadline per request; foreign response ids refuse
at once instead of queuing as notifications; and the child is reaped
(kill past a short grace) before the pipe readers join on every path,
so a malfunctioning server can neither hang the harness nor escape as
an orphan.

* test(release): sequence handshake, baseRef, refresh-to-full (#1674 slice G)

Follow-up from e2e falsification: the saved-analysis poll timed out
because the interactive scope honestly discloses seams_deferred and
never commits full without an explicit refresh (RIPR-SPEC-0105), and the
server resolvesarella baseRef from initializationOptions (defaulting to
a nonexistent origin/main in the disposable fixture).

The journey now passes baseRef=base_sha at initialize, pairs every
phase to an observed response (notifications raced past the async
initialize handler are refused with -32002), binds the save by digest
at the disclosed interactive scope, sends ripr.refresh, and polls until
the full snapshot still binds the opened document. The refresh command
joins the observed capability gate with its own refusal case.

* test(release): reject conflicting duplicate Content-Length (#1674 slice G)

* fix(repo): unblock main policy gates broken by slice G (#1740) (#1742)

check-process-policy: allowlist the installed-LSP journey's single
Command::new site (spawns packaged ripr lsp --stdio over OS pipes,
bounded argv, no shell).

check-static-language: reword killed to terminated in the orphan-budget
doc comment and refusal string.

check-local-context: replace the /home/tester/.rustup test dummy with
a synthetic non-home path (real machine paths are removed, not
allowlisted, per policy).

* fix(agent): bind receipt to agent-attributable delta (#1738) (#1741)

* fix(agent): bind receipt to agent-attributable delta (#1738)

The explicit receipt re-invocation refused with a stale binding
immediately after a clean after phase. Root cause: after.delta_sha256
hashed the full cage delta, but the after phase itself writes
agent-verify.json, agent-receipt.json, the status output, the apply
record, and the rewritten attempt manifest after recording it. Every
added operational path perturbs the re-evaluated delta, so the binding
could never match on re-invocation.

The durable binding now covers the agent-attributable delta: changes
under the policy's expected operational writes are excluded before
hashing, at both record and check time. The full verdict still
evaluates the unfiltered delta, and the receipt check still binds
verdict status plus violations; only the changed-paths display list
(which operational outputs legitimately extend) left the comparison.
Consumed artifacts keep their individual content bindings (packet,
baseline, and verify digests), which the path-set delta never covered.

Verified: the issue repro now ends in an improved receipt; a
post-after agent-surface addition still refuses; post-after
operational churn succeeds.

* fix(agent): name pre-upgrade manifests instead of crying tamper (#1738)

Follow-up to the agent-attributable binding: attempts recorded by
older binaries hash the full delta, so a re-invoked receipt on an
unmodified tree now explains itself (start a new attempt with the
current binary) instead of reporting tampered-or-stale. The after
phase is terminal, so no in-place rebind exists; verified that
re-running after on a finished attempt refuses with requires
awaiting_edit.

* test(doctor): widen shim-probe launch retry to survive bursty ETXTBSY (#1743) (#1744)

probe_published_tool_with_command retried retryable launch failures 3x
with 25ms sleeps; check-pr on clean main caught three consecutive
ExecutableFileBusy inside ~50ms under full-suite parallelism, failing
doctor_tool_check_times_out_a_hanging_tool_100_times. Ambient
measurement shows zero ETXTBSY in 23k lone execs, so the event is rare
and bursty: eight attempts (~175ms worst case) cover three times the
observed burst while staying far below every elapsed assertion. Only
launch failures retry; real verdicts still break first try. Test-only;
no production change.

* test(ci): name the wedge from the no-features log when workspace runs never start (#1729) (#1745)

A timeout kill in the earlier no-default-features step cancels the job
before the workspace runs start, so their logs never exist and the
summary could only report log_missing. windows-advisory-summary now
accepts the already-uploaded nofeatures-test.log pair as an optional
fallback and renders a single-sample partial observation naming stuck
tests (parsed from slow-timeout notices, never verdicts) when both
workspace runs are unusable. Exit still fails loudly on missing
stability evidence. Proven end to end against the run 35497884041 wedge
shape: names initialize_surfaces_poisoned_client_features_store_as_a_session_failure.

* fix(analysis): require sink-level identity for Yes discriminators (#1746) (#1747)

* fix(analysis): require sink-level identity for Yes discriminators (#1746)

A Yes discriminator whose discriminating oracle is not bound to the
changed sink is the coverage mistake, not discrimination. File
proximity, name mention, and token coincidence observe a nearby value
at best: cap discriminate at Weak unless the strongest matched oracle
carries entity-level evidence (DirectOwnerCall, HelperOwnerCall,
AssertionTargetAffinity, OwnerNamedTest -- the last preserving the
spec'd variant-bound credit, RIPR-SPEC-0106 Part B).

Graduate the confirmed over-credit shape to the evidence-promotion
honesty corpus (RIPR-SPEC-0108): new fixture
rust_binding_status_wrong_owner_observer pins non-promotion for a
reached-but-unobserved binding comparison. Re-bless
rust_constructor_field_observation discriminate text (classification
unchanged: propagation_unknown, SPEC-0005 conservative diff-scoped
principle).

* review: clarify identity-conferring relation set in strongest_identity docs

* fixup: keep entity-only identity; specificity conjunction over-corrects

The entity+specificity conjunction demoted mutation-proven aligned rows
(p1741 helper rows via the DirectOwnerCall agent-delta test; p1705 L91
via the withhold test): a direct-owner oracle whose shape the unit tests
validate still fails the token-specificity leg on real assertion text.
Entity binding alone is exact on every measured case (p1741 5->3 with
helpers intact; p1705 16->1 with the withhold-driven row intact), so the
specificity half is reverted. Entity-bound-but-non-observing oracles
(catalog-consistency for description text) stay a documented residual
for freeze-pass adjudication.

* fixup: address review threads (rendered linkage, tie coverage)

- Withheld discriminator now names the strongest oracle's actual
  relation (weak_token_substring, same_test_file, ...) instead of
  always blaming token coincidence; same-file regression test asserts
  the rendered reason.
- Tie-order coverage both directions (weak-then-direct,
  direct-then-weak) asserting Yes either way.
- Re-bless the two fixtures carrying the cap summary text
  (classifications unchanged).

* test(analysis): pin pre-cap matched-set completeness for past-cap same-diff tests (#1748) (#1749)

* test(analysis): pin pre-cap matched-set completeness for past-cap same-diff tests (#1748)

* fixup: return Result instead of expect in past-cap matched-set test

* test(analysis): pin catalog-description structural-oracle promotion as control (#1748) (#1750)

* test(analysis): pin catalog-description structural-oracle promotion as control (#1748)

* fixup: align fixture SPEC with exercised diff; list control in RIPR-SPEC-0108

* fixup: replace prohibited static-language term in fixture SPEC

* fix(analysis): confirm ReturnValue observation with delta tokens; bind discrimination to one oracle (#1748) (#1751)

Narrowed specificity retry after the #1747 revert: observation
confirmation for ReturnValue probes with before-text requires a
whole-word hit on a delta token (after-token absent from before-text),
and a Yes discriminator withholds as specificity_unbound unless one
oracle binds entity identity, strong observation, and change reference.

Evidence: corpus control rust_catalog_description_structural_oracle is
now must_not_promote (max weakly_exposed); replica fixture demotes
exposed->weakly_exposed on structural evidence alone; p1745 replay
blast radius is exactly 2 call_deletion rows (documented residual:
genuine wedge tests link but rate weak under the pre-existing strength
taxonomy).

* test(determinism): pin owned-analyzer invariant in eval-sweep E2E (#1712) (#1753)

The E2E now asserts the route executed the invocation-owned analyzer
copy (path under the invocation root) and that the receipt digest
matches the staged bytes. Reverting the owned-copy staging fails
deterministically at the path assertion; the drift detector stays
pinned by binary_swap_between_subjects_is_detected.

* test(release): freeze 0.11 challenge selection manifest with enforced validator (#1675)

Versioned selection of the 10 frozen real-repo behavior cases (17
row-slice items; all diff digests verified against the rounds record)
with exact base/head/tree identities, per-row expected directions,
judgment provenance, and explicit scope stances. New gate
check-release-challenge-selection (wired into precommit) enforces
schema, digest-bound diffs, scope stances, and reports acceptance
floors without lowering unmet ones (should_limit 0/3, swarm scope
unauthorized).

* release(npm): establish publisher workflow identity (#1781)

* docs(npm): keep publisher contract claims static

* ci(npm): budget publisher contract workflow

* ci(npm): keep publisher allowlist change standalone

* release(pypi): establish trusted-publisher workflow identity (#1781)

Add the non-publishing source-owned `publish-pypi.yml` contract for the `ripr-rs` pending publisher and register its bounded workflow policy entry.

The workflow binds `EffortlessMetrics/ripr`, filename `publish-pypi.yml`, and environment `pypi` without OIDC or upload authority.

* fix(vscode): admit exact catalog producer identity

* test(vscode): cover producer catalog identity

* fix(release): reject uppercase catalog digests

* docs(changelog): note catalog admission repair

* test(release): satisfy result-state lint

* test(release): keep digest rejection panic-free

* release(pypi): prepare source Linux alpha wheel and exact publication (#1791)

* release(pypi): qualify source Linux alpha wheel and admit exact publication

* fix(pypi): preserve exact source license bytes and file endings

* fix(pypi): qualify isolated no-config use and preserve alpha development packaging

* test(release): refresh alpha-bound evidence and enforce real mutation controls

* ci(pypi): enable real Python publisher review evidence

* fix(pypi): bind main source and make qualification retries explicit

* prepare(npm): stage Linux package files pending exact Rust policy insertion

Preparation-only candidate. The reviewed 11-line non-Rust retention exception in xtask/src/main.rs is intentionally not present yet because large-blob transport failed. Do not merge or publish this incomplete tree. The complete reviewed local tree is 3539ffca128a658dc9add0959ff03e099aa5c0a3.

* fix(npm): retain bounded qualification scripts

* fix(npm): report missing consumer tools clearly

Check node/npm discovery before creating Paths, drive both missing-tool paths through the real consumer in a regression test, and remove an unused import. Nine unit tests and both four-route installed consumers pass; no publication behavior changes.

* test(npm): verify public npx and fresh reinstall routes

* release(npm): qualify scoped package identity

* test(npm): bound native symlink control to POSIX

* release(npm): admit exact artifacts for stage-only publishing (#1796)

* release(npm): admit qualified artifacts for stage-only publishing

Bind exact main qualification, native bytes and consumer evidence before a separate stage-only OIDC job. Keep trust setup, live staging and public promotion as explicit later operations.

* fix(npm): validate workflow contexts and release API shapes

Move runner-specific npm paths into step environments, add pinned actionlint checks, and reject null authority fields with explicit diagnostics.

* fix(npm): recheck public versions after environment approval

Repeat the bounded anonymous registry preflight immediately before staging and reject a version published during the approval wait. Exercise the actual workflow guard with fresh-state fixtures.

* release(npm): qualify fresh alpha.2 native artifacts (#1797)

* release(npm): qualify fresh alpha.2 native bytes in one run

* fix(npm): reject malformed native API collections explicitly

* fix(npm): stage the admitted tarball as an explicit local path (#1798)

* security(deps): reconcile unic advisory suppressions to the source graph (#1799)

Reconcile the accepted ripr-swarm#3890 disposition against source main: bound the six rust-unic suppressions through 2026-12-31 with recorded reason, owner (EffortlessMetrics/ripr#1430) and revisit trigger; correct RUSTSEC-2025-0098 from rust-unic umbrella to unic-ucd-version; set unused-ignored-advisory = deny so a suppression cannot outlive its crate. Sync docs/learnings/python-parser-substrate-ecosystem.md (0098 label, actual advisory fields, dated ruff_python_parser status). No manifest, lockfile, or source change.

* fix(ci): bind Coverage tests to the instrumented analyzer (#1800)

Bind Coverage's retained workspace tests to the explicitly selected instrumented analyzer using the supported exported-environment build/test/report recipe. Reject invalid explicit binary overrides and selected coverage-target misses instead of substituting ordinary artifacts.

Share the test-only resolver across four analyzer-consuming harnesses, retain their fixture and digest assertions, and synchronize the executable documentation and narrow workflow command budget. Production analyzer code, manifests, lockfile and versions are unchanged.

Proper exact-head LLM review and independent failure/precedence challenges are complete. Five protected checks and Routed Rust Small pass. Full hosted Coverage passes8072 tests, including2386 xtask cases and all64 affected harness cases; actual LCOV contains both crates and instrumented analyzer entrypoint hits. Required Rust passes7984 nextest tests with zero skipped, plus88 Perl tests. The unrelated cancelled Windows advisory is not counted as passing.

Reviewed head: f7182d8a09c42a43425cba157bd8d1e09adcbe58
Reviewed tree: 0a6d3dd0e0083007547591cc10fdb2b0a0edb0de

* fix(vscode): exclude workspace build output and bound canonical VSIX inventory (#1801)

Preserve the full existing test suite and add the VSIX inventory repair from #1787: exclude target output, inspect the canonical produced archive, bound entry count and unpacked bytes, and record checked size totals. Five additive controls cover a real ZIP sentinel, artifact families, bounds, dependency-local target files and overflow.

Independent root Codex LLM review of current head 9730cf86042357d8198c05930553afd787b00937 and tree 7b78b0ac5093e5e9ef623d1b78599930729bc31b is complete. Five review threads have evidence-backed scoped dispositions and zero remain unresolved. Five protected checks and hosted Rust Small pass. Fresh JUnit passes 8077 tests, including all five inventory controls; canonical VSIX has 412 files/781.61 KB and 229 editor tests pass.

This is the canonical package repair. The independently rebuilt marketplace publication route remains outside this claim as explicitly assigned to #1489/#1646. Conservative dependency-marker compatibility and unknown external strict receipt consumers remain documented boundaries.

* fix(release): make VSIX GitHub asset upload no-clobber (#1789)

Use the bounded Rust attachment helper, pass tag as environment data, preserve workflow budget/catalog checks, and verify asset bytes without release creation or replacement.

Final exact-tree local and hosted proof plus independent source review are recorded in PR #1789. This merge does not authorize or perform release publication and does not close broader release-readiness or agent-experience gaps.

* release: prepare nonpublishing final server subjects (#1813)

Prepare the canonical twelve-subject inventory, provenance inputs, checksum list and digest-bound diagnostic receipt without attestation, credentials or upload authority. Preserve observed-snapshot and nonpublishing limitations.

Pinned Rust 1.95 native qualification passed all 8,009 tests, strict workspace gates and identity-bound routed evidence on the exact reviewed tree. Current-head reviews and scoped changelog follow-up are recorded in PR #1813.

Partial progress for #1502 only; genuine producer/verification/live admission, separately authorized signing permissions and final governed source integration remain outstanding.

* test(release): bind catalog fixtures to real producer admission

* docs(test): name exact catalog producer in direct editor tests

* fix(vscode): admit exact RC manifest after stable absence (#1790)

* fix(vscode): admit exact RC manifest fallback

* fix(vscode): retain selected manifest observation

* test(vscode): pin admitted RC fallback law

* test(vscode): retain manifest placement observation

* fix(vscode): retain manifest placement observations

* fix(vscode): bind placement observation to install receipt

* fix(vscode): surface exact manifest placement

* test(vscode): retain trusted placement observations

* test(vscode): prove placement evidence stays outside cache identity

* test(vscode): surface selected manifest placement

* test(vscode): exercise RC fallback through real manifest admission

* test(vscode): preserve producer identity after source catalog integration

* ci(vscode): qualify selected editor candidates without duplicate Rust gates

* policy(vscode): bind deterministic manifest transport mock references

* fix(ci): bind routed proof controls to their YAML scopes

* fix(test): qualify routed workflow helper from child module

* fix(test): propagate workflow fixture lookup errors

* fix(ci): exclude YAML comments from concurrency isolation proof

* fix(release): consume native v2 source promotion acceptance (#1815)

* fix(release): consume exact native v2 acceptance in source promotion

* fix(release): bind native acceptance to hosted admission repository

* fix(release): preserve J5 diagnostics without legacy authority

* fix(test): retain native PowerShell instrument lookup error

* test(release): bind refusal controls to actual native authority gates

* Preserve source-owned synthetic geometry without native authority

* Account for bounded synthetic workflow CLI proof processes

* test(promotion): reuse owned Linux cache for compiled workflow proof

* test(promotion): isolate compiled final-gate proof and retain failures

* fix(npm): reject normalized ZIP member wire identities (#1842)

* fix(npm): bind retained explanations to selected findings (#1843)

* fix(release): separate server product identity from RC placement

* style(release): format adapter dispatch and catalog

* test(release): isolate RC upload guard from live transport

* test(release): assert source-binding rejection reasons explicitly

* test(release): align pinned workflow predicate with placement transport

* docs(sync): stage public history and repairs in swarm before promotion (#1854)

* docs(sync): stage public history in swarm before promotion

* docs(sync): require verified base enforcement and byte-safe inventory

* docs(sync): fail closed in standalone final ancestry checks

* docs(sync): label staged return as target pending source admission

* docs(sync): refresh the exact tracking ref and name captured public input

* docs(sync): account for nested public imports across swarm transitions

* docs(sync): align contained return proposal and unresolved source boundaries

* docs(sync): scope historical join heads and back-sync symbols

* docs(sync): require an admitted first-leg merge path

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(promotion): select join for a distinct reviewed tree (#1855)

* fix(promotion): choose join for a distinct reviewed tree

* fix(promotion): compare admitted tree hashes independent of case

* docs(promotion): describe conditional ancestor mode selection

* fix(deps): move public xtask to non-yanked ZIP 9 (#1867)

Port the accepted swarm #8180 dependency/API migration onto current source under #1766. Preserve Unix creator metadata on Windows and assert real archive modes and compression.

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(pypi): retain installed consumer evidence (#1578) (#1875)

* fix(packaging): retain bounded Python consumer diagnostics

* fix(packaging): preserve truncated consumer failure evidence

* fix(policy): register bounded Python consumer recorder

* fix(packaging): retain terminal diagnostics on integrity refusal

* fix: persist independent consumer output capture refusals

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(deps): bump tokio to 1.54.1 for RUSTSEC-2026-0386 (#1878)

The advisories lane of cargo-deny (security.yml) fails on tokio
1.53.1: RUSTSEC-2026-0386 reports AsyncFd unsoundness fixed in
>=1.53.3. The exact-base Security run on 733ae775f passed on
2026-10-20 with the same Cargo.lock; the advisory entered the
database afterward, so every open PR hits this required check.
Lock-only semver-compatible bump, no manifest change.

Inherited repair routed separately from
EffortlessMetrics/ripr#1877 (ripr-swarm#9663 lane).

* release(npm): carry the npm dist-tag guard to the source-repo workflow gates (#1877)

Port the swarm check-release-targets npm workflow guard into check-workflows: npm publish needs exactly one literal non-latest --tag, npm dist-tag add/set needs a literal non-latest tag, variables/expressions/substitution/quoting are refused, --dry-run is exempt. Folded scalars, quoted run values, YAML escapes, block-header comments and --cache value-flag shifts are decoded or held so no form bypasses the scan. The checked-in publish-npm.yml passes with its literal --tag=next; its latest mutations are refused. RIPR-SPEC-0180 mappings, PR slice and docs/CI.md updated. Fixes EffortlessMetrics/ripr-swarm#9663.

* docs: use the published Cargo lockfile for installation (#1864)

Use cargo install ripr --locked in README and Quickstart, and explain the published lockfile. Fresh current-head native proof ran all 22 required commands with 8,042 passing tests and zero skips; the normalized result consumed the exact matching artifact and passed. Closes #1863.

* ci(release): attest server release subjects in an OIDC-only job; pin third-party actions (#1885)

* ci(release): attest server release subjects in an OIDC-only job; pin third-party actions

Split release-server-binaries into read-only assemble, OIDC-only attest+verify,
and contents:write upload. Pin third-party actions to full SHAs and scope
badge-endpoints write permissions to its job. Steps toward #1502.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvmPmmfDM9PN7akr2q53VM

* ci: pin first-party actions in secret- and write-holding workflows

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvmPmmfDM9PN7akr2q53VM

* test(release): lock attest/upload permission isolation in release-server-binaries (#1502)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvmPmmfDM9PN7akr2q53VM

---------

Co-authored-by: Claude <noreply@anthropic.com>

* docs(release): reconcile exact RC authority and public state (#1848)

* docs(release): reconcile exact RC authority and public state (#1847)

* docs(release): exclude RC subjects from historical recovery

* docs(release): record RC reconciliation in changelog

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>
Co-authored-by: Claude <noreply@anthropic.com>

* Restore swarm config test helper; ripr's .git fixture boundary collides with swarm's own .git setup

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SvmPmovg62d…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant