Skip to content

Person subject pursuits — a thin core container for "what is this person working on"

Status: accepted

Date: 2026-08-01

Relates to: ADR-0052 (neutral-core posture; decision 7’s client projection), the B3 lexicon inventory projection (packages/db/src/schema/competency-framework.ts — migrating per this ADR), the Phase-2 entry obligation “language scoping of the lexicon inventory projection” (docs/design/language-module-phase-1-plan.md), docs/architecture/extension-architecture.md, docs/design/language-module-phase-2-plan.md (slice 2a-1).

The language module needs “the languages this person is studying” to scope its client projections (the recorded Phase-2 entry gate) and its surfaces. The concept generalizes: learner X is learning Chinese, and also studying Maths — “what is this person working on” is a person-centric overarching concern of exactly the kind the core model exists for (learning history follows the person, across orgs and modules). The design session established one boundary sharply: this container must never gate entitlements. A benefit like “free tools for CS students” cannot key on self-declaration — it keys on institutionally-verified enrollment (the ADR-0059 entitlement model’s membership scope), always.

  1. Core gains person_subject_pursuit, thin by charter: person → subject (the existing vocabulary registry — no new vocabulary system), a source field (self-declared now; derived reserved for future institutional projection), an effective window, audit columns. Owner-managed (create/end own pursuits), owner-readable on sync; nothing org-scoped.

  2. The entitlement fence, stated as charter: pursuits are a declaration container for identity, scoping, and UX. No entitlement, licensing, or access decision may ever read them. A future subject-scoped benefit keys on enrollment in subject-tagged offerings, never here.

  3. The language module owns its mapping: a small module table associates subject rows with the module’s operational language tags (subject “Chinese (Mandarin)” → zh). Selecting a language in the module UI writes one core pursuit row; everything language-flavored stays module-side. Future modules (a Maths module, dashboards, recommendations) read the same container instead of inventing their own.

  4. The B3 lexicon inventory projection migrates out of core into the language module’s registry contribution, gaining its language scoping there. The scoping is an activation model, not a shape predicate: each shape’s predicate is a public per-language constant (the language’s single machine-lexicon framework — ADR-0057 decision 5’s one-per-language ruling makes the framework id the natural pin), identical for every learner of that language, so the ADR-0059 decision-2 shared shape log holds; the chain (my pursued subjects → module mapping → language tags) decides which language shapes a client activates, with any server-side check applied at subscription time, outside the predicate. Revision bump per the recorded obligation; the base competency_node entry stays DENY_ALL in core; layering stays one-directional (module references core, never the reverse). This closes the Phase-2 entry gate “the projection MUST NOT be activated before language scoping lands”.

  • Module-local lang_person_language only (YAGNI): one small table now, but every future module re-invents the container and the platform never gets a queryable “what is this person studying”. The thin core version costs a table and a mapping.
  • Core-owned language selection: plants the first language-module concept inside core and muddies every future “where does X go” precedent. Language-ness belongs to the module.
  • Pursuits as entitlement substrate (the Microsoft-for-CS framing): self-declaration can never carry entitlement trust; retracted in design and fenced off by charter here.
  • The lexicon projection’s scope input exists the moment the module does; activation order is safe by construction.
  • Core carries one new person-linked table: erasure registration (delete-by-person), owner row filters, RLS twins per convention — no org keys, so no exclusion-campaign surface.
  • The pursuit container is deliberately boring: no status lifecycle beyond the effective window, no hierarchy, no metadata bag. Anything richer is a future ADR with a consumer in hand.