Repository navigation
docs(skills): object colour by business family; the data skill teaches showOnCreate and drops the subforms pointer - #36696
Conversation
…ily and teaches showOnCreate; automation routes a stepped single-object form to a named wizard form Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxba91GQhJ1mvAZFftiw
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Contract reviewServed-tier: ① Derived judgmentsEvery changed sentence was read against the code at the head. No must-fix and no should-fix is open.
Stale teaching elsewhere (grep over Token ceilings, read as
No file is past its ceiling. CI's lint jobs on this head are green. Evals: they hold. Notes (none blocks):
② Semver levelPatch on ③ Boundary flags
④ Design judgmentThe change is the smallest one that makes the skills agree with the shipped platform. The colour rule now gives an author a reason to pick a hue, which the old "avoid repeats" could not once an app passed nine objects. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj 维护者速读给 AI 用的建模说明(skills)里,有两处教错或没教:对象颜色该怎么选,以及「新建时不显示、编辑时才显示」的字段怎么写。这次把说明改对了,和平台代码的真实行为逐条核对过。只改文档,不改代码。 席位核对 — ACCEPT (L1) · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj Tier H hand-off · 2026-11-23T12:53Z: this pull changes |
Requested by Warren · project thread
Fixes #36628
Fixes #36611
Clause-②: no
Metadata-protocol: none
Skills-docs: updated here
维护者速读
What changes
One PR for two cards in the same files, by the seat's dispatch.
#36628, object colour (
skills/objectstack-data).SKILL.md, thecolorrow of the object property table. Before: "Give every object one; avoid repeats in one app". With nine palette names any app past nine objects must repeat one, and the platform's own objects are coloured by business family (PR feat(objects): built-in and example objects carry a palette colour by business family #36605). After: group the app's objects into a few business families, one palette name each, as the platform's own objects do (peopleblue, securitypurple, approvals and workorange, messagingpink, integrationsteal, reference data and financegreen, audit and settingsamber);redonly for an object that is an alert; an object nobody opens gets none (it draws the defaultgray). No card ids in the text.references/examples-objects.md, Quick-Start Template: thesupport_caseobject declarescolor: 'orange'(work) beside itsicon.skills/objectstack-data/evals/mentionscolor; the object-authoring cases (ids 1 and the Chinese-labels case) ask foriconand say nothing about colour, so they agree with the new guidance and are unchanged.#36611, stage 2 (stage 1 was PR #36625, merged).
skills/objectstack-data/rules/relationships.md: the pointer "The rendering side,subformsoverrides included: objectstack-ui → Master-Detail Forms" drops thesubformsclause. objectstack-ui's Form Views now says a container'ssubformssteer nothing.skills/objectstack-data/SKILL.md, Conditional Field Rules: a bullet teachingshowOnCreate: false(off every create surface; edit, the record page and lists keep it; refused besiderequired: true). The section's opening list of where field rules apply now reads "New and Edit, named and public forms, inline master-detail grids, API writes" instead of naming "default forms, Studio-authored forms".skills/objectstack-automation/SKILL.md, after the Flow Types table: a stepped form over one object that never branches is "an objectstack-ui named form view (type: 'wizard') atype: 'form'action opens", matchingskills/README.mdsince docs(skills): the skills index routes a stepped single-object form to a named wizard form, and the sections ladder says New and Edit never read sections #36625.Evals:
skills/objectstack-automation/evals/flows-triggers-approvals.jsoncase 4 (a branching onboarding wizard is ascreenflow,must_not_contain: "type: 'wizard'") and the trigger case still hold; no data eval teachessubformsorshowOnCreate. Unchanged..changeset/36628-36611-skills-object-colour-create-forms.md:@objectstack/skillspatch.Paid for in the same files (no ceiling changes)
skills/objectstack-data/SKILL.mdskills/objectstack-automation/SKILL.mdskills/objectstack-data/references/examples-objects.mdskills/objectstack-data/rules/relationships.mdCuts that pay for the new text, each a restatement or a detail kept elsewhere:
SKILL.md:namespace,titleFormat,displayNameFieldandenablerows shortened (thetitleFormatrow keeps its refusal and lint id and points tonameField, whose row carries the composite-title rule;enablepoints to the next section, which lists the flags); theuserclause of Field Type Selection (the bullet below it says the same; "Three to get right" becomes "Two"); themultiple: truenote's "≠ junction object … array of ids" (the table rows above say both); "composite indexes" in the indexing pointer (the example above shows one); the lifecycle class list in the Quick Reference line (inrules/lifecycle.md); "conditionalRequired… REMOVED in protocol 17" shortened to "the removed alias is a parse error".SKILL.md: "Interactive —" and "automatically" in two Flow Types rows.Why
#36628: the skill taught the opposite of the platform's approved family table, and gave no reason to pick one hue over another. #36611: the data and automation skills still pointed agents at retired create/edit form overrides and routed single-object step forms to a wizard with no door named.
Verification
Each taught sentence against
main(115d38788):packages/spec/src/data/object-icon.ts:31(OBJECT_COLORS); defaultgraywhen absent: thecolorrow's default column, unchanged.packages/platform-objects/src/identity/sys-user.object.ts:104(blue),packages/platform-objects/src/audit/sys-notification.object.ts:33(pink); no platform object declaresred.showOnCreate:packages/spec/src/data/field.zod.ts:2934(meaning) and:3263(refused besiderequired: true).subformsinert:skills/objectstack-ui/rules/list-views.md§ Form Views (code readings in PR docs(skills): the skills index routes a stepped single-object form to a named wizard form, and the sections ladder says New and Edit never read sections #36625's Acceptance notes).Local gates: see the Tests section below.
Tests
No package source changed, so no package suite is owed. Prose only, no ablation.
Local gates at
b6b84c501(tree identical toa2598f51), against base115d38788: the 51 commandsdispatch-gates.mjs --commandsderives, each run with its exit code captured before any pipe. 46 exit 0, among themcheck-skills-token-ratchet(and--self-test),check:skill-links,check:skill-docs,check:skill-refs,check:skill-served-sections,check:skill-identifier-liveness,check:skill-compatibility,check:corpus-claim-drift,check:nul-bytes. 5 NOT MEASURED (exit 3, PREREQUISITE NOT MET: each reads builtdist/of packages this diff does not touch, and no workspace build was run for a prose diff; CI decides):check:doc-formula-expressions(@objectstack/lint),check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure,check:sourcemap-no-sources-content. Oneos:checkblock changed (the Quick-Start Template gainscolor: 'orange', a member ofOBJECT_COLORS);check:skill-examplesis not among the derived commands and needs client builds, so it is NOT MEASURED locally; CI decides.Acceptance notes
scripts/pm/overlap-check.mjsmerges cleanly withmainand with chore: version packages #35129, and conflicts with docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 (draft, router rewrite of the same twoSKILL.mdfiles, last pushed 2026-11-21, waiting on a maintainer decision). Skills follow-up of #36455: objectstack-data still points at the removed subforms section and does not teach showOnCreate; automation and the skills README still route single-object step forms to wizard #36611's triage asked to land after docs(skills): objectstack-data and objectstack-automation SKILL.md become routers #36158 if both are open; this PR does not wait on it while drafting. Whichever lands second carries the merge: the changes here are a handful of lines.claude-fable-5-2forskills/**. This thread ran on Opus; the seat decides whether a Fable pass is owed before landing.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses.main, one pull request. (two cards in the same files, by the seat's dispatch)packages/spectouched: n/a.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.https://claude.ai/code/session_01JQwxba91GQhJ1mvAZFftiw
Generated by Claude Code