Skip to content

Commit 66bfe70

Browse files
committed
Revert "test(skills): the push eval case pins the direct transport and refuses the relay"
This reverts commit e871e3c. Pinning the transport moves to the follow-up that first teaches the push block's shape in the skill; the case stays as reviewed. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjFpbQxLtYHuw3di1T
1 parent e871e3c commit 66bfe70

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎.changeset/29969-platform-push-eval.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ test(skills): the platform skill's evals ask for push notifications on an `os se
77
Clause-②: no
88
Metadata-protocol: none
99

10-
`skills/objectstack-platform/evals/config-plugins-ops.json` gains case 12: the prompt asks to turn on push notifications for an `os serve` deployment of the team's own white-label apps, and the expected answer declares `requires: ['push']` with a top-level `push:` key on the stack definition using `transport: 'direct'` and an `apns` and/or `fcm` block, each naming its secret by `credentialRef`, and writes no secret inline. The case refuses `transport: 'relay'`: the hosted relay, which an absent or empty `push` block also reads as, is refused at boot until its sender ships.
10+
`skills/objectstack-platform/evals/config-plugins-ops.json` gains case 12: the prompt asks to turn on push notifications for an `os serve` deployment, and the expected answer declares `requires: ['push']` with a top-level `push:` key on the stack definition and writes no secret inline (the APNs signing key and the Firebase service-account JSON are named by reference). The assertions stay with what `objectstack-platform/SKILL.md` teaches today, the `push` token and the top-level key; the push block's transport and vendor shape are not asserted until the skill teaches them.

‎skills/objectstack-platform/evals/config-plugins-ops.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
{
202202
"id": 12,
203203
"prompt": "Turn on push notifications for our `os serve` deployment: our own iOS and Android apps, signed with our APNs key and our Firebase project.",
204-
"expected_output": "`requires: ['push']` on the stack root (the token mounts `@objectstack/service-push`) plus a top-level `push:` key on the stack definition with `transport: 'direct'` and an `apns` and/or `fcm` block, each with its `credentialRef`; the hosted relay (`transport` relay, or an absent or empty `push` block) is refused at boot until its sender ships; no host code, no `PushServicePlugin` in `plugins:`. The APNs signing key and the Firebase service-account JSON stay in the secrets layer (an environment variable in the open tier) and the config names them by reference: no `.p8` key, `privateKey` or service-account JSON written inline.",
204+
"expected_output": "`requires: ['push']` on the stack root (the token mounts `@objectstack/service-push`) plus a top-level `push:` key on the stack definition for the transport; no host code, no `PushServicePlugin` in `plugins:`. The APNs signing key and the Firebase service-account JSON stay in the secrets layer (an environment variable in the open tier) and the config names them by reference (`credentialRef`): no `.p8` key, `privateKey` or service-account JSON written inline.",
205205
"files": [],
206206
"assertions": {
207207
"must_contain": [
@@ -212,8 +212,7 @@
212212
"must_not_contain": [
213213
"BEGIN PRIVATE KEY",
214214
"privateKey:",
215-
"\"private_key\"",
216-
"transport: 'relay'"
215+
"\"private_key\""
217216
]
218217
}
219218
}

0 commit comments

Comments
 (0)