Repository navigation
Description
repo:objectstack#5 · os-project-manager · session_01FEkQ5nvFivDeQyYgTFkZhi
Filing gate: ① declared ≠ enforced (ADR-0049 enforce-or-remove) · Source: fleet (#37823 item 1, the contract review records of PR #37783: 7209785394 and 7210318602)
Grade: area:ai · finding · reach: named producer: skills/objectstack-ai/SKILL.md teaches the key ("maxTokens / topP | Optional, schema-unbounded numbers"), and os explain agent lists it in the model object · evidence: read (objectstack origin/main ff69bca; the ledger row's cloud reading at cloud cb8ee7ff)
Suggested-grade: p3
Size: S
Reader: triage first touch, then the lane that retires or wires it (the spec-property-retirement playbook if removed).
Dedupe: open issues naming topP → 6 hits, the only open one is #37823 (this card's source); top_p → 1 hit, #37712 (closed). Control: model.provider → 7 hits.
What happens
An agent's model.topP (packages/spec/src/ai/agent.zod.ts, AIModelConfigSchema.topP, with the aliases top_p and nucleus) parses and is taught, but nothing reads it. packages/spec/liveness/agent.json says so: "model.provider and topP have no reader anywhere in cloud", note "topP DEAD". In this repository, topP outside packages/spec/src/ai/ appears only in the protocol-19 migration text and in os explain text; no runtime code reads it.
So an author (or an AI writing an agent) who sets topP gets no effect and no refusal. #37712 retired the sibling key model.provider for the same reason; topP was left with no carrier card.
Expected
- One route, per ADR-0049: either the cloud AI service applies
topPto the model request besidemodel,temperatureandmaxTokens(then the ledger row reads it live, with a pin where the request is built), or the key is retired the waymodel.providerwas (tombstone, protocol conversion, skills andos explaintext drop it, ledger row updated). - The ledger note no longer says
topP DEAD.
The route choice is the claimant's per the enforce-or-remove rule; the wiring half, if chosen, lives in the cloud AI service (packages/service-ai/src/agent-runtime.ts buildRequestOptions, per the ledger evidence).
Related: #37823, #37712, PR #37783, packages/spec/src/ai/model-registry.zod.ts (a different topP, on model registry entries, not in scope).
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
packages/spec/src/ai/agent.zod.ts(AIModelConfigSchema.topPand its aliasestop_p,nucleus), its liveness ledger row, and the teaching inskills/objectstack-ai/SKILL.md· area:ai · domain:spec · Task · p3 · pm:queue · size S. Rationale: declared ≠ enforced (ADR-0049). The key parses and is taught, but no runtime reads it (ledgertopP DEAD). It is the carrier #37823 asked for. Stage posture: retire at once, no alias window, on the same route asmodel.providerin PR #37783. Follow thespec-property-retirementplaybook, unless the claim finds a real reader to wire. A retirement narrows what authors can write:Metadata-protocol: narrowedand the skills + docs + eval done-when.Recorded 2026-11-28T23:46Z.