@openwop/openwop-conformance 2.40.2 → 2.41.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/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/dist/lib/certification-bundle-verify.js +24 -2
- package/dist/spec-artifacts.lock.json +2 -2
- package/fixtures/conformance-context-budget-live.json +44 -0
- package/fixtures/conformance-context-budget-multiturn.json +1 -1
- package/fixtures.md +2 -1
- package/package.json +2 -2
- package/requirements.json +85 -56
- package/scenario-majors.json +5 -3
- package/schemas/CORPUS-STAMP.json +11 -11
- package/src/lib/certification-bundle-verify.ts +23 -1
- package/src/lib/context-budget.ts +198 -0
- package/src/lib/host-callback.ts +8 -0
- package/src/scenarios/certification-bundle-redaction.test.ts +30 -7
- package/src/scenarios/context-budget-transcript-bound.test.ts +85 -183
- package/src/scenarios/context-summarization-replay.test.ts +81 -81
- package/src/scenarios/v2-bound-id-kinds.test.ts +2 -0
- package/src/scenarios/v2-durability-recovery.test.ts +2 -0
- package/src/scenarios/v2-revocation-honored.test.ts +11 -4
- package/src/scenarios/v2-terminal-event-once.test.ts +2 -0
- package/src/scenarios/v2-webhook-delivery-isolation.test.ts +2 -0
- package/src/scenarios/v2-webhook-delivery-shape.test.ts +2 -0
- package/src/scenarios/v2-webhook-durable-delivery.test.ts +2 -0
- package/src/scenarios/v2-webhook-unregister-stops-delivery.test.ts +2 -0
- package/src/scenarios/webhook-signed-delivery.test.ts +2 -0
|
@@ -57,6 +57,8 @@ import { req } from '../lib/requirement-ids.js';
|
|
|
57
57
|
import { era2Gate, seedEra2Log, v1FixtureLog } from '../lib/era2-seed.js';
|
|
58
58
|
import { SCHEMAS_DIR } from '../lib/paths.js';
|
|
59
59
|
|
|
60
|
+
export const REQUIRES_HOST_CALLBACK = 'the host POSTs a webhook delivery to the suite-owned scoped receiver behind OPENWOP_WEBHOOK_RECEIVER_URL';
|
|
61
|
+
|
|
60
62
|
const ID = 'openwop.requirement.0171.webhook-delivery-shape';
|
|
61
63
|
const DOC = 'spec/v2/core/webhooks.md §Delivery';
|
|
62
64
|
const FIXTURE = 'conformance-noop';
|
|
@@ -37,6 +37,8 @@ import { blockedDespiteAssertions, softSkip } from '../lib/soft-skip.js';
|
|
|
37
37
|
import { req } from '../lib/requirement-ids.js';
|
|
38
38
|
import { retryWaitCapMs, retryWaitFor, windowClosedNote } from '../lib/webhook-retry-window.js';
|
|
39
39
|
|
|
40
|
+
export const REQUIRES_HOST_CALLBACK = 'the host POSTs and retries webhook deliveries to the suite-owned scoped receiver behind OPENWOP_WEBHOOK_RECEIVER_URL';
|
|
41
|
+
|
|
40
42
|
const FIXTURE = 'conformance-noop';
|
|
41
43
|
const TERMINAL = new Set(['completed', 'failed', 'cancelled']);
|
|
42
44
|
|
|
@@ -46,6 +46,8 @@ import { blockedDespiteAssertions, softSkip } from '../lib/soft-skip.js';
|
|
|
46
46
|
import { req } from '../lib/requirement-ids.js';
|
|
47
47
|
import { retryWaitCapMs, retryWaitFor } from '../lib/webhook-retry-window.js';
|
|
48
48
|
|
|
49
|
+
export const REQUIRES_HOST_CALLBACK = 'the host POSTs and retries webhook deliveries to the suite-owned scoped receiver behind OPENWOP_WEBHOOK_RECEIVER_URL';
|
|
50
|
+
|
|
49
51
|
const ID = 'openwop.requirement.0215.unregister-stops-delivery';
|
|
50
52
|
const DOC = 'webhooks.md §Durability (RFC 0215 §B)';
|
|
51
53
|
const FIXTURE = 'conformance-noop';
|
|
@@ -113,6 +113,8 @@ import { discoverOwnedTenant } from '../lib/webhook-receiver.js';
|
|
|
113
113
|
import { absenceIsUnmeasured, noDeliveryCause, startScopedReceiver, type ScopedReceiver } from '../lib/scoped-receiver.js';
|
|
114
114
|
import { req } from '../lib/requirement-ids.js';
|
|
115
115
|
|
|
116
|
+
export const REQUIRES_HOST_CALLBACK = 'the host POSTs a signed webhook delivery to the suite-owned scoped receiver behind OPENWOP_WEBHOOK_RECEIVER_URL';
|
|
117
|
+
|
|
116
118
|
interface DeliveredRequest {
|
|
117
119
|
readonly headers: Record<string, string>;
|
|
118
120
|
readonly body: string;
|