@conarium-ai/core 0.2.31 → 0.2.33

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 CHANGED
@@ -1,5 +1,77 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.32 — 2026-08-19
4
+
5
+ Tool descriptions now say what the tools do to the world, not just what they are
6
+ for. A client picks a tool from its description, and all four of ours left out
7
+ the three things a caller needs before making the call: that the operation is
8
+ read-only, what shape comes back, and that the result has already been altered by
9
+ policy.
10
+
11
+ - **`query` and `search` state that values arrive masked.** A caller that plans
12
+ on receiving a raw column and gets `[MASKED_PII]` has been surprised by the
13
+ product working correctly. Both now say so up front, along with the row cap
14
+ being the policy's rather than the one written into the SQL.
15
+ - **`describe_table` states that it reads no rows**, so nothing it returns is
16
+ masked — a distinction that was invisible from the outside.
17
+ - **`list_tables` states that denied tables are absent rather than flagged**, so
18
+ its output is the authoritative list of what the other tools can reach.
19
+ - Each description now names the sibling to prefer, in the direction the mistake
20
+ actually gets made: `query` points to `search` when there is no SELECT yet.
21
+ - Added `glama.json`, which is how the directory listing is claimed by its
22
+ maintainer.
23
+
24
+ This changelog also stops three versions short of the package. Entries for
25
+ 0.2.29, 0.2.30 and 0.2.31 are below, written from their release notes. A file
26
+ that ships in the tarball and describes a state the package left two releases ago
27
+ is worse than no file: the reader has no way to know it is stale.
28
+
29
+ ## 0.2.31 — 2026-08-19
30
+
31
+ - **A masking fix that was five times slower outside ASCII.** Both of its
32
+ fast-path conditions were guarded on an ASCII test, so Turkish data satisfied
33
+ neither and the regex recompiled for every (value, cell) pair. The regression
34
+ test counts compilations through a `RegExp` proxy rather than measuring time,
35
+ because a millisecond threshold passes or fails on the machine that runs it.
36
+ Output is byte-identical across all four measured shapes.
37
+ - **Benchmark figures re-measured and the environment named beside them.** The
38
+ masking warning threshold moved from 100 to 500 rows, read from
39
+ `docs/benchmarks/masking-cost-threshold.json` rather than a second copy.
40
+ - **The published IETF `-04` and the repository `-04` are the same text again.**
41
+ The repository copy predated the submission by two paragraphs, including the
42
+ acknowledgement a reviewer had asked for.
43
+ - **The package stopped telling readers to buy something they cannot buy.**
44
+ `/buy` redirects to the waitlist form while checkout is closed; README and
45
+ `docs/PRICING.md` now say that, and each edit names the condition that reverses
46
+ it. `docs/PRICING.md` was added to the claim surface list — it states a price
47
+ and a refund window and had no assigned reader.
48
+
49
+ ## 0.2.30 — 2026-08-18
50
+
51
+ Three fields in the signed receipt were named for something other than their
52
+ contents, found by an external review of 0.2.28.
53
+
54
+ - **`actor.type` was the constant `service`.** A person connecting with their own
55
+ per-user token produced a receipt naming them and stamping them a service. The
56
+ type is now derived from `assurance` in one place rather than carried twice.
57
+ - **`dataRefs[].fieldsRequested` and `policy.rulesApplied` are now empty.** They
58
+ were filled from the masked-field list and from the SQL functions a query
59
+ touched — neither is what the name says, and both were signed. In a signed
60
+ document a field filled with the wrong thing is worse than one left empty.
61
+ - The cost is stated rather than absorbed: per-field masking detail leaves
62
+ `dataRefs`; `masking.byClass` still carries the per-class counts.
63
+
64
+ ## 0.2.29 — 2026-08-18
65
+
66
+ - **`docs.html` said two different things about the same engine.** The site
67
+ described behaviour the engine denies; the wording was brought back to what the
68
+ code does, and the retracted phrasings moved to a single source
69
+ (`docs/claims/retracted-phrasings.json`) that ships with the package.
70
+ - **The SOC 2 answer reached the Turkish surface.** `LIMITATIONS.tr.md` still
71
+ said the audit was on the roadmap after that had been retracted everywhere
72
+ else — the guard could not see it because the sentence was in another language.
73
+ - `docs/reviews` excluded from the tarball; GACS drift check added.
74
+
3
75
  ## 0.2.28 — 2026-08-17
4
76
 
5
77
  The `indeterminate` class added in 0.2.27 was attacked the same day, and the
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;AASlE,OAAO,KAAK,EAAE,cAAc,EAAE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E,CAAA;CACxB;AAED,wBAAgB,UAAU,IAAI,cAAc,CAe3C;AAED,oFAAoF;AACpF,wBAAsB,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,YAAY,CAAC,CAsD5E;AAaD;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,YAAY,EACxE,KAAK,CAAC,EAAE,aAAa,GACpB,MAAM,CAyZR"}
package/dist/server.js CHANGED
@@ -134,7 +134,7 @@ export function buildServer({ config, governance: temelGovernance, audit, connec
134
134
  tools: [
135
135
  {
136
136
  name: 'list_tables',
137
- description: 'List all database tables available in the company data connectors',
137
+ description: 'List the database tables this gateway is allowed to expose. Read-only. Returns one entry per table with its connector, schema-qualified name and description; tables the policy denies are absent rather than marked, so this is the authoritative list of what any other tool here can reach. Call it before describe_table or query when the table names are not already known. Every call is written to the audit ledger, and to a signed receipt as well when a receipt sink is configured.',
138
138
  inputSchema: {
139
139
  type: 'object',
140
140
  properties: {
@@ -144,7 +144,7 @@ export function buildServer({ config, governance: temelGovernance, audit, connec
144
144
  },
145
145
  {
146
146
  name: 'describe_table',
147
- description: 'Get the schema and column descriptions of a specific table',
147
+ description: 'Get the columns of one table: name, type and description. Read-only, and it returns structure only — no row is read, so nothing here is masked. Use it to write a correct query; use list_tables first if the table name is not known. A table the policy denies returns an error rather than an empty result. Every call is written to the audit ledger, and to a signed receipt as well when a receipt sink is configured.',
148
148
  inputSchema: {
149
149
  type: 'object',
150
150
  required: ['table'],
@@ -156,7 +156,7 @@ export function buildServer({ config, governance: temelGovernance, audit, connec
156
156
  },
157
157
  {
158
158
  name: 'query',
159
- description: 'Run a read-only SQL query against the company database. Only SELECT is allowed.',
159
+ description: 'Run one read-only SELECT against the company database. Only SELECT is allowed; anything else is refused before it reaches the database. Rows come back capped by the policy (maxRows, often lower than any LIMIT you write) and protected values arrive already replaced with [MASKED_PII] or [MASKED_SECRET] — the raw values never leave the gateway, so do not plan on receiving them. A refusal is a normal outcome, not a fault. Use search instead when there is no SELECT yet and the goal is to find text. Every call is written to the audit ledger, and to a signed receipt as well when a receipt sink is configured.',
160
160
  inputSchema: {
161
161
  type: 'object',
162
162
  required: ['sql'],
@@ -168,7 +168,7 @@ export function buildServer({ config, governance: temelGovernance, audit, connec
168
168
  },
169
169
  {
170
170
  name: 'search',
171
- description: 'Find rows by a search term in governed scopes (not SQL). Use when the user wants to look up text across allowed tables. Use query when they already have a SELECT. The same policy, masking, and row cap apply.',
171
+ description: 'Find rows by a search term across the allowed tables — no SQL required. Read-only. Use it when the goal is to look up text and there is no SELECT yet; use query when a SELECT already exists. Returns matching rows under the same policy as query: capped by maxRows, with protected values already replaced by [MASKED_PII] or [MASKED_SECRET]. The policy decides which scopes are searchable at all. Every call is written to the audit ledger, and to a signed receipt as well when a receipt sink is configured.',
172
172
  inputSchema: {
173
173
  type: 'object',
174
174
  required: ['query'],
@@ -1 +1 @@
1
- {"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;AAClE,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,IAAI,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAG9B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,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C,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACvF,GAAG,EAAE,cAAc,IAAI,CAAC,IAAI,SAAS;YACrC,IAAI,EAAE,GAAG,IAAI,CAAC,IAAI,SAAS;YAC3B,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,kBAAkB;SAC7B,CAAC,CAAC;KACJ,CAAC,CAAC,CAAA;IAEH,MAAM,CAAC,iBAAiB,CAAC,yBAAyB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QACpE,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAA;QAC9B,MAAM,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAA;QACtE,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAA;QACtD,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,wBAAwB,QAAQ,EAAE,CAAC,CAAA;QAC9D,MAAM,OAAO,GAAG,MAAM,0BAA0B,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;QAC9E,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAA;IAChC,CAAC,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC"}
@@ -0,0 +1,69 @@
1
+ # Claims review — 0.2.32
2
+
3
+ - base: v0.2.31
4
+ - head: 4614ed4
5
+ - surface: sha256:a07a8a6e91f86dc4c34a343a4d76cb9213ccb509b9b4db578e6abf5890e97291
6
+ - verdict: pass
7
+ - reviewer: Claude, reading on the maintainer's instruction — an assistant read, not an independent human one
8
+
9
+ The surface hash is unchanged from 0.2.31: none of the seventeen listed documents
10
+ was touched. Everything claimed in this release is claimed somewhere the list does
11
+ not look, which is the finding below.
12
+
13
+ `CHANGELOG.md` gained four entries and is deliberately not a claim surface — it
14
+ records what happened rather than promising what the product does. It was three
15
+ versions behind the package, which is its own kind of dishonesty in a file that
16
+ ships in the tarball, and that is repaired here.
17
+
18
+ ## Findings
19
+
20
+ ### 1. src/server.ts — the tool descriptions are a claim surface with no reader
21
+
22
+ - Claim: not one sentence but a location. The four MCP tool descriptions ship in
23
+ the tarball, are handed to the model on every session, and this release
24
+ rewrote all of them to make behavioural promises: what is read-only, what the
25
+ output looks like, what the policy has already done to it.
26
+ - Mechanism: the `SURFACES` list in `test/denetci.mjs`, which decides what a
27
+ release reviewer is shown.
28
+ - Why it falls short: `src/server.ts` is not on that list and cannot usefully be
29
+ added — it is a code file, and listing it would put every unrelated diff in
30
+ front of the reviewer until the reviewer stops reading. So the most-read text
31
+ in the package, the text an agent actually acts on, went past the gate
32
+ unexamined. This review caught the two findings below only because the same
33
+ person happened to write them.
34
+ - Disposition: accepted, not fixed here. The repair is to derive the descriptions
35
+ from one file that can be listed, which is a change to how the server is
36
+ assembled and does not belong in a release about wording.
37
+
38
+ ### 2. src/server.ts — "Every call is recorded in a signed receipt"
39
+
40
+ - Claim: `"Every call is recorded in a signed receipt."` — written into all four
41
+ tool descriptions in this release's first draft.
42
+ - Mechanism: `AuditLog` in `src/audit.ts`, whose receipt chain is guarded by
43
+ `receiptSink`.
44
+ - Why it falls short: receipts are opt-in. `src/audit.ts:291` states it plainly —
45
+ *"Makbuz zinciri durumu — opt-in (receiptSink verilirse aktif)"* — and
46
+ `src/audit.ts:415` returns early when no sink is set. With no `receiptSink` in
47
+ the config there is no receipt at all, so "every call" describes a
48
+ configuration rather than the product. What *is* unconditional is the ledger
49
+ entry; and where a sink is configured the signature is guaranteed, because the
50
+ server refuses to start with a sink and no Ed25519 key.
51
+ - Disposition: reworded before commit. The descriptions now say the call is
52
+ written to the audit ledger, and to a signed receipt as well when a receipt
53
+ sink is configured.
54
+
55
+ ### 3. src/server.ts — "Scopes outside the policy are skipped rather than searched"
56
+
57
+ - Claim: `"Scopes outside the policy are skipped rather than searched."` — first
58
+ draft of the `search` description.
59
+ - Mechanism: the `search` branch in `src/server.ts`.
60
+ - Why it falls short: I could not find the skip. The branch records a denial and
61
+ raises, which reads as a refused call rather than a narrowed one, and "skipped"
62
+ asserts a specific behaviour a caller would plan around — silently getting
63
+ fewer scopes is a different contract from being refused.
64
+ - Disposition: reworded before commit to what the code does establish: the policy
65
+ decides which scopes are searchable at all.
66
+
67
+ Two of the three findings are sentences written in this release and corrected
68
+ before it left. That is the gate working in the only way it can here, and also
69
+ the reason finding 1 matters: nothing structural would have caught them.
@@ -0,0 +1,73 @@
1
+ # Claims review — 0.2.33
2
+
3
+ - base: v0.2.32
4
+ - head: b8756f3
5
+ - surface: sha256:8eeabf25cea27362e070789c61c828eea291bd3c155362f098894d868f0f9b4b
6
+ - verdict: pass
7
+ - reviewer: Claude, reading on the maintainer's instruction — an assistant read, not an independent human one
8
+
9
+ One surface changed and one surface was added: `docs/security/NPM-PROVENANCE.md`
10
+ is rewritten and listed. Eighteen documents are now read at release time.
11
+
12
+ This release exists because of an external review of the repository, which
13
+ flagged the provenance page as stale. Reading it confirmed two defects that are
14
+ worse than staleness, and both are recorded below as findings rather than as
15
+ housekeeping — a reader who followed that page would have drawn a false
16
+ conclusion about whether this package can be trusted.
17
+
18
+ ## Findings
19
+
20
+ ### 1. docs/security/NPM-PROVENANCE.md:6 — the page denied a fact about itself
21
+
22
+ - Claim: `"This is **not** a published release."`, followed by a verification
23
+ section headed `"How to verify (after a provenance-backed release exists)"`
24
+ and a setup section headed `"One-time setup before the first publish"`.
25
+ - Mechanism: the npm registry, which records what was actually published.
26
+ - Why it falls short: measured on 0.2.32 —
27
+ `npm view @conarium-ai/core@0.2.32 dist --json` returns an `attestations`
28
+ block naming `https://slsa.dev/provenance/v1` plus a registry `signatures`
29
+ entry, and eight versions have shipped since the sentence was written. The
30
+ page described a pre-release state inside a released package, and it ships in
31
+ the tarball, so the reader most likely to open it is someone who already has
32
+ the published artefact in their hands.
33
+ - Disposition: rewritten. The page now states what exists, and the verification
34
+ section carries the measured output rather than a promise that something will
35
+ one day be verifiable.
36
+
37
+ ### 2. docs/security/NPM-PROVENANCE.md — the verification command cannot succeed
38
+
39
+ - Claim: `"or, with GitHub CLI, verify the attestation against this repo: gh
40
+ attestation verify --owner dogrucanemek-alt <downloaded.tgz>"`
41
+ - Mechanism: `gh attestation verify` reads GitHub's own attestation store, which
42
+ is populated by `actions/attest-build-provenance`.
43
+ - Why it falls short: `npm publish --provenance` writes to the npm registry and
44
+ the public transparency log, not to GitHub's store. Both forms were run
45
+ against the published 0.2.32 tarball and both answered **HTTP 404** —
46
+ `--owner dogrucanemek-alt` (which additionally targets an org endpoint for
47
+ what is a user account) and `--repo dogrucanemek-alt/conarium`. The failure
48
+ mode is the dangerous direction: a reader checking our provenance would see
49
+ 404 and reasonably conclude the attestation is missing, when it exists and
50
+ verifies by another route.
51
+ - Disposition: replaced with two commands that were run and do work —
52
+ `npm view … dist --json` and `npm audit signatures` (107 registry signatures
53
+ and 11 attestations verified on a clean install, exit 0). The `gh` command is
54
+ kept in the page as an explicit warning, with the reason, so the next person
55
+ who tries it does not repeat the diagnosis.
56
+
57
+ ### 3. test/denetci.mjs — the page was never on the claim surface list
58
+
59
+ - Claim: not a sentence — the absence of a reader. The page ships in the tarball
60
+ and its whole subject is how much of what we say can be checked without us.
61
+ - Mechanism: the `SURFACES` list in `test/denetci.mjs`.
62
+ - Why it falls short: it was unlisted, so both defects above survived eight
63
+ releases and were found by someone outside this process rather than by the
64
+ gate. This is the third instance of the same shape — `docs/PRICING.md` in
65
+ 0.2.31, the tool descriptions in 0.2.32, and now this — which is enough of a
66
+ pattern to state plainly: the list is hand-written, and things that ship
67
+ keep arriving outside it.
68
+ - Disposition: listed. The structural repair suggested by 0.2.32 — deriving
69
+ reviewable surfaces rather than maintaining a list — is still not done, and
70
+ this finding is the argument for doing it.
71
+
72
+ Nothing else on the claim surface moved: the surface hash covers eighteen
73
+ documents and only this one differs from 0.2.32.
@@ -3,58 +3,83 @@
3
3
  How a bank checks that an `@conarium-ai/core` tarball was built from this
4
4
  repository, not from a laptop zip.
5
5
 
6
- This is **not** a published release. The workflow
7
- [`.github/workflows/publish.yml`](../../.github/workflows/publish.yml) is
8
- dispatch-only. It does not run on push. The first publish is a human decision.
6
+ Releases are published from
7
+ [`.github/workflows/publish.yml`](../../.github/workflows/publish.yml), which is
8
+ dispatch-only — it does not run on push, and each release is a human decision.
9
+ Published versions carry a provenance attestation; the commands below are how
10
+ you check that for yourself rather than taking this page's word for it.
9
11
 
10
12
  ## What provenance is
11
13
 
12
14
  When `npm publish --provenance` runs on GitHub Actions with `id-token: write`,
13
- npm stores a signed attestation: package version ↔ git commit ↔ workflow.
15
+ npm stores a signed attestation binding package version ↔ git commit ↔ workflow.
16
+ The attestation lives in the npm registry and in the public transparency log,
17
+ which is what makes it checkable without us.
14
18
 
15
- ## How to verify (after a provenance-backed release exists)
19
+ ## How to verify
20
+
21
+ Ask the registry what it holds for a version:
16
22
 
17
23
  ```bash
18
- npm view @conarium-ai/core@<version> --json
24
+ npm view @conarium-ai/core@<version> dist --json
19
25
  ```
20
26
 
21
- Look for attestations / provenance on that version. Then:
27
+ A provenance-backed version answers with an `attestations` block naming
28
+ `https://slsa.dev/provenance/v1`, plus a registry `signatures` entry. Measured
29
+ against 0.2.32:
22
30
 
23
- ```bash
24
- npx npm-provenance-check @conarium-ai/core@<version>
31
+ ```json
32
+ "attestations": {
33
+ "url": "https://registry.npmjs.org/-/npm/v1/attestations/@conarium-ai%2fcore@0.2.32",
34
+ "provenance": { "predicateType": "https://slsa.dev/provenance/v1" }
35
+ }
25
36
  ```
26
37
 
27
- or, with GitHub CLI, verify the attestation against this repo:
38
+ To have npm check the signatures and attestations of everything you installed,
39
+ including this package:
28
40
 
29
41
  ```bash
30
- gh attestation verify --owner dogrucanemek-alt <downloaded.tgz>
42
+ npm i @conarium-ai/core
43
+ npm audit signatures
31
44
  ```
32
45
 
33
- If a version has **no** attestation, it was not published through this
34
- workflow (or was published before the workflow existed). Treat that as
35
- undeclared origin — not as "verified".
46
+ That prints how many packages have verified registry signatures and how many
47
+ have verified attestations, and exits non-zero if a signature fails.
48
+
49
+ ⛔ **`gh attestation verify` does not work here, and the reason is worth
50
+ knowing.** That command reads GitHub's own attestation store, which is populated
51
+ by `actions/attest-build-provenance`. `npm publish --provenance` writes to the
52
+ npm registry and the transparency log instead, so GitHub answers `404` for a
53
+ tarball published this way — for both `--owner` and `--repo`. A 404 there is not
54
+ evidence of a missing attestation; it means you asked the wrong service. Use the
55
+ two commands above.
56
+
57
+ If a version has **no** attestation, it was not published through this workflow
58
+ (or predates it). Treat that as undeclared origin — not as "verified".
36
59
 
37
- ## One-time setup before the first publish
60
+ ## Publisher configuration
38
61
 
39
62
  Auth is **npm Trusted Publishing (OIDC)**, not a stored token. npm hands the
40
63
  workflow a short-lived credential in exchange for its GitHub identity, so there
41
64
  is no long-lived publish secret in this repository to leak.
42
65
 
43
- On npmjs.com, as the package owner:
66
+ The trusted publisher is configured on npmjs.com against
67
+ `dogrucanemek-alt/conarium` and `publish.yml`. To reproduce it on a fork:
44
68
 
45
69
  1. `@conarium-ai/core` → **Settings** → **Trusted Publisher**
46
70
  2. Publisher: **GitHub Actions**
47
- 3. Repository: `dogrucanemek-alt/conarium`
71
+ 3. Repository: `<owner>/<repo>`
48
72
  4. Workflow file: `publish.yml`
49
73
 
50
- Then publish: GitHub → **Actions** → **publish** → *Run workflow* →
51
- type `publish` in the confirm box. The workflow runs lint, tests and checks
52
- before it publishes; a red gate stops the release.
74
+ Releasing: GitHub → **Actions** → **publish** → *Run workflow* → type `publish`
75
+ in the confirm box. The workflow runs lint, tests and the adversarial checks
76
+ before it publishes, and a claims review record must exist for the version being
77
+ shipped; a red gate stops the release.
53
78
 
54
- If npm rejects the OIDC exchange, do **not** fall back to adding an
55
- `NPM_TOKEN` secret. Publish by hand from a workstation for that release and fix
56
- the trusted publisher configuration afterwards — provenance is worth less than
57
- a leaked publish credential costs.
79
+ If npm rejects the OIDC exchange, do **not** fall back to adding an `NPM_TOKEN`
80
+ secret. Publish by hand from a workstation for that release and fix the trusted
81
+ publisher configuration afterwards — provenance is worth less than a leaked
82
+ publish credential costs.
58
83
 
59
84
  ## What this does not prove
60
85
 
@@ -62,3 +87,5 @@ a leaked publish credential costs.
62
87
  - Not that the commit is free of bugs.
63
88
  - Not that the operator's install matches the tarball (`npm ci` + lockfile
64
89
  does that locally).
90
+ - Not that the code does what its documentation says. Provenance binds an
91
+ artefact to a build, and stops there.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conarium-ai/core",
3
- "version": "0.2.31",
3
+ "version": "0.2.33",
4
4
  "mcpName": "io.github.dogrucanemek-alt/conarium",
5
5
  "//files-artefakt": "examples/ altindaki uretilmis dosyalar (ozel anahtar, makbuz/denetim JSONL) ELENIR. .gitignore npm'i baglamaz: izin listesinde 'examples' oldugu icin demoyu kosturmus bir makinede 'npm publish' _keys/audit-ed25519.pem'i (OZEL ANAHTAR) ve makbuzlari yayinliyordu. test/pack_artefakt.mjs bunu kilitler. Elemeler examples/ ile SINIRLI: test-vectors/ altindaki receipts.jsonl ve .pub.pem YAYINLANMAK ZORUNDA, yoksa ucuncu taraf konformans vektorlerini kosturamaz.",
6
6
  "//files": "Pakete NE gireceginin izin listesi. Liste olmadan npm her seyi gonderiyordu: 296 dosya / 1.5 MB — CI workflowlari, gitleaks ayari, 137 KB pazarlama gorseli, sitenin api/chat.js dosyasi. Bir bankanin guvenlik ekibi tarball'i acip bunlari gorur. scripts/ BILEREK var: conarium-reconcile calisirken scripts/pg-snapshot.sql'e atif yapiyor, olmazsa kullanici destek maili yazar.",