Skip to content

Commit fc64552

Browse files
committed
docs: rename remaining connector-semantic ADR-0096 refs introduced by #3016/#3029
1 parent cad54c7 commit fc64552

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

examples/app-showcase/objectstack.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default defineStack({
109109
// • slack → registered so TaskCompletedSlackFlow resolves its connector;
110110
// live posting needs a real bot token (set SLACK_BOT_TOKEN).
111111
// • openapi → option-less: contributes only the `openapi` provider factory
112-
// (ADR-0096), which materializes the StatusOpenApiConnector
112+
// (ADR-0097), which materializes the StatusOpenApiConnector
113113
// declarative instance below — its OpenAPI document is a
114114
// package-relative FILE PATH read at boot (#3016).
115115
plugins: [
@@ -197,7 +197,7 @@ export default defineStack({
197197
// Declarative REST endpoints (object_operation + flow) — the metadata
198198
// counterpart of the code-mounted recalc endpoint (see src/system/apis/).
199199
apis: allApis,
200-
// Declarative `connectors:` — both kinds (ADR-0096): provider-bound
200+
// Declarative `connectors:` — both kinds (ADR-0097): provider-bound
201201
// INSTANCES (StatusApiConnector via `rest`; StatusOpenApiConnector via
202202
// `openapi` with a package-relative file-path spec, #3016) materialized into
203203
// live, dispatchable connectors at boot, plus a CATALOG DESCRIPTOR

examples/app-showcase/src/system/connectors/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const StatusApiConnector = defineConnector({
5959
auth: { type: 'none' },
6060
});
6161
/**
62-
* ADR-0096 provider-bound instance, **file-path spec** form (#3016): the OpenAPI
62+
* ADR-0097 provider-bound instance, **file-path spec** form (#3016): the OpenAPI
6363
* document lives next to this file (`status-openapi.json`) and is referenced by
6464
* a path resolved relative to THIS package's root at materialization — reads
6565
* are confined to the package root (absolute / `..`-escaping paths are
@@ -76,7 +76,7 @@ export const StatusOpenApiConnector = defineConnector({
7676
label: 'Status API (Declarative OpenAPI Instance, File-Path Spec)',
7777
type: 'api',
7878
description:
79-
'Provider-bound declarative connector instance (ADR-0096) whose OpenAPI document is referenced as a ' +
79+
'Provider-bound declarative connector instance (ADR-0097) whose OpenAPI document is referenced as a ' +
8080
'package-relative file path (#3016) and read at boot, confined to the package root. Materialized into a live ' +
8181
'`openapi` connector — getHealth dispatches GET /api/v1/health against the running server.',
8282
provider: 'openapi',

packages/connectors/connector-openapi/src/openapi-provider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('openapi provider factory (ADR-0097)', () => {
5252
await expect(factory(ctx({ providerConfig: {} }))).rejects.toThrow(/providerConfig\.spec/);
5353
});
5454

55-
// ── File-path specs (#3016 — ADR-0096 follow-up) ────────────────────────
55+
// ── File-path specs (#3016 — ADR-0097 follow-up) ────────────────────────
5656

5757
it('reads a file-path spec through the host loadPackageFile capability', async () => {
5858
const requested: string[] = [];

packages/connectors/connector-openapi/src/openapi-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface OpenApiProviderConfig {
3636
}
3737

3838
/**
39-
* Resolve `providerConfig.spec` into a parsed OpenAPI document (ADR-0096;
39+
* Resolve `providerConfig.spec` into a parsed OpenAPI document (ADR-0097;
4040
* union per #3016): an inline document object (the reliable, no-I/O-at-boot
4141
* form used by the showcase), an http(s) URL fetched at materialization, or a
4242
* **file path** read through the host's `ctx.loadPackageFile` — which resolves

packages/services/service-automation/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export interface AutomationServicePluginOptions {
8282
* any path that escapes the root after resolution (`../…`, `a/../../…`), so a
8383
* declarative entry can never read outside the stack/package that declared it.
8484
* A missing/unreadable file throws — the materializer's reconcile policy makes
85-
* that fatal at boot and a skipped entry on reload, like every other ADR-0096
85+
* that fatal at boot and a skipped entry on reload, like every other ADR-0097
8686
* materialization failure.
8787
*
8888
* Node builtins are imported lazily inside the returned closure so merely

packages/spec/src/integration/connector-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export interface ConnectorProviderContext {
6363
readonly providerConfig: Record<string, unknown>;
6464
readonly auth?: ResolvedConnectorAuth;
6565
/**
66-
* Host-injected package file reader (#3016, ADR-0096 follow-up). Resolves a
66+
* Host-injected package file reader (#3016, ADR-0097 follow-up). Resolves a
6767
* **relative** path against the root of the stack/package that declared the
6868
* entry and returns the file's UTF-8 text, so a factory can support file-path
6969
* refs like `providerConfig.spec: './billing-openapi.json'` without owning

0 commit comments

Comments
 (0)