chore: spring cleaning — no client data or business vocabulary in the packages, stable release, deprecate earlier versions #77
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core#77
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
No client data and no business-domain vocabulary in the packages of Core. A package is generic: its code, defaults, prompts, tests, README/HOWTO and generated docs use neutral examples (
acme,example.org). Domain knowledge belongs to the application that uses the package.Then publish every package as stable and deprecate the previous versions on npm, since published tarballs ship
src/and carry what is removed here.Inventory
Client data
docs/mdm-core-architecture-specification.md: a client's hardware (board, SKU) and the APN of its SIM.packages/okf-ingest-catalog/src/__test__/catalog.test.ts: a path of a client corpus.packages/auth-rbactest and README: a client's repositories and curator role.packages/mdm/src/Mdm.test.ts: a client SKU.packages/okf(adapter): handled by #75.Business domain baked into generic packages
packages/mdm/src/domain/AgronomyDomain.ts,SoilProfile.ts(+ test, exports): a soil-science domain. Removed from Core; an application declares its own archetypes.packages/okf-ingest:soils/crops/climates/itinerariesfields in the types, the monograph pipeline and the prompts; an agroecology taxonomy profile; a botanical judge rubric; agronomic examples in prompts and tests. Replaced by generic facets declared by the caller (facets: Record<string, string[]>), a neutral judge rubric, and no built-in domain profile.packages/okf-ingest-catalog: botanical / pharmacological wording and asoilssection. Neutral classification fields.packages/searchengine-qmd,packages/ai-openaitests,packages/okfdocument test: domain examples.Product names and personal paths
packages/auth-github/src/GithubAuthAdapter.ts: default repository description names a product (runtime string).packages/app/HOWTO.md: two product case studies;packages/auth-github/HOWTO.md: a product URL scheme;packages/state-machine/HOWTO.md: domain example; comments ingit-forgejo/git-githubadapters.packages/cli/src/commands/deploy.ts: hard-coded personal path.GEMINI.md,guidelines/CONTRIBUTING_AGENTS.md,packages/core-cliHOWTO:file:///Users/...links, personal gist.docs/pages/packages/*: regenerated from the packages;docs/public/api-reference: regenerated by the docs workflow.Release
develop(beta), thendevelop→main: every package published onlatest.npm deprecateevery earlier version of every@quatrain/*package, pointing to the new stable one.Done when
A check in CI refuses a list of client and domain terms in
packages/anddocs/(kept outside the repository, or as hashes, so the list itself does not leak), and the release above is out.Every published version except the current
latestis now deprecated with "Superseded: use @ or later.", checked on the registry version by version. Nolatestis deprecated. Packages without a successor (auth-basic, renamedauth-http-basic;logger;storage-aws) are deprecated entirely.