release: merge develop into main (stable packages) #69

Merged
crapougnax merged 141 commits from develop into main 2026-11-18 10:57:43 +00:00
Owner

Why

Publish stable (latest) versions of the packages currently released as beta from develop.

Consumers pinned to stable ranges (^1.2.x) never resolve prereleases. Mixing a beta @quatrain/core with published packages that depend on a stable one installs two copies of Core side by side, so static settings such as DateTimeProperty.RETURN_AS only apply to one of them (regression observed in totalymage/backend: dates returned as ISO strings instead of UNIX timestamps).

Content (138 commits since main)

Highlights:

  • core / types: MessagePack serialization (toMsgPack(), path instead of ref, no nulls) (#60), reversible HashProperty (#65)
  • backend / backend-postgres / backend-sqlite: query values bound as parameters (security, #30), unique properties (#33), row-level security per owner (#44)
  • New packages: tenancy (#45, #63), identifiers, auth-local (#56), auth-oidc-client (#51), queue-postgres (#53), git working copy (#67), speech (#23), okf-ingest
  • ai / ingestion-ocr: model adapter per call and token usage (#61)
  • storage: streamed S3 reads, video thumbnails via presigned URL (#28)
  • CI / publish: Forgejo as source of authority, dependency-ordered publishing, per-package release tags

Breaking: fix(okf-ingest)! removes the integrator-named taxonomy profile alias (#55).

After merge

The publish job releases changed packages with the latest dist-tag and tags each released package (@quatrain/<package>@<version>).

Not included: MessagePack content negotiation middleware in @quatrain/api-server-express (feat/msgpack-content-negotiation), to ship in the next release.

🤖 Generated with Claude Code

https://claude.ai/code/session_015r3zvThmkuw3hwy2db1pyg

## Why Publish stable (`latest`) versions of the packages currently released as `beta` from `develop`. Consumers pinned to stable ranges (`^1.2.x`) never resolve prereleases. Mixing a beta `@quatrain/core` with published packages that depend on a stable one installs two copies of Core side by side, so static settings such as `DateTimeProperty.RETURN_AS` only apply to one of them (regression observed in totalymage/backend: dates returned as ISO strings instead of UNIX timestamps). ## Content (138 commits since `main`) Highlights: - **core / types**: MessagePack serialization (`toMsgPack()`, `path` instead of `ref`, no nulls) (#60), reversible `HashProperty` (#65) - **backend / backend-postgres / backend-sqlite**: query values bound as parameters (security, #30), unique properties (#33), row-level security per owner (#44) - **New packages**: tenancy (#45, #63), identifiers, auth-local (#56), auth-oidc-client (#51), queue-postgres (#53), git working copy (#67), speech (#23), okf-ingest - **ai / ingestion-ocr**: model adapter per call and token usage (#61) - **storage**: streamed S3 reads, video thumbnails via presigned URL (#28) - **CI / publish**: Forgejo as source of authority, dependency-ordered publishing, per-package release tags **Breaking**: `fix(okf-ingest)!` removes the integrator-named taxonomy profile alias (#55). ## After merge The `publish` job releases changed packages with the `latest` dist-tag and tags each released package (`@quatrain/<package>@<version>`). Not included: MessagePack content negotiation middleware in `@quatrain/api-server-express` (`feat/msgpack-content-negotiation`), to ship in the next release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_015r3zvThmkuw3hwy2db1pyg
feat(auth-rbac): implement isomorphic RBAC security engine with FLS, M2M agent guards and tarpitting
* fix(docs): repair typedoc exports resolution, nextra _meta validation and pipeline triggers

* fix(docs): expose per-package API reference in navigation and accelerate CI build
* feat(ai-openai): implement universal OpenAI-compatible AI adapter

Add @quatrain/ai-openai package providing zero-dependency integration for DeepSeek (V3/R1), Alibaba Qwen (DashScope), OpenAI, and local LLMs (Ollama) with streaming and structured JSON output.

Closes #47

* style(ai-openai): address static code analysis and markdownlint issues

Fix Codacy and SonarCloud reports: reduce cognitive complexity, eliminate regex backtracking, remove redundant optional chaining and comply with 80-col markdown formatting.

* style(ai-openai): eliminate redundant optional chains and conditional checks

* style(ai-openai): use optional chaining on config checks
* feat(config): implement canonical @quatrain/config registry package

- Pivot Config class extending Core and managing isolated ConfigContainer namespaces
- Fail-Fast validation via ConfigurationError for missing or blank parameters
- Hierarchical multi-source cascading (Memory > Env > Object)
- Support for dot-notation paths, camelCase mapping, and sub-scoping
- Full test suite with near-100% coverage

Closes #49

* fix(config): address Codacy security, quality and complexity feedback

- Use Map for ConfigRegistry to eliminate object injection sinks and dynamic delete
- Prevent Prototype Pollution with isSafeKey and isSafePath across all sources
- Refactor MemoryConfigSource and EnvConfigSource to use Map and Reflect
- Implement safe deepMerge in ConfigContainer.toRecord()
- Optimize scope.getAll() to retrieve sub-tree in O(1)
- Format LICENSE.md to <=80 chars line length

* fix(config): eliminate remaining Codacy injection sink and void expression in tests

* fix(config): address static analysis quality gates and security edge cases

* fix(config): eliminate array index access in MemoryConfigSource

* refactor(config): reduce cognitive complexity in EnvConfigSource and MemoryConfigSource
* fix(ci): allow mutable yarn install in docs container build to prevent lockfile resolution failure

* fix(auth): align AuthInterface User import and register signature with AbstractAuthAdapter
* fix(ci): remove PR preview package publishing

* fix(security): resolve timing attack and path traversal warnings in publish_all
* feat(okf-ingest): introduce @quatrain/okf-ingest package with OKF v0.2, multimodal vision, and token cost tracking

* feat(okf-ingest): expand text context window to 80k chars and safeguard multimodal payload limit

* feat(okf-ingest): add monograph chapter decomposition engine and folder grouping for OKF v0.2

* feat(okf-ingest): add multilingual abstracts and keywords (en, ar) with explicit language tagging

* feat(okf-ingest): enforce language, abstracts, and keywords as required fields in AI schemas

* feat(okf-ingest): require fr alongside en and ar in multilingual abstracts and keywords

* feat(okf-ingest-catalog): add agnostic catalog and encyclopedic monograph ingestion package

* refactor(okf-ingest): decouple ai runners, english prompts, and composable domain profiles

* feat(okf-ingest): route all LLM operations through @quatrain/ai adapters and parameterize target languages

* fix(ai-gemini): enhance generateStructured with maxOutputTokens, options forwarding, and clean JSON parsing

* docs(okf): add comprehensive HOWTO guides and README for okf-ingest and okf-ingest-catalog

* docs(okf): neutralize all corporate, specific repository, and personal references in HOWTO guides

* feat(okf-ingest): add license indexing, llm-as-a-judge QA evaluator, and LM Studio adapter presets

* feat(okf-ingest): export extractPdfPages for sequential page parsing

* fix(ci): address Jest runner imports, markdownlint formatting, and Codacy security recommendations

* fix(okf-ingest): resolve remaining Codacy security sinks and null checks

* fix(okf-ingest): resolve SonarCloud quality gate and Codacy static analysis issues

* refactor(okf-ingest): decouple agronomy profile into vendor-agnostic AgroecologyTaxonomyProfile

* perf(okf-ingest): use dynamic imports for AI adapters in judge evaluation

* fix(quality): resolve Codacy static analysis failure and unnecessary conditionals
- globalize test exclusions in .codacy.yml across all analysis engines
- handle async errors explicitly with Log.warn in pdf.ts
- annotate dynamic fs path serialization in dedup, monograph, writer, and engine
- enforce path.resolve normalization across all document exporters

Closes #67
ci(forgejo): add sovereign CI workflow for Turbo build, PostgreSQL tests, and JSDoc quality audit
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m28s
ecee2f18f4
ci(github): remove .github workflows to decommission GitHub Actions builds
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 3m40s
55575bcdbb
- @quatrain/speech: synthesizer contract (locale, voice, style, rate, pitch),
  sentence splitting, SpeechController (preference list, sentence-by-sentence
  playback with look-ahead, fallback before first audio, stop, normalized
  started/ended/interrupted events).
- @quatrain/speech-browser: on-device Web Speech adapter with voice selection.
- @quatrain/speech-http: plays audio from any HTTP endpoint, download starts at
  prepare time.

Closes #69
refactor(speech): rename speech-http to speech-api
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 24s
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Failing after 2m47s
8ae06091df
ApiSpeechSynthesizer (id 'api') plays audio returned by a speech API endpoint.

Refs #69
chore: make Forgejo the source of authority, GitHub a read-only mirror
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m43s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
5995dbb6a6
- publish job in Forgejo CI (beta on develop, latest on main) using NPM_TOKEN
- publish_all.js: no provenance or GitHub Packages on Forgejo runners,
  which also set GITHUB_ACTIONS=true
- repository URLs point to git.qtrn.io/Quatrain/Core
- README, CONTRIBUTING, GEMINI and agent guidelines describe the Forgejo flow

Closes #1
ci: isolate the Postgres test container per run
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m44s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
182522db86
Concurrent runs share the DinD daemon; the fixed name pg-test let one run's
teardown remove another run's database (ECONNREFUSED in backend-postgres).

Refs #1
Merge pull request 'chore: make Forgejo the source of authority, GitHub a read-only mirror' (#24) from chore/1-forgejo-authority into develop
Some checks failed
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
21985c8676
Reviewed-on: Quatrain/Core#24
Merge pull request 'feat(speech): model-agnostic, local-first speech synthesis packages' (#23) from feat/69-speech-packages into develop
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
fb21c7100c
Reviewed-on: Quatrain/Core#23
Ports the decommissioned GitHub docs pipeline to Forgejo Actions: builds
docs/ContainerFile for linux/arm64 and pushes qtrn.io/quatrain/core-docs
tagged with the branch name and sha-<short>, on docs changes and nightly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore: pull Quatrain images from qtrn.io instead of ghcr.io
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 15m27s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
0be78a471a
The docs compose file and the CLI deploy default now reference
qtrn.io/quatrain/*. The CLI still recognises ghcr.io studio images in
existing deployment manifests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge pull request 'ci/core-docs-sovereign-registry' (#27) from ci/core-docs-sovereign-registry into develop
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m31s
Documentation Image / Build & Push Documentation Image to qtrn.io (push) Successful in 6m36s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Successful in 4m39s
ca08cee34f
Reviewed-on: #27
fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m48s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
9db9cb313b
- Return native Node.js Readable stream directly in S3StorageAdapter.getReadable() instead of buffering entire objects via transformToByteArray()
- Stream downloads to disk via node:stream/promises pipeline() and pipe directly to Writable targets in S3StorageAdapter.stream()
- Seek video frames via presigned HTTP(S) URLs (-ss before -i) once into a single PNG frame before sharp resizing, falling back to streaming download for local/mock adapters
- Ensure temporary thumbnail workspaces are cleaned up in finally blocks across image, video, and document thumbnail generators
- Add unit tests for S3StorageAdapter streaming and presigned video thumbnail seeking, and exclude tests from published npm tarballs
Merge pull request 'fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL' (#28) from fix/s3-stream-video-thumbnails into develop
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m40s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Successful in 3m48s
700d953244
Reviewed-on: #28
feat(identifiers): add slug, UUID, prefixed identifier and URI helpers
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m16s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
1aeed6db03
New package @quatrain/identifiers, without dependency:

- slugify, isSlug, assertSlug: slugs valid in a path, a file name and a
  DNS label;
- uniqueSlug: first free slug with a counter suffix;
- uuid, isUuid, prefixedId, isPrefixedId: generated identifiers;
- isOpaqueId, assertOpaqueId: sanity check of identifiers issued by
  another system;
- isUri: absolute URI, optionally restricted to allowed schemes.

Uniqueness itself stays a storage concern.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
security(backend-postgres): bind query values as parameters
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 6m11s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
34c75e9ecd
read(), update() and find() built their SQL by pasting values between
quotes: record identifiers, filter values, keyword searches, parent
identifiers. A value holding a quote broke the query, and a crafted one
changed it (reading or updating other records).

- every value is now bound as a query parameter;
- sort properties, sort orders, limits, offsets and sub-property filter
  names, which are part of the SQL text, are validated before use.

Legitimate queries are unchanged. find() had no test: a suite now covers
filters, sorting and limits, values holding quotes, and injection
attempts through each entry point.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A property can now be declared `unique: true`. Backends able to do so
refuse a second record of the collection holding the same value, at
creation and at update, including under concurrent writes.

- core: `unique` option and getter on properties;
- types: ConflictError, for writes colliding with the current state;
- backend: UniqueConstraintError (collection, property) and
  uniquePropertyNames(); the mock adapter enforces the rule;
- backend-postgres, backend-sqlite: UNIQUE column in created tables and
  generated migrations, constraint violations mapped to
  UniqueConstraintError.

Missing values may repeat. Soft-deleted records keep their value: it is
not reusable. Tables that already exist are not altered: add the
constraint with a migration. Adapters that do not implement the option
(Firestore, REST) ignore it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fix(backend-sqlite): report a record identifier already taken as a unique violation
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has started running
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
15e1604b67
Creating a record with an explicit identifier that already exists threw
a generic BackendError on SQLite, and a UniqueConstraintError on
PostgreSQL. Both adapters now throw UniqueConstraintError, without a
property name since the collision is on the identifier.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat(backend-postgres): isolate rows per owner with row-level security
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has started running
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
28ba299323
One database can now hold the data of several owners (tenants) that
never see each other's rows, including when a query forgets its filter.

- config.sessionSettings: function returning settings applied to each
  statement for one transaction only, so pooled connections never keep
  them;
- rowIsolationSql(): DDL enabling and forcing row-level security on a
  table, comparing its owner column with a session setting;
- assertRowSecurityRole(): start-up check that the role does not bypass
  policies.

Without an owner, protected tables look empty and refuse writes. The
adapter behaves as before when sessionSettings is absent.

A restricted role cannot create tables: automatic table creation does
not apply to it, tables come from migrations. Documented in the README
and in a new HOWTO.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat(tenancy): add multi-tenancy primitives
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Failing after 7m2s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
a1339f972d
New package @quatrain/tenancy for an instance shared by several
customers:

- tenant registry: Tenant and Membership models stored through any
  backend adapter by TenancyRepository, an in-memory store, and the
  TenantStoreInterface port; slugs and (tenant, user) pairs are unique;
- request resolution from the path, the subdomain or a header;
- checked scopes: granted only for an existing, active tenant and, for a
  user, a member; the actor is always explicit (user or system process);
- async tenant scope (currentTenant) that refuses to switch tenant inside
  a unit of work, and an envelope to carry the scope through a queue;
- TenantResources: one lazily built resource per tenant, rebuilt when
  what it is built from changes, in place of process-wide singletons;
- export and import of a tenant registry entry.

Data isolation is enforced where the data lives. An end-to-end test
covers the PostgreSQL set-up: registry and data in one database, a
restricted application role, rows isolated per tenant through the
adapter's session settings. It needs a database and is skipped without
one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
test(backend-postgres): create the complete users table whichever test runs first
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m56s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
214f52a14e
On an empty database, a test whose model only refers to users made the
adapter create a placeholder users table with a single column; the tests
running afterwards then failed on missing columns. The shared test setup
now registers the User class, so the table is created complete.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
test(backend-postgres): register the User class in the row isolation test
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m25s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 18m2s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
d058ad3c8e
Same cause as the shared setup: run first on an empty database, the test
made the adapter create a placeholder users table that broke the tests
running afterwards.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
test(tenancy): register the User class in the PostgreSQL isolation test
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m17s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Has started running
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
17467c791c
Run first on an empty database, the test made the adapter create a
placeholder users table that broke the tests running afterwards.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'security(backend-postgres): bind query values as parameters' (#30) from fix/backend-postgres-sql-injection into develop
Some checks are pending
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m59s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has started running
4ac73b2fd0
Reviewed-on: #30
Merge branch 'develop' into feat/identifiers
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m31s
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 6m31s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
27922753d4
Merge pull request 'feat(identifiers): add slug, UUID, prefixed identifier and URI helpers' (#32) from feat/identifiers into develop
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m20s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Failing after 4m32s
52954e0e33
Reviewed-on: #32
Merge branch 'develop' into feat/backend-unique-properties
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m23s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m0s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
3ff5b39185
ci: run the monorepo job on the ci-base image
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Failing after 0s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
f2a0a06916
The job image now ships Node.js with Corepack, the C/C++ toolchain,
Python 3 and the Docker CLI: the steps that enabled Corepack and
installed these packages with apt-get on every run are removed.

Trial on the develop tag of the image; a released major is pinned once
the trial is conclusive.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ci: run the trial again now that the image is readable
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m35s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
7cab6d1146
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ci: pin the ci-base image to its major version (#34)
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Failing after 0s
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 0s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
b1cfb95959
The trial on the develop tag passed. The job now uses the released
major, and no longer sends registry credentials: the image is public.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ci: tag each released package instead of a dated monorepo tag (#36)
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
78c390b378
Packages are versioned independently, so the dated tag created on each
release from main (v2026.11.11) named no package version. The publish
job now runs bin/tag_released_packages.js, which creates one annotated
tag @quatrain/<package>@<version> for each package whose version changed
in the release commit, as the monorepo tagging rule requires.

Private packages and prerelease versions are skipped, existing tags are
left untouched, and beta versions published from develop are not tagged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
docs: drop the dated tag from the publication guideline (#36)
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m43s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 16m48s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been cancelled
64da9bfa9b
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'ci: tag each released package instead of a dated monorepo tag' (#37) from feat/36-package-release-tags into develop
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Failing after 14m47s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
5d911a769a
Reviewed-on: #37
Merge remote-tracking branch 'sovereign/develop' into feat/ci-base-image
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m39s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m48s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
1528ebf294
Merge pull request 'ci: run the monorepo job on the prebuilt ci-base image' (#35) from feat/ci-base-image into develop
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m36s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Failing after 4m2s
d18f4acfb1
Reviewed-on: #35
ci: use a Turborepo remote cache for the monorepo build (#38)
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m25s
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m32s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
edbbc093b4
Runners are ephemeral, so every run rebuilt the 82 build tasks from
nothing. The build step of the ci job now uses a remote cache when the
forge provides its settings (variables TURBO_API and TURBO_TEAM, secrets
TURBO_TOKEN and TURBO_REMOTE_CACHE_SIGNATURE_KEY); without them it
builds as before.

Artifacts are signed. Only pushes to develop and main write to the
cache, every other ref reads it, and the publish job does not use it:
what goes to npm is built on the runner.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ci: take the build cache settings from the runner (#38)
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m35s
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m44s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been skipped
220fe8eddc
The runners of the forge now give the address and the credentials of the Turborepo cache
to every job, so the workflow no longer reads forge variables or secrets. It keeps the two
settings that depend on the job: only develop and main write to the cache, and the publish
job disables the remote cache explicitly, since it now receives the credentials too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'ci: use a Turborepo remote cache for the monorepo build' (#39) from feat/38-turbo-remote-cache into develop
Some checks failed
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
Quatrain Core Sovereign CI / Publish Changed Packages to npm (push) Has been cancelled
fba1fa25d4
Reviewed-on: #39
Actualiser .forgejo/workflows/ci.yaml
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m59s
Quatrain Core CI / Publish Changed Packages to npm (push) Failing after 7m28s
06384b201f
Merge branch 'develop' into feat/backend-unique-properties
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m35s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 6m40s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
5595d60040
Merge branch 'develop' into feat/tenancy
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m20s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 6m32s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
909494edca
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge branch 'develop' into feat/backend-postgres-row-isolation
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m25s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m32s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
160cf0e752
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat/backend-unique-properties' (#33) from feat/backend-unique-properties into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Failing after 18m14s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
ca470309e7
Reviewed-on: #33
Merge branch 'develop' into feat/backend-postgres-row-isolation
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 8m14s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 16m46s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
bb35d0bdf2
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge branch 'feat/backend-postgres-row-isolation' into feat/tenancy
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 8m12s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 8m18s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
a1b5b600fc
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat(backend-postgres): isolate rows per owner with row-level security' (#44) from feat/backend-postgres-row-isolation into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Has started running
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
c9aa496b39
Reviewed-on: #44
Merge branch 'develop' into feat/tenancy
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 6m5s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 6m24s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
b994d8717f
Merge pull request 'feat(tenancy): add multi-tenancy primitives (@quatrain/tenancy)' (#45) from feat/tenancy into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 5m29s
Quatrain Core CI / Publish Changed Packages to npm (push) Failing after 4m16s
eb3e37ca84
Reviewed-on: #45
fix(publish): take the next free beta when the computed one is already on npm (#46)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m47s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
5289cbffa8
The publish script computes the next beta from the version in the
repository. When an earlier run published that version without its
bump reaching the repository, the next run computed it again, found it
on npm and skipped the publication while reporting a success: changed
code never reached npm.

The script now lists the published versions and takes the next free
beta counter. A registry failure other than an unknown package stops
the release.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'fix(publish): take the next free beta when the computed one is already on npm' (#47) from fix/46-publish-next-free-beta into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 3m46s
Quatrain Core CI / Publish Changed Packages to npm (push) Failing after 4m28s
6a31f2f7ea
Reviewed-on: #47
fix(publish): release packages in dependency order (#48)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m55s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
0827afa6b4
Packages were built in dependency order but released in alphabetical
order: a package was packed before its dependencies received their new
version, so a beta declared the previous stable version of a dependency
whose new code it needs.

- packages are released dependencies first (runtime dependencies and
  peers), alphabetically among independent packages; a cycle stops the
  release;
- a stable release that would declare a prerelease dependency stops the
  release. Beta releases may depend on betas.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'fix(publish): release packages in dependency order' (#49) from fix/48-publish-dependency-order into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m50s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m55s
8badd0099d
Reviewed-on: #49
feat(auth-oidc-client): add an OpenID Connect relying-party adapter
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 15m43s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Failing after 15m43s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
efa3126b45
New package @quatrain/auth-oidc-client to sign users in against any
standard OpenID Connect provider:

- endpoints and keys from the discovery document (cached);
- authorization code flow with PKCE (S256), confidential or public client;
- ID token verification: signature (asymmetric algorithms only), issuer,
  audience, expiry and nonce, with one key set reload on key rotation;
- refresh tokens, UserInfo and RP-initiated logout.

Roles are out of scope: applications map the verified claims themselves.
@quatrain/auth-oidc remains the package that runs a provider.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat(queue-postgres): add a PostgreSQL queue adapter
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 8m20s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 9m19s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
dafd510e2b
New package @quatrain/queue-postgres: durable tasks stored in a table,
without a broker.

- tasks are claimed with FOR UPDATE SKIP LOCKED, so several workers can
  listen on one topic without processing a task twice concurrently;
- per-listener concurrency, oldest task first, progress and attempts;
- retryTask for failed tasks, requeueStale for tasks abandoned by a
  stopped worker (at-least-once delivery);
- listeners and close() wait for the tasks being processed.

The schema ships as an idempotent DDL file. Integration tests need a
database (QUEUE_POSTGRES_TEST_URL) and are skipped without one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fix(okf-ingest)!: remove the integrator-named taxonomy profile alias
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 9m17s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
c13b4ebc43
The package exported a deprecated alias of AgroecologyTaxonomyProfile
named after one integrator. A generic package must not carry an
integrator name in its public API.

BREAKING CHANGE: the deprecated alias export is removed; import
AgroecologyTaxonomyProfile instead.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat(queue-postgres): add a PostgreSQL queue adapter' (#53) from feat/queue-postgres into develop
Some checks are pending
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 3m45s
Quatrain Core CI / Publish Changed Packages to npm (push) Has started running
7c2515c9bb
Reviewed-on: #53
Merge branch 'develop' into fix/okf-ingest-neutral-profiles
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 3m57s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
c7b1e0027a
Merge pull request 'fix(okf-ingest)!: remove the integrator-named taxonomy profile alias' (#55) from fix/okf-ingest-neutral-profiles into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m45s
Quatrain Core CI / Publish Changed Packages to npm (push) Failing after 18s
add28a8999
Reviewed-on: #55
Merge branch 'develop' into feat/auth-oidc-client
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m47s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m54s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
9ad7beddb5
Merge pull request 'feat(auth-oidc-client): add an OpenID Connect relying-party adapter' (#51) from feat/auth-oidc-client into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m48s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m16s
8ecb491c33
Reviewed-on: #51
feat(auth-local): add local accounts and server-side sessions (#56)
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Failing after 5m25s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Failing after 5m19s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
022db94ce2
New package @quatrain/auth-local, an adapter of @quatrain/auth for an
application that keeps its users itself:

- password accounts hashed with scrypt, in a self-describing hash string,
  rehashed at sign-in when the cost changes;
- opaque session tokens stored as SHA-256 digests, with an absolute
  lifetime and an idle delay, revocable alone or per account;
- accounts opened from an external identity (issuer, subject), never
  matched to an existing account by e-mail address;
- a storage interface with a PostgreSQL store (DDL shipped) and an
  in-memory store.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat(auth-local): add local accounts and server-side sessions' (#57) from feat/56-auth-local into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Failing after 4m2s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
a672616b50
Reviewed-on: #57
docs(auth-local): document the store methods (#56)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 3m24s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
529aa51f66
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge remote-tracking branch 'sovereign/develop' into fix/56-auth-local-store-docs
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 3m20s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
9928fe63f7
fix(auth-local): keep the DDL in the code so the package can be bundled (#56)
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Has started running
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
9083e9ac06
PostgresLocalAuthStore computed the path of sql/auth_local.sql from
__dirname when the module loaded. Bundled into an ES module application
(Vite SSR), __dirname does not exist and importing the package failed.

The DDL is now the constant AUTH_LOCAL_SCHEMA_SQL; the SQL file stays
shipped for migrations, and a test keeps the two identical.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fix(auth-local): read timestamps and claims whatever the driver type parsers (#56)
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
36ef31290b
The type parsers of `pg` are global to the module. An application that
also uses @quatrain/backend-postgres gets timestamps back as strings, and
the store handed them to the adapter as if they were dates: resolving a
session threw `lastSeenAt.getTime is not a function`.

The store now converts timestamp columns itself and parses claims when
they come back as text. The contract suite runs a second time with text
parsers.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
fix(auth-local): read the short time zone offset of PostgreSQL timestamps (#56)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m53s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
b4e923ac10
With the type parsers set by @quatrain/backend-postgres a timestamp comes
back as `2026-01-01T10:00:00.123+00`, an offset `Date` does not read.
The store expands it, and the test now sets the parser exactly as the
backend adapter does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'fix(auth-local): store documentation and bundling' (#58) from fix/56-auth-local-store-docs into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m50s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m13s
2f93394d31
Reviewed-on: #58
feat(core): add toMsgPack() serialization using path instead of ref on ObjectUri
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m47s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 2m57s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
d4a402f79e
- Add toMsgPack() on ObjectUri (@quatrain/types) returning { path, label } (and backend if defined) to avoid colliding with the C# reserved keyword 'ref'
- Add toMsgPack() on AbstractObject, DataObject, BaseProperty, ObjectProperty, MapProperty (@quatrain/core) and PersistedDataObject (@quatrain/backend)
- Support hydrating ObjectUri from { path, label } references in DataObject.populateFromData()
- Add unit tests for ObjectUri.toMsgPack(), BaseObject.toMsgPack(), and DataObject.toMsgPack()
Merge pull request 'feat(core): MessagePack serialization (toMsgPack, path instead of ref, no nulls)' (#60) from feat/msgpack-serialization into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 3m15s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m23s
6346b0e477
Reviewed-on: #60
refactor(core): derive toMsgPack() from toJSON(), omit nulls
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m47s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m13s
f3a509999e
- DataObject.toJSON()/toMsgPack() share a single _serialize(); msgpack
  forces ignoreNulls and renames ref -> path on ObjectProperty values
- ObjectUri.toMsgPack() derives from toJSON() via static toMsgPackReference()
- remove duplicated _dataToMsgPack() (DataObject, PersistedDataObject)
- remove unused toMsgPack() on BaseProperty/MapProperty/ObjectProperty
  and unused MsgPackReferenceType
- tests: null omission, { path, label } accepted as input

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015r3zvThmkuW3HWY2DB1pyG
feat(ai,ingestion-ocr): choose the model adapter per call and report its token usage (#61)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 10m55s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 11m18s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
71207b2c79
- @quatrain/ai exports the type of a usage report and of its callback.
- GeminiAdapter.generateText reports usage through onUsage, like generateStructured.
- OcrIngestionAdapter.process accepts the adapter to use (ai) and forwards onUsage,
  so an application serving several tenants can run an ingestion with the model of
  one tenant and record what it consumed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
feat(tenancy): sealed secrets of a tenant (#63)
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Has started running
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Has started running
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
d75c7606be
TenantSecrets keeps the credentials a tenant brings sealed with AES-256-GCM
under a key held by the host application. A sealed value is authenticated
with the tenant and the name it was sealed for, so it does not open once
copied elsewhere or altered. The store only receives sealed values, and
listing gives names, never values.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat(ai,ingestion-ocr): choose the model adapter per call and report its token usage' (#62) from feat/61-ai-usage-per-call into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 8m31s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m27s
c42700c8c6
Reviewed-on: #62
feat(core): HashProperty keeps values that must be read back (#65)
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been cancelled
1e53798cd1
New reversible algorithm ALGORITHM_AES256GCM, for credentials an application
must use again. The value is sealed on set under a 256-bit key given by the
property or set once for the process; val(), toJSON() and backends only see
the sealed text; reveal() reads it back and compare() works as for digests.
An optional context binds a sealed value to what it belongs to. A value
already sealed is stored as it is, so loading an object does not seal twice.

One-way algorithms are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
docs(core): keep the property table whole (#65)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 7m1s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 7m58s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
9ce72db4ae
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
refactor(tenancy): seal tenant secrets with the reversible HashProperty (#63)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 7m41s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 7m13s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
fbd180f9c0
The package no longer carries a cipher of its own: values are sealed by the
HashProperty of @quatrain/core, bound to their tenant and name. Secrets are
TenantSecret records stored through a backend adapter by
TenantSecretRepository; the in-memory store remains for tests.

Depends on #65.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge branch 'develop' into feat/65-hash-property-reversible
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 10m10s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 10m17s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
c9654c72eb
Merge pull request 'feat(core): HashProperty keeps values that must be read back' (#66) from feat/65-hash-property-reversible into develop
Some checks failed
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Has been cancelled
Quatrain Core CI / Publish Changed Packages to npm (push) Has been cancelled
Documentation Image / Build & Push Documentation Image to qtrn.io (push) Successful in 11m59s
16fab52b90
Reviewed-on: #66
Merge pull request 'feat(tenancy): sealed secrets of a tenant' (#64) from feat/63-tenant-secrets into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 10m4s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m38s
61c80e9179
Reviewed-on: #64
feat(git): working copy of a repository, with a token that never touches the disk (#67)
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m56s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 5m1s
Quatrain Core CI / Publish Changed Packages to npm (push) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
2290948fbe
GitWorkingCopy keeps a directory in step with a branch of a remote: prepare,
refresh, status, commit, push. Git runs without a shell and without the
configuration, credential helpers and hooks of the machine. The token goes
through the environment of the process as an HTTP header scoped to the remote.

Closes #67

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merge pull request 'feat(git): working copy of a repository, with a token that never touches the disk' (#68) from feat/67-git-working-copy into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 2m50s
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m12s
5a9dc77f58
Reviewed-on: #68
chore(gitflow): merge main back into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 3m0s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
284baa7a9b
main carries the last release (develop (#29) and its version bump), which
was never merged back into develop, so develop -> main (#69) conflicts.
Resolution:
- code, CI and guidelines: develop (newer; bradAgronomy profile stays
  removed as decided in #55)
- package versions: the stable version from main when higher than the
  develop beta, otherwise publish_all would finalize e.g. 1.2.16-beta.0
  into 1.2.16, already on npm
- .version_hashes.json: main entries for those packages, so that the next
  stable run detects changes since their last stable release

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015r3zvThmkuw3hwy2db1pyg
Merge pull request 'chore(gitflow): merge main back into develop' (#70) from chore/merge-main-into-develop into develop
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (push) Successful in 4m46s
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m56s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
Quatrain Core CI / Publish Changed Packages to npm (push) Successful in 4m24s
c8c479e6dd
Reviewed-on: #70
Sign in to join this conversation.
No description provided.