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.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim: area o5-D round 1 · 2026-11-25T23:39Z · area:data p2 (the maintainer, verbatim, 2026-11-25T23:33Z in this seat's project: 「开一个专区 ,接 data 的 p1 p2」)
Area: o5-D
Session:
session_01Utp6CbdHk3orAeensH6EzSAccount:
os-billBranch:
claude/issue-35868-unit-codes-docsWorktree:
objectstack-issue-35868Domain:
domain:docsSeat:
repo:objectstack#5File surface:
content/docs/deployment/cli.mdx(theos migratetable row and a newos migrate unit-codessection),content/docs/data-modeling/**(a units page or a section of an existing page, plusmeta.jsonif a page is added), themetadata.endpoints.maintenancedescribe inpackages/spec/src/api/rest-server.zod.tsand its generated referencecontent/docs/references/**/rest-server.mdx, root.changeset/(patch). Stop on breach and explain in the report.Container & model:
S,mode:subagent,model: default(dispatch-gates --tier: no path-derived mandate, "the tier stays below the ceiling"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7108893226
Premise: holds at
origin/main98bda0a —git grep unit-codes -- content/docshits onlycontent/docs/permissions/system-context.mdx:209;cli.mdxhas nounit-codesrow;packages/spec/src/api/rest-server.zod.tsdoes not name the unit-code door; no units page undercontent/docs/data-modeling/. PR #35865 (the door) merged.Pre-claim lane:
content/docs/**→ docs,packages/spec/src/api/rest-server.zod.tsdescribe only → spec (text,Clause-②: no); kept in this lane per area-lease 留道.Pre-claim deps:
Blocked-by: #35492closed (PR #35865 merged). Hot files: open PR #37314 editscontent/docs/deployment/cli.mdx(other sections); overlap-check before push decides order.Prior rulings read: check-prior-rulings --card 35868 --paths (cli.mdx, data-modeling/**, rest-server.zod.ts) → 115 ADR candidates, 0 ruling comments on the card; governing text ADR-0158 U7 (ruled on #35339, record 7001193034); no ruling conflicts with a docs-only change.
Serial constraints cleared: open-PR file scan of 36 open PRs: #37314 (cli.mdx, data-modeling/seed-data.mdx) only; release PR #35129 touches changesets only.
Scope: the card's three "Done when" items.
Fixes #35868.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
os-dev-report
{ "issue": 35868, "status": "blocked", "branch": "claude/issue-35868-unit-codes-docs", "pr": "https://github.com/objectstack-ai/objectstack/pull/37378", "head": "9ec53fc0", "gates": "local, at 9ec53fc0: dispatch-gates derived 104 families, 104 run (--ran reconciliation 104/104). exit 1: pnpm check:docs-audit-scope (scripts/docs-audit/handwritten-docs.json lacks content/docs/data-modeling/units.mdx; that path is outside the claim's File surface, so not committed). exit 3 / NOT MEASURED (prerequisite: whole-workspace build or unshallow clone, CI runs them): check:dual-build-cjs-loads, check:lean-entry-closure, spec check:skill-examples, check-plugin-teardown-shape --self-test. exit 3 then 0 after building the lint closure: lint check:doc-formula-expressions, lint check:doc-security-posture, check:docs-transcript-drift. exit 1 then 0 after the index fix: check-section-landing-index. All other 93: exit 0. spec check:generated: 1 of 14 stale (check:docs), fixed with --fix. spec typecheck + vitest src/api/rest-server.test.ts: 53/53. overlap-check: clean vs origin/main and #37314. CI check-runs: in_progress at report time.", "line_budget": "+202 / -3 over 7 files; under the 3000 human-merge threshold; no skills/** touched", "deviations": "none on the file surface. Pending: one generated line in scripts/docs-audit/handwritten-docs.json (outside File surface), awaiting the seat's word.", "files_changed": [".changeset/35868-maintenance-describe-unit-codes.md", "content/docs/data-modeling/index.mdx", "content/docs/data-modeling/meta.json", "content/docs/data-modeling/units.mdx", "content/docs/deployment/cli.mdx", "content/docs/references/api/rest-server.mdx", "packages/spec/src/api/rest-server.zod.ts"], "security_findings": "none" }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Claim amendment to comment 7177875522 (area o5-D) · 2026-11-26T00:18Z
File surface (adds to the claim's line):
scripts/docs-audit/handwritten-docs.json, only the generated linenode scripts/docs-audit/check-audit-scope.mjs --writeemits for the newcontent/docs/data-modeling/units.mdx. Reason: a new hand-written page always forces that line;pnpm check:docs-audit-scopeis red on PR #37378 without it.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS
Close-out · area o5-D · 2026-11-26T01:25Z
Delivered by PR #37378 (merged,
2e07e61647):os migrate unit-codesrow and section incontent/docs/deployment/cli.mdx; themaintenancedescribe names the unit-code door (reference regenerated,@objectstack/specpatch changeset); newcontent/docs/data-modeling/units.mdxwith "Converting a field that already holds rows". L1 ACCEPT 7179258645.Remaining: none.
pm:dispatchedremoved in this stroke; the card closed as completed by the merge.