Package anatomy
Understand immutable release bytes, contributions, artifacts, authoring metadata, and member-facing listing promises.
Three descriptions, three audiences
| File | Audience | Authority |
|---|---|---|
chasing-mastery.package.json | runtime and review | executable contributions, artifacts, schemas, capabilities |
chasing-mastery.listing.json | member Library | promise, screenshots, modes, input/support state |
chasing-mastery.authoring.json | Workbench and reviewer | fixtures, viewport stories, design intent, release evidence |
The listing is not executable. The authoring brief is not runtime authority. The package manifest is parsed into a strict versioned contract before any artifact can run.
Typical project
vertical-experience/
├── chasing-mastery.package.json
├── chasing-mastery.listing.json
├── chasing-mastery.authoring.json
├── src/
│ ├── package.ts
│ ├── engine.ts
│ ├── ui.ts
│ ├── presentation.ts
│ ├── overlay.ts
│ ├── coordination.ts
│ └── narration.ts
├── fixtures/
└── .chasing-mastery/Contributions point to artifacts
An activity contribution identifies its configuration schema, result contract, accepted commands and observations, worker artifact, optional player artifact, progression, Story Events, and correction policy. Coordination and narration are separate contributions because they answer separate policy questions.
Artifacts are content-addressed release files. A contribution refers to an artifact by ID; the release index resolves the exact bytes. The host never imports an author's source tree at runtime.
Default Experience Suite
The package authoring brief declares:
- which mode is featured;
- the member-facing display order;
- one immutable default configuration for every mode;
- why each mode belongs in the Suite;
- which input options and creator surfaces are honestly supported.
Package defaults should make the intended experience work immediately. A member does not configure scoring rules or thresholds that would fragment progression. Advanced custom modes are a separate explicit workflow.
Exact public example
packages/darts-core/chasing-mastery.package.jsonEight activities, overlays, coordination, narration, and exact observation declarations.
packages/darts-core/chasing-mastery.listing.jsonThe complete product promise and input/support alignment.
packages/darts-core/chasing-mastery.authoring.jsonWorkbench fixtures, scenarios, acceptance claims, and source map.
examples/reference-extensionThe smallest fixture covering all contribution kinds.
Manifest reference
The exact package schema is exported by @chasingmastery/contracts. Use the
contract reference rather than copying a manifest
from a different vertical and guessing which fields are meaningful.