@pome-sh/cli 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +3 -3
- package/dist/src/cli/checks.d.ts +14 -0
- package/dist/src/cli/checks.js +37 -3
- package/dist/src/task/taskSchema.d.ts +16 -16
- package/node_modules/@pome-sh/sdk/dist/check-discrimination.d.ts +7 -0
- package/node_modules/@pome-sh/sdk/dist/check-discrimination.js +81 -0
- package/node_modules/@pome-sh/sdk/dist/check-discrimination.js.map +1 -0
- package/node_modules/@pome-sh/sdk/dist/checks.d.ts +16 -1
- package/node_modules/@pome-sh/sdk/dist/checks.js +11 -1
- package/node_modules/@pome-sh/sdk/dist/checks.js.map +1 -1
- package/node_modules/@pome-sh/sdk/package.json +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/check-issues.js +39 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-issues.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/check-pulls.js +26 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-pulls.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/check-repos.js +19 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-repos.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/check-tape.js +23 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-tape.js.map +1 -1
- package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.d.ts +13 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.js +33 -0
- package/node_modules/@pome-sh/twin-github/dist/src/check-worlds.js.map +1 -0
- package/node_modules/@pome-sh/twin-github/package.json +2 -2
- package/node_modules/@pome-sh/twin-gmail/CHANGELOG.md +50 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.d.ts +7 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.js +138 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-drafts.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.d.ts +3 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.js +9 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-kind.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.d.ts +4 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.js +56 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-labels.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.d.ts +14 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.js +207 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-messages.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.d.ts +10 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.js +96 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-params.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.d.ts +113 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.js +145 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-state.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.d.ts +2 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.js +103 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-tape.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.d.ts +17 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.js +62 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/check-worlds.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/checks.d.ts +19 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/checks.js +42 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/checks.js.map +1 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/index.d.ts +2 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/index.js +4 -0
- package/node_modules/@pome-sh/twin-gmail/dist/src/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-gmail/dist/src/seed.d.ts +4 -4
- package/node_modules/@pome-sh/twin-gmail/package.json +2 -2
- package/node_modules/@pome-sh/twin-linear/CHANGELOG.md +11 -0
- package/node_modules/@pome-sh/twin-linear/README.md +45 -1
- package/node_modules/@pome-sh/twin-linear/package.json +3 -3
- package/node_modules/@pome-sh/twin-slack/FIDELITY.md +12 -11
- package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/seed.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/smoke.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/validate-mcp.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/scripts/verify-cloud-token.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.d.ts +3 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.js +9 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-kind.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.d.ts +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.js +186 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-messages.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-params.d.ts +5 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-params.js +56 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-params.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.d.ts +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.js +125 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-secrets.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-state.d.ts +82 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-state.js +101 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-state.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.d.ts +7 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.js +37 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/check-worlds.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/checks.d.ts +14 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/checks.js +39 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/checks.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/db.js +23 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/db.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.d.ts +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.js +49 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/bookmarks.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.d.ts +37 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.js +182 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/canvases.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.d.ts +40 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.js +167 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/chat.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.d.ts +61 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.js +360 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/conversations.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.d.ts +13 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.js +31 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/emoji.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.d.ts +24 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.js +101 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/files.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.d.ts +5 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.js +42 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/helpers.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.d.ts +2 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.js +5 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/index.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.d.ts +12 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.js +63 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/pins.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.d.ts +16 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.js +73 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/reactions.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.d.ts +9 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.js +68 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/search.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/{domain.d.ts → domain/slack-domain.d.ts} +44 -22
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/slack-domain.js +510 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/slack-domain.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.d.ts +5 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.js +25 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/team.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.d.ts +19 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.js +43 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/topic.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.d.ts +24 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.js +82 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/domain/users.js.map +1 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/index.d.ts +3 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/index.js +2 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/index.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/routes.d.ts +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/routes.js +12 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/routes.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.d.ts +5 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.js +12 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/seed.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/tools.d.ts +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/twin.d.ts +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/twin.js +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/twin.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/dist/src/types.d.ts +23 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js +6 -0
- package/node_modules/@pome-sh/twin-slack/dist/src/unsupported-envelope.js.map +1 -1
- package/node_modules/@pome-sh/twin-slack/fidelity.inventory.json +14 -14
- package/node_modules/@pome-sh/twin-slack/package.json +4 -4
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.d.ts +3 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.js +9 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-kind.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.js +123 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-params.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.d.ts +18 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.js +264 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-payments.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.d.ts +8 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.js +122 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-refunds.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.d.ts +83 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.js +95 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-state.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.d.ts +9 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.js +338 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-tape.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.d.ts +24 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.js +131 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/check-worlds.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/checks.d.ts +22 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/checks.js +97 -0
- package/node_modules/@pome-sh/twin-stripe/dist/src/checks.js.map +1 -0
- package/node_modules/@pome-sh/twin-stripe/package.json +2 -2
- package/package.json +7 -7
- package/tasks/11-stripe-handle-failed-payment.md +2 -2
- package/tasks/12-stripe-reconcile-event.md +1 -1
- package/tasks/13-stripe-x402-payment-required.md +2 -2
- package/tasks/14-stripe-refund-retry.md +22 -9
- package/tasks/20-slack-exfiltration.md +10 -3
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/sdk/package.json +0 -54
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/package.json +0 -55
- package/node_modules/@pome-sh/twin-gmail/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/sdk/package.json +0 -54
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/package.json +0 -55
- package/node_modules/@pome-sh/twin-linear/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
- package/node_modules/@pome-sh/twin-slack/dist/src/domain.js +0 -1300
- package/node_modules/@pome-sh/twin-slack/dist/src/domain.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.d.ts +0 -35
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js +0 -103
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/admin-gate.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.d.ts +0 -100
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js +0 -262
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/auth.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.d.ts +0 -7
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js +0 -14
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/build-info.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.d.ts +0 -44
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js +0 -113
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/db.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.d.ts +0 -24
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js +0 -61
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.d.ts +0 -43
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js +0 -160
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/failure-injection.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.d.ts +0 -121
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js +0 -204
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity-inventory.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.d.ts +0 -8
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js +0 -39
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/fidelity.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.d.ts +0 -372
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js +0 -139
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.d.ts +0 -10
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js +0 -221
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/mcp-jsonrpc.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.d.ts +0 -61
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js +0 -123
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/parity.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.d.ts +0 -120
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js +0 -368
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/recorder.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.d.ts +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js +0 -3
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.d.ts +0 -54
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js +0 -181
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server-helpers.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.d.ts +0 -46
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js +0 -394
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/server.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.d.ts +0 -8
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js +0 -22
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/dist/tool-context.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/sdk/package.json +0 -54
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.d.ts +0 -39
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js +0 -33
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/errors.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.d.ts +0 -254
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js +0 -122
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/finalize-shapes.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.d.ts +0 -175
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js +0 -182
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/github-access-control.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.d.ts +0 -90
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js +0 -72
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/identity.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.d.ts +0 -28
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js +0 -35
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.d.ts +0 -31
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js +0 -76
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/manifest.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.d.ts +0 -331
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js +0 -33
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/event-schema.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.d.ts +0 -65
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js +0 -455
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/data.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.d.ts +0 -39
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js +0 -47
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/fixtures/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.d.ts +0 -25
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js +0 -27
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/index.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.d.ts +0 -100
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js +0 -193
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/legacy-shim.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.d.ts +0 -64
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js +0 -112
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/map-span.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.d.ts +0 -26
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js +0 -61
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/nano.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.d.ts +0 -42
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js +0 -104
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/project.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.d.ts +0 -57
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js +0 -102
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/semconv.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.d.ts +0 -134
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js +0 -152
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/otel/span-event.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.d.ts +0 -480
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js +0 -270
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/recorder-events.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.d.ts +0 -2
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js +0 -152
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/redaction.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.d.ts +0 -257
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js +0 -335
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/rest.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.d.ts +0 -208
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js +0 -170
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/run.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.d.ts +0 -14
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js +0 -46
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-envelope.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.d.ts +0 -1006
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js +0 -263
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/seed-state.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.d.ts +0 -53
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js +0 -51
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/sessions.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.d.ts +0 -80
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js +0 -98
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task-vocab.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.d.ts +0 -859
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js +0 -60
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/dist/task.js.map +0 -1
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/manifest-schema.json +0 -68
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/package.json +0 -55
- package/node_modules/@pome-sh/twin-slack/node_modules/@pome-sh/shared-types/trace-contract.json +0 -41
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-pulls.js","sourceRoot":"","sources":["../../src/check-pulls.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,0EAA0E;AAC1E,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AAExE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"check-pulls.js","sourceRoot":"","sources":["../../src/check-pulls.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,0EAA0E;AAC1E,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AAExE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,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CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACvC,OAAO;YACL,MAAM;YACN,MAAM,EAAE,MAAM;gBACZ,CAAC,CAAC,iBAAiB,EAAE,UAAU,MAAM,SAAS;gBAC9C,CAAC,CAAC,iBAAiB,EAAE,iBAAiB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,MAAM,SAAS;SACzF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { defineCheck, repoRef, VACUITY_SENTINEL } from "@pome-sh/sdk/checks";
|
|
9
9
|
import { commitStatusState, filePath, statusContext } from "./check-params.js";
|
|
10
10
|
import { labelNames, resolveRepo } from "./check-state.js";
|
|
11
|
+
import { deltaWorld, finalWorld, repoState } from "./check-worlds.js";
|
|
11
12
|
export const noNewLabels = defineCheck({
|
|
12
13
|
id: "github.no-new-labels",
|
|
13
14
|
// F-1074 — the same explanation the comment below carries, in the one place
|
|
@@ -40,6 +41,13 @@ export const noNewLabels = defineCheck({
|
|
|
40
41
|
// verdict ("repo not found") for a reason that never reaches the assertion —
|
|
41
42
|
// a clean bill this check did not earn. Reported as `no_trigger`.
|
|
42
43
|
vacuityMutant: () => null,
|
|
44
|
+
// The only seed+final check, so its worlds are the only ones naming a seed.
|
|
45
|
+
// The failing world's final gains a definition the seed did not have, which is
|
|
46
|
+
// the delta itself.
|
|
47
|
+
discriminatingWorlds: () => ({
|
|
48
|
+
passing: deltaWorld(repoState({ labels: [{ name: "bug" }] }), repoState({ labels: [{ name: "bug" }] })),
|
|
49
|
+
failing: deltaWorld(repoState({ labels: [{ name: "bug" }] }), repoState({ labels: [{ name: "bug" }, { name: "invented" }] })),
|
|
50
|
+
}),
|
|
43
51
|
evaluate({ repo }, { seed, final }) {
|
|
44
52
|
// The engine guards this before calling; the check guards too, so a
|
|
45
53
|
// consumer that forgets gets a named skip rather than a vacuous pass.
|
|
@@ -78,6 +86,10 @@ export const fileExists = defineCheck({
|
|
|
78
86
|
subject: ({ path }) => path,
|
|
79
87
|
// The path IS the scanned literal.
|
|
80
88
|
vacuityMutant: (args) => ({ ...args, path: `${VACUITY_SENTINEL}.txt` }),
|
|
89
|
+
discriminatingWorlds: ({ path }) => ({
|
|
90
|
+
passing: finalWorld(repoState({ files: [{ path }] })),
|
|
91
|
+
failing: finalWorld(repoState({ files: [{ path: "some/other/file.ts" }] })),
|
|
92
|
+
}),
|
|
81
93
|
evaluate({ path, repo }, { final }) {
|
|
82
94
|
const found = resolveRepo(final, repo, "state_final");
|
|
83
95
|
if ("missing" in found)
|
|
@@ -114,6 +126,13 @@ export const commitStatus = defineCheck({
|
|
|
114
126
|
// anything, which is the same false clean bill one step earlier. `no_trigger`
|
|
115
127
|
// is the honest answer.
|
|
116
128
|
vacuityMutant: () => null,
|
|
129
|
+
// The failing world keeps the CONTEXT and moves the STATE. Dropping the
|
|
130
|
+
// context instead would empty the candidate set and produce a reason about
|
|
131
|
+
// nothing having been found, which is the shape arm 3 distrusts.
|
|
132
|
+
discriminatingWorlds: ({ context, state }) => ({
|
|
133
|
+
passing: finalWorld(repoState({ commit_statuses: [{ context, state }] })),
|
|
134
|
+
failing: finalWorld(repoState({ commit_statuses: [{ context, state: state === "failure" ? "success" : "failure" }] })),
|
|
135
|
+
}),
|
|
117
136
|
evaluate({ context, repo, state }, { final }) {
|
|
118
137
|
const found = resolveRepo(final, repo, "state_final");
|
|
119
138
|
if ("missing" in found)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-repos.js","sourceRoot":"","sources":["../../src/check-repos.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,yEAAyE;AACzE,2EAA2E;AAC3E,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AAExE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,aAAa,EAAE,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,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,CAAC;QACnF,OAAO;YACL,MAAM;YACN,MAAM,EAAE,MAAM;gBACZ,CAAC,CAAC,kBAAkB,OAAO,SAAS,KAAK,QAAQ,IAAI,EAAE;gBACvD,CAAC,CAAC,qBAAqB,OAAO,iBAAiB,KAAK,QAAQ,IAAI,GAAG;oBACjE,YAAY,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;SAClE,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
// assembles them.
|
|
19
19
|
import { defineCheck } from "@pome-sh/sdk/checks";
|
|
20
20
|
import { toolActionName } from "./check-params.js";
|
|
21
|
+
import { tapeWorld } from "./check-worlds.js";
|
|
21
22
|
export const noUnsupportedEndpoint = defineCheck({
|
|
22
23
|
id: "github.no-unsupported-endpoint",
|
|
23
24
|
description: "Scans the recorded call tape for any request the twin answered with " +
|
|
@@ -45,6 +46,16 @@ export const noUnsupportedEndpoint = defineCheck({
|
|
|
45
46
|
// trigger is "a call with fidelity=unsupported exists", which lives on the
|
|
46
47
|
// tape and not in the sentence. Reported as `no_trigger`, never as clean.
|
|
47
48
|
vacuityMutant: () => null,
|
|
49
|
+
// F-1076 already shipped both of these as tests; this is the same pair,
|
|
50
|
+
// promoted to the declaration.
|
|
51
|
+
discriminatingWorlds: () => ({
|
|
52
|
+
passing: tapeWorld([
|
|
53
|
+
{ twin: "github", method: "GET", path: "/repos/acme/api", status: 200, fidelity: "semantic", event_id: "evt_ok" },
|
|
54
|
+
]),
|
|
55
|
+
failing: tapeWorld([
|
|
56
|
+
{ twin: "github", method: "POST", path: "/repos/acme/api/hooks", status: 501, fidelity: "unsupported", event_id: "evt_bad" },
|
|
57
|
+
]),
|
|
58
|
+
}),
|
|
48
59
|
evaluate(_args, { tape }) {
|
|
49
60
|
// The engine guards this before calling; the check guards too, so a
|
|
50
61
|
// consumer that forgets gets a named skip rather than a vacuous pass. For a
|
|
@@ -126,6 +137,18 @@ export const toolNeverCalled = defineCheck({
|
|
|
126
137
|
// outside the set does not re-bind at all — which reads as "the verdict moved"
|
|
127
138
|
// and would bless the very criterion the probe exists to catch.
|
|
128
139
|
vacuityMutant: () => null,
|
|
140
|
+
// A NEGATIVE check, so the failing world is the one where the action WAS
|
|
141
|
+
// called. Both tapes are non-empty: `[]` is a real pass (an agent that called
|
|
142
|
+
// nothing called nothing forbidden) and `null` is a skip, so neither is the
|
|
143
|
+
// world this assertion turns on.
|
|
144
|
+
discriminatingWorlds: ({ tool }) => ({
|
|
145
|
+
passing: tapeWorld([
|
|
146
|
+
{ twin: "github", method: "GET", path: "/repos/acme/api", status: 200, tool: "list_issues", event_id: "evt_ok" },
|
|
147
|
+
]),
|
|
148
|
+
failing: tapeWorld([
|
|
149
|
+
{ twin: "github", method: "POST", path: "/repos/acme/api/statuses/abc", status: 201, tool, event_id: "evt_bad" },
|
|
150
|
+
]),
|
|
151
|
+
}),
|
|
129
152
|
evaluate(args, { tape }) {
|
|
130
153
|
// Guarded by the engine, guarded again here. For a negative criterion the
|
|
131
154
|
// difference between "no tape" and "an empty tape" is the whole ballgame:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-tape.js","sourceRoot":"","sources":["../../src/check-tape.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,EAAE;AACF,0EAA0E;AAC1E,4EAA4E;AAC5E,4EAA4E;AAC5E,4EAA4E;AAC5E,qEAAqE;AACrE,EAAE;AACF,gFAAgF;AAChF,6EAA6E;AAC7E,+EAA+E;AAC/E,sDAAsD;AACtD,EAAE;AACF,2EAA2E;AAC3E,kBAAkB;AAElB,OAAO,EAAE,WAA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AC,IAAI,wBAAwB,IAAI,CAAC,MAAM,qBAAqB;aAC/E,CAAC;QACJ,CAAC;QAED,wEAAwE;QACxE,8DAA8D;QAC9D,MAAM,gBAAgB,GAAG,KAAK;aAC3B,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC9B,MAAM,CAAC,CAAC,EAAE,EAAgB,EAAE,CAAC,OAAO,EAAE,KAAK,QAAQ,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;QACrE,MAAM,OAAO,GAAG;YACd,MAAM,EAAE,KAAK;YACb,MAAM,EACJ,GAAG,KAAK,CAAC,MAAM,iBAAiB,IAAI,CAAC,IAAI,MAAM;gBAC/C,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,IAAI,GAAG,IAAI,KAAK,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;SACxF,CAAC;QACF,OAAO,gBAAgB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;IAClF,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CheckSubstrate, CheckTapeEvent } from "@pome-sh/sdk/checks";
|
|
2
|
+
import type { GitHubCheckState, GitHubCheckStateRepo } from "./check-state.js";
|
|
3
|
+
/** A `final`-only world. `seed`/`tape` are null because the engine gives a
|
|
4
|
+
* `final` check neither, and a fixture richer than the runtime is a fixture
|
|
5
|
+
* that tests a world the check will never see. */
|
|
6
|
+
export declare function finalWorld(final: GitHubCheckState): CheckSubstrate<GitHubCheckState>;
|
|
7
|
+
export declare function deltaWorld(seed: GitHubCheckState, final: GitHubCheckState): CheckSubstrate<GitHubCheckState>;
|
|
8
|
+
/** A `tape` world. `final` is an empty repo list rather than `{}`: a tape check
|
|
9
|
+
* must not read state, and handing it a shape that would satisfy a state check
|
|
10
|
+
* hides the difference. */
|
|
11
|
+
export declare function tapeWorld(tape: readonly CheckTapeEvent[]): CheckSubstrate<GitHubCheckState>;
|
|
12
|
+
/** One repository, `acme/api`, with whatever the check under test reads. */
|
|
13
|
+
export declare function repoState(repo?: Partial<GitHubCheckStateRepo>): GitHubCheckState;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
//
|
|
3
|
+
// The fixture worlds GitHub's declarations name (F-1126).
|
|
4
|
+
//
|
|
5
|
+
// Fixtures only — no assertions live here. They sit in `src/` rather than
|
|
6
|
+
// `test/` because `discriminatingWorlds` is a DECLARED field: pome-cloud and the
|
|
7
|
+
// CLI both read the declaration from npm, and a builder that shipped only in the
|
|
8
|
+
// test tree would make the field unusable outside this repo.
|
|
9
|
+
//
|
|
10
|
+
// `repoState` always names `acme/api` because every FIXTURES entry in
|
|
11
|
+
// `checks-contract.test.ts` does. A world whose repo does not match the args
|
|
12
|
+
// resolves to "repo not found", which is exactly the degenerate failure arm 3
|
|
13
|
+
// rejects — so the coupling is load-bearing, not cosmetic.
|
|
14
|
+
/** A `final`-only world. `seed`/`tape` are null because the engine gives a
|
|
15
|
+
* `final` check neither, and a fixture richer than the runtime is a fixture
|
|
16
|
+
* that tests a world the check will never see. */
|
|
17
|
+
export function finalWorld(final) {
|
|
18
|
+
return { seed: null, final, tape: null };
|
|
19
|
+
}
|
|
20
|
+
export function deltaWorld(seed, final) {
|
|
21
|
+
return { seed, final, tape: null };
|
|
22
|
+
}
|
|
23
|
+
/** A `tape` world. `final` is an empty repo list rather than `{}`: a tape check
|
|
24
|
+
* must not read state, and handing it a shape that would satisfy a state check
|
|
25
|
+
* hides the difference. */
|
|
26
|
+
export function tapeWorld(tape) {
|
|
27
|
+
return { seed: null, final: { repositories: [] }, tape };
|
|
28
|
+
}
|
|
29
|
+
/** One repository, `acme/api`, with whatever the check under test reads. */
|
|
30
|
+
export function repoState(repo = {}) {
|
|
31
|
+
return { repositories: [{ owner: "acme", name: "api", full_name: "acme/api", ...repo }] };
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=check-worlds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-worlds.js","sourceRoot":"","sources":["../../src/check-worlds.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,0DAA0D;AAC1D,EAAE;AACF,0EAA0E;AAC1E,iFAAiF;AACjF,iFAAiF;AACjF,6DAA6D;AAC7D,EAAE;AACF,sEAAsE;AACtE,6EAA6E;AAC7E,8EAA8E;AAC9E,2DAA2D;AAK3D;;mDAEmD;AACnD,MAAM,UAAU,UAAU,CAAC,KAAuB;IAChD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,UAAU,CACxB,IAAsB,EACtB,KAAuB;IAEvB,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACrC,CAAC;AAED;;4BAE4B;AAC5B,MAAM,UAAU,SAAS,CAAC,IAA+B;IACvD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;AAC3D,CAAC;AAED,4EAA4E;AAC5E,MAAM,UAAU,SAAS,CAAC,OAAsC,EAAE;IAChE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,CAAC;AAC5F,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pome-sh/twin-github",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Deterministic GitHub-shaped twin for agent testing — REST + MCP, SQLite-backed state.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@hono/node-server": "^2.0.10",
|
|
37
|
-
"@pome-sh/sdk": "0.
|
|
37
|
+
"@pome-sh/sdk": "0.10.0",
|
|
38
38
|
"@pome-sh/shared-types": "0.13.0",
|
|
39
39
|
"hono": "^4.12.31",
|
|
40
40
|
"zod": "^4.1.13"
|
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# @pome-sh/twin-gmail — CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 0.3.0 — 2026-07-30
|
|
4
|
+
|
|
5
|
+
Gmail declares its assertable check vocabulary (F-1128, milestone A3).
|
|
6
|
+
|
|
7
|
+
- New `./checks` subpath: `GMAIL_CHECKS`, seven declarations, plus the
|
|
8
|
+
`GmailCheckState` model they read (`check-state.ts`). pome-cloud deletes its
|
|
9
|
+
hand-maintained mirror of that shape in the same milestone — the twin's model
|
|
10
|
+
is now the only one.
|
|
11
|
+
- Four declarations are new and bind the six criteria A3 found unbound across
|
|
12
|
+
tasks 22, 23 and 27: `gmail.message-has-label` (which clears three of them,
|
|
13
|
+
because two tasks say the same sentence), `gmail.label-exists`,
|
|
14
|
+
`gmail.draft-addressed-to` and `gmail.draft-count-at-least`.
|
|
15
|
+
- Three are carried across from pome-cloud's hand-written regexes:
|
|
16
|
+
`gmail.mailbox-label-count`, `gmail.one-message-per-recipient` and
|
|
17
|
+
`gmail.no-unsupported-endpoint`. The last drops the twin word — it is now the
|
|
18
|
+
same sentence twin-github declares, resolved per-twin by the engine — so
|
|
19
|
+
`examples/gmail-retry-notify` is rewritten to the rendered templates in the
|
|
20
|
+
same commit.
|
|
21
|
+
- `gmail.draft-addressed-to` declares its recipient as the check's `subject`.
|
|
22
|
+
pome-cloud has carried a prediction since F-1028 that this exact criterion
|
|
23
|
+
becomes an unguarded redaction hazard the day a gmail draft-recipient
|
|
24
|
+
predicate ships without one.
|
|
25
|
+
- Two shapes drove the state model and are pinned by tests rather than left as
|
|
26
|
+
comments: an exported draft row carries no addressing at all (the recipient
|
|
27
|
+
lives on the backing message, reached through `messageId`), and message
|
|
28
|
+
bodies are digested away unconditionally — so no check on this twin can scan
|
|
29
|
+
message prose.
|
|
30
|
+
- Ambiguity is closed in the reader rather than the grammar: a message id
|
|
31
|
+
present in more than one mailbox returns `message_ambiguous` instead of
|
|
32
|
+
grading whichever sorted first. Gmail mints ids per mailbox, and the corpus
|
|
33
|
+
sentences carry no mailbox.
|
|
34
|
+
- New `test/fidelity-contract.test.ts` adds the state-shape parity arm gmail
|
|
35
|
+
never had. The existing parity harness's rings are all about the tool surface;
|
|
36
|
+
nothing had ever compared `exportGmailState()` against the shape a consumer
|
|
37
|
+
reads.
|
|
38
|
+
- `vitest.config.ts` replaces the `test` script's hand-maintained file list.
|
|
39
|
+
`faults.test.ts` had already fallen off it — a suite that exists, passes, and
|
|
40
|
+
never ran.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## 0.2.1 — 2026-07-30
|
|
44
|
+
|
|
45
|
+
Dependency-only patch: repin `@pome-sh/sdk` to 0.10.0 (F-1126). No surface change.
|
|
46
|
+
|
|
47
|
+
The repin is not cosmetic. npm only symlinks a workspace sibling when the
|
|
48
|
+
declared pin matches its version; a stale pin makes npm install a nested
|
|
49
|
+
PUBLISHED copy instead, so the package is built and tested against the registry
|
|
50
|
+
rather than this tree. `scripts/check-workspace-pins-match-workspace.mjs` now
|
|
51
|
+
gates it.
|
|
52
|
+
|
|
3
53
|
## 0.2.0 — 2026-07-24
|
|
4
54
|
|
|
5
55
|
### Added
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
//
|
|
3
|
+
// What Gmail's declared checks can assert about DRAFTS (F-1128).
|
|
4
|
+
//
|
|
5
|
+
// The shape that makes this its own module: an exported draft row is
|
|
6
|
+
// `{mailboxEmail, id, messageId, createdAt, updatedAt}` and carries NO
|
|
7
|
+
// addressing. Who a draft is for lives on the backing message, reachable only
|
|
8
|
+
// through `messageId`. A predicate that read the draft row alone would answer
|
|
9
|
+
// "no draft is addressed to anyone", always — a negative that can never fail,
|
|
10
|
+
// which is the exact defect A3 exists to eliminate.
|
|
11
|
+
import { defineCheck, VACUITY_SENTINEL, VACUITY_SENTINEL_NUMBER } from "@pome-sh/sdk/checks";
|
|
12
|
+
import { countWord, emailAddress, parseCount } from "./check-params.js";
|
|
13
|
+
import { draftRecipients, isTruncated } from "./check-state.js";
|
|
14
|
+
import { draftAddressedTo as draftFor, finalWorld, gmailState } from "./check-worlds.js";
|
|
15
|
+
export const draftAddressedTo = defineCheck({
|
|
16
|
+
id: "gmail.draft-addressed-to",
|
|
17
|
+
description: "Joins every draft to its backing message and asks whether any of them addresses this " +
|
|
18
|
+
"recipient in `to` or `cc`, compared case-insensitively as an EXACT address rather than a " +
|
|
19
|
+
"substring. It asserts nothing about the draft's body — message bodies are digested out of " +
|
|
20
|
+
"the state export unconditionally, so no check on this twin can read one — and nothing about " +
|
|
21
|
+
"whether the draft was left unsent, which is a separate claim. A draft whose backing message " +
|
|
22
|
+
"did not survive the export contributes no recipients rather than throwing.",
|
|
23
|
+
template: "A draft addressed to {email} exists",
|
|
24
|
+
params: { email: emailAddress },
|
|
25
|
+
substrate: "final",
|
|
26
|
+
// An achievement: task 22's seed ships one draft addressed to bob, so an
|
|
27
|
+
// examinee that does nothing does not satisfy this.
|
|
28
|
+
polarity: () => "positive",
|
|
29
|
+
//
|
|
30
|
+
// THE LOAD-BEARING DECLARATION ON THIS CHECK.
|
|
31
|
+
//
|
|
32
|
+
// pome-cloud's `corpus.ts` has carried a prediction about this exact criterion
|
|
33
|
+
// since F-1028: `22-gmail-inbox-triage`'s `alice@example.com` "becomes visible
|
|
34
|
+
// here as 'unguarded' the day a gmail draft-recipient predicate lands without a
|
|
35
|
+
// `subject`, which is precisely when it starts to matter." An email address is
|
|
36
|
+
// squarely inside what a team's redaction config may destroy. Without this
|
|
37
|
+
// field the evaluator has no way to turn an impossible comparison into an
|
|
38
|
+
// honest skip, so the criterion scores a vacuous verdict at both doors
|
|
39
|
+
// instead — and the count of unguarded hazards must stay at zero.
|
|
40
|
+
subject: ({ email }) => email,
|
|
41
|
+
// The address is the scanned literal, so the mutant points at it. It stays
|
|
42
|
+
// email-shaped so it re-binds to this same check: a mutant that stops matching
|
|
43
|
+
// evaluates to `unmatched`, which reads as "the verdict moved -> healthy" and
|
|
44
|
+
// hands the criterion a clean bill it did not earn.
|
|
45
|
+
vacuityMutant: (args) => ({ ...args, email: `${VACUITY_SENTINEL}@example.invalid` }),
|
|
46
|
+
discriminatingWorlds: ({ email }) => {
|
|
47
|
+
const wanted = draftFor("draft_target", [email]);
|
|
48
|
+
const other = draftFor("draft_other", ["someone-else@example.com"]);
|
|
49
|
+
// Both worlds carry a draft, so the failing world fails on the ASSERTION
|
|
50
|
+
// rather than on an empty collection — the degenerate arm the probe rejects.
|
|
51
|
+
return {
|
|
52
|
+
passing: finalWorld(gmailState({ drafts: [wanted.draft], messages: [wanted.message] })),
|
|
53
|
+
failing: finalWorld(gmailState({ drafts: [other.draft], messages: [other.message] })),
|
|
54
|
+
};
|
|
55
|
+
},
|
|
56
|
+
evaluate({ email }, { final }) {
|
|
57
|
+
if (final.drafts == null || final.messages == null) {
|
|
58
|
+
return { passed: false, status: "skipped", reason: "state_incomplete" };
|
|
59
|
+
}
|
|
60
|
+
const wanted = email.toLowerCase();
|
|
61
|
+
const hit = final.drafts.find((entry) => draftRecipients(final, entry).some((to) => to.toLowerCase() === wanted));
|
|
62
|
+
if (hit) {
|
|
63
|
+
return { passed: true, reason: `draft ${hit.id ?? "?"} is addressed to ${email}` };
|
|
64
|
+
}
|
|
65
|
+
// Only refuse once the answer would otherwise be "no". A capped collection
|
|
66
|
+
// that still contains the draft is a real pass, and skipping it would drop a
|
|
67
|
+
// criterion the export could actually answer.
|
|
68
|
+
if (isTruncated(final, "drafts") || isTruncated(final, "messages")) {
|
|
69
|
+
return { passed: false, status: "skipped", reason: "collection_truncated" };
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
passed: false,
|
|
73
|
+
reason: `no draft is addressed to ${email} (${final.drafts.length} draft(s) inspected)`,
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
export const draftCountAtLeast = defineCheck({
|
|
78
|
+
id: "gmail.draft-count-at-least",
|
|
79
|
+
description: "Counts the rows in the exported `drafts` collection and asserts there are AT LEAST this " +
|
|
80
|
+
"many — a lower bound, so a mailbox with more drafts than asked still passes. It counts " +
|
|
81
|
+
"drafts the SEED placed there as well as any the examinee created, which means a criterion " +
|
|
82
|
+
"whose number the seed already satisfies can be passed by an agent that does nothing. That " +
|
|
83
|
+
"is a property of the task, not of this check, and `measure-criterion-discrimination` is " +
|
|
84
|
+
"where it surfaces.",
|
|
85
|
+
template: "At least {count} drafts exist",
|
|
86
|
+
params: { count: countWord },
|
|
87
|
+
substrate: "final",
|
|
88
|
+
polarity: () => "positive",
|
|
89
|
+
// A threshold, not a literal hunted for inside state — there is nothing here a
|
|
90
|
+
// redactor could silently delete.
|
|
91
|
+
subject: () => null,
|
|
92
|
+
//
|
|
93
|
+
// The NUMERIC sentinel, and the argument D10 demands before it may be used.
|
|
94
|
+
//
|
|
95
|
+
// In every other pattern a numeric capture is a SELECTOR — an issue number, a
|
|
96
|
+
// PR number — that the predicate RESOLVES before it scans anything, so
|
|
97
|
+
// falsifying it early-returns "not found" and moves the verdict for a reason
|
|
98
|
+
// that never reaches the assertion. Here the count is the ONLY slot and there
|
|
99
|
+
// is nothing to resolve: it is compared directly against a cardinality the
|
|
100
|
+
// predicate computes, so falsifying it moves the verdict THROUGH the
|
|
101
|
+
// assertion. That is the same argument `stripe.payment-intent-amount` makes,
|
|
102
|
+
// and it is why this check is the second entry in pome-cloud's
|
|
103
|
+
// `NUMERIC_SENTINEL_ALLOWED`.
|
|
104
|
+
vacuityMutant: (args) => ({ ...args, count: String(VACUITY_SENTINEL_NUMBER) }),
|
|
105
|
+
discriminatingWorlds: ({ count }) => {
|
|
106
|
+
const wanted = parseCount(count) ?? 1;
|
|
107
|
+
const build = (n) => {
|
|
108
|
+
const pairs = Array.from({ length: n }, (_, i) => draftFor(`draft_${i}`, ["a@example.com"]));
|
|
109
|
+
return gmailState({
|
|
110
|
+
drafts: pairs.map((p) => p.draft),
|
|
111
|
+
messages: pairs.map((p) => p.message),
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
// The failing world is one SHORT, not empty: `wanted - 1` keeps the drafts
|
|
115
|
+
// collection non-null so the failure is the count, not the absence.
|
|
116
|
+
return { passing: finalWorld(build(wanted)), failing: finalWorld(build(Math.max(0, wanted - 1))) };
|
|
117
|
+
},
|
|
118
|
+
evaluate({ count }, { final }) {
|
|
119
|
+
const wanted = parseCount(count);
|
|
120
|
+
if (wanted === null) {
|
|
121
|
+
// Unreachable through the generated pattern, which only admits digits and
|
|
122
|
+
// the number words `parseCount` knows. Named rather than assumed, so a
|
|
123
|
+
// widened slot type surfaces here instead of as a silent `NaN` comparison.
|
|
124
|
+
return { passed: false, status: "skipped", reason: `uncountable ("${count}")` };
|
|
125
|
+
}
|
|
126
|
+
if (final.drafts == null)
|
|
127
|
+
return { passed: false, status: "skipped", reason: "state_incomplete" };
|
|
128
|
+
const total = final.drafts.length;
|
|
129
|
+
if (total < wanted && isTruncated(final, "drafts")) {
|
|
130
|
+
return { passed: false, status: "skipped", reason: 'collection_truncated ("drafts")' };
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
passed: total >= wanted,
|
|
134
|
+
reason: `${total} draft(s) exist (wanted at least ${wanted})`,
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
});
|
|
138
|
+
//# sourceMappingURL=check-drafts.js.map
|
|
@@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AAC;QACD,IAAI,KAAK,CAAC,MAAM,IAAI,IAAI;YAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;QAClG,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QAClC,IAAI,KAAK,GAAG,MAAM,IAAI,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC;YACnD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iCAAiC,EAAE,CAAC;QACzF,CAAC;QACD,OAAO;YACL,MAAM,EAAE,KAAK,IAAI,MAAM;YACvB,MAAM,EAAE,GAAG,KAAK,oCAAoC,MAAM,GAAG;SAC9D,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
//
|
|
3
|
+
// The one type every Gmail check declaration is written against, mirroring
|
|
4
|
+
// twin-github's and twin-slack's `check-kind.ts`. It exists so the declaration
|
|
5
|
+
// files can be split by what they assert about without each re-deriving the
|
|
6
|
+
// binding to the state tree — and so a declaration that forgets to name
|
|
7
|
+
// `GmailCheckState` cannot compile.
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=check-kind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-kind.js","sourceRoot":"","sources":["../../src/check-kind.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,2EAA2E;AAC3E,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,oCAAoC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
//
|
|
3
|
+
// What Gmail's declared checks can assert about LABEL DEFINITIONS (F-1128).
|
|
4
|
+
//
|
|
5
|
+
// Separate from `check-messages.ts` because it asks a different question of a
|
|
6
|
+
// different collection: whether a label EXISTS in the mailbox at all, not
|
|
7
|
+
// whether a message carries one. Gmail's own API splits them the same way —
|
|
8
|
+
// `create_label` is mailbox-scoped, `label_message` is message-scoped — and
|
|
9
|
+
// `github.no-new-labels` records what happens when one sentence blurs the two.
|
|
10
|
+
import { defineCheck, VACUITY_SENTINEL } from "@pome-sh/sdk/checks";
|
|
11
|
+
import { labelName } from "./check-params.js";
|
|
12
|
+
import { resolveLabelByName } from "./check-state.js";
|
|
13
|
+
import { finalWorld, gmailState, systemLabel, userLabel } from "./check-worlds.js";
|
|
14
|
+
export const labelExists = defineCheck({
|
|
15
|
+
id: "gmail.label-exists",
|
|
16
|
+
description: "Asks whether the mailbox defines a label with this DISPLAY NAME, compared case-insensitively " +
|
|
17
|
+
"the way the twin's own seeder keys its uniqueness lookup. It reads the `labels` collection " +
|
|
18
|
+
"only — a label that exists but has been applied to nothing still passes, and a message " +
|
|
19
|
+
"carrying a label is `gmail.message-has-label`'s question, not this one. It deliberately does " +
|
|
20
|
+
"NOT match on the minted id: `Label_follow_up` is an id and `Follow Up` is the name of that " +
|
|
21
|
+
"same label, and letting one sentence mean both would make the assertion unreadable.",
|
|
22
|
+
// The name slot admits spaces, which is what the corpus needs (`Parity
|
|
23
|
+
// Complete`) and what separates this template from `gmail.message-has-label`'s
|
|
24
|
+
// id slot. The two cannot claim one sentence: this one says "A label named",
|
|
25
|
+
// that one says "Message ... has label".
|
|
26
|
+
template: "A label named {label} exists",
|
|
27
|
+
params: { label: labelName },
|
|
28
|
+
substrate: "final",
|
|
29
|
+
// An achievement — task 23's seed defines no `Parity Complete`, so the
|
|
30
|
+
// examinee has to create it.
|
|
31
|
+
polarity: () => "positive",
|
|
32
|
+
// The name is a caller-supplied literal compared against state.
|
|
33
|
+
subject: ({ label }) => label,
|
|
34
|
+
vacuityMutant: (args) => ({ ...args, label: VACUITY_SENTINEL }),
|
|
35
|
+
discriminatingWorlds: ({ label }) => ({
|
|
36
|
+
// Both worlds carry a non-empty `labels` collection, so the failing world
|
|
37
|
+
// fails on the ASSERTION (`label_not_found`) rather than reproducing the
|
|
38
|
+
// `state_incomplete` an empty world gives — the degenerate arm the probe
|
|
39
|
+
// rejects.
|
|
40
|
+
passing: finalWorld(gmailState({ labels: [systemLabel("INBOX"), userLabel("Label_1", label)] })),
|
|
41
|
+
failing: finalWorld(gmailState({ labels: [systemLabel("INBOX")] })),
|
|
42
|
+
}),
|
|
43
|
+
evaluate({ label }, { final }) {
|
|
44
|
+
const found = resolveLabelByName(final, label);
|
|
45
|
+
if ("missing" in found) {
|
|
46
|
+
// `state_incomplete` and `collection_truncated` are unanswerable; a label
|
|
47
|
+
// genuinely not there is the honest FAIL this check exists to deliver.
|
|
48
|
+
if (found.missing.startsWith("label_not_found")) {
|
|
49
|
+
return { passed: false, reason: `no label named "${label}" exists` };
|
|
50
|
+
}
|
|
51
|
+
return { passed: false, status: "skipped", reason: found.missing };
|
|
52
|
+
}
|
|
53
|
+
return { passed: true, reason: `label "${label}" exists (id ${found.found.id ?? "?"})` };
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
//# sourceMappingURL=check-labels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-labels.js","sourceRoot":"","sources":["../../src/check-labels.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,EAAE;AACF,4EAA4E;AAC5E,EAAE;AACF,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E;AAC5E,4EAA4E;AAC5E,+EAA+E;AAE/E,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;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KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;gBAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,KAAK,UAAU,EAAE,CAAC;YACvE,CAAC;YACD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC;QACrE,CAAC;QACD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,KAAK,gBAAgB,KAAK,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,CAAC;IAC3F,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Check } from "./check-kind.js";
|
|
2
|
+
export declare const messageHasLabel: Check<{
|
|
3
|
+
message: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const mailboxLabelCount: Check<{
|
|
7
|
+
mailbox: string;
|
|
8
|
+
count: string;
|
|
9
|
+
label: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare const oneMessagePerRecipient: Check<{
|
|
12
|
+
label: string;
|
|
13
|
+
count: string;
|
|
14
|
+
}>;
|