module.personal-goals
Pure PersonalOS mission, goals, outcomes, and observed-metrics runtime.
@lssm-tech/module.personal-goalsbun add @lssm-tech/module.personal-goalsManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Pure, deterministic PersonalOS mission and goals runtime. It establishes a self-declared mission and principles, attaches goals to explicit outcomes and metric definitions, and records only observed metric values.
Self-reported observations have an immutable evidence-linked lifecycle. A correction preserves the prior value, confidence, provenance, actor, and reason; removal clears the current value while retaining the same bounded history.
Safety boundary
- Every command uses the PersonalOS subject, expected revision, idempotency key, a domain-separated canonical payload digest, and minimized evidence references.
- A host-supplied
PersonalDecisionReceiptV1must allow the exact command inhuman_requiredmode and bind its name, revision, idempotency key, submission time, policy, and payload digest. The reducer never grants authority. - Replays are deterministic; an idempotency-key collision with another digest is rejected.
- Unknown metrics and mission changes that would orphan goals fail closed.
- Observation corrections and removals require an exact current target, subject, revision, payload digest, receipt, reason, and evidence. Subject version drift and observation-to-metric reassignment fail before reduction.
- The view model renders
nullandnot_observedwhen no measurement exists. It never substitutes a baseline, target, or model estimate for an observation.
All functions are side-effect free and provider-neutral. Persistence, online authorization, receipt creation, and event-envelope storage belong to the host.
Entrypoints
@lssm-tech/module.personal-goals@lssm-tech/module.personal-goals/reducer@lssm-tech/module.personal-goals/view-model
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
2 declarations
@lssm-tech/lib.lssm-os-runtimeworkspace:^
Read the package manual ↗@lssm-tech/lib.personal-os-specworkspace:^
Read the package manual ↗
Declared capabilities
Pure PersonalOS mission, goals, outcomes, and observed-metrics runtime.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../../scripts/biome.cjs check .prebuildcontractspec-bun-build prebuildtestbun testtypechecktsgo --noEmit