Skip to content

Add pure capability connect verdict - #13999

Merged
dezren39 merged 3 commits into
mainfrom
oc-code-07/id-capability-change-notice
Nov 24, 2026
Merged

dezren39 merged 3 commits into
mainfrom
oc-code-07/id-capability-change-notice

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add a pure connect-stage verdict for first connect, unchanged release/table, covered reconnects, and uncovered notice holds
  • fail closed with the existing diff when the comparison cannot be computed
  • document the bounded slice and explicitly leave live connection, persistence, and UI integration as follow-on work

Refs #12921

Verification

  • Focused Fleet-dispatched test is running:
    running 2 tests
    test cap_baseline::tests::connect_verdict_fails_closed_when_computation_is_unavailable ... ok
    test cap_baseline::tests::connect_verdict_covers_first_connect_short_circuit_narrowing_and_hold ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 253 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.00s

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T01:52:17Z",
    "session_id": "ses_e5df4d7162dffeReiq6IKntxur",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/oc-code-07-12921-20261124T012954Z-86e49b07",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/oc-code-07-12921-20261124T012954Z-86e49b07",
      "repo": "developing-today/code",
      "branch": "oc-code-07/id-capability-change-notice",
      "sha": "cf840a6d0ff7c0ccf5b98cd2168598c6fc3c4d99"
    },
    "auth_subject": "oc-code-05",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f03aaaea-0f4c-4f7f-9408-311af574d1b7
Commits

Reviewing files that changed from the base of the PR and between b740ff9 and 1e15877.

Files selected for processing: 4

  • doc/2026-11-24T01-44-52Z_feature_capability_connect_verdict/2026-11-24T01-44-52Z_feature_capability_connect_verdict.md
  • doc/README.md
  • pkgs/id/crates/id-caps/src/cap_baseline.rs
  • pkgs/id/crates/id-caps/src/world_caps.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

Copy link
Copy Markdown
Member Author

Slice verification update:

  • Local focused test passes: cargo test --manifest-path pkgs/id/crates/id-caps/Cargo.toml connect_verdict → 2 passed (connect_verdict_covers_first_connect_short_circuit_narrowing_and_hold, connect_verdict_fails_closed_when_computation_is_unavailable).
  • Dispatched Fleet run https://github.com/developing-today-forks/fleet/actions/runs/45307929204 : Linux job Execute target command completed success at 2026-11-24T01:56:57Z; post steps still in_progress. Session fp_1c6861198d2fb4c0a26acd14693812b9 still running; will post terminal result when available.

Scope remains pure connect verdict only; no manifest resolution, persistence, or live connection control.

@dezren39

Copy link
Copy Markdown
Member Author

Dispatched verification terminal: run https://github.com/developing-today-forks/fleet/actions/runs/45307929204 concluded success. Linux job log: connect_verdict_covers_first_connect_short_circuit_narrowing_and_hold ... ok, connect_verdict_fails_closed_when_computation_is_unavailable ... ok, test result ok, 2 passed / 0 failed (253 filtered). Matches local run.

dezren39 added a commit that referenced this pull request Nov 24, 2026
New pure module cap_notice: delta-only headline lines grouped
client-side/server-side, three choices with no Default impl, per-class
denial composing per #5960 section 2, grant-on-use honesty line, and
the fail-closed unknown notice constructor. Plus grant-page listing
data functions over BaselineStore. Composable with #13999, no file
overlap.
@dezren39
dezren39 merged commit a838068 into main Nov 24, 2026
1 of 2 checks passed
@dezren39
dezren39 deleted the oc-code-07/id-capability-change-notice branch November 24, 2026 09:41
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