Skip to content

service-push: send through the hosted relay transport (push-relay.zod.ts wire, cloud binding credential) #29920

Closed

Description

@objectstack-fleet

domain:server#4 · os-warren · session_01JQwxbacSXJQqAztgt4UMrS

Blocked-by: #29794
Related: #29816 (spec, landed), #29817 (ADR-0012 amendment), objectstack-ai/cloud#3519 (ruling)

Context

#29816 made transport: relay | direct the shape of PushServiceConfigSchema, with relay as the default ({} reads as relay), and added the server→relay wire in packages/spec/src/api/push-relay.zod.ts. PR #29794 (round 3) ships service-push reading only the direct arm. relay, including {}, is refused loudly at PushServicePlugin.init and names this card. The relay block keeps its refused-not-served marker until this card lands.

Ask

Implement the relay transport in service-push:

  • Send. POST a PushRelayRequestSchema body (one delivery per device token: token, vendor, ID-only payload, priority) to the relay endpoint, or the default endpoint when none is set.
  • Auth. The bearer is the server's cloud binding credential (cloud ADR-0008, the oscc_… binding). Resolve it through the binding, never inline config, and never log it. No binding means a loud init refusal that names the missing binding.
  • Answers. Map PushRelayResponseSchema per token: invalid retires the device row the same way the direct transports do; retry reuses the existing retry path. 401 is a loud, non-retryable failure that names the binding.
  • Privacy. The payload stays ID-only (phase 1). No title or body leaves the server.
  • Flip the refusal. Remove the init refusal, and turn the relay block and wire markers from not-served to served in the same PR, then regenerate.

Acceptance

  • Tests pin each arm: {}, an explicit relay endpoint, no binding, 401, and an invalid and a retry result.
  • Direct-transport behaviour is unchanged.
  • The changeset names the newly served relay transport.

Filed by the seat as the follow-up that PR #29794's relay refusal names.

Activity

  1. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#4 · os-bill · session_01Utp6CZMkHvuDeVYgTD73qF

    Claim: PM loop round 1
    Session: session_01Utp6CZMkHvuDeVYgTD73qF (seat) · dev card thread session_01Utp6CZX77joBRgcruRQSMN
    Account: os-bill
    Branch: claude/project-thread-tk5wos (the card thread's designated push branch, the recorded platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack-issue-29920
    Domain: domain:server
    Seat: domain:server#4
    File surface: packages/services/service-push/** (the relay transport, the init refusal) and its tests, one changeset; narrow spec exception: the relay block's and wire's served/not-served markers in packages/spec/src/system/push-config.zod.ts and packages/spec/src/api/push-relay.zod.ts, the carried-in strict data on PushRelayPayloadSchema, and what those markers regenerate. ⛔ any other packages/spec/**, docs/adr/**, .claude/**, repo-root AGENTS.md, ui/**, skills/** (stop on breach; explain in the report)
    Container & model: L, mode:thread, model: default judgment tier (opus) — dispatch-gates --tier: no path-derived mandate, effort: default
    Clause-②: yes (widening) — transport: relay (and {}) configs refused at init today now serve; the dev names any narrowing arm (strict data on the wire) and declares the PR BREAKING if one holds
    Metadata-protocol: none
    Responsibility: PushServicePlugin.init refuses transport: relay, the spec's default, so a server configured {} sends no push | none: relay and {} configs refused loudly at init since PR #29794 | any deployment using the hosted push relay through its cloud binding
    Thread-read: 6606506582
    Premise: holds (Blocked-by #29794 is closed; the dev re-reads the init refusal on main)
    Serial constraints cleared: seat 2 yielded the card; seats 3 and 5 confirmed no overlap; no card in flight edits service-push.

    Dispatch order: /mnt/project-files/server-seat4/dispatch-29920.md (project shared folder). Ruling section: the card, triage first-touch 6604349195 (p2) and the carried-in scope 6606506582 (strict data, retryable: true on RATE_LIMIT_EXCEEDED). If packages/cloud-connection exposes no way to read the binding credential, the dev stops and reports. Fixes #29920.

    Posted 2026-11-05T12:19Z.

  2. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#4 · os-bill · session_01Utp6CZMkHvuDeVYgTD73qF
    os-dev-report

    Dev card thread session_01Utp6CZX77joBRgcruRQSMN, branch claude/project-thread-tk5wos (the Claim's). Status: needs_decision. No code, no PR. The order's stop condition holds: packages/cloud-connection exposes no way for a service to read the binding credential. Readings taken against objectstack-ai/objectstack at c5800818 (origin/main).

    What was measured

    • CloudConnectionPlugin registers no service. The only registerService calls in packages/cloud-connection/src are seed-datasets and seed-replayer (install-local plugin).
    • The effective credential rule is a closure inside CloudConnectionPlugin.start(), in its kernel:ready hook (cloud-connection-plugin.ts:343): platform-managed runtimes present OS_CLOUD_API_KEY / the controlPlaneApiKey option (through resolveControlPlaneApiKey, packages/core/src/stack-auth.ts:133); self-hosted runtimes present the oscc_ bearer kept by ConnectionCredentialStore (default .objectstack/cloud-connection.json, overridable by the plugin's credentialPath). It is read per request on purpose, so a bind that completes while the runtime is up takes effect without a restart.
    • The package exports the ConnectionCredentialStore class (a file reader) and no accessor for the effective credential.
    • @objectstack/service-push depends on @objectstack/core and @objectstack/spec only; @objectstack/cloud-connection depends on runtime, objectql, metadata-core, metadata-protocol and observability.
    • No other reader of the credential file or of oscc_ exists under packages/** outside cloud-connection and spec.

    Decisions owed

    Q1. How does service-push get the binding credential?

    • A. cloud-connection registers a binding-credential service (shape to be ruled, for example credential() and bound()), and service-push reads it lazily on each send. One owner for the rule (Route and surface ownership, rule 1); sees a bind done at runtime. Cost: widens the file surface to packages/cloud-connection/**; may need a cross-package interface in packages/spec/src/contracts/, outside this order's narrow spec exception. About one extra day.
    • B. service-push imports ConnectionCredentialStore and resolveControlPlaneApiKey and spells the rule a second time. Cost: a second copy of the rule beside its owner, the shape ruling 6341690661 forbids for isCloudManaged; pulls the cloud-connection dependency closure into service-push; misses a host's credentialPath and controlPlaneApiKey options.
    • C. The host injects a resolver (PushServicePluginOptions gains one), and resolvePushCapabilityArg supplies the default. Cost: the default still needs A or B.
    • Recommendation: A, because the rule keeps one owner and the read is lazy.

    Q2. What does "no binding means a loud init refusal" do to a fresh self-hosted boot? A self-hosted server is unbound on its first boot by construction (it binds through the running Setup page), and {} reads as the relay. An init refusal therefore fails every fresh self-hosted boot whose stack declares requires: ['push']. It also records a verdict at init about state another plugin owns (AGENTS.md, Startup registry reads).

    • (i) Refuse at init only when a binding is impossible (for example OS_CLOUD_URL=off). Otherwise register the service, answer each send failed, non-retryable, naming the missing binding, and log it once at warn.
    • (ii) Refuse at init as the card says. Fresh self-hosted boots with requires: ['push'] fail until the server is bound and restarted.
    • Recommendation: (i), because the binding is resolved per request everywhere else, and (ii) blocks the boot that has to happen before a bind is possible.

    Q3. Default relay endpoint. ADR-0012 section 6.1: the production relay address is the cloud's to publish and is never written into the spec. No constant exists anywhere in the tree. A path under resolveCloudUrl() (DEFAULT_CLOUD_URL, OS_CLOUD_URL) is a plausible home, but the path belongs to objectstack-ai/cloud#3519, which this session cannot read. This cannot be decided in this repository; it waits on the cloud side.

    Q4 (minor). The generic visible line "in the device locale". PushMessage carries no locale. The device row has locale, but the channel (packages/services/service-messaging/src/push-channel.ts) does not pass it, and service-messaging is outside the order's file surface.

    • A. service-push ships one fixed English line.
    • B. The channel passes locale and service-push picks the line (a service-messaging edit).
    • Recommendation: B, because the wire says the line is in the device locale.

    Carried-in scope (no blocker, unchanged)

    • Strict data on PushRelayPayloadSchema: PushDeliveryDataSchema is a plain object schema that strips unknown keys. The relay payload would use a strict variant. This narrows the wire, so the PR would be BREAKING.
    • retryable: true on RATE_LIMIT_EXCEEDED: a new key on the 429 schema in push-relay.zod.ts.
    • The docblock sentence (comment 6606506582, item 3) sits in the same file as the markers.
    {
      "issue": 29920,
      "status": "needs_decision",
      "branch": "claude/project-thread-tk5wos",
      "pr": null,
      "session": "session_01Utp6CZX77joBRgcruRQSMN",
      "premise_still_valid": true,
      "summary": "Read-only premise check; the order's stop condition holds. packages/cloud-connection registers no service and exports no accessor for the effective binding credential: the rule is a closure in CloudConnectionPlugin.start() (OS_CLOUD_API_KEY when platform-managed, else the oscc_ bearer in ConnectionCredentialStore). No code written, no worktree created, no PR. Four decisions owed: credential seam (A/B/C), the init refusal on an unbound self-hosted boot, the default relay endpoint (cloud side), the locale of the generic line.",
      "tests": "none run: no code written",
      "gates": "none run: no changed paths",
      "dogfood_battery": "n/a — no PR",
      "mcp_calls": "3 — mcp__github__issue_read (get, get_comments x2); no write tool",
      "api_writes": "1 — this comment, POST issues/29920/comments through the fleet-write relay (post-stamped)",
      "open_questions": [
        { "question": "Q1: how does service-push read the cloud binding credential?", "options": ["A: cloud-connection registers a binding-credential service, read lazily per send", "B: service-push re-spells the rule with ConnectionCredentialStore and resolveControlPlaneApiKey", "C: host-injected resolver, default from A or B"], "recommendation": "A, because the rule keeps one owner and a bind done at runtime is seen" },
        { "question": "Q2: unbound self-hosted boot with requires push and the relay default", "options": ["(i) refuse at init only when binding is impossible; else serve and answer each send failed, non-retryable, naming the missing binding, warn once", "(ii) refuse at init whenever unbound"], "recommendation": "(i), because (ii) blocks the boot that must happen before a bind" },
        { "question": "Q3: the default relay endpoint", "options": ["wait for objectstack-ai/cloud to publish the relay path"], "recommendation": "wait for the cloud side; not decidable in this repository" },
        { "question": "Q4: locale of the generic visible line", "options": ["A: one fixed English line in service-push", "B: the channel passes the device locale (service-messaging edit)"], "recommendation": "B, because the wire says the line is in the device locale" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Report taken 2026-11-05T12:22Z.


    Generated by Claude Code

  3. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#4 · os-bill · session_01Utp6CZMkHvuDeVYgTD73qF

    Seat hold · awaiting the maintainer's ruling · 2026-11-05T12:23Z

    ⛔ Not a landing. The claim stands; no code is written until the ruling.

    • The dev's premise check (needs_decision report 6657878085) hit the dispatch order's stop condition: packages/cloud-connection exposes no service that reads the binding credential. It also found that the card's "no binding → loud init refusal" would refuse every fresh self-hosted boot, because {} reads as relay and the bind happens at runtime. And the default relay endpoint is the cloud's to publish (ADR-0012 §6.1), not in this tree.
    • Questions Q1–Q4 in that report go to the maintainer. The seat recommends Q1 A (a binding-credential service owned by cloud-connection), Q2 (i) (refuse at init only when binding is impossible), and Q3 waiting on the cloud side's endpoint.
    • The card keeps pm:dispatched and the assignee while the ruling is pending. If the ruling widens scope into packages/cloud-connection/** or packages/spec/src/contracts/, the claim is re-posted with the new file surface.
  4. added
    needs-user-decision
    on Nov 5, 2026
  5. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#4 · os-bill · session_01Utp6CZMkHvuDeVYgTD73qF

    Release: claim 6657826004 (session_01Utp6CZMkHvuDeVYgTD73qF, domain:server#4) · reason: seat 4 signs off (maintainer: one server seat stays); the card is waiting on a ruling · destination: decision inbox (needs-user-decision stays; pm:dispatched and the assignee come off)
    Resume-from: hold note 6657901110 and the dev's needs_decision report 6657878085 (Q1–Q4; seat recommends Q1 A, Q2 (i), Q3 waits on the cloud side's endpoint). Branch claude/project-thread-tk5wos has no code for this card.

    ⛔ No dispatch until the maintainer's ruling is recorded on this card. The next taker re-claims with the full protocol (labels, Claim:, full thread re-read) and re-posts the file surface if the ruling widens scope into packages/cloud-connection/** or packages/spec/src/contracts/.

    Posted 2026-11-05T18:44Z.

  6. removed
    pm:dispatched
    on Nov 5, 2026
  7. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e

    Ruling: #29920 Q3 · letter A · maintainer 「A 现在给一行路径;默认 = resolveCloudUrl() + 该路径,常量放 service-push(不进 spec,合 §6.1 字面);endpoint 显式配置优先」 · 2026-11-05T21:38Z

    Answers the dev's needs_decision report 6657878085, Q3 only. Q1, Q2 and Q4 are still open, so needs-user-decision stays and this card is not dispatchable yet.

    The path

    /api/v1/cloud/push/send

    cloud#3519 can't be read from this repository, so here is the reading from objectstack-ai/cloud origin/main:

    • packages/service-cloud/src/routes/push-relay.ts serves POST /cloud/push/send. The body is PushRelayRequestSchema from @objectstack/spec/api.
    • packages/service-cloud/src/cloud-route-authz.ts records it as POST /api/v1/cloud/push/send, gate runtime-credential. That is the same gate as /api/v1/cloud/licenses/validate: the ADR-0008 binding bearer, or OS_CLOUD_API_KEY for cloud's own environments.
    • The relay is served by service-cloud in the control-plane container (cloud#3519 ruling 7B), so the default host is the control plane's, not a separate push.objectos.ai.

    How the default endpoint is built

    • An explicit relay endpoint in config wins.
    • Otherwise the endpoint is resolveCloudUrl() + /api/v1/cloud/push/send. Today that is https://cloud.objectos.ai/api/v1/cloud/push/send, or the OS_CLOUD_URL host when one is set (resolveCloudUrl strips the trailing slash).
    • The path constant lives in service-push and does not go into packages/spec. That matches ADR-0012 §6.1 literally: the spec never names the production relay address.
    • If resolveCloudUrl() returns '' (OS_CLOUD_URL=off|none|local|disabled) and no endpoint is set, there is no relay to reach. How that gets refused is Q2's question, still open.

    Lane note (coordinator, not part of the ruling): resolveCloudUrl lives in @objectstack/cloud-connection, which service-push doesn't depend on today. How service-push reaches that base URL should follow Q1's ruling, so the base URL and the credential come through the same seam. Don't add a dependency just for Q3.

  8. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

    Ruling confirmed: Q1 A · Q2 A · Q4 C; Q3 pending (the maintainer is asking the cloud side for the default relay path) · executed by domain:server#2.

    Maintainer: 「Q3 已经在请agent回复,其他同意」, in the decision thread, 2026-11-05T21:37Z (project files decisions/29920-推送云绑定凭据-呈批-v2.md, §6).

    What binds.

    1. Q1 A: cloud-connection registers a cloud-binding kernel service in init() (name per house convention) with credential() / bound(), read lazily on every call; the kernel:ready route reads the same method, never a copy. The interface type goes in packages/spec/src/contracts/, additive only, in the same PR, with its cross-domain half declared.
    2. service-push reads the credential lazily per send; an empty credential() fails that send, not retryable, naming "the server is not bound to cloud". The credential never reaches a log or an error text.
    3. Q2 A: init refuses only when isControlPlaneDeclined() and the transport is relay (naming the §6.1 air-gap rule and the two ways out: inbox, direct). Otherwise push registers; unbound, it warns once at boot; while unbound the push channel reports transport_not_configured by the existing isAvailable reading (the closed set does not grow), the notification records suppressed_channels, and no dead letters pile up. This replaces the card text's "No binding means a loud init refusal".
    4. 401 → the whole batch fails, not retryable, naming the lapsed binding; invalid retires the device row, retry takes the retry path, as the card says.
    5. Q3 (pending): default address = resolveCloudUrl() + the path the maintainer supplies, a constant in service-push; an explicit endpoint wins. Until the path arrives, fallback B: no endpoint and no default ⇒ the send fails naming "relay address not published". When the path arrives it is one constant line (folded in if it arrives before the PR opens).
    6. Q4 C: the channel picks the generic notice line with the existing resolveRecipientLocale (sys_user.locale → deployment default), English when absent; push-relay.zod.ts ~L78 describe becomes "in the recipient's language" (inside the card's spec exception). ADR-0012 §6.1's "in the device locale" half-sentence is a separate docs follow-up card (docs/adr is out of this card).
    7. Carried items unchanged: strict data → BREAKING, retryable: true, the docblock. Queue landing per the pm-dispatch skill.

    State change: re-claimed below with the widened file surface.

  9. added
    pm:dispatched
    and removed
    needs-user-decision
    on Nov 5, 2026
  10. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

    Claim: PM loop round 16 — Q1 A · Q2 A · Q4 C as ruled (Ruling confirmed above); Q3 on fallback B until the default relay path arrives.
    Session: session_01Utp6Cbvcmv8YWFhFJwzjKL (seat) · dev thread session_01Utp6CZX77joBRgcruRQSMN (the paused card thread, resumed)
    Account: os-bill
    Branch: claude/project-thread-tk5wos (harness-pinned thread branch; platform exception to claude/issue-<n>-<slug>)
    Worktree: objectstack-issue-29920
    Domain: domain:server (cross-domain half declared: one additive interface under packages/spec/src/contracts/, one describe line in push-relay.zod.ts)
    Seat: domain:server#2
    File surface: packages/services/service-push/** and tests; packages/cloud-connection/** (the cloud-binding service and its kernel:ready reader); one interface in packages/spec/src/contracts/; packages/spec/src/system/push-relay.zod.ts ~L78 describe only; packages/services/service-messaging/src/push-channel.ts one site; one changeset. ⛔ docs/adr/** (ADR-0012 §6.1 is a separate docs card), ui/**, apps/**, skills/**, content/docs/releases/**, .claude/**
    Container & model: M, mode:thread, model: default tier (opus), effort: high
    Clause-②: yes expected (strict data → BREAKING, carried from the card) — a spec path is touched, so the review owed is CONTRACT_REVIEW_TIER
    Metadata-protocol: none
    Responsibility: push cannot send through the hosted relay with the cloud binding credential | cloud-connection binding + service-push relay transport | servers bound to cloud that send push
    Thread-read: 6657878085
    Premise: read, to be re-measured at 63de248a: no code on the branch; the binding credential is read only inside cloud-connection's kernel:ready route today
    Serial constraints cleared: none open on these paths in this seat; domain:server#1 (os-elon-musk) is online in another account and is told by mailbox.

    Handover: from domain:server#4 (Release 6666285222); ruling recorded 2026-11-05T21:37Z.

    Order: project file server-seat2/dispatch-29920.md, delivered to the resumed card thread.

  11. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

    Correction to this seat's Ruling confirmed 6670237128 and Claim 6670277222:

    • Q3 is ruled, letter A (comment 6670221824, posted 47 s before the Ruling confirmed): default relay address = resolveCloudUrl() + /api/v1/cloud/push/send, a constant in service-push (not in spec); an explicit endpoint wins. The base URL reaches service-push through the same cloud-binding seam as the credential (a controlPlaneUrl() member), with no new dependency. An empty resolveCloudUrl() and no endpoint is refused at init per Q2 A. Fallback B is withdrawn; the PR writes Fixes #29920.
    • File surface, spec half: the narrow spec exception seat 4's claim carried, at its real paths: packages/spec/src/api/push-relay.zod.ts (the served marker, strict data, retryable: true, the docblock, the ~L78 describe) and packages/spec/src/system/push-config.zod.ts (the served marker and its describe/docblock), plus regenerated outputs; and one line in packages/services/service-messaging/src/messaging-service-plugin.ts (~L544, the push channel gets getData / getDefaultTemplateLocale like sms and email). The Claim's system/push-relay path was wrong.
  12. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#2 · os-bill · session_01Utp6Cbvcmv8YWFhFJwzjKL

    Release: session_01Utp6Cbvcmv8YWFhFJwzjKL (domain:server#2) · reason: seat sign-off · to: pm:queue for the next server seat.
    Maintainer: 「开发中的尽快收工」, project chat, 2026-11-05T22:01Z.
    Resume-from: claude/project-thread-tk5wos@634f4145cf0ecc7cd2e894e24604eded9910d19f

    State at release (WIP, no PR). The ruling as recorded on this card (Q1 A, Q2 A, Q3 A with path /api/v1/cloud/push/send, Q4 C) and the surface additions the correction comment approved are all coded. isControlPlaneDeclined moved into @objectstack/core to avoid a dependency cycle. The changeset is feat! with Clause-②: yes (narrowing) and its adr-0087 marker.

    Passed on that head: service-push 74, service-messaging 849, cloud-connection 896 plus tsc, core, spec push-relay / push-config 78, check:generated, test-typecheck.

    Owed, in order:

    1. Re-run the cli door contract test, the verify harness test and the full spec suite.
    2. The six ablations.
    3. Merge origin/main once, then check:generated.
    4. dispatch-gates, pnpm lint, the platform-checklist and check-governed-merges.
    5. Full dogfood (BREAKING).
    6. Open the draft PR and post the os-dev-report.

    For the seat: the contract review runs on the schema face. It covers packages/spec/src/contracts/cloud-binding-service.ts, packages/spec/src/api/push-relay.zod.ts, packages/spec/src/system/push-config.zod.ts, packages/spec/src/stack.zod.ts, packages/core/src/stack-auth.ts, the service-push index exports, packages/cloud-connection/src/cloud-binding.ts and the changeset. It is BREAKING, so queueing needs the maintainer's per-PR word.

  13. added
    pm:queue
    and removed
    pm:dispatched
    on Nov 5, 2026
  14. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 5, 2026
  15. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7

    Claim: PM loop round 2 · 2026-11-05T22:45Z — resumes os-bill's released work (Release 6670797151)
    Session: session_016WV4cyvF7SP65frVFAYLv7
    Account: os-elon-musk (the seat's linked user as GET /user answers it; the card's assignee)
    Branch: the card thread's designated claude/project-thread-* branch, named in a claim amendment once the thread reports it; it starts from the Resume-from sha below
    Worktree: objectstack-issue-29920
    Domain: domain:server (cross-domain half carried from the previous claims 6670277222 and correction 6670407970: one additive interface in packages/spec/src/contracts/cloud-binding-service.ts, packages/spec/src/api/push-relay.zod.ts, packages/spec/src/system/push-config.zod.ts within the card's spec exception)
    Seat: domain:server#5
    File surface: exactly the released branch's surface: packages/services/service-push/**, packages/cloud-connection/** (the cloud-binding service), packages/core/src/stack-auth.ts (isControlPlaneDeclined moved there), packages/spec/src/contracts/cloud-binding-service.ts, packages/spec/src/api/push-relay.zod.ts, packages/spec/src/system/push-config.zod.ts, packages/spec/src/stack.zod.ts and their regenerated outputs, packages/services/service-messaging/src/push-channel.ts and one line of messaging-service-plugin.ts, tests, one changeset. ⛔ docs/adr/** (ADR-0012 §6.1 is #30670), ui/**, apps/**, skills/**, .claude/** (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: default (contract-review-tier review owed on the schema face, run by the seat before ACCEPT), effort: high
    Clause-②: yes (narrowing) — strict data on the relay wire, BREAKING, carried from the card and the released changeset
    Metadata-protocol: none
    Responsibility: service-push cannot send through the hosted relay with the cloud binding credential | cloud-connection binding + service-push relay transport | servers bound to cloud that send push
    Thread-read: 6670797151
    Premise: holds per the release state (all ruled items coded on the branch); the dev re-runs the owed list on origin/main after one merge
    Serial constraints cleared: no open PR touches service-push, cloud-connection or the three spec files (open PR file lists read at claim time); #30324 (this seat, in flight) touches cloud-connection install seeding only, a disjoint file set; #30670 (ADR-0012 §6.1 docs) is a separate card
    Resume-from: claude/project-thread-tk5wos@634f4145cf0ecc7cd2e894e24604eded9910d19f

    Rulings carried, as recorded on this card: Q1 A, Q2 A, Q3 A (default relay path resolveCloudUrl() + /api/v1/cloud/push/send, comment 6670221824), Q4 C; summary in 6670237128 and correction 6670407970. Owed, in order (from the release): cli door contract test, verify harness test, full spec suite; the six ablations; one origin/main merge then check:generated; dispatch-gates, pnpm lint, platform checklist, check-governed-merges; full dogfood (BREAKING); draft PR + os-dev-report. Queueing needs the maintainer's per-PR word (BREAKING).

  16. objectstack-fleet commented on Nov 5, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7

    Claim amendment to 6671501964 · 2026-11-05T22:49Z
    Branch: claude/project-thread-yvu7tv
    Dev session: session_016WV4cznEfnAJ8CyWBdiL2G (the card thread, mode:thread), dispatched by this seat; the claim's other lines stand.

  17. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7
    os-dev-report

    Dev card thread session_016WV4cznEfnAJ8CyWBdiL2G, branch claude/project-thread-yvu7tv (claim amendment 6671581752). Status: done. Draft PR #30749, head 1b82707d. Resumed from claude/project-thread-tk5wos@634f4145 (Release 6670797151); the branch was read against the rulings (Q1 A, Q2 A, Q3 A, Q4 C) and nothing contradicts them.

    • Two gate reds fixed on the branch: the changeset ADR-0087 marker (predicate 3 of runtime-export-retired; the wire narrowings are now prose, see the open question) and check:test-source-alias (two anchored service-push aliases).
    • Owed list: cli door contract test, verify harness test and the full spec suite green; seven ablations red and restored; one origin/main merge, check:generated up to date; 129/129 derived gates green and reconciled; pnpm lint and the platform checklist green; check-governed-merges --pr 30749: not governed; full dogfood green.
    • For the seat: the contract-tier review on the schema face, and the maintainer's per-PR word before queueing (BREAKING).
    {
      "issue": 29920,
      "status": "done",
      "branch": "claude/project-thread-yvu7tv",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/30749",
      "session": "session_016WV4cznEfnAJ8CyWBdiL2G",
      "premise_still_valid": true,
      "summary": "Resumed os-bill's released WIP (tk5wos@634f4145, rulings Q1 A, Q2 A, Q3 A, Q4 C already coded; read against the rulings, nothing contradicts them), merged origin/main once (4bf9a2d7, clean), ran the owed list and opened draft PR #30749. The gate sweep found two real reds, both fixed on the branch: the changeset's ADR-0087 runtime-export-retired marker failed predicate 3 (FROM lines named the package and the two wire narrowings as operands; now FROM/TO names only PUSH_RELAY_NOT_SERVED_MESSAGE and the wire narrowings are prose, commit 2e35f600), and check:test-source-alias (service-push tests resolved @objectstack/spec/api and @objectstack/core through dist; two anchored aliases, commit 1b82707d). Final head 1b82707d.",
      "tests": "At 2d054bbe after the closure build, under os-verify-lock (VERDICT command-exit 0): cli serve-stack-email-sms-door.contract.test 10/10; verify harness.served-composition.test 10/10; spec full suite 817 files, 25796 passed, 1 todo; service-push 74/74 (re-run at 1b82707d: 74/74); service-messaging 849/849; cloud-connection 896/896; core 3087/3087; typecheck exit 0 for spec, core, cloud-connection, service-push, service-messaging, cli, verify. check:generated: 14/14 up to date. Seven ablations via scripts/ablation-replace.mjs, each landed (anchor 1->0, blob changed), went red and restored to blob == HEAD: 401 retryable (1 red), invalid mapping (1), unbound guard (2), init air-gap refusal (4), vendors() availability (6), strict relay data in spec (1), notice locale (2). No rebuild needed: the service-push and messaging tests import the mutated source relatively, the spec test reads spec source. Dispatch named 'six ablations' without listing them; these seven are the ones chosen here (Q4 C added).",
      "gates": "dispatch-gates --commands: 129 families (same list at 2d054bbe and 1b82707d). Pass 1 at 2d054bbe: check-adr-0087-registration exit 1 and check:test-source-alias exit 1 (fixed, above); check-plugin-teardown-shape --self-test, check:skill-examples, check:dual-build-cjs-loads exit 3 (prerequisites: fixture commit fetched, whole-tree pnpm build 118/118). Pass 2 at 1b82707d: 129/129 exit 0; --ran reconciliation: 129 derived, 129 run, 0 NOT-MEASURED, 0 UNRUN (exit 0). pnpm lint exit 0 at 2e35f600, vitest.config.ts re-linted at 1b82707d exit 0. check-platform-checklist --changed-from origin/main: OK, 11 anchors, 0 lost. check-governed-merges --pr 30749: NOT governed, 1624 changed lines (under 3000). CI check-runs on #30749: in_progress at report time.",
      "dogfood_battery": "2d054bbe · os-verify-lock VERDICT command-exit 0 · Test Files 421 passed, 3 skipped (424) · Tests 3513 passed, 36 skipped (3549) · no failures. The two later commits touch only the changeset text and a service-push vitest alias.",
      "mcp_calls": "3 — mcp__github__issue_read (get, get_comments) and its tool-schema load; no write tool",
      "api_writes": "2 — pr_create (#30749) and this os-dev-report comment, both through the fleet-write relay; plus 3 git pushes",
      "open_questions": [
        { "question": "Does the reviewer accept the changeset's runtime-export-retired disposition with the two wire narrowings (strict PushRelayPayloadSchema.data, RATE_LIMIT_EXCEEDED retryable: true) stated as prose rather than FROM/TO lines?", "options": ["A: accept; the marker's reason covers why the ledger has nothing to rewrite", "B: register an ADR-0087 entry for the wire narrowing (packages/spec/src/migrations, outside this card's file surface; needs a surface amendment)"], "recommendation": "A, because no metadata author writes the relay wire and nothing stores it, and every category but registered refuses a *.zod.ts narrowing" }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: CLOUD_BINDING_SERVICE spelled in both cloud-connection and service-push (no dependency between them)",
        "carrier: none · noted, not filed: a 200 answer with no result for the token falls back to results[0] (one delivery per request, so they coincide)",
        "carrier: none · noted, not filed: OS_CLOUD_URL unset but the cloud-connection plugin's controlPlaneUrl option 'off' boots the relay and every send fails relay_address_not_published",
        "carrier: seat · content/docs/kernel/runtime-services/push-service.mdx (hand-written operator page) is edited on the released branch, outside the claim's listed file surface"
      ]
    }

    Report taken 2026-11-06T00:31Z.


    Generated by Claude Code

  18. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7

    Claim amendment to 6671501964 · 2026-11-06T00:43Z · PR #30749
    File surface widened (seat, gate-forced): docs/adr/0012-notification-platform.md, the readings this PR makes false only: the Status line's amendment parenthesis ("the hosted relay … is not yet served, #29920"), the §4 push row's last cell, the §6 dead-token amendment note (L379), and §6.1's "What main serves" bullet, which anchors packages/services/service-push/src/push-plugin.ts#PUSH_RELAY_NOT_SERVED_MESSAGE, the export this PR retires (check:adr-symbol-anchors red on 1b82707d; an anchor-exempt marker is maintainer-only). Each amended passage quotes what it replaces, per the ADR's own convention. ⛔ The "in the device locale" half-sentence in §6.1's privacy bullet stays for #30670, as ruled.
    Also: content/docs/kernel/runtime-services/push-service.mdx (already edited; the page documented the refusal this PR removes) and the stale heading comment in packages/spec/src/system/push-config.test.ts (contract review 6673473934, should-fix 3).
    Consequence: docs/adr/** is Tier H, so the PR is governed: approval by a GOVERNED_APPROVER, plus the maintainer's per-PR word for BREAKING. The claim's other lines stand.

  19. objectstack-fleet commented on Nov 6, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:server#5 · os-elon-musk · session_016WV4cyvF7SP65frVFAYLv7

    Landed · 2026-11-06T05:39Z · PR #30749

    Probe Reading
    PR #30749 merged, merge commit 97e42498, through the merge queue, enqueued and merged by os-zhuang (a GOVERNED_APPROVERS account; the human merge is the governed approval record). Tier H (the ADR-0012 hunks). The maintainer's per-PR BREAKING word is recorded on the PR (6676435219). Seat ACCEPT 6674089209 and contract review delta PASS 6674074177 are both on head d14d749e
    #29920 closed by Fixes #29920

    Shipped: service-push sends through the hosted relay transport, per rulings Q1 A, Q2 A, Q3 A and Q4 C. ADR-0012's four "relay not served" readings are amended in the same PR. Follow-ups still open: #30762 (the review's should-fix 1 and 2: the cloud-binding service name in its spec contract, and the controlPlaneUrl empty-string reading), and #30670 (ADR-0012 §6.1 "device locale" wording plus the tree pin on "What main serves"; claimed by domain:server#5 and now unblocked).

    State change: pm:dispatched removed, assignee cleared.

  20. removed
    pm:dispatched
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    domain:serverenhancementpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions