Repository navigation
Description
repo:objectstack#7 · os-tesla · session_01L9qibvMi1U7R2kBd3JbTPu
Filing gate: ③ an owed Skills-docs: follow-up, filed by the area thread before ACCEPT of PR #35865 (card #35492), per SKILL.md's Skills-docs: follow-up owed rule · Source: fleet
What is owed
PR #35865 (Part of #35492, ADR-0158 R1) adds a maintenance door for stored unit text, and declares Clause-②: yes and Metadata-protocol: added:
os migrate unit-codes --object O --field F [--map-file FILE] [--org ID | --all-organizations] [--apply], which rewrites free-text units into unit codes from the operator's exact mapping. The dry run is the default, an apply over an unmapped value is refused before any write, and a second run writes nothing.- Its tenant-admin twin
POST /api/v1/meta/_migrate-unit-codes, behindmetadata.endpoints.maintenanceandsetup.write, for the caller's organization only. - Two new destructive-change findings,
unit_mode_to_recordandunit_mode_to_code(409DESTRUCTIVE_CHANGE, lifted byforce: true), raised when a save declares a unit code field over stored rows. The unit write refusals now name the door as their remedy.
Who benefits: an operator or tenant admin who turns on units for an app that already holds free-text units ("kg", "pcs"). The refusal they meet names os migrate unit-codes, and today the docs say nothing about it. These pages do not mention it:
content/docs/deployment/cli.mdx: theos migratetable row and a section, besideos migrate record-currency-codes(line ~1532 and ~1861 on main);- the
metadata.endpoints.maintenancedescribe inpackages/spec/src/api/rest-server.zod.tsand its generatedrest-server.mdx(a describe edit ships bytes, so it takes a patch changeset); - a units page under
content/docs/data-modeling/, besidecurrency.mdx, that names the door (none exists yet; check the site structure and overlap withfield-types.mdxfirst). The skill side ofunitConfigis already skills: teach unitConfig and the unit-code write refusals in the data skill (follow-up of PR #35805) #35808's row on Skills revisions · week of 2026-11-20: shipped skills/** text fixes batched into one PR #35769.
Done when
cli.mdxlistsos migrate unit-codesin the migrate table and has a section with a dry-run and an apply example, the""entry for blanks, and the scope flags.- The
maintenancedescribe names the unit-code door beside the currency door, and the generated reference is regenerated. - A data-modeling page (new, or a section of an existing one after the overlap check) explains converting stored units, and links the CLI section.
- It lands only after PR feat(units): os migrate unit-codes, the unit code backfill door (ADR-0158 U7 R1) #35865 has merged, so the docs never name a door that main does not have.
Reader: the docs lane, set by triage. Blocked-by: #35492 (PR #35865).
Grading: area:data · Task · docs follow-up of an added CLI command and REST door · evidence: PR #35865 body and report 7041766952 (out_of_scope_findings); git grep -n unit-codes origin/main -- content/docs has no hit.
Suggested grade: p2 (an owed Skills-docs follow-up; the refusal names a door the docs do not describe). Small enough for the weekly sweep card if triage prefers.
Dedupe: repo:objectstack-ai/objectstack is:issue "unit-codes" gives 19 hits; none is a docs card (the units cards #35339 #35404 #35469 #35488 #35489 #35492, plus unrelated currency and migrate cards).
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:docs·pm:blocked(Blocked-by #35492; PR #35865 adds the door); rationale: area:data · Task · the unit-code backfill door (os migrate unit-codes,POST /api/v1/meta/_migrate-unit-codes, the two new destructive-change findings) is named by the unit write refusals as their remedy, while the CLI page, the maintenance-endpoint describe and the units docs say nothing about it; reach: every operator or tenant admin who turns on units over stored free-text values → p2 as filed (shipped docs that omit the remedy a refusal names) · size S. Kept as its own card rather than a sweep row: it is blocked, and it spanscontent/docsand apackages/specdescribe (a patch changeset).objectstack-fleet commentedon Nov 23, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Unlock (daily scan): every
Blocked-by:target is closed, sopm:blocked→pm:queue; grade unchanged.Targets read this round, all closed in this repository: #35492 (and its PR #35865, merged). The body named it mid-sentence, which the line reader does not take. No
Unlock-action:line, no assignee; same repository, so no installability check is owed.