chore: spring cleaning — no client data or business vocabulary in the packages #78

Merged
crapougnax merged 3 commits from chore/77-spring-cleaning into develop 2026-11-19 09:08:05 +00:00
Owner

Closes #77 · contains #76 (merge it first or close it with this one)

What

No client data, product names or business-domain vocabulary left in the packages, their tests and their docs; a CI step keeps it that way.

Package Change
okf-ingest Fixed domain fields (soils, crops, climates, itineraries) and the agroecology profile removed. New FacetTaxonomyProfile: an application declares its facets (closed vocabulary optional); monographs carry the profile's fields. Judge rubric neutral: namingAccuracy, contentCompleteness. Prompt examples neutral.
okf-ingest-catalog Neutral wording, no soil section; examples on a mineral catalog.
mdm AgronomyDomain and SoilProfile removed.
okf Adapter fix of #75 (telemetry layout, invented author).
auth-github Default description of a created repository names no product.
cli No personal path in deploy discovery; CORE_DEPLOY_PATH.
auth-rbac, ai-openai, searchengine-qmd, app, state-machine, git* Neutral tests, READMEs, HOWTOs, comments.
docs MDM specification without client hardware or SIM APN; docs/pages regenerated; orphan core-cli page and tracked test.log removed; personal file:// links → public repository.
CI bin/check_forbidden_terms.js refuses a list of client and domain words stored as SHA-256 hashes (bin/forbidden-terms.sha256).

Breaking

  • okf-ingest: AgroecologyTaxonomyProfile and the fixed domain fields of the types are gone — use FacetTaxonomyProfile; judge dimensions renamed.
  • mdm: no AgronomyDomain / SoilProfile export. No code in the workspace imports them.
  • okf: see #76.

Tests

  • Affected packages: 149 passed; tsc --noEmit clean on the 10 touched packages.
  • Full suite: 974 passed; the 5 failing suites (backend-postgres, backend-firestore, worker) fail identically on develop without a database / emulator.
  • node bin/check_forbidden_terms.js: no forbidden word.

Next (from #77)

Release develop → main (stable on latest), then deprecate every earlier version of every @quatrain/* package on npm.

🤖 Generated with Claude Code

Closes #77 · contains #76 (merge it first or close it with this one) ## What No client data, product names or business-domain vocabulary left in the packages, their tests and their docs; a CI step keeps it that way. | Package | Change | |---|---| | `okf-ingest` | Fixed domain fields (`soils`, `crops`, `climates`, `itineraries`) and the agroecology profile removed. New **`FacetTaxonomyProfile`**: an application declares its facets (closed vocabulary optional); monographs carry the profile's fields. Judge rubric neutral: `namingAccuracy`, `contentCompleteness`. Prompt examples neutral. | | `okf-ingest-catalog` | Neutral wording, no soil section; examples on a mineral catalog. | | `mdm` | `AgronomyDomain` and `SoilProfile` removed. | | `okf` | Adapter fix of #75 (telemetry layout, invented author). | | `auth-github` | Default description of a created repository names no product. | | `cli` | No personal path in deploy discovery; `CORE_DEPLOY_PATH`. | | `auth-rbac`, `ai-openai`, `searchengine-qmd`, `app`, `state-machine`, `git*` | Neutral tests, READMEs, HOWTOs, comments. | | docs | MDM specification without client hardware or SIM APN; `docs/pages` regenerated; orphan `core-cli` page and tracked `test.log` removed; personal `file://` links → public repository. | | CI | `bin/check_forbidden_terms.js` refuses a list of client and domain words stored as SHA-256 hashes (`bin/forbidden-terms.sha256`). | ## Breaking - `okf-ingest`: `AgroecologyTaxonomyProfile` and the fixed domain fields of the types are gone — use `FacetTaxonomyProfile`; judge dimensions renamed. - `mdm`: no `AgronomyDomain` / `SoilProfile` export. No code in the workspace imports them. - `okf`: see #76. ## Tests - Affected packages: 149 passed; `tsc --noEmit` clean on the 10 touched packages. - Full suite: 974 passed; the 5 failing suites (`backend-postgres`, `backend-firestore`, `worker`) fail identically on `develop` without a database / emulator. - `node bin/check_forbidden_terms.js`: no forbidden word. ## Next (from #77) Release `develop` → `main` (stable on `latest`), then deprecate every earlier version of every `@quatrain/*` package on npm. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(okf): remove the application-specific telemetry layout and author from the adapter
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 5m22s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
be45aa1044
OKFBackendAdapter special-cased a `telemetry` collection with a path built
from application fields, and wrote a made-up operator address when a record
had no author. A generic package must not carry an application's vocabulary
or data.

- `config.jsonCollections` names the collections kept as JSON records
  `{ meta, data }` at `{collection}/{uid}.json`, with no index; a subclass
  overrides `getOKFPath()` for another layout (one directory per day...).
- No author is invented: `meta.created_by` is left out when unknown.
- Data directory from `OKF_DATA_DIR`; `STUDIO_DATA_DIR` still read.
- Tests, README, HOWTO and the generated docs pages use neutral examples.

BREAKING CHANGE: a `telemetry` collection is no longer stored as JSON by
default; declare it in `jsonCollections` and override `getOKFPath()` to keep
a dated layout.

Closes #75

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Core is generic. Client data, product names and the vocabulary of one
application's domain leave the packages, their tests and their docs.

- okf-ingest: the soils / crops / climates / itineraries fields and the
  agroecology profile are removed; FacetTaxonomyProfile builds a profile
  from the facets an application declares (closed vocabularies supported),
  and monographs carry the profile's fields instead of fixed ones. The judge
  rubric is domain-neutral (namingAccuracy, contentCompleteness).
- okf-ingest-catalog: neutral wording, no soil section; examples use a
  mineral catalog.
- mdm: the soil-science domain (AgronomyDomain, SoilProfile) is removed.
- auth-github: the default description of a created repository names no
  product. cli: no personal path; CORE_DEPLOY_PATH instead.
- Tests, READMEs, HOWTOs, the MDM specification and docs/pages use neutral
  examples; personal file links point to the public repository; an orphan
  docs page and a tracked test log are removed.
- CI refuses a list of client and domain words, kept as SHA-256 hashes
  (bin/check_forbidden_terms.js).

BREAKING CHANGE: okf-ingest drops AgroecologyTaxonomyProfile and the fixed
domain fields of its types; judge dimensions taxonomicAccuracy and
bioIndicationCompleteness are renamed namingAccuracy and contentCompleteness.
mdm no longer exports AgronomyDomain nor SoilProfile.

Refs #77

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge remote-tracking branch 'sovereign/fix/75-okf-adapter-neutral' into chore/77-spring-cleaning
All checks were successful
Quatrain Core CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 3m25s
Quatrain Core CI / Publish Changed Packages to npm (pull_request) Has been skipped
90427d9990
crapougnax merged commit 7b225035b4 into develop 2026-11-19 09:08:05 +00:00
crapougnax deleted branch chore/77-spring-cleaning 2026-11-19 09:08:05 +00:00
Sign in to join this conversation.
No description provided.