The inspection commands give you a precise, read-only view of every meaningful dimension of a running thcode session. None of them mutate state, execute shell commands, or consume authority. Output is identical across interactive, redirected, linearized, and headless JSON surfaces — the same fields, the same canonical tokens, the same order.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Temicide/thcode/llms.txt
Use this file to discover all available pages before exploring further.
/status — canonical session status
Alias: /stRequires approval: No
/status renders the StatusProjection — the single serializable object that aggregates session health into one consistent snapshot.
StatusProjection fields
StatusProjection fields
| Field | Type | Description |
|---|---|---|
workMode | 'plan' | 'build' | Current Work Mode |
permissionProfile | 'manual' | 'assisted' | 'full-access' | Active permission profile |
fullAccess | boolean | Whether Full Access is currently enabled |
providerId | string | Active provider identity |
modelId | string | Active model identity |
healthState | 'unconfigured' | 'configured' | 'checking' | 'available' | 'unavailable' | 'unhealthy' | 'quarantined' | Provider health |
contextPercent | number | 'percentage unavailable' | Context window utilization as a percentage, or the canonical token when no budget exists |
enforcementVerified | boolean | Whether authority enforcement is verified |
ConversationProjection extends StatusProjection with the session identity (sessionId, name, workspaceRoot, lastActivity), the transcript, and the context projection. /status renders the status slice specifically.
contextPercent uses the canonical measurement token 'percentage unavailable' when no real budget is configured — it is never shown as 0% or omitted.
/permissions — versioned PermissionMatrix
Alias: /permRequires approval: No
/permissions displays the AuthorityProjection — the current state of every authority dimension for this activation.
AuthorityProjection fields
AuthorityProjection fields
workMode and permissionProfile are separate authority axes; fullAccess is a distinct flag from permissionProfile: 'full-access'.
/connections — provider and service health
Alias: /connRequires approval: No
/connections shows the health state and connection identity for every configured provider and service. The output uses the canonical healthState token set:
| State | Meaning |
|---|---|
unconfigured | Provider has no credentials or configuration |
configured | Credentials present but health not yet verified |
checking | Health probe in progress |
available | Provider is reachable and responding |
unavailable | Provider is unreachable |
unhealthy | Provider is reachable but returning errors |
quarantined | Provider has been isolated due to repeated failures |
/models — Typhoon model inspection
Requires approval: NoNo aliases
/models is inspection-only for the Typhoon model set. It lists configured and available models with their current resolution state. Unresolved model pins are honestly labeled — they are never shown as available or working when they cannot be resolved. Entries that are catalogued but not yet available are not made invokable.
/models does not implement or invoke any Epic 4 Capability Registry or Specialist service. It reflects the current state of model resolution honestly, including gaps./tools — capability catalog and diagnostics
Requires approval: NoNo aliases
/tools exposes the full capability registry: the catalog of built-in tools, their support levels, and their diagnostic state. It supports several sub-actions:
browse
List all registered capabilities with their current state.
search
Filter the catalog by name, category, or modality.
inspect
Show detailed state for a single capability entry.
enable / disable
Enable or disable a capability (registry control, not an Epic 4 invocation).
diagnose
Run a diagnostic probe on a capability.
retest
Re-run a previous diagnostic and update the state.
CapabilityProjection:
'Catalogued — Not available yet' are displayed but are never made invokable. The catalog is the source of truth; model-supplied capabilities, URLs, or installers are never registry authority.
/activity — grouped activity history
Alias: /actRequires approval: No
/activity builds the ActivityProjection from the durable event journal and displays it grouped by Prompt Round and operation class.
ActivityRecord fields
ActivityRecord fields
| Field | Type | Description |
|---|---|---|
sequence | number | Durable sequence number |
eventId | string | Stable event identity |
promptRoundId | string | null | Prompt Round that produced this record |
operationId | string | null | Operation that produced this record |
operationClass | string | Class: prompt, effect, authority, boundary, evidence, remote, health, capability, context |
status | string | Canonical UX state token |
safeSummary | string | Secret-free plain summary |
authorityRevision | number | null | Authority revision at the time of this record |
evidenceRef | string | null | Evidence reference identity |
timestamp | string | ISO-8601 timestamp |
completeness | 'complete' | 'corrupt' | 'unavailable' | 'not-authoritative' | Record completeness |
eventId so no call or terminal outcome appears twice. Corrupt or incomplete records are labeled with their completeness state and a recovery action; the history never claims to be complete when it is not.
The ActivityProjection also carries:
truncatedCount— number of older records beyond the display capcorruptCount— number of corrupt or unavailable recordscomplete—trueonly when both counts are zero
/context — Active Model Context inspection
Alias: /ctxRequires approval: No
/context inspects the bounded Active Model Context — what is currently included in the model’s context window, how much capacity is used, and what has been omitted.
ContextProjection fields
ContextProjection fields
| Field | Type | Description |
|---|---|---|
estimatedTokens | number | Estimated total tokens in the current context |
effectiveCapacity | number | 'percentage unavailable' | Effective context capacity after reserves |
utilizationPercent | number | 'percentage unavailable' | Utilization as a percentage, or the canonical unavailable token |
pinnedTurnCount | number | Number of pinned turns |
contributors | ContextContributorProjection[] | Per-item contributor list (optional, may be omitted) |
omissions | { itemId, reason }[] | Items omitted from context with reason |
manifestId | string | null | Context manifest identity |
measurement | string | Measurement quality token |
role, inclusion mode, provenance, trust classification, estimated token count, and measured byte count. Items that were omitted due to capacity, trust policy, or duplication appear in the omissions list with their reason.
The utilization band thresholds are:
| Band | Threshold |
|---|---|
green | Below 70% |
amber | 70–84% |
orange | 85–94% |
red | 95%+ |
percentage unavailable | No real budget configured |
/usage — cumulative provider usage
Requires approval: NoNo aliases
/usage renders the UsageProjection — the cumulative token and call counts across all provider interactions in the current session.
UsageProjection fields
UsageProjection fields
| Field | Type | Description |
|---|---|---|
inputTokens | number | Total input tokens consumed |
outputTokens | number | Total output tokens produced |
cachedInputTokens | number | Subset of input tokens served from cache |
calls | number | Total provider call count |
measurement | string | Measurement source: provider-reported, locally-measured, estimated, fallback, unknown, or mixed |
observations | UsageObservation[] | Per-operation observations with operationId, modelId, source, and observedAt |
operationId, modelId, source, and observedAt. When observations come from multiple sources, measurement is 'mixed'.
/check — dependency preflight
Requires approval: NoNo aliases
/check re-runs the non-mutating dependency preflight. It probes the environment for required runtimes, compilers, package managers, and documented commands without installing or modifying anything.
Each probe returns a PrerequisiteProbeResult:
| Status | Meaning |
|---|---|
verified | Prerequisite found and version confirmed |
prerequisite-blocker | Required dependency missing; platform-specific guidance shown |
probe-failed | Could not run the probe; result is inconclusive |
incompatible | Dependency found but version is incompatible |
all-verified, blocked, or unknown. Guidance for blockers comes only from the maintained probe registry or verified project documentation — no model-supplied URLs or installers are ever used.
/check produces a fresh evidenceId per run. Evidence identities are never reused across runs, so each preflight result is independently attributable./mode — switch Work Mode
Requires approval: YesNo aliases
/mode switches between plan and build Work Mode. Because this mutates authority, it may require interactive approval. Without a TTY, it fails closed and returns noTtyCommandBlocked() — no authority is held in suspension.
/boundaries — Boundary Expansion management
Alias: /boundaryRequires approval: Yes
/boundaries lists, grants, and revokes Boundary Expansions. Because grant and revoke mutate authority, they require interactive approval. Without a TTY, the command fails closed.
activeBoundaryExpansionCount in the AuthorityProjection reflects only non-revoked, non-expired expansions. Revoked or expired expansions are excluded from the count.