Skip to content

ci(gates): record the flows dependency floor at 331/303/3 - #8352

Merged
M3gA-Mind merged 1 commit into
tinyhumansai:mainfrom
M3gA-Mind:chore/kernel-floor-raise-331-303
Oct 23, 2026
Merged

M3gA-Mind merged 1 commit into
tinyhumansai:mainfrom
M3gA-Mind:chore/kernel-floor-raise-331-303

Conversation

@M3gA-Mind

Copy link
Copy Markdown
Collaborator

Summary

Problem

  • Every openhuman PR's CI Fast run shows kernel-floor (flows 331 vs 320) and dep-sim-calibration (303 vs 300) red, independent of its diff, because main grew past the 2026-10-21 ratchet.
  • A permanently red gate stops catching new growth.

Solution

Measured with scripts/kernel-floor.sh flows on each first-parent main merge since the ratchet (Linux, each commit checked out as-is with submodules):

main commit merge packages / names / native
bd5a6c8 ratchet (#8176) 320 / 300 / 3
b56f31f #8179 tinytools 0.6 320 / 300 / 3 (version bumps only)
84d6cda #8198 inference out 322 / 302 / 3 (+tinyjuice-host, +tinystoragedrivers-types)
adb2b6d #8229 TSD v2 could not check out (unfetchable pinned submodule)
495efc6 #8231 tinywallet pin 331 / 303 / 3
93e9c55 … da6cec5 every later merge 331 / 303 / 3

Submission Checklist

  • Tests added or updated: N/A, gate thresholds only; the gates themselves are the check.
  • Diff coverage ≥ 80%: N/A, no source lines.
  • Coverage matrix updated: N/A, no behaviour change.
  • All affected feature IDs listed: N/A.
  • No new external network dependencies introduced: N/A, records existing ones.
  • Manual smoke checklist updated: N/A.
  • Linked issue closed via Closes #NNN: N/A, no issue.

Impact

  • No runtime change. CI only: the two gates go green at the current graph, and any further growth fails them again.

Related

  • Closes: N/A
  • Follow-up PR(s)/TODOs: the +8 crypto duplicates are debt. "core: unify RustCrypto generation with tinystoragedrivers-secrets" (move core's direct chacha20poly1305/hkdf/hmac, and likely sha2/aes-gcm, to the newer generation with ciphertext-compatibility tests), then ratchet the floor back down.

AI Authored PR Metadata (required for Codex/Linear PRs)

Linear Issue

  • Key: N/A
  • URL: N/A

Commit & Branch

  • Branch: chore/kernel-floor-raise-331-303
  • Commit SHA: 3dc0187ea2

Validation Run

  • pnpm --filter openhuman-app format:check: N/A, no frontend change
  • pnpm typecheck: N/A, no frontend change
  • Focused tests: rust-gates-off kernel-floor + dep-sim-calibration on the remote check host
  • Rust fmt/check (if changed): N/A, no Rust changed
  • Tauri fmt/check (if changed): N/A

Validation Blocked

  • N/A

Behavior Changes

  • Intended behavior change: none at runtime.
  • User-visible effect: none.

Parity Contract

  • Legacy behavior preserved: yes.
  • Guard/fallback/dispatch parity checks: the ratchet still fails on any growth past 331/303/3 and still demands lowering on a shed.

Duplicate / Superseded PR Handling

  • Duplicate PR(s): none
  • Canonical PR: this one
  • Resolution (closed/superseded/updated): N/A

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

Or wait 47 seconds for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews 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: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 073ad2cb-d902-44c4-ac91-241bef209d71
📥 Commits

Reviewing files that changed from the base of the PR and between 8e73d9b and 3dc0187.

📒 Files selected for processing: 2
  • scripts/ci/check-dep-sim-calibration.sh
  • scripts/kernel-floor.limits
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T21:50:04.279146Z 3dc0187 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tinysweeper

tinysweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

Reviewed head: 3dc0187ea2f6aac22f8c8ce1cd6557a6b587e121

Verdict: Ready for maintainer review · Priority: none
Coverage: Reviewed 2 of 2 files.
Pull request purpose (title): ci(gates): record th…

Diagnostics and supporting details

Full summary

Pull request purpose (title): ci(gates): record the flows dependency floor at 331/303/3. Tiny Sweeper completed its review; deterministic results follow.

Review snapshot

Change surface Files Review signal Count
Production 2 Active findings 0
Tests 0 Noted findings 0
Documentation 0 Resolved findings 0
Configuration 0 Pending checks/questions 0

Completeness: Complete
Test assessment: No supported feature-to-test mapping was available; this does not mean tests are absent or passed.

What changed

Records the flows dependency floor at a new measured level and updates its paired name count to match. In `scripts/kernel-floor.limits`, the ceiling entry changes from `flows:320:300:3` to `flows:331:303:3`, with a comment documenting measurements across first-parent main merges since the prior ratchet (#8179, #8198, #8229/#8231) and attributing the name delta to the TinyStorageDrivers v2 split and the package delta to a second RustCrypto generation. In `scripts/ci/check-dep-sim-calibration.sh`, `EXPECTED_NAMES` changes from 300 to 303, with a matching provenance comment and a cross-reference to the `kernel-floor.limits` entry. Runtime behavior is unchanged; the effect is that the `kernel-floor` and `dep-sim-calibration` gates align with the current dependency graph.

Features

  • Modified — Flows dependency floor ceiling raised to 331 packages / 303 names / 3 native: `scripts/kernel-floor.limits` now records `flows:331:303:3` instead of `flows:320:300:3`, so `check-kernel-floor.sh` no longer fails on the growth that main accumulated since the 2026-10-21 ratchet; any growth beyond this level still fails, and a shed still demands lowering the floor. (scripts/kernel-floor.limits)
  • Modified — Dep-sim calibration expected-name count moved to 303: `EXPECTED_NAMES` in `scripts/ci/check-dep-sim-calibration.sh` increases from 300 to 303 in lockstep with the limits entry, so the script's `dep-sim.py --expect-names` assertion matches the current graph rather than failing at 303 vs 300. (scripts/ci/check-dep-sim-calibration.sh)

Tests

No supported feature-to-test mapping was produced. Test execution is not inferred.

Findings

No active actionable findings.

Before merge

None.

Agent review details

critique

  • Conclusion: Success
  • Scope reviewed: all assigned evidence
  • Lane summary: Reviewed 2 files; 0 findings. _The code index is behind this pull request (indexed at `5f03f797220e`), so retrieved context may be out of date._

security

  • Conclusion: Success
  • Scope reviewed: all assigned evidence
  • Lane summary: Reviewed 2 files; 0 findings. _The code index is behind this pull request (indexed at `5f03f797220e`), so retrieved context may be out of date._

tests

  • Conclusion: Success
  • Scope reviewed: all assigned evidence
  • Positive: The tests lane is Answered and reports no findings, describing both constants as self-enforcing data points verified in both directions by their consuming gate scripts.
  • Lane summary: The change is a measured ratchet of two calibration constants: `EXPECTED_NAMES` in `scripts/ci/check-dep-sim-calibration.sh` (300 → 303) and the `flows` ceiling in `scripts/kernel-floor.limits` (320:300:3 → 331:303:3), with the measurement provenance recorded in comments. Both are self-enforcing data points — `check-dep-sim-calibration.sh` passes `EXPECTED_NAMES` to `dep-sim.py --expect-names`, so an incorrect number fails the lane, and `check-kernel-floor.sh` fails in both directions against `kernel-floor.limits`. I could not verify the two measured numbers against the actual graph (the vendored crates that moved are not checked out), so I cannot confirm the constants are correct; but nothing in the diff shows them wrong, and no other lane of this change is untested by construction. _The code index is behind this pull request (indexed at `5f03f797220e`), so retrieved context may be out of date._

commits

  • Conclusion: Success
  • Scope reviewed: all assigned evidence
  • Positive: The commits lane is Answered and reports no sensitive content in committed files.
  • Lane summary: No sensitive content in committed files. _The code index is behind this pull request (indexed at `5f03f797220e`), so retrieved context may be out of date._

description

  • Conclusion: Success
  • Scope reviewed: all assigned evidence
  • Positive: The description lane is Answered and reports no findings, noting the two constants agree with each other and with the PR's stated measurements.
  • Lane summary: I was only shown the diff for two gate-threshold files (`scripts/kernel-floor.limits` and `scripts/ci/check-dep-sim-calibration.sh`) with no repository reads, and none of the changed lines can be validated against the gate scripts that consume them from what is in front of me. The change is a recorded measurement: the limits entry moves `flows:320:300:3` to `flows:331:303:3`, and `EXPECTED_NAMES` moves 300 to 303 in lockstep, with a comment in each file pointing at the other. The numbers agree with each other and with the PR's stated measurements, so there is nothing here I can call a defect without speculating about the harness. No findings. _The code index is behind this pull request (indexed at `5f03f797220e`), so retrieved context may be out of date._
Evidence and run details
  • Models: ladder/vectors-oai3, deepseek-v4.1-flash
  • Spend: $0.004705
  • Tokens: 207979 input · 4229 output · 17408 cached · 202 embedding
  • Updated: 2026-10-23T21:48:36Z
Head State Pass summary
3dc0187ea2f6 ready for maintainer review 0 active finding(s), 0 resolved finding(s) (at 2026-10-23T21:48:36Z)

tinysweeper 0.1.2

@tinysweeper tinysweeper 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.

tinysweeper found nothing blocking. Approving.

Diagnostics

Total spend: $0.0047

@tinysweeper tinysweeper Bot added the priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect. label Oct 23, 2026
@M3gA-Mind
M3gA-Mind merged commit 4b2ce9d into tinyhumansai:main Oct 23, 2026
19 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant