Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Support Desk

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](docs/RELEASING.md#source-version-0213).

[![CI](https://github.com/pegma-dev/support-desk/actions/workflows/ci.yml/badge.svg)](https://github.com/pegma-dev/support-desk/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

Expand Down
10 changes: 10 additions & 0 deletions docs/ENGINEERING_FOLLOWUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@ ports. Its route, privacy, tokenizer and checker qualification stay explicit;
provider and host activation remain pending. Retest requests remain advisory
until the owning trusted evidence workflow verifies their actual execution.

The [unpublished 0.2.13 SD05 checker group source](../packages/ai/README.md#unreleased-source-sd05-independent-check-provider-groups)
adds explicit route/static-allowlist/Admin group approval and hash-bound price
ceilings to independent whole-bundle checks only. Its separate live SD05
purpose/wire evidence, Source/Work guards and `sf1` receipt domain remain
required. Approval renewal cannot change a queued selector, scope, price or
route-policy hash. Generators retain their endpoint-qualified route policy.
Published `0.2.12` still refuses SD05 group checks; hosts must await a verified
`0.2.13` release and qualify their actual group privacy, request, model and
Free CPU before activation. This source change supplies no live authority.

<a id="candidate-029-followup-invocations"></a>
<a id="candidate-029-physical-invocation-phases"></a>

Expand Down
15 changes: 15 additions & 0 deletions docs/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Release notes

<a id="0213-sd05-provider-group-checks"></a>

## 0.2.13 source candidate — SD05 independent-check provider groups

SD05 independent whole-bundle checks may explicitly opt into the same
route/static-allowlist/Admin-approved group scope and hash-bound price ceilings
as learning and engineering checks. The separate SD05 evidence and `sf1` MAC
domain, current Source/Work fences, approval renewal identity, conservative
native-charge accounting and exact receipt recovery remain required.
Generators, legacy absent-key routes/wires/hashes, defaults and external
dependency selections are unchanged. All five source package versions and exact
internal Support pins now select **unpublished `0.2.13`**; the root remains
private at `0.0.0`. No public release, live provider qualification or host
activation is included; published `0.2.12` retains its SD05 refusal. See the [source contract](../packages/ai/README.md#unreleased-source-sd05-independent-check-provider-groups).

<a id="0212-opt-in-provider-group-checks"></a>

<a id="0212-source-candidate--opt-in-provider-group-checks"></a>
Expand Down
22 changes: 22 additions & 0 deletions docs/RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Release operations

<a id="source-version-0213"></a>

## 0.2.13 source preparation: 2026-11-14

All five source package versions and exact internal Support pins select
**unpublished `0.2.13`**, including the root Support development pins and
matching workspace lock importers. The root remains private at `0.0.0`; exact
KB application/contracts `0.1.8` and all other external selections are unchanged.

The candidate extends explicit route/static-allowlist/Admin-approved group
routing to SD05 independent checks only. Separate SD05 evidence, `sf1` receipt
binding, current Source/Work fences, immutable queued route identity and native
usage accounting remain required. Generators and omitted-option request bytes
and hashes are unchanged. See the [candidate notes](RELEASE_NOTES.md#0213-sd05-provider-group-checks).

The required source gates below, configured review and CI must pass on the
reviewed head before the maintainer performs the protected signed-tag/OIDC
release. The current verified public release remains `0.2.12`, with its original
receipt, assets and history below unchanged. Candidate metadata is not a
publication receipt or authority for host adoption, paid calls, customer AI,
provider privacy/quality, requested clients or Free invocation/CPU acceptance.

<a id="verified-0212-publication-2026-11-14"></a>

## Verified 0.2.12 publication: 2026-11-14
Expand Down
19 changes: 19 additions & 0 deletions docs/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Upgrading synchronized Support Desk packages

## 0.2.13 source candidate: SD05 checker provider-group opt-in

The source SD05 independent checker now accepts the existing explicit group
route, matching static allowlist scope and current Admin scope approval, with
the complete hash-bound `providerMaxPrice` policy. This is not a generator
capability or a default selector change. Its separate SD05 purpose/wire
evidence and receipt MAC, current Source/Work checks, native usage accounting
and finite approval/attempt lifetimes are retained. Benign approval-date
renewals cannot widen group scope or prices or replace a queued route hash.

All five source versions and internal Support pins select unpublished
`0.2.13`, with root development pins and workspace lock importers synchronized.
External dependency selections remain unchanged. No published artifact is
claimed. Hosts must preserve the public `0.2.12` SD05 group refusal until a separately
verified release supplies the feature. Requalify the actual model, route hash,
full SYSTEM/USER wire, token counter and framing, provider-group privacy,
native cost and host Free CPU; do not relabel prior endpoint evidence or
activate customer AI from source tests. See the [adapter contract](../packages/ai/README.md#unreleased-source-sd05-independent-check-provider-groups).

The current verified synchronized release is `0.2.12`; see its
[publication receipt](RELEASING.md#verified-0212-publication-2026-11-14).
Hosts must qualify the [new checker wire](../packages/ai/README.md#optional-openrouter-adapter)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"@pegma/spine": "0.1.2",
"@pegma/storage-azure-tables": "0.4.0",
"@pegma/storage-core": "0.4.0",
"@pegma/support-desk-ai": "0.2.12",
"@pegma/support-desk-application": "0.2.12",
"@pegma/support-desk-templates": "0.2.12",
"@pegma/support-desk-ai": "0.2.13",
"@pegma/support-desk-application": "0.2.13",
"@pegma/support-desk-templates": "0.2.13",
"@types/node": "^26.6.6",
"azurite": "^3.37.0",
"prettier": "^3.9.10",
Expand Down
44 changes: 41 additions & 3 deletions packages/ai/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# @pegma/support-desk-ai

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](../../docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](../../docs/RELEASING.md#source-version-0213).

The synchronized `0.2.12` release is published and strictly verified. Its
internal Support application pin is exact `0.2.12`; external KB
published internal Support application pin is exact `0.2.12`; external KB
application/contracts retain exact verified public `0.1.8`. See the
[publication receipt](../../docs/RELEASING.md#verified-0212-publication-2026-11-14)
and [release notes](../../docs/RELEASE_NOTES.md#0212-opt-in-provider-group-checks).
Expand Down Expand Up @@ -424,8 +429,9 @@ plans.

Published `0.2.12` permits an explicitly approved provider group for learning
and engineering independent checks. Structural support does not activate a host or authorize a live call.
Answering and generation routes retain their existing policies; the release
follow-up checker refuses group mode before funding.
Answering and generation routes retain their existing policies. Published
`0.2.12` release-follow-up checks refuse group mode before funding; the
unreleased source extension below is not a published host dependency.

The host must set `providerSelectionScope: "provider_group"` in all three places:
the independent-check route, its matching static allowlist entry, and
Expand Down Expand Up @@ -475,6 +481,38 @@ as free or retried automatically. The dated receipt records SDK qualification
and publication; each host's current privacy, evaluation and activation gates
remain separate.

<a id="unreleased-source-sd05-independent-check-provider-groups"></a>

### 0.2.13 source candidate: SD05 independent-check provider groups

The source `createSupportReleaseFollowupChecks` now permits the same explicit
three-part group opt-in described above. This extends only SD05 independent
checks, not `createSupportReleaseFollowupModel` or any generator. Hosts must
wait for a separately reviewed and verified public release; published `0.2.12`
still has its documented SD05 refusal. The five source versions and internal pins select unpublished `0.2.13`;
no default route, credential, host profile or provider choice is activated.

SD05 still requires current, separate `route.releaseFollowup` evidence for
`support_release_followup` and `openrouter-support-release-followup-check-v1`.
Its validity must cover the current independent-check approval. Complete input,
purpose, Source/Work authority and before-physical-call guards remain mandatory.
The producer remains independent-check wire v2 with the unchanged verdict
schema; a group selector does not authorize an engineering receipt as SD05.

The distinct `sf1` receipt MAC still binds the SD05 purpose, route-policy hash,
configuration and policy. A benign Admin approval renewal may extend only its
observation dates, within the existing evidence ceilings; it cannot change the
group, selector scope, prices or approved hash, or extend a retained attempt's
or receipt's lifetime. Deferred provider/receipt phases retain the exact queued
configuration identity and refuse semantic route changes even when separately
newly approved. Native charges, conservative unknown usage and no-automatic-retry
behavior are unchanged. Invalid groups reach no provider credential, funding
or fetch; existing receipt-signing-key reads/order are unchanged.

Legacy absent-key route hashes and complete wire bytes retain their golden
regressions. Source/unit qualification does not establish live group privacy,
model quality, tokenizer framing, deployed Free CPU or activation acceptance.

### Release follow-up provider ports

Published `0.2.9` adds `createSupportReleaseFollowupModel(options,
Expand Down
4 changes: 2 additions & 2 deletions packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/support-desk-ai",
"version": "0.2.12",
"version": "0.2.13",
"description": "Optional bounded, provider-neutral Support Desk answer coordinator.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -42,7 +42,7 @@
"@pegma/knowledge-base-application": "0.1.8",
"@pegma/knowledge-base-contracts": "0.1.8",
"@pegma/spine": "0.1.2",
"@pegma/support-desk-application": "0.2.12",
"@pegma/support-desk-application": "0.2.13",
"@pegma/storage-core": "0.4.0",
"zod": "4.6.7"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ export function createSupportIndependentCheckModel(
) {
const host = checkedLogicalHost(logicalHost);
// Capture per-instance policy before callers can mutate the supplied object.
// SD05 alone opts into approval renewal and explicitly disables groups.
// Independent checks support groups only with route/allowlist/approval opt-in.
// SD05 alone opts into approval renewal. Group routing still requires the
// route, static allowlist and current approval to opt in together.
const allowApprovalRenewal = attemptPolicy?.allowApprovalRenewal === true;
const allowProviderGroup = attemptPolicy?.allowProviderGroup !== false;
const sameRoute = (
Expand Down Expand Up @@ -725,7 +725,6 @@ export function createSupportIndependentCheckModel(
const r = read(config.version);
if (
!r?.releaseFollowup ||
r.providerSelectionScope !== undefined ||
!live(r.releaseFollowup, Date.parse(options.clock.now())) ||
Date.parse(r.approval.validUntil) >
Date.parse(r.releaseFollowup.validUntil)
Expand Down Expand Up @@ -827,7 +826,6 @@ export function createSupportIndependentCheckModel(
followupInput(input);
if (
!route.releaseFollowup ||
route.providerSelectionScope !== undefined ||
!live(route.releaseFollowup, Date.parse(options.clock.now())) ||
Date.parse(route.approval.validUntil) >
Date.parse(route.releaseFollowup.validUntil)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export function createSupportReleaseFollowupChecks(
const host = checkedLogicalHost(logicalHost);
const model = createSupportIndependentCheckModel(options, host, {
allowApprovalRenewal: true,
allowProviderGroup: false,
allowProviderGroup: true,
});
const policy =
options.usagePolicy === undefined
Expand Down
5 changes: 5 additions & 0 deletions packages/application/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @pegma/support-desk-application

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](../../docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](../../docs/RELEASING.md#source-version-0213).

The synchronized `0.2.12` release is published and strictly verified. It
adds opt-in provider-group routing for optional AI independent checks without
adding an application API. See the [publication receipt](../../docs/RELEASING.md#verified-0212-publication-2026-11-14)
Expand Down
6 changes: 3 additions & 3 deletions packages/application/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/support-desk-application",
"version": "0.2.12",
"version": "0.2.13",
"description": "Authorized application services, declared collections, and durable outbox records for Support Desk.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -39,7 +39,7 @@
"@pegma/mail": "0.1.1",
"@pegma/spine": "0.1.2",
"@pegma/storage-core": "0.4.0",
"@pegma/support-desk-contracts": "0.2.12",
"@pegma/support-desk-core": "0.2.12"
"@pegma/support-desk-contracts": "0.2.13",
"@pegma/support-desk-core": "0.2.13"
}
}
5 changes: 5 additions & 0 deletions packages/contracts/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @pegma/support-desk-contracts

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](../../docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](../../docs/RELEASING.md#source-version-0213).

The synchronized `0.2.12` release is published and strictly verified. See the
[publication receipt](../../docs/RELEASING.md#verified-0212-publication-2026-11-14),
[release notes](../../docs/RELEASE_NOTES.md#0212-opt-in-provider-group-checks)
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/support-desk-contracts",
"version": "0.2.12",
"version": "0.2.13",
"description": "Provider-neutral ticket and message contracts for Support Desk.",
"license": "MIT",
"type": "module",
Expand Down
5 changes: 5 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @pegma/support-desk-core

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](../../docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](../../docs/RELEASING.md#source-version-0213).

The synchronized `0.2.12` release is published and strictly verified. See the
[publication receipt](../../docs/RELEASING.md#verified-0212-publication-2026-11-14),
[release notes](../../docs/RELEASE_NOTES.md#0212-opt-in-provider-group-checks)
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/support-desk-core",
"version": "0.2.12",
"version": "0.2.13",
"description": "Pure ticket creation and workflow transitions for Support Desk.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -29,7 +29,7 @@
"directory": "packages/core"
},
"dependencies": {
"@pegma/support-desk-contracts": "0.2.12"
"@pegma/support-desk-contracts": "0.2.13"
},
"scripts": {
"build": "tsc -p tsconfig.json",
Expand Down
5 changes: 5 additions & 0 deletions packages/templates/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @pegma/support-desk-templates

This checkout prepares the synchronized **unpublished `0.2.13` candidate**
for SD05 independent-check provider groups. The current verified public release
remains `0.2.12`. See the [candidate notes](../../docs/RELEASE_NOTES.md#0213-sd05-provider-group-checks)
and [source preparation](../../docs/RELEASING.md#source-version-0213).

The synchronized `0.2.12` release is published and strictly verified. See the
[publication receipt](../../docs/RELEASING.md#verified-0212-publication-2026-11-14),
[release notes](../../docs/RELEASE_NOTES.md#0212-opt-in-provider-group-checks)
Expand Down
2 changes: 1 addition & 1 deletion packages/templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pegma/support-desk-templates",
"version": "0.2.12",
"version": "0.2.13",
"description": "Safe, versioned notification templates for Support Desk.",
"license": "MIT",
"type": "module",
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading