You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skills: teach the three data-model publish checks from #35143's Data model family (PR #37513) #37529
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Filing gate: ③ follow-up of an accepted delivery. PR #37513 (Part of #35143, Data model family) narrows publish and declares Skills-docs: follow-up owed; this card carries it.
What the skills must teach
skills/objectstack-data/rules/relationships.md: a roll-up (summary) field's child object must point back to the parent (a lookup or master_detail to it, or relationshipField), or publish refuses it (rollup/child-without-parent-reference).
skills/objectstack-data/rules/field-types.md: reference is read only on lookup, master_detail, user, tree and summary; on any other type publish refuses it (field/reference-on-non-reference-type).
skills/objectstack-automation/references/state-machines-and-approvals.md: lockRecord locks master_detail children only; a lookup child drawn as a body table stays editable while pending (advisory approval-detail-editable-while-pending).
Done when
The three files teach the rules above, and the skill evals exercise them. Lands after PR #37513 merges.
Suggested-grade: p2 · published skills would teach authors to write metadata that publish now refuses.
Dedupe: child-without-parent-reference skills and reference-on-non-reference-type found only #35143 and PR #37513.
Triage: lands in area:ai · domain:skills · Task · priority:p2 · pm:queue · size S; rationale: the published skills do not yet teach the three data-model publish checks that PR #37513 adds. That is an omission, not a misteaching, so p2 as suggested. Area moved from area:cloud to area:ai, where skills cards live.
Claim: PM loop round 4 · 2026-11-26T21:14Z
Area: s2-ai
Session: session_01L6bhgVUz5oS8fMgmncxU96
Account: os-sales
Branch: claude/issue-37529-data-model-publish-checks
Worktree: objectstack-issue-37529
Domain: domain:skills
Seat: repo:objectstack#2
File surface: skills/objectstack-data/rules/relationships.md, skills/objectstack-data/rules/field-types.md, skills/objectstack-automation/references/state-machines-and-approvals.md, the two skills' evals/** (one case or assertion per rule), one @objectstack/skills patch changeset (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: skills/** — clause ①), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: skills/objectstack-data/rules/relationships.md + field-types.md, skills/objectstack-automation/references/state-machines-and-approvals.md (objectstack-ai/objectstack) do not teach rollup/child-without-parent-reference, field/reference-on-non-reference-type, approval-detail-editable-while-pending | packages/lint data-model-rules.ts / validate-approval-approvers.ts (PR #37513, merged) already refuse or advise | every agent that installs objectstack-data / objectstack-automation and authors a roll-up, a reference, or an approval over a lookup child
Thread-read: 7190537445
Premise: holds (main fbcfdfb: none of the three codes appears under skills/; PR #37513 merged 2026-11-26)
Serial constraints cleared: PR #37513 merged. PR #36158 (#34770, skill routers) also edits the three files, but it is a draft frozen at 937e2f14 with its seat clocked out (same route as #37057, claim 7191860077): this lands on main first and #36158 merges main when it resumes. No other open PR touches these files.
{
"issue": 37529,
"status": "done",
"branch": "claude/issue-37529-data-model-publish-checks",
"pr": "#37707",
"head": "ad8cf055c296a6c6e7aaf40366b7c8046f7be725",
"session": "session_01L6bhgVUz5oS8fMgmncxU96",
"container_model": "S, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: skills/** — clause ①), effort: medium",
"premise_still_valid": true,
"summary": "The three skill files each gained one sentence worded from the code on main fbcfdfb: relationships.md teaches rollup/child-without-parent-reference (both arms: no lookup or master_detail back to the parent, or a relationshipField that is no field of the child); field-types.md teaches field/reference-on-non-reference-type (only lookup, master_detail, user and tree read reference; summary is exempt from the refusal, which is what the code does and differs from the card's wording); state-machines-and-approvals.md teaches approval-detail-editable-while-pending as a warning, not a refusal. Evals: data case 12 and automation case 3 extended, one new data case 29. No ratchet ceiling moved: every addition is paid by shorter wording in the same file. Draft PR open, skills/** is governed, so an L2 contract review is owed before the seat lands it.",
"tests": "Skill evals NOT MEASURED (no model runner in this container). At ad8cf05: node ui/scripts/check-skill-eval-tokens.mjs exit 0 ('Every must_contain token is taught by its own skill bundle.'); pnpm --filter @objectstack/spec run check:skill-examples exit 0 ('352 prose examples type-check across 3 surface(s)'); node ui/scripts/check-skill-examples.mjs exit 0 ('Every marked skill example holds up against the built types.'). No ablation: prose and fixtures only.",
"gates": "At ad8cf05. node scripts/pm/dispatch-gates.mjs --ran: exit 0, '49 derived famil(ies) accounted for — 48 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. 48 derived commands exit 0, among them node scripts/check-skills-token-ratchet.mjs (exit 0) and its --self-test (exit 0), pnpm check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, spec check:skill-refs and check:skill-served-sections, lint check:doc-formula-expressions, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration (all exit 0). NOT MEASURED: pnpm check:dual-build-cjs-loads exit 3 (prerequisite: whole-tree build, not built here). Outside the derivation, asked by the dispatch: spec check:skill-examples exit 0, ui check-skill-eval-tokens exit 0, ui check-skill-examples exit 0. node scripts/pm/overlap-check.mjs exit 0 ('VERDICT clean exit 0') before each push and before pr_create. CI check-runs: in_progress at report time, not read.",
"line_budget": {
"skills/objectstack-data/rules/relationships.md": {
"lines": "389 to 391",
"bytes": "16765 to 16810",
"tokens": "4192 to 4203",
"ceiling": 4203,
"headroom": "11 to 0"
},
"skills/objectstack-data/rules/field-types.md": {
"lines": "270 to 273",
"bytes": "14156 to 14160",
"tokens": "3539 to 3540",
"ceiling": 3541,
"headroom": "2 to 1"
},
"skills/objectstack-automation/references/state-machines-and-approvals.md": {
"lines": "386 to 387",
"bytes": "23732 to 23738",
"tokens": "5933 to 5935",
"ceiling": 5936,
"headroom": "3 to 1"
},
"skills/objectstack-data/evals/objects-fields-relationships.json": {
"lines": "506 to 520",
"tokens": "8919 to 9168",
"ceiling": "none (eval fixture, not ratcheted)"
},
"skills/objectstack-automation/evals/flows-triggers-approvals.json": {
"lines": "450 to 451",
"tokens": "7147 to 7262",
"ceiling": "none (eval fixture, not ratcheted)"
},
"bundle": {
"ratcheted_authored_tokens": "199619 to 199633 of 204473",
"shipped_tree_tokens": "299752 to 300130",
"skill_md_lines_all": "4961 to 4961",
"skills_tree_lines": "23255 to 23276"
},
"ceilings_raised": 0
},
"deviations": [
"overlap-check names PR #36158 as sharing the three skill files; expected and cleared in the claim; it reports a clean merge (exit 0).",
"One new eval case (data case 29) instead of an extension: the reference rule fit no existing case. Cases 12 (data) and 3 (automation) were extended, so their prompts changed.",
"relationships.md consumed its 11 tokens of headroom and now sits at 0.",
"Best practice 2 in state-machines-and-approvals.md lost the clause 'unless you have a strong reason to allow edits while pending' to pay for the new sentence.",
"check:dual-build-cjs-loads NOT MEASURED locally (exit 3); test:repo not run locally (CI owns it).",
"Two scoped builds ran under the verify lock (slot issue-37529) to satisfy the skill-example gates: 559s and 10s held.",
"Commit trailer: the harness reminder asked for a Co-Authored-By naming the model; the dispatch and os-dev.md ask for the model-free pair, which is what the commit carries.",
"Card and PR were read through 3 GitHub MCP read calls instead of the payload or single-card REST read.",
"Worktree removed after the report comment, per the cleanup rule."
],
"files_changed": [
".changeset/37529-skills-data-model-publish-checks.md",
"skills/objectstack-automation/evals/flows-triggers-approvals.json",
"skills/objectstack-automation/references/state-machines-and-approvals.md",
"skills/objectstack-data/evals/objects-fields-relationships.json",
"skills/objectstack-data/rules/field-types.md",
"skills/objectstack-data/rules/relationships.md"
],
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"relay_writes": "2 — pr_create (POST /repos/objectstack-ai/objectstack/pulls plus its assignees leg, run 45900347757, read back identical 7405 bytes); os-dev-report comment (POST /repos//issues/37529/comments)",
"mcp_calls": "3 — issue_read (get), issue_read (get_comments), pull_request_read (get); reads only, no write tool",
"l2_review": "owed: skills/** is governed (Tier S on a contract-tier PASS record for head ad8cf05); not requested by this dev",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:skillsDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 26, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:skills · Task · priority:p2 ·
pm:queue· size S; rationale: the published skills do not yet teach the three data-model publish checks that PR #37513 adds. That is an omission, not a misteaching, so p2 as suggested. Area moved from area:cloud to area:ai, where skills cards live.fix(lint): the record-picker clause names only the types that reach i…
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgVUz5oS8fMgmncxU96
Claim: PM loop round 4 · 2026-11-26T21:14Z
Area: s2-ai
Session:
session_01L6bhgVUz5oS8fMgmncxU96Account:
os-salesBranch:
claude/issue-37529-data-model-publish-checksWorktree:
objectstack-issue-37529Domain:
domain:skillsSeat:
repo:objectstack#2File surface:
skills/objectstack-data/rules/relationships.md,skills/objectstack-data/rules/field-types.md,skills/objectstack-automation/references/state-machines-and-approvals.md, the two skills'evals/**(one case or assertion per rule), one@objectstack/skillspatch changeset (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: skills/** — clause ①),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
skills/objectstack-data/rules/relationships.md + field-types.md, skills/objectstack-automation/references/state-machines-and-approvals.md (objectstack-ai/objectstack) do not teach rollup/child-without-parent-reference, field/reference-on-non-reference-type, approval-detail-editable-while-pending | packages/lint data-model-rules.ts / validate-approval-approvers.ts (PR #37513, merged) already refuse or advise | every agent that installs objectstack-data / objectstack-automation and authors a roll-up, a reference, or an approval over a lookup childThread-read: 7190537445
Premise: holds (main fbcfdfb: none of the three codes appears under
skills/; PR #37513 merged 2026-11-26)Serial constraints cleared: PR #37513 merged. PR #36158 (#34770, skill routers) also edits the three files, but it is a draft frozen at
937e2f14with its seat clocked out (same route as #37057, claim 7191860077): this lands onmainfirst and #36158 mergesmainwhen it resumes. No other open PR touches these files.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#2 · os-sales · session_01L6bhgVUz5oS8fMgmncxU96
os-dev-report
{
"issue": 37529,
"status": "done",
"branch": "claude/issue-37529-data-model-publish-checks",
"pr": "#37707",
"head": "ad8cf055c296a6c6e7aaf40366b7c8046f7be725",
"session": "session_01L6bhgVUz5oS8fMgmncxU96",
"container_model": "S, mode:subagent, model: CONTRACT_REVIEW_TIER (dispatch-gates --tier MANDATORY: skills/** — clause ①), effort: medium",
"premise_still_valid": true,
"summary": "The three skill files each gained one sentence worded from the code on main fbcfdfb: relationships.md teaches rollup/child-without-parent-reference (both arms: no lookup or master_detail back to the parent, or a relationshipField that is no field of the child); field-types.md teaches field/reference-on-non-reference-type (only lookup, master_detail, user and tree read reference; summary is exempt from the refusal, which is what the code does and differs from the card's wording); state-machines-and-approvals.md teaches approval-detail-editable-while-pending as a warning, not a refusal. Evals: data case 12 and automation case 3 extended, one new data case 29. No ratchet ceiling moved: every addition is paid by shorter wording in the same file. Draft PR open, skills/** is governed, so an L2 contract review is owed before the seat lands it.",
"tests": "Skill evals NOT MEASURED (no model runner in this container). At ad8cf05: node ui/scripts/check-skill-eval-tokens.mjs exit 0 ('Every must_contain token is taught by its own skill bundle.'); pnpm --filter @objectstack/spec run check:skill-examples exit 0 ('352 prose examples type-check across 3 surface(s)'); node ui/scripts/check-skill-examples.mjs exit 0 ('Every marked skill example holds up against the built types.'). No ablation: prose and fixtures only.",
"gates": "At ad8cf05. node scripts/pm/dispatch-gates.mjs --ran: exit 0, '49 derived famil(ies) accounted for — 48 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. 48 derived commands exit 0, among them node scripts/check-skills-token-ratchet.mjs (exit 0) and its --self-test (exit 0), pnpm check:skill-links, check:skill-identifier-liveness, check:skill-compatibility, check:skill-frame-sync, check:doc-authoring, check:nul-bytes, check:published-files, spec check:skill-refs and check:skill-served-sections, lint check:doc-formula-expressions, check-empty-changeset, check-changeset-no-major, check-adr-0087-registration (all exit 0). NOT MEASURED: pnpm check:dual-build-cjs-loads exit 3 (prerequisite: whole-tree build, not built here). Outside the derivation, asked by the dispatch: spec check:skill-examples exit 0, ui check-skill-eval-tokens exit 0, ui check-skill-examples exit 0. node scripts/pm/overlap-check.mjs exit 0 ('VERDICT clean exit 0') before each push and before pr_create. CI check-runs: in_progress at report time, not read.",
"line_budget": {
"skills/objectstack-data/rules/relationships.md": {
"lines": "389 to 391",
"bytes": "16765 to 16810",
"tokens": "4192 to 4203",
"ceiling": 4203,
"headroom": "11 to 0"
},
"skills/objectstack-data/rules/field-types.md": {
"lines": "270 to 273",
"bytes": "14156 to 14160",
"tokens": "3539 to 3540",
"ceiling": 3541,
"headroom": "2 to 1"
},
"skills/objectstack-automation/references/state-machines-and-approvals.md": {
"lines": "386 to 387",
"bytes": "23732 to 23738",
"tokens": "5933 to 5935",
"ceiling": 5936,
"headroom": "3 to 1"
},
"skills/objectstack-data/evals/objects-fields-relationships.json": {
"lines": "506 to 520",
"tokens": "8919 to 9168",
"ceiling": "none (eval fixture, not ratcheted)"
},
"skills/objectstack-automation/evals/flows-triggers-approvals.json": {
"lines": "450 to 451",
"tokens": "7147 to 7262",
"ceiling": "none (eval fixture, not ratcheted)"
},
"bundle": {
"ratcheted_authored_tokens": "199619 to 199633 of 204473",
"shipped_tree_tokens": "299752 to 300130",
"skill_md_lines_all": "4961 to 4961",
"skills_tree_lines": "23255 to 23276"
},
"ceilings_raised": 0
},
"deviations": [
"overlap-check names PR #36158 as sharing the three skill files; expected and cleared in the claim; it reports a clean merge (exit 0).",
"One new eval case (data case 29) instead of an extension: the reference rule fit no existing case. Cases 12 (data) and 3 (automation) were extended, so their prompts changed.",
"relationships.md consumed its 11 tokens of headroom and now sits at 0.",
"Best practice 2 in state-machines-and-approvals.md lost the clause 'unless you have a strong reason to allow edits while pending' to pay for the new sentence.",
"check:dual-build-cjs-loads NOT MEASURED locally (exit 3); test:repo not run locally (CI owns it).",
"Two scoped builds ran under the verify lock (slot issue-37529) to satisfy the skill-example gates: 559s and 10s held.",
"Commit trailer: the harness reminder asked for a Co-Authored-By naming the model; the dispatch and os-dev.md ask for the model-free pair, which is what the commit carries.",
"Card and PR were read through 3 GitHub MCP read calls instead of the payload or single-card REST read.",
"Worktree removed after the report comment, per the cleanup rule."
],
"files_changed": [
".changeset/37529-skills-data-model-publish-checks.md",
"skills/objectstack-automation/evals/flows-triggers-approvals.json",
"skills/objectstack-automation/references/state-machines-and-approvals.md",
"skills/objectstack-data/evals/objects-fields-relationships.json",
"skills/objectstack-data/rules/field-types.md",
"skills/objectstack-data/rules/relationships.md"
],
"dogfood_battery": "n/a — no
!in the PR title and no (narrowing) arm","relay_writes": "2 — pr_create (POST /repos/objectstack-ai/objectstack/pulls plus its assignees leg, run 45900347757, read back identical 7405 bytes); os-dev-report comment (POST /repos//issues/37529/comments)",
"mcp_calls": "3 — issue_read (get), issue_read (get_comments), pull_request_read (get); reads only, no write tool",
"l2_review": "owed: skills/** is governed (Tier S on a contract-tier PASS record for head ad8cf05); not requested by this dev",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}