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
security (v19 major): View All / Modify All stop voting on fields — ADR-0087 conversion adds viewAllFields: true beside them, superuserFieldVote and security-superuser-field-mask-inert retire (step 3 of #34365, behaviour change) #36055
Filing gate: ④ sub-card of the ruled decision #34365 (ruling 6912661484, verbatim 「同意,立决策卡」; implementation cards are cut after PR #34082, merged 2026-11-16T21:40Z) · Source: topic #34365
Parent: #34365 (step 3, "v19 major")
Blocked-by: #36050, #36052
Grade: left to triage. Suggested p2 (the end state of the p2 security card #34365). Area: data. Type suggestion: Feature.
⛔ Behaviour change in a major. Ships only in the v19 major, and is built only after the maintainer's go-ahead through the seat (this card's parent ruling sets the end state, not the build start).
Dedupe: repo:objectstack-ai/objectstack is:issue viewAllFields → 3 hits: #34365 (the parent), #33828 (closed), #6015 (triage seat post). No card covers this step.
Business reason
This is the step that fixes the defect class for good: one set's View All / Modify All will no longer re-open a field another set hides (hotcrm#2481's class). Every mainstream platform the parent card checked (Salesforce, Dataverse, ServiceNow, Odoo) keeps the record-wide bit off the field axis, and Salesforce added a separate read-only "View All Fields" for the same reason. The conversion keeps every existing app's behaviour verbatim, so no app owner loses access at upgrade.
What to build
viewAllRecords and modifyAllRecords cast no field vote: retire superuserFieldVote as a field-vote source (packages/core/src/security/effective-object-permissions.ts) in both merges (getFieldPermissions, buildEffectiveFieldPermissions), leaving viewAllFields as the only "all fields" channel. Readers of superuserFieldVote outside the merges (e.g. packages/qa/scenarios/src/score/scenario-tags.ts) move to the new reading.
One ADR-0087 mechanical conversion (packages/spec/src/conversions/entries/19/): add viewAllFields: true to every objects entry (wildcard included) that carries viewAllRecords or modifyAllRecords and does not already say viewAllFields. Behaviour kept verbatim; authors remove the bit where it isn't wanted.
One semantic upgrade-guide entry (packages/spec/src/migrations/entries/semantic/). After conversion, the only remaining behaviour change is "Modify All plus the same set's own editable: false / readable: false row" — the entry names it, and the lint that already names that case is its pointer.
Retire security-superuser-field-mask-inert (packages/lint), and re-point the cross-set warning from the step-2 lint sub-card (it no longer fires for View All / Modify All after the switch) — the PR says what that rule becomes.
Clause-②: yes · Metadata-protocol: semantic (with a mechanical conversion) · Skills-docs: line · Tier H · contract review at the required tier · full verification (! major).
Acceptance
After conversion, every fixture app's field maps are identical to before; an unconverted set with View All alone no longer reads a field another set hides.
Gates green; L1 + L2 PASS on the final head; landed by the maintainer's approval.
Ruled: stored permission sets take the 19 meaning · claim amendment 1 · 2026-11-25T23:20Z
Ruled: permission sets stored in sys_metadata that carry View All / Modify All are read with the 19 meaning; the conversion is not replayed on them.
who: Alice (os-alice); where: decision card in seat 7's project decision thread, option A 「A 直接按新含义读」, chosen 2026-11-25T23:20Z; question: 「决定数据库里带"查看全部"的权限集在 19 版怎么读」; option's consequence: 「被别的权限集隐藏的字段,升级后不再能靠查看全部看到;管理员勾上 viewAllFields 即恢复。小改动。」
Chosen knowing that the earlier go-ahead's "fields existing apps see do not change" holds for SOURCE permission sets only: a Studio-stored set stops reading a field another set names as hidden through View All / Modify All.
Execution note carried with the ruling: the changeset and the semantic upgrade entry state, as a one-step check an operator can follow, which stored permission sets are affected and how to restore them, and that the failure direction is fewer fields read, never a field opened.
Claim amendment 1 (claim 7177278985): File surface: adds packages/metadata-core/src/artifact-forward-conversion.ts, packages/spec/src/conversions/stored.ts, and their tests. Clause-②: yes, Metadata-protocol: semantic, model and effort unchanged.
Read by the dev at maind5ae7a4: PROTOCOL_VERSION is '18.0.0'; MIGRATIONS_BY_MAJOR and CONVERSIONS_BY_MAJOR have no 19. PR feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314 (draft, Fixes #37229, the 19 bump) opens step19 in packages/spec/src/migrations/registry.ts.template and the semantic:19 region. Without it the 19 conversion and the 19.* semantic entry reach no author.
Interim report (the seat asked for one before #37314 merges), 2026-11-26T00:03Z.
{
"issue": 36055,
"status": "rework",
"branch": "claude/project-thread-o3bcge",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37371",
"session": "session_011y7As8b4YLdvodeGAQWNTQ",
"premise_still_valid": true,
"summary": "Interim, known incomplete: waits on #37314 for the 19 step. Built: View All / Modify All cast no field vote in both merges (core viewAllFieldsReadVote replaces superuserFieldVote; plugin-security and explain follow; scenarios scoring follows), lint retires security-superuser-field-mask-inert and re-points security-cross-set-field-reopen to viewAllFields only, showcase migrated by hand, docs, spec describes, changeset with the one-step check ruling A asks for. Still owed after #37314: entries/19 conversion permission-view-all-fields-beside-record-bypass (retiredFromLoadPath), CONVERSIONS_BY_MAJOR[19] and step19 conversionIds, the 19 semantic entry, the ruling-A refusals at DEFAULT_FLIPS_NOT_REPLAYED_HERE and stored.ts, the fixture field-map measurement, the dogfood battery. Premise refinement: Modify All's cross-set EDIT re-open is lost too (viewAllFields votes read only), the built-in admin beside an app set's edit lock included; ruled by 6912661484, named in the PR and to be named in the D3 entry. Declaration line written Clause-②: yes (narrowing), the arm added to the order's literal because the change narrows what a caller reads.",
"tests": "head 18c15eac (ebc9d48c adds changeset front-matter only): vitest core src/security 75 files / 1493 tests passed; lint 235 files passed (377 in the touched files after fixes); plugin-security 289 files, 7277 passed / 45 skipped, 0 failed; scenarios test/score/scenario-tags.test.ts 116 passed (suite-wide 2 failures in test/build and test/runner/packages.test.ts need a packed workspace build, files untouched); spec src/security/permission.test.ts + src/contracts/security-service.test.ts 162 passed; cli test/superuser-bypass-mirror-parity.test.ts 3 passed. typecheck exit 0: core, lint, plugin-security, scenarios. dogfood typecheck exit 2: 932 TS2307 module-not-found from unbuilt connector packages, none in the two touched dogfood files. Acceptance (unconverted View All alone no longer reads a field another set hides) pinned in core superuser-field-vote-33828.test.ts, plugin-security fls-superuser-vote.test.ts, and a new third member in fls-own-field-mask-33828.dogfood.test.ts (run owed with the battery).",
"gates": "local, exit codes before any pipe: lint check:doc-security-posture 0; lint check:doc-formula-expressions 0; check:i18n-stale-fill 0; check-skills-token-ratchet 0; check:doc-anchors 0; check:doc-authoring 0; docs-audit/check-affected-docs 0; check:spec-docblock-symbol-anchors 0; check:issue-citations 0; check-empty-changeset 0; check:docs-spec-enumerations 0; check-changeset-no-major 0 (pre mode); spec check:generated 1 then --fix (gen:docs) and re-check 0; eslint on the touched ts files 0. Red: check-adr-0087-registration 1 (expected: the id registers with the 19 entry); check:adr-symbol-anchors 1 (docs/adr/0066-unified-authorization-model.md:146 anchors effective-object-permissions.ts#superuserFieldVote, docs/adr out of surface); check:platform-checklist 1 (areas/automation.json FlowItemMoreMenu anchor, not in this diff). NOT MEASURED locally: check:type-check-debt (needs the whole workspace built), the remaining 100+ derived families; CI on the PR head is the record, 20 checks pending at 00:02Z. l1-face --pr 37371 exit 4: changeset flag fixed in ebc9d48c, skills-docs flag (card to file), dogfood owed, floor and all checks pending.",
"dogfood_battery": "NOT MEASURED — owed on the final head, after #37314 merges and the 19 entry lands",
"mcp_calls": "7 — mcp__github__issue_read x4, mcp__github__pull_request_read x2, mcp__github__get_file_contents x1; all reads",
"api_writes": "2 — relay pr_create POST /repos/objectstack-ai/objectstack/pulls (+ assignees os-alice), this comment via post-stamped",
"open_questions": [
{
"question": "Ruling A asks for a one-step check of which STORED permission sets are affected. No command lists them today, and Studio's matrix has no viewAllFields control, so the stored fix goes through the metadata API. The changeset states the predicate (an objects entry, wildcard included, with viewAllRecords or modifyAllRecords and no viewAllFields) and that fix. Enough?",
"options": [
"A: keep the stated predicate and the metadata-API fix in this PR; file a follow-up card for a stored review list in os migrate meta --stored (like the flow decision-mode review list)",
"B: add that review list to this PR (metadata-protocol stored-migration, outside the claim, cost M)"
],
"recommendation": "A, because the list is new plumbing outside the claimed surface and the check is already one predicate a reader applies to one set"
},
{
"question": "check:adr-symbol-anchors is red: docs/adr/0066:146 anchors #superuserFieldVote, which this PR removes. docs/adr is out of surface.",
"options": [
"A: the #37245 ADR revision re-points the anchor to #viewAllFieldsReadVote (with the D2 note in the PR body) before this PR leaves draft",
"B: add that one anchor line to this PR's claim (docs/adr effort floor xhigh)"
],
"recommendation": "A, because the D2 end-state note goes to #37245 anyway and the anchor is the same paragraph"
}
],
"security_findings": "none",
"out_of_scope_findings": [
"class: unclassified · reach: check:platform-checklist red on the merged tree, neither file in this diff (arrived with origin/main 98bda0ac) · evidence: areas/automation.json anchors ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#FlowItemMoreMenu, not declared there · dedupe words: FlowItemMoreMenu absent symbol platform checklist",
"skills docs owed (skills/** out of surface): skills/objectstack-ai/SKILL.md pitfall 2 says Modify All grants a field edit; skills/objectstack-data/evals/hooks-security-seeds-datasources.json expected output says View All and Modify All re-open a field · carrier: seat files the card, PR line Skills-docs rewritten to the number",
"hotcrm sales_manager: convert the migrated viewAllFields: true to explicit field rows (#34365 step 4) · carrier: seat files it"
]
}
Resumed-by: maintainer order — who: Alice (os-alice); words: 「37314 已经合并了」「同时做」; where: seat 7's project chat, 2026-11-26T12:59Z. Cap back to 2 (#37086 + this card).
{
"issue": 36055,
"status": "done",
"branch": "claude/project-thread-o3bcge",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37371",
"session": "session_011y7As8b4YLdvodeGAQWNTQ",
"premise_still_valid": true,
"summary": "Second half delivered on final head bad558d5 (merged main 1dd682c1 first; the os-regen debt on content/docs/references/api/protocol.mdx was regenerated and committed). New ADR-0087 D2 default flip permission-view-all-fields-beside-record-bypass (packages/spec/src/conversions/entries/19/, retiredFromLoadPath, retiredAfter 18.6.0, fixture with 3 notices) writes viewAllFields: true on every objects entry, '*' included, that has viewAllRecords or modifyAllRecords and no viewAllFields; it is registered in a new sorted MAJOR_19_CONVERSIONS as CONVERSIONS_BY_MAJOR[19], and step19.conversionIds derives from it (step 19 not re-opened, rationale extended by one sentence). The D3 entry permission-view-all-modify-all-cast-no-field-vote carries every behaviour change and ruling A's one-step check. Ruling A exclusions: applyConversionsToStoredItem refuses the id by name (module-local STORED_ROWS_NOT_REWRITTEN, merged into any caller's excludeConversionIds), and DEFAULT_FLIPS_NOT_REPLAYED_HERE carries it with its reason. Upgrade guidance lives in three places, and each says stored permission sets are read with the 19 meaning and the fix is adding viewAllFields: true: (1) the semantic entry packages/spec/src/migrations/entries/semantic/19.permission-view-all-modify-all-cast-no-field-vote.ts; (2) the generated guide content/docs/protocol-upgrade/19.md, written by gen:upgrade-guide, gitignored and built by the docs site (conversion row plus D3 entry); (3) the changeset .changeset/36055-view-all-stops-voting-on-fields.md (metadata-core added as minor, plus a pointer to the D3 entry). Mechanical consequences outside the listed surface, all test or fixture data: the major-18 fixture permission-modify-all-allow-delete-false-to-true gained viewAllFields: true so the fixture table stays disjoint; scripts/conversions-major18-merge.test.ts reads major 18's slice of ALL_CONVERSIONS instead of its tail; retired-key-removal-version.pin.test.ts gained a semantic row kind joining the flip to its D3 entry; examples/app-showcase/access-matrix.json now records the five hand-migrated viewAllFields grants, which the showcase build's ADR-0090 D6 drift check named. Seams: no other seam replays the id. The flow-only exclusions never see a permission set, every stored-row caller (database-loader, objectql convertStoredRow, metadata-protocol convertStoredItemDetailed, os migrate meta --stored, core translation sync, service-datasource) goes through applyConversionsToStoredItem, and the artifact door is the only other includeRetired caller. Updated PR body saved for the seat at /mnt/project-files/seat7/36055-dev/pr-body-37371-v2.md (re-read, byte-identical to the scratch copy). The auto-mode classifier refused one compound command (commit plus push plus background build); the same steps then ran one at a time, with nothing skipped.",
"tests": "Acceptance measurement (one-shot script under packages/core/.measure-36055, deleted, not committed). Method: the pre-PR sources from origin/main under the v18 merge, against the same sources run through the conversion under the v19 merge, for every single set and every pair. Built-in default sets: 9 sets, 45 combos, 507 field cells, 0 conversion notices; read 507/507, edit 507/507 identical. Showcase plus defaults: 18 sets, 171 combos, 1314 cells, 5 notices; read 1314/1314 identical; edit 1302/1314, and all 12 differences are the ruled loss of Modify All's edit vote (admin_full_access or organization_admin beside showcase_contributor or showcase_client_liaison on showcase_project.budget, spent and budget_remaining). CRM plus defaults: 11 sets, 66 combos, 663/663 identical. No field or edit opened; zero own-row-beside-Modify-All cases occur in these fixtures. The conversion of the pre-PR showcase equals the branch's hand migration on 9/9 sets. Control: an unconverted View All set beside another set hiding o.secret reads it under v18 (readable true) and not under v19 (readable false). Unit tests: spec src/conversions + src/migrations + the pin + the major-18 merge test: 29 files / 1072 tests passed. Full spec local project: 900/901 files, with the one failure being the unjoined pin, since fixed. metadata-core test: 27 files / 1070 passed. cli unit 'migrate': 44 files / 449 passed. core src/security: 75 / 1493 passed. lint: 236 / 9658 passed. typecheck: spec and metadata-core green. Ablations, each with mutation and restore proven on disk by scripts/ablation-replace.mjs (blob after restore = blob at HEAD, git diff HEAD empty): removing the id from STORED_ROWS_NOT_REWRITTEN gave 3 failed / 7 passed; removing it from DEFAULT_FLIPS_NOT_REPLAYED_HERE gave 4 failed. The first stored-seam ablation was a refused no-op (its replacement text already occurred in the file) and was rerun with a distinct marker.",
"gates": "dispatch-gates --commands at bad558d5: 132 families. --ran reconciliation with exit codes: 132 accounted, 128 run, 4 NOT MEASURED, 0 unrun. 127 exit 0, including check-adr-0087-registration (now green), spec check:generated, check:spec-changes, check:upgrade-guide, check:api-surface, check:authorable-surface, check:type-check-debt, check:platform-checklist and check:nul-bytes. 1 exit 1, known and outside the surface: check:adr-symbol-anchors at docs/adr/0066:146 (#superuserFieldVote). 4 NOT MEASURED (exit 3): check-plugin-teardown-shape --self-test (shallow clone) and check:skill-examples, check:dual-build-cjs-loads and check:published-readme-exports (their packages are not built here). The platform-checklist red named in the brief was green here. Local-only: check:skill-frame-freshness exit 0; check:dev-prereqs exit 1 because 35 ui/ packages have no dist (box state, not this diff). CI check-runs at bad558d5, read once: 70 runs, 58 success, 10 skipped, 0 pending, 2 failure (Lint & Repo Gates, Lint · docs & code guards). The job log names only the check-adr-symbol-anchors finding. TypeScript Type Check, Test Core (10/10 shards plus the aggregate), Build Core and the other required contexts on the PR set: success. l1-face --pr 37371 exit 5 (FLAGGED): skills-docs (the live PR body's long Skills-docs line; v2 uses 'follow-up #37374'), floor-checks and all-checks (the adr-symbol-anchors red), dogfood (owed and flagged, not judged; recorded below). mergeable_state unknown after 1 read.",
"dogfood_battery": "bad558d5 · os-verify-lock: VERDICT command-exit 0 (held 36m26s) · Test Files 488 passed + 3 skipped / 491 · Tests 4137 passed + 68 skipped / 4205 · no failures",
"mcp_calls": "0 — no GitHub MCP tool used",
"api_writes": "1 — POST issues/36055/comments (this report, via post-stamped.mjs). Reads, not writes: 10 gh api GETs (card comments list, 4 comment reads, check-runs list, 2 check-run reads, 1 annotations read, 1 job log) plus l1-face's own read-only calls. git push x5 to the branch (not REST)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: #37374 · published skills (skills/objectstack-ai/SKILL.md pitfall 2, skills/objectstack-data evals) still describe Modify All granting a field edit; out of surface (skills/**), noted, not filed",
"carrier: #37375 · os migrate meta --stored lists no affected stored permission sets yet, and Studio's permission matrix has no viewAllFields control, so the operator fix goes through the metadata API; noted, not filed",
"carrier: #37245 · docs/adr/0066:146 anchors #superuserFieldVote; the ADR PR re-points it to #viewAllFieldsReadVote; noted, not filed"
]
}
Activity
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Ruled: stored permission sets take the 19 meaning · claim amendment 1 · 2026-11-25T23:20Z
Ruled: permission sets stored in
sys_metadatathat carry View All / Modify All are read with the 19 meaning; the conversion is not replayed on them.retiredFromLoadPath; the authoring funnel, the artifact door (DEFAULT_FLIPS_NOT_REPLAYED_HERE) and the stored-row seams (applyConversionsToStoredItem) all refuse it by id, asflow-decision-mode-inclusive-explicitis refused (precedent: A decision node with no declaredconfig.conditionstakes EVERY out-edge whose condition holds, in parallel — nothing enforces or warns that intended-exclusive edges partition #15429 letter C); the conversion runs inos migrate meta --from 18on source only. BREAKING, fixviewAllFields: true. No field ever opens.Claim amendment 1 (claim 7177278985):
File surface:addspackages/metadata-core/src/artifact-forward-conversion.ts,packages/spec/src/conversions/stored.ts, and their tests.Clause-②: yes,Metadata-protocol: semantic, model and effort unchanged.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Waiting on #37314 (partial) · 2026-11-25T23:27Z
maind5ae7a4:PROTOCOL_VERSIONis'18.0.0';MIGRATIONS_BY_MAJORandCONVERSIONS_BY_MAJORhave no 19. PR feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314 (draft,Fixes #37229, the 19 bump) opensstep19inpackages/spec/src/migrations/registry.ts.templateand thesemantic:19region. Without it the 19 conversion and the19.*semantic entry reach no author.entries/19/conversion,CONVERSIONS_BY_MAJOR[19],step19.conversionIds, the19.*semantic entry, and ruling 7177446075's exclusions. The PR body carriesBlocked-by: #37314. ⛔ This card does not open step 19 itself (it would duplicate feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314).pm:dispatched: the work is in flight, only its registration half waits.WIP(security)!: docs, spec describes, showcase viewAllFields for #36055
WIP(security)!: tests, changeset for #36055 (View All / Modify All ca…
chore(changeset): name the two test-only packages #36055 touches
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
os-dev-report
Interim report (the seat asked for one before #37314 merges), 2026-11-26T00:03Z.
{ "issue": 36055, "status": "rework", "branch": "claude/project-thread-o3bcge", "pr": "https://github.com/objectstack-ai/objectstack/pull/37371", "session": "session_011y7As8b4YLdvodeGAQWNTQ", "premise_still_valid": true, "summary": "Interim, known incomplete: waits on #37314 for the 19 step. Built: View All / Modify All cast no field vote in both merges (core viewAllFieldsReadVote replaces superuserFieldVote; plugin-security and explain follow; scenarios scoring follows), lint retires security-superuser-field-mask-inert and re-points security-cross-set-field-reopen to viewAllFields only, showcase migrated by hand, docs, spec describes, changeset with the one-step check ruling A asks for. Still owed after #37314: entries/19 conversion permission-view-all-fields-beside-record-bypass (retiredFromLoadPath), CONVERSIONS_BY_MAJOR[19] and step19 conversionIds, the 19 semantic entry, the ruling-A refusals at DEFAULT_FLIPS_NOT_REPLAYED_HERE and stored.ts, the fixture field-map measurement, the dogfood battery. Premise refinement: Modify All's cross-set EDIT re-open is lost too (viewAllFields votes read only), the built-in admin beside an app set's edit lock included; ruled by 6912661484, named in the PR and to be named in the D3 entry. Declaration line written Clause-②: yes (narrowing), the arm added to the order's literal because the change narrows what a caller reads.", "tests": "head 18c15eac (ebc9d48c adds changeset front-matter only): vitest core src/security 75 files / 1493 tests passed; lint 235 files passed (377 in the touched files after fixes); plugin-security 289 files, 7277 passed / 45 skipped, 0 failed; scenarios test/score/scenario-tags.test.ts 116 passed (suite-wide 2 failures in test/build and test/runner/packages.test.ts need a packed workspace build, files untouched); spec src/security/permission.test.ts + src/contracts/security-service.test.ts 162 passed; cli test/superuser-bypass-mirror-parity.test.ts 3 passed. typecheck exit 0: core, lint, plugin-security, scenarios. dogfood typecheck exit 2: 932 TS2307 module-not-found from unbuilt connector packages, none in the two touched dogfood files. Acceptance (unconverted View All alone no longer reads a field another set hides) pinned in core superuser-field-vote-33828.test.ts, plugin-security fls-superuser-vote.test.ts, and a new third member in fls-own-field-mask-33828.dogfood.test.ts (run owed with the battery).", "gates": "local, exit codes before any pipe: lint check:doc-security-posture 0; lint check:doc-formula-expressions 0; check:i18n-stale-fill 0; check-skills-token-ratchet 0; check:doc-anchors 0; check:doc-authoring 0; docs-audit/check-affected-docs 0; check:spec-docblock-symbol-anchors 0; check:issue-citations 0; check-empty-changeset 0; check:docs-spec-enumerations 0; check-changeset-no-major 0 (pre mode); spec check:generated 1 then --fix (gen:docs) and re-check 0; eslint on the touched ts files 0. Red: check-adr-0087-registration 1 (expected: the id registers with the 19 entry); check:adr-symbol-anchors 1 (docs/adr/0066-unified-authorization-model.md:146 anchors effective-object-permissions.ts#superuserFieldVote, docs/adr out of surface); check:platform-checklist 1 (areas/automation.json FlowItemMoreMenu anchor, not in this diff). NOT MEASURED locally: check:type-check-debt (needs the whole workspace built), the remaining 100+ derived families; CI on the PR head is the record, 20 checks pending at 00:02Z. l1-face --pr 37371 exit 4: changeset flag fixed in ebc9d48c, skills-docs flag (card to file), dogfood owed, floor and all checks pending.", "dogfood_battery": "NOT MEASURED — owed on the final head, after #37314 merges and the 19 entry lands", "mcp_calls": "7 — mcp__github__issue_read x4, mcp__github__pull_request_read x2, mcp__github__get_file_contents x1; all reads", "api_writes": "2 — relay pr_create POST /repos/objectstack-ai/objectstack/pulls (+ assignees os-alice), this comment via post-stamped", "open_questions": [ { "question": "Ruling A asks for a one-step check of which STORED permission sets are affected. No command lists them today, and Studio's matrix has no viewAllFields control, so the stored fix goes through the metadata API. The changeset states the predicate (an objects entry, wildcard included, with viewAllRecords or modifyAllRecords and no viewAllFields) and that fix. Enough?", "options": [ "A: keep the stated predicate and the metadata-API fix in this PR; file a follow-up card for a stored review list in os migrate meta --stored (like the flow decision-mode review list)", "B: add that review list to this PR (metadata-protocol stored-migration, outside the claim, cost M)" ], "recommendation": "A, because the list is new plumbing outside the claimed surface and the check is already one predicate a reader applies to one set" }, { "question": "check:adr-symbol-anchors is red: docs/adr/0066:146 anchors #superuserFieldVote, which this PR removes. docs/adr is out of surface.", "options": [ "A: the #37245 ADR revision re-points the anchor to #viewAllFieldsReadVote (with the D2 note in the PR body) before this PR leaves draft", "B: add that one anchor line to this PR's claim (docs/adr effort floor xhigh)" ], "recommendation": "A, because the D2 end-state note goes to #37245 anyway and the anchor is the same paragraph" } ], "security_findings": "none", "out_of_scope_findings": [ "class: unclassified · reach: check:platform-checklist red on the merged tree, neither file in this diff (arrived with origin/main 98bda0ac) · evidence: areas/automation.json anchors ui/packages/app-shell/src/views/studio-design/FlowItemMoreMenu.tsx#FlowItemMoreMenu, not declared there · dedupe words: FlowItemMoreMenu absent symbol platform checklist", "skills docs owed (skills/** out of surface): skills/objectstack-ai/SKILL.md pitfall 2 says Modify All grants a field edit; skills/objectstack-data/evals/hooks-security-seeds-datasources.json expected output says View All and Modify All re-open a field · carrier: seat files the card, PR line Skills-docs rewritten to the number", "hotcrm sales_manager: convert the migrated viewAllFields: true to explicit field rows (#34365 step 4) · carrier: seat files it" ] }objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Duplicate: this interim report was posted twice by mistake. The record is comment 7178352702 above; this copy carries nothing else.
chore(changeset): name follow-up #37375 for the stored-set review list (
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Paused · 2026-11-26T00:09Z
Paused-for: maintainer concurrency order — who: Alice (os-alice); words: 「并发降到1」; where: seat 7's project chat, 2026-11-26T00:09Z. Seat 7 keeps one lane running (#37086).
claude/project-thread-o3bcge, draft PR feat(security)!: View All and Modify All stop opening fields; viewAllFields is the one every-field bit #37371 (head 01592f3 or the dev's last push), interim report 7178352702. Nothing is discarded or rewound.CONVERSIONS_BY_MAJOR[19],step19.conversionIds, the19.*semantic entry and ruling A's exclusions.objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Resumed · 2026-11-26T13:00Z
Resumed-by: maintainer order — who: Alice (os-alice); words: 「37314 已经合并了」「同时做」; where: seat 7's project chat, 2026-11-26T12:59Z. Cap back to 2 (#37086 + this card).
claude/project-thread-o3bcge, same card thread (opus, effort high per execution-duties 定档). Remaining half: the 19 conversion,CONVERSIONS_BY_MAJOR[19],step19.conversionIds, the19.*semantic entry, ruling A's exclusions, upgrade guide; then the feat(security)!: View All and Modify All stop opening fields; viewAllFields is the one every-field bit #37371 body update.chore(changeset): name metadata-core and the protocol-19 upgrade-guid…
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
os-dev-report
Final report for the second half (head bad558d).
{ "issue": 36055, "status": "done", "branch": "claude/project-thread-o3bcge", "pr": "https://github.com/objectstack-ai/objectstack/pull/37371", "session": "session_011y7As8b4YLdvodeGAQWNTQ", "premise_still_valid": true, "summary": "Second half delivered on final head bad558d5 (merged main 1dd682c1 first; the os-regen debt on content/docs/references/api/protocol.mdx was regenerated and committed). New ADR-0087 D2 default flip permission-view-all-fields-beside-record-bypass (packages/spec/src/conversions/entries/19/, retiredFromLoadPath, retiredAfter 18.6.0, fixture with 3 notices) writes viewAllFields: true on every objects entry, '*' included, that has viewAllRecords or modifyAllRecords and no viewAllFields; it is registered in a new sorted MAJOR_19_CONVERSIONS as CONVERSIONS_BY_MAJOR[19], and step19.conversionIds derives from it (step 19 not re-opened, rationale extended by one sentence). The D3 entry permission-view-all-modify-all-cast-no-field-vote carries every behaviour change and ruling A's one-step check. Ruling A exclusions: applyConversionsToStoredItem refuses the id by name (module-local STORED_ROWS_NOT_REWRITTEN, merged into any caller's excludeConversionIds), and DEFAULT_FLIPS_NOT_REPLAYED_HERE carries it with its reason. Upgrade guidance lives in three places, and each says stored permission sets are read with the 19 meaning and the fix is adding viewAllFields: true: (1) the semantic entry packages/spec/src/migrations/entries/semantic/19.permission-view-all-modify-all-cast-no-field-vote.ts; (2) the generated guide content/docs/protocol-upgrade/19.md, written by gen:upgrade-guide, gitignored and built by the docs site (conversion row plus D3 entry); (3) the changeset .changeset/36055-view-all-stops-voting-on-fields.md (metadata-core added as minor, plus a pointer to the D3 entry). Mechanical consequences outside the listed surface, all test or fixture data: the major-18 fixture permission-modify-all-allow-delete-false-to-true gained viewAllFields: true so the fixture table stays disjoint; scripts/conversions-major18-merge.test.ts reads major 18's slice of ALL_CONVERSIONS instead of its tail; retired-key-removal-version.pin.test.ts gained a semantic row kind joining the flip to its D3 entry; examples/app-showcase/access-matrix.json now records the five hand-migrated viewAllFields grants, which the showcase build's ADR-0090 D6 drift check named. Seams: no other seam replays the id. The flow-only exclusions never see a permission set, every stored-row caller (database-loader, objectql convertStoredRow, metadata-protocol convertStoredItemDetailed, os migrate meta --stored, core translation sync, service-datasource) goes through applyConversionsToStoredItem, and the artifact door is the only other includeRetired caller. Updated PR body saved for the seat at /mnt/project-files/seat7/36055-dev/pr-body-37371-v2.md (re-read, byte-identical to the scratch copy). The auto-mode classifier refused one compound command (commit plus push plus background build); the same steps then ran one at a time, with nothing skipped.", "tests": "Acceptance measurement (one-shot script under packages/core/.measure-36055, deleted, not committed). Method: the pre-PR sources from origin/main under the v18 merge, against the same sources run through the conversion under the v19 merge, for every single set and every pair. Built-in default sets: 9 sets, 45 combos, 507 field cells, 0 conversion notices; read 507/507, edit 507/507 identical. Showcase plus defaults: 18 sets, 171 combos, 1314 cells, 5 notices; read 1314/1314 identical; edit 1302/1314, and all 12 differences are the ruled loss of Modify All's edit vote (admin_full_access or organization_admin beside showcase_contributor or showcase_client_liaison on showcase_project.budget, spent and budget_remaining). CRM plus defaults: 11 sets, 66 combos, 663/663 identical. No field or edit opened; zero own-row-beside-Modify-All cases occur in these fixtures. The conversion of the pre-PR showcase equals the branch's hand migration on 9/9 sets. Control: an unconverted View All set beside another set hiding o.secret reads it under v18 (readable true) and not under v19 (readable false). Unit tests: spec src/conversions + src/migrations + the pin + the major-18 merge test: 29 files / 1072 tests passed. Full spec local project: 900/901 files, with the one failure being the unjoined pin, since fixed. metadata-core test: 27 files / 1070 passed. cli unit 'migrate': 44 files / 449 passed. core src/security: 75 / 1493 passed. lint: 236 / 9658 passed. typecheck: spec and metadata-core green. Ablations, each with mutation and restore proven on disk by scripts/ablation-replace.mjs (blob after restore = blob at HEAD, git diff HEAD empty): removing the id from STORED_ROWS_NOT_REWRITTEN gave 3 failed / 7 passed; removing it from DEFAULT_FLIPS_NOT_REPLAYED_HERE gave 4 failed. The first stored-seam ablation was a refused no-op (its replacement text already occurred in the file) and was rerun with a distinct marker.", "gates": "dispatch-gates --commands at bad558d5: 132 families. --ran reconciliation with exit codes: 132 accounted, 128 run, 4 NOT MEASURED, 0 unrun. 127 exit 0, including check-adr-0087-registration (now green), spec check:generated, check:spec-changes, check:upgrade-guide, check:api-surface, check:authorable-surface, check:type-check-debt, check:platform-checklist and check:nul-bytes. 1 exit 1, known and outside the surface: check:adr-symbol-anchors at docs/adr/0066:146 (#superuserFieldVote). 4 NOT MEASURED (exit 3): check-plugin-teardown-shape --self-test (shallow clone) and check:skill-examples, check:dual-build-cjs-loads and check:published-readme-exports (their packages are not built here). The platform-checklist red named in the brief was green here. Local-only: check:skill-frame-freshness exit 0; check:dev-prereqs exit 1 because 35 ui/ packages have no dist (box state, not this diff). CI check-runs at bad558d5, read once: 70 runs, 58 success, 10 skipped, 0 pending, 2 failure (Lint & Repo Gates, Lint · docs & code guards). The job log names only the check-adr-symbol-anchors finding. TypeScript Type Check, Test Core (10/10 shards plus the aggregate), Build Core and the other required contexts on the PR set: success. l1-face --pr 37371 exit 5 (FLAGGED): skills-docs (the live PR body's long Skills-docs line; v2 uses 'follow-up #37374'), floor-checks and all-checks (the adr-symbol-anchors red), dogfood (owed and flagged, not judged; recorded below). mergeable_state unknown after 1 read.", "dogfood_battery": "bad558d5 · os-verify-lock: VERDICT command-exit 0 (held 36m26s) · Test Files 488 passed + 3 skipped / 491 · Tests 4137 passed + 68 skipped / 4205 · no failures", "mcp_calls": "0 — no GitHub MCP tool used", "api_writes": "1 — POST issues/36055/comments (this report, via post-stamped.mjs). Reads, not writes: 10 gh api GETs (card comments list, 4 comment reads, check-runs list, 2 check-run reads, 1 annotations read, 1 job log) plus l1-face's own read-only calls. git push x5 to the branch (not REST)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #37374 · published skills (skills/objectstack-ai/SKILL.md pitfall 2, skills/objectstack-data evals) still describe Modify All granting a field edit; out of surface (skills/**), noted, not filed", "carrier: #37375 · os migrate meta --stored lists no affected stored permission sets yet, and Studio's permission matrix has no viewAllFields control, so the operator fix goes through the metadata API; noted, not filed", "carrier: #37245 · docs/adr/0066:146 anchors #superuserFieldVote; the ADR PR re-points it to #viewAllFieldsReadVote; noted, not filed" ] }docs(spec): conversion docblock names the own-row edit loss beside Mo…
chore(spec): regenerate reference docs after merging main (#36055)
objectstack-fleet commentedon Nov 26, 2026
repo:objectstack#7 · os-alice · session_011y7As8wf3DSPRevwNnYLcM
Landed · 2026-11-26T19:44Z
eb683b8b16cdd0e7543dc1cdcc2a90b9cac99dcd) on the maintainer side; seat ACCEPT 7200419422, contract review chain 7196108575 → 7197145451 → 7199460014. The card closed on merge;pm:dispatchedremoved by this stroke.viewAllFieldscontrol); the ADR-0066 D2 ⑧ end-state note goes to weekly card ADR revisions, week of 2026-11-25: rolling checklist of ADR text out of step with main (one governed PR) #37245 as a row (added there now); the dev's "HotCRMsales_manager: convert the migratedviewAllFields: trueto explicit field rows" item is step 4 of Decision: separate the record axis from the field axis — View All / Modify All stop voting on fields, a read-onlyviewAllFieldsbit carries the admin channel (end state, v19) #34365 and stays with that decision card (pointer below).