The manifest (pulse --json)
Audience: CLI users (and orchestration agents) discovering Pulse’s self-description — what commands exist, which operators are registered, which field types are supported, and which skills the binary ships with.
The manifest is the bare-pulse invocation with --json. It is
deterministic and process-wide: it never depends on cohort data or
the filesystem.
LLM agents using MCP: the manifest is also available via the
pulse_manifestMCP tool. Agents typically call this once per session and cache the result.
Synopsis
pulse --json [--slim] [--intent ID]
(There is no pulse manifest subcommand — the manifest is the root
command’s --json output.)
Flags
--json emits the manifest envelope. --slim blanks every prose
description at every depth — operators, params, component_schema
keys, components_schemas, capability blocks — plus streamable_hint /
emits_type_note (the smaller payload size-sensitive clients want).
--intent ID scopes it to one intent (below). See
Global flags.
Manifest shape
From internal/descriptor/manifest.go:
{
"format_version": "1.1",
"data": {
"format_version": "1.0",
"pulse_version": "…",
"commands": [ /* each operation: name, description, annotations */ ],
"components": { "aggregators": [], "attributes": [], "filterers": [],
"groupers": [], "windows": [], "features": [] },
"tests": [ /* statistical tests */ ],
"post_tests": [ /* post-test variants */ ],
"regressions": [], "matrices": [], "overlays": [],
"cohort_types": [ /* every field type + the aggregators it accepts */ ],
"synth_distributions": [ /* synth distribution kinds */ ],
"error_codes": [ /* every registered error code */ ],
"mcp_tools": [ /* MCP tool name + description */ ],
"skills": [ /* embedded skill name + description */ ],
"intents": [], "limits": {}, "extensions": [], "...": "…"
},
"errors": [],
"warnings": []
}
pulse --json | jq '.data | keys' lists every section.
The manifest carries two format_version fields, and they differ on
purpose. The top-level one ("1.1") is the envelope’s: it versions the
{format_version, data, request, errors, warnings} wrapper and the
request / response payload contract, and is the value
pulse schema reports. data.format_version ("1.0")
versions the manifest document’s own shape. Each moves only when its own
document has a rename or removal; additions bump neither, and neither
bumps within v1. Check each against its own document, never one against
the other.
Every list is sorted deterministically (alphabetical or category +
alphabetical). The same Pulse binary always emits the same manifest
bytes (modulo --slim).
Intent-scoped manifest
--intent ID (MCP: pulse_manifest {"intent": ID}; library:
Pulse.ManifestForIntent) narrows the manifest to one intent-taxonomy
ID, for an agent that already knows the kind of question it is
answering. The operator sections (components, tests, post_tests,
regressions, matrices, overlays) keep only operators whose purpose
names the intent, skills becomes the intent’s ranked skill list, and
crosstab / matrix stay only when a remaining operator can use them.
The fixed sections — commands, operations, the error-code lists,
cohort_types, mcp_tools, synth_distributions, extensions,
limits, components_schemas (each operator keeps its own
component_schema) and the facet / process_chain / join /
export / import / union blocks — are absent, never empty, and listed in
elided. scope.intent carries the full intent record (label, sample
phrasings, data shapes). Versions, digests, intents and
return_presets are kept, so a client caches a scoped manifest under
(pulse_version, feature_set_digest, limits_digest, scope.intent.id).
A scoped slim manifest is gated at no more than 15% of the full slim
manifest for every analytic intent; describe (served by every summary
aggregator) and compare_groups (every two-sample test and pairwise
overlay) are the named exceptions, each with a measured ceiling.
Param entries that name a column
Every operator’s params[] entry carries name, type, required
and description, plus optional keys (default, enum_values,
enum_by + enum_values_by, field_filter, exactly_one_of, slot).
enum_values_by narrows enum_values by the value of the sibling param
enum_by names, each list’s first entry the default: REG_GLM’s link
by family (binomial → logit, probit, cloglog, …), so a form
offers only the valid pairs. names_column: true marks an
entry whose value names a record column the operator reads — a cohort
field, or a column the request computes ahead of the slot where the
operator accepts one. A string value is one column, a list value one
per element; every type: "field" entry carries the flag too, so it is
the one key to read. Some column-naming params stay type: "string"
with the flag (MAT_SEM’s and ATTR_SEM_SCORE’s group, a mean test’s
covariate, AGG_DISTINCT_SUM’s distinct_by, REG_MMM_BAYES’s time):
the flag sits beside type so no existing reading of type changes. A
name of a result column (a post test’s n_col, an overlay’s field or
partition_by) and an expression slot (fit_on, holdout) do not
carry it. The flag is omitted when false.
pulse --json | jq '[.data.components[][] | {op: .name, p: [.params[]? | select(.names_column) | .name]} | select(.p != [])]'
Determinism gates
Several CI tests enforce manifest completeness — see Testing Conventions. Notably:
TestManifestOperatorsComplete— every registered operator appears in the manifest.TestManifestTestsComplete/TestManifestPostTestsComplete— every registered statistical test appears.TestManifestDistributionsComplete,TestManifestErrorCodesComplete,TestManifestMCPToolsComplete— same for distributions, error codes, and MCP tools.TestManifestStreamableMatchesTypes— every operator’sstreamableflag mirrors the per-type method.
When to use the manifest
| Use case | Reach for |
|---|---|
| Discover what’s available | pulse --json |
| Confirm an operator’s params and emitted type | `jq ’.data.components[][] |
| List embedded skills | jq '.data.skills[].name' (full text: pulse skills show NAME) |
| Generate documentation or client stubs | Parse the full manifest once at boot |
| Quick “is this name a real operator?” | `pulse –json –slim |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success (the manifest is in-memory and deterministic) |
| 1 | --intent names no intent: a PULSE_RECOMMEND_INTENT_UNKNOWN error envelope |
| 2 | Usage error (unknown flag, malformed value, missing required flag); no envelope |
Examples
Print the manifest
pulse --json | jq '.data | keys'
Slim variant for embedding in an agent’s system prompt
pulse --json --slim > manifest.slim.json
List every aggregator with its emitted type
pulse --json | jq '.data.components.aggregators[] | {name, emits_type_note}'
Confirm a feature operator’s parameters
pulse --json | jq '.data.components.features[] | select(.name == "FEAT_BUCKETIZE") | .params'
Related
- How LLMs Use Pulse — the manifest is one of the agent discovery primitives
- Library: pulse.Manifest — Go counterpart
- Internals: Architecture — why the
manifest cannot import
internal/service/orinternal/processing/