Skip to content

merge queue: checking #7613 + #7529 + #7535 + #7623 + #7524 + #7551 + #7621 together on dev (c421688) - #7641

Closed
mergify[bot] wants to merge 28 commits into
devfrom
mergify/merge-queue/c511d9c105
Closed

mergify[bot] wants to merge 28 commits into
devfrom
mergify/merge-queue/c511d9c105

Conversation

@mergify

@mergify mergify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch fancy-chaource-kd7rjp of the dev queue, to test the 7 pull requests of this batch before they merge into dev.

What this draft tests

Mergify checks that the 7 pull requests of this batch still pass CI on top of dev. CI runs on this draft's code, built in this order:

  1. dev at c421688
  2. #7613 + #7529 + #7535 + #7623 + #7524 + #7551 + #7621, the pull requests of this batch, tested together as one tip

🕵️ Where it stands: failed, splitting the batch

The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.

Follow the dev queue in the dashboard

What happens next

  • Mergify checks smaller batches of the 7 pull requests of this batch until it finds which pull request is responsible.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: c4216884a8bcac8355919f9d79dd26df50818040
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 7613
    scopes: []
  - number: 7529
    scopes: []
  - number: 7535
    scopes: []
  - number: 7623
    scopes: []
  - number: 7524
    scopes: []
  - number: 7551
    scopes: []
  - number: 7621
    scopes: []
queue_base_sha: c4216884a8bcac8355919f9d79dd26df50818040
scopes: []
...
Required conditions of queue rule dev for merge
Required conditions to stay in the queue

bobikenobi12 and others added 28 commits November 25, 2026 04:14
/api/webhooks/paddle verifies Paddle-Signature (HMAC-SHA256 over ts:body,
constant-time, 5-minute window, any h1 during rotation; fails closed without
config), normalizes subscription/transaction/adjustment events into the
provider-neutral seam types, and applies each exactly once through the shared
(provider, event_id) ledger.

applyBillingEvent writes organization_billing under an occurred_at watermark
(no regression from out-of-order or replayed events, no revival of a canceled
subscription, one subscription per slot, never over a live Stripe one), keeps
the paddle_transaction mirror, grants credit packs once and reverses them on a
full refund or chargeback, and alerts the operator on chargebacks, partial
refunds and org mismatches. custom_data is untrusted: the row holding the
subscription decides the org; custom_data only names one that exists.

A Paddle past_due subscription keeps its plan for a 7-day grace
(entitlementStatus), wired into the entitlement readers; Stripe rows are
unchanged. The Paddle adapter is registered in the seam with parseWebhook;
purchase/plan/usage methods throw until L4/L5.
Rewrite the 23 pages under guides/design-project to the how-to shape (goal,
Before you begin, Steps, Check that it worked, Related), each under the
1,000-word cap, with facts checked against the console, CLI and catalog.

Split out the material that is not a task:
- concepts/canvas: how cards, rules, status, drift and collections read
- concepts/keyless-database-auth: the proxy, roles and setup Job per cloud
- concepts/apps-repository: sync, commit-back, placements, permissions
- reference/node-pools: every node pool field, rule and cloud difference
- reference/ingress-nginx-annotations: the annotation table
- troubleshooting/design-project: design, plan and GitOps problems

Add guides/design-project/node-pools; rename cost-sidebar to cost (with a
redirect); fix inbound anchors; drop the section's ledger entries; regenerate
the console docs index.
…_feedback and read consolidation (AGT-L4b)

The MCP server now lists exactly the declared external tools: 19 with every scope, 12 under
?readonly. The in-app read tools are no longer listed under their own names; each declared read
answers through the in-app tools it `replaces`, run in-process, so both agents read through the
same server actions and PDP verbs.

- Reads (lib/ai/mcp/reads.ts): list_resources, get_resource (incl. design with revision),
  get_plan_result (counts, plan_sha256, monthly cost change), catalog, cidr_for_hosts,
  compare_providers, get_usage, search_docs. Money in minor units, ISO timestamps, unknown id
  is a refusal. A design is returned without any stored credential.
- Design (lib/ai/mcp/design.ts): validate_design, apply_design_patch (JSON Patch add/remove/
  replace, stale base_revision is a conflict), create_project. Writes go through
  updateProjectDesign / tryCreateProject; problems come back in `errors`. The idempotency key is
  recorded, hashed with org and person, on the design-write audit row.
- scan_repo queues a keyed scan (scanRepo takes an idempotency key, serialised by an advisory
  lock); send_feedback emails the team inbox on hosted, received:false on self-managed.

Closes #7470
…d; feedback is rate limited

Queuing a repository scan now asks the PDP for create on projects, and accepts only a public
https:// repository URL with no embedded credentials whose host resolves to public addresses
(lib/scanner/repo-url.ts, over the console's outbound-request guard). The import panel shows the
sentence under its field. send_feedback counts each message against a per-person and a
per-organisation hourly limit (lib/rate-limit.ts) and answers rate_limited past either.

Refs #7470
The recorded-waivers log rode inside the evidence roll-up behind
`.limit(100)` and was paged in the browser with a client `.slice`, so
waiver 101 and later were unreachable on a compliance record.

- `queryEvidenceWaiversPage` (lib/queries/evidence.ts): a keyset builder
  on the shared codec, ordered by the ms-truncated recorded time then the
  job id, reading limit + 1, no cap. New read procedure `evidence.waivers`.
- The in-force verdict is decided in SQL (`waiverInForce`, a CASE over
  `pg_input_is_valid`, so an unparseable expiry reads as expired, not as
  an error). The roll-up now reads only the in-force waivers, uncapped,
  which is all the posture needs (the waived facet, drawer, counter).
- evidence-waivers.tsx: `useKeysetList` + `ListFooter`; no CountPill, no
  "Showing the 100 most recent", no page numbers; region error, refresh
  notice and empty state.
- evidence-client.tsx: the Environments heading loses its count; the
  skeleton loses the pill placeholder.
- Ledger: evidence-waivers.json deleted; evidence.json is the `bounded`
  decision for the one-row-per-environment roll-up.
- Tests: builder unit test (limit + 1, cursor of the last kept row under
  ties, later-page predicate, universeEmpty), panel walk to row 130 with
  ties across boundaries, footer failure/retry, empty and first-page
  error, a real-Postgres integration test, and a tenancy fixture for the
  new procedure.

Closes #7488
…ects and its revocation (AGT-L2-F)

Every MCP request now reads the agent_oauth_grants row for the token's
(subject, client) as one of three answers: live, revoked or none.

- live: the actor acts in the grant's organization only (the person must
  still be an active member), with the token's scopes narrowed to the
  grant's and its projects to the grant's list.
- revoked: every grant the person gave the client is revoked, so the
  request is answered 401 invalid_token. A disconnect takes effect on the
  next request, whatever lifetime the access token has left.
- none: a token issued before consent grants keeps today's behaviour.

ceilingFromAccessTokenClaims takes the grant's project list explicitly.
A token naming no client, a grant with no organization and a grant with
an empty project list are refused.

Closes #7511
…ount pill (LST-12)

The support cases list was the reference implementation LST-0 lifted its
cursor codec and footer from; it now reads through those shared pieces
instead of its own copies.

- queryCasesPage pages through lib/queries/keyset.ts (ms-truncated sort
  key, row-value predicate, limit+1 for an exact end) and returns
  { rows, nextCursor, facets, universeEmpty } with a literal facets key.
  universeEmpty is read off the unfiltered facet pass.
- support.cases takes keysetPageInput(): an opaque cursor (malformed is
  a 400), limit default 50, max 100. CaseCursor, nextCaseCursor and
  CASE_PAGE_SIZE are gone; listCasesForOwner is the bell's unpaged read.
- CaseList uses useKeysetList + ListFooter; the hand-rolled
  useQuery/useInfiniteQuery pair, mergeCasePages and the inline footer
  are deleted, as is the PageToolbar count.
- The route prefetches the first page of the same infinite query.
- list-standard/support-cases.json deleted: nothing left to declare.

Closes #7494
@mergify mergify Bot closed this Nov 25, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/c511d9c105 branch November 25, 2026 10:46
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