Skip to content

expression check: == / != on a list field reached through a lookup hop (record.account.labels == 'a') is refused at no door, because the schema hint carries no hop target's field shapes #36237

Description

@objectstack-fleet

repo:objectstack#4 · os-project-manager · session_01FEkQ5krBqrrgxCYgjXmfbv

Filing gate ① · Source: fleet · gap declared in PR #36207's body (Part of #36167), round 3, final-head comment 7073315874 (finding S3 of the seat's contract review of #36207). The PR leaves it out on purpose and names this card as the carrier.

What happens

After #36207, validateExpression refuses == / != on a list-valued field of the record itself (record.labels == 'a'). The same comparison on a list field reached through a lookup hop (record.account.labels == 'a') is not judged: ExprSchemaHint carries the root object's field shapes but no hop target's, so neither the validator nor any other door sees that labels on the target is a list. CEL then answers the comparison as a constant, and the condition silently never (or always) matches, which is #36167's defect one hop away.

Done when

A == / != with a list-valued field on a hop target is refused at the same doors as the root case, or the condition's author is told at save. Two routes, for the claimant to choose and say in the PR:

  • a new ExprSchemaHint member carrying hop targets' field shapes (a producer contract change: read contract-review.md, likely Clause-② narrowing ⇒ maintainer lands), or
  • a lint pass beside refuseUndeclaredHopField, which already resolves hop targets.
    Pins: one hop to a multiple: true field refused, one hop to a scalar field accepted; an ablation each.

reach: any CEL condition (validation rule, flow condition, visibility) that compares a lookup target's multi-value field, by code reading in the contract review; to be measured once by the claimant.
Business reason: an author writes a condition that looks right and never fires, with no error anywhere.
Reader: the expression / validator lane (packages/spec expression hint, packages/core or wherever refuseUndeclaredHopField lives).
Dedupe: ExprSchemaHint hop, refuseUndeclaredHopField list → only #36167 / PR #36207.
Grade: p2 (same silent-mismatch class as #36167, rarer shape).

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:server
    on Nov 22, 2026
  2. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (expression validator schema hint) · pm:queue; rationale: area:build (writing metadata; it had no area) · Bug · == / != on a list field reached through a lookup hop (record.account.labels == 'a') is judged at no door, because the schema hint carries no hop target's field shapes. This is the declared carrier gap of PR #36207 (Part of #36167, p1); the condition stages clean and answers a constant → p2 as filed (narrowing companion; the same-record case is the p1) · size M.

  3. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Claim: PM loop round 1 · 2026-11-23T09:50Z
    Session: session_011y7As7qKGpBTzxc5S8q3Ko
    Account: os-alice
    Branch: claude/issue-36237-hop-list-equality
    Worktree: objectstack-issue-36237
    Domain: domain:server
    Seat: repo:objectstack#7
    Area: o7-build
    File surface: packages/formula/src/** (validate.ts and a new test file), packages/lint/src/validate-expressions.ts and a new lint test (the refuseUndeclaredHopField route), .changeset/**; a route that needs a new ExprSchemaHint member is reported back before it is written
    Container & model: M, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no
    Metadata-protocol: narrowed
    Responsibility: objectstack: the expression validator judges list equality only on root fields; ExprSchemaHint.multiValueFields carries no hop target's shapes | refuseUndeclaredHopField in packages/lint already resolves hop targets | any author of a CEL condition comparing a lookup target's multi-value field; reach to be measured by the dev
    Thread-read: 7073810862
    Premise: holds — on origin/main 3cf6a44, ExprSchemaHint.multiValueFields (packages/formula/src/validate.ts) lists root fields only; no hop-target shape member exists
    Serial constraints cleared: none in flight on packages/formula/src/validate.ts or packages/lint/src/validate-expressions.ts (open PR file lists read 2026-11-23; #36629 touches other packages/lint files); #36377 (same validate.ts) is queued serially behind this card in o7-build
    Pre-claim lane: domain:server — the fix lands in packages/formula / packages/lint (o7-build path roots)
    Pre-claim deps: #36207 merged (the root case this card extends)
    Prior rulings read: card thread 0 rulings of 1 comment; the card names two routes for the claimant and says a hint-member route is likely Clause-② narrowing; this dispatch takes the lint/validator narrowing route and owes a contract-review-tier L2 before the queue

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  5. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    {
      "issue": 36237,
      "status": "blocked",
      "branch": "claude/issue-36237-hop-list-equality",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36673",
      "session": "session_011y7As7qKGpBTzxc5S8q3Ko",
      "premise_still_valid": true,
      "summary": "Implemented card route 2 (a lint pass, no new ExprSchemaHint member): @objectstack/formula exports findHopListEquality(source, listLeaves), which gives the root case's list-equality refusal (same code, params, words and has()-guarded in rewrite) for == / != between a one-hop read record.REF.LEAF and a scalar literal. The comparison walk is now shared with checkListEquality and its behaviour is unchanged. @objectstack/lint refuseHopListEquality builds the reference-to-list-leaves map from the objects as served and runs beside refuseUndeclaredHopField at the two hop-serving sites (validation rule condition/when, formula expression), so os validate / os build and the object save door refuse it. Reach was measured end to end on ObjectQL with a throwaway probe: the original rule accepted the write for a VIP-labelled account and for an EU-labelled one (it never fires); the rewrite refused VIP and accepted EU. BLOCKED on one seat act: 4 existing lint meta-test ledger rows must classify the new pass, and their files are outside the claim's file surface (packages/lint/src/authored-site-expression.test.ts: a SITE_CALLS pass row at the validation and formula sites plus a pass-silent-here row in the flow-condition ledger; packages/lint/src/validate-expressions.test.ts: PLUMBING receivers ownLists, leaves, listLeaves). Widen the surface to those two files, and the next lap adds the rows. Everything else is done.",
      "tests": "tree ff7e133d (final head 72a1bda7 differs only in the changeset ADR-0087 line). pnpm --filter formula test: Test Files 71 passed (71), Tests 2128 passed (2128). pnpm --filter lint test: Test Files 2 failed | 226 passed (228), Tests 4 failed | 9474 passed (9478); the 4 failures are exactly the ledger rows (authored-site-expression.test.ts: site validation / site formula / flow condition 'every call the gate makes there is classified', which names refuseHopListEquality; validate-expressions.test.ts 'covers every receiver', which names ownLists, leaves, listLeaves). The new lint file passes 10/10 and the new formula file passes with the root-case file, 217/217. Ablation (lint src; the test imports src, so no dist leg): A deleted the rule-site call: anchor 1->0, blob 1f65b455 -> 5c207bbc, 3 failed | 6 passed, restore blob == HEAD with git diff HEAD empty. B pointed the leaves at fieldIndex (every target field): anchor 1->0, blob -> be830f92, the 2 scalar controls failed, restored == HEAD. Both via scripts/ablation-replace.mjs.",
      "gates": "dispatch-gates --commands (repo objectstack-ai/objectstack at ff7e133d): 67 families. 64 exit 0. 3 NOT MEASURED (exit 3, prerequisite): check:dual-build-cjs-loads (needs a whole-tree build), check:lean-entry-closure (needs objectql dist/core), check-plugin-teardown-shape --self-test (shallow clone, needs --unshallow). check-adr-0087-registration exited 1 before the disposition marker and exits 0 at 72a1bda7. Re-run at 72a1bda7, all exit 0: check-changeset-no-major, check-empty-changeset, check:nul-bytes. --ran with exit codes: 67 derived, 64 run, 3 NOT-MEASURED. typecheck for formula and lint: VERDICT command-exit 0. CI check-runs on PR 36673: in_progress at report time, not awaited; Test Core is expected red on the 4 ledger rows above.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST issues/36673/assignees, one dispatch); post-stamped issue comment on #36237 (os-dev-report). Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the ADR-0087 semantic entry cel-list-equality-refused describes its surface as a read 'on record / previous' and does not name a hop read; spec prose in packages/spec, outside this surface (the changeset declares already-registered)",
        "carrier: none · noted, not filed: the MCP validate_expression tool's validator half and Studio's draft check judge list-equality through ExprSchemaHint only, so they do not see a hop. The card's Done-when is met at save; judgeAuthoredSiteExpression is expected to carry the pass once the ledger row lands"
      ],
      "deviations": "File-surface stop: an attempt to apply the 4 ledger rows locally for a measurement (uncommitted) was refused by the environment's action classifier, and it was not retried or routed around, so those rows are UNMEASURED. New public export findHopListEquality on @objectstack/formula (additive; no ExprSchemaHint change). Tests were cited at ff7e133d, not the final head; the final commit touched only the changeset.",
      "files_changed": [".changeset/36237-hop-list-equality.md", "packages/formula/src/index.ts", "packages/formula/src/relationship-traversal.ts", "packages/formula/src/validate.ts", "packages/formula/src/validate-hop-list-equality-36237.test.ts", "packages/lint/src/validate-expressions.ts", "packages/lint/src/validate-expressions.hop-list-equality-36237.test.ts"],
      "head": "72a1bda7b46d393d44b8f5653572f3f427a1e104"
    }
  6. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Claim amendment · 2026-11-23T10:59Z · Branch: claude/issue-36237-hop-list-equality · PR #36673
    File surface (widened): adds packages/lint/src/authored-site-expression.test.ts and packages/lint/src/validate-expressions.test.ts — the lint meta-test ledgers must classify the new pass (SITE_CALLS rows at the validation and formula sites, the flow-condition pass-silent-here row, the PLUMBING receivers). Ledger rows only; no other edit in those files.
    Clause-② re-read owed: the PR adds a new public export findHopListEquality to @objectstack/formula. Either the dev removes it from the public entry, or the seat re-reads this claim's Clause-②: no before ACCEPT.

  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    {
      "issue": 36237,
      "status": "blocked",
      "branch": "claude/issue-36237-hop-list-equality",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36673",
      "session": "session_011y7As7qKGpBTzxc5S8q3Ko",
      "premise_still_valid": true,
      "summary": "Lap 2, done under the claim amendment (comment 7098844703). (1) Added the ledger rows only. In authored-site-expression.test.ts: refuseHopListEquality is a pass at the validation and formula sites with a HOP_LIST fixture (a tags field on the hop target), and pass-silent-here in the flow-condition ledger. In validate-expressions.test.ts: the PLUMBING receivers ownLists, leaves, listLeaves. lint is now fully green and Test Core is green in CI. (2) Measured: findHopListEquality cannot stay off @objectstack/formula's public entry without a second copy of the refusal, so the export stays. Formula's entry has a single export (.) with no subpath, and it exposes parseCelToAst and printCelAst. It does not expose the pieces the root refusal is built from: listEqualityRefusal (message and params), listMembershipRewrite (the site-spelled rewrite), scalarLiteralOf, rootMemberOf and COMPREHENSION_MACRO_NAMES. Without the export, lint would have to re-implement the comparison walk and the macro set, and re-author the refusal sentence and the rewrite. That makes a second copy of the root case's words, which the ruling 'same refusal code/shape as the root case' and formula index.ts's own rule against a second implementation in a consumer both refuse. No existing export composes it: validateExpression judges list subjects only as ROOT.FIELD reads from ExprSchemaHint. The Clause-② question goes to the seat. (3) CI on d26a320b is all green except Check Changeset, and that red is not caused by the code: check-changeset-no-major reads the PR body and refuses the pair 'Clause-②: no' + 'Metadata-protocol: narrowed' ('narrowed' requires a '(narrowing)' arm: 'Clause-②: no (narrowing)' or 'yes (narrowing)'). Both lines are the claim's and were copied verbatim; I did not write either one. BLOCKED on the seat: amend the claim's Clause-② line (no (narrowing), or yes (narrowing) if the export flips it) and the PR body's line-initial declaration. The next lap then copies it into the changeset body. A (narrowing) arm also brings in the final-head dogfood battery, which this card has not run.",
      "tests": "head d26a320b: pnpm --filter @objectstack/lint test, VERDICT command-exit 0, Test Files 228 passed (228), Tests 9476 passed | 5 skipped (9481). The 5 skips are lazy-deps.test.ts (2) and runtime-lazy-deps.test.ts (3), which skip when lint's own dist/ is absent in this worktree (only lint^... was built), and they have nothing to do with this diff. CI Test Core 1-10/10 all success. lint typecheck VERDICT command-exit 0. Formula was unchanged this lap; the lap-1 reading stands: Test Files 71 passed (71), Tests 2128 passed (2128).",
      "gates": "dispatch-gates --commands at d26a320b gives the same 67 families as lap 1 (diff of the two lists empty). Re-run at d26a320b, all exit 0: check:cross-package-test-inputs, check:nul-bytes, check:test-source-alias, check:issue-citations, check-issue-citations.mjs, check:doc-authoring. The lap-1 readings stand for the rest (64 exit 0, 3 NOT MEASURED on prerequisite). CI check-runs on d26a320b, all completed: 56 success, 11 skipped, 1 failure. The failure is Check Changeset (check-changeset-no-major: the Clause-② / Metadata-protocol pair contradicts). Success includes Lint & Repo Gates, TypeScript Type Check, Test Core (10/10), Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Type Check UI, Test UI, Build & E2E UI. Lint UI was skipped.",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm as of d26a320b; owed once the seat adds a (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "1 this lap — post-stamped comment on #36237 (this os-dev-report). Plus git push (not REST). No pr_create, no labels, no PR body edit.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the ADR-0087 semantic entry cel-list-equality-refused (packages/spec) does not name a hop read in its surface prose",
        "carrier: none · noted, not filed: the MCP validate_expression tool's validator half and Studio's draft check do not see a hop. judgeAuthoredSiteExpression now carries the pass, pinned by the new SITE_CALLS pass rows"
      ],
      "deviations": "None this lap. The ledger edit was accepted by the environment. origin/main was not merged into the branch (AGENTS.md 10: merge only on a conflict or a main-caused red; neither occurred).",
      "files_changed": [".changeset/36237-hop-list-equality.md", "packages/formula/src/index.ts", "packages/formula/src/relationship-traversal.ts", "packages/formula/src/validate.ts", "packages/formula/src/validate-hop-list-equality-36237.test.ts", "packages/lint/src/validate-expressions.ts", "packages/lint/src/validate-expressions.hop-list-equality-36237.test.ts", "packages/lint/src/authored-site-expression.test.ts", "packages/lint/src/validate-expressions.test.ts"],
      "head": "d26a320b302eaec401912a7299d77fccdd45650b"
    }
  8. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Claim amendment 2 · 2026-11-23T11:36Z · Branch: claude/issue-36237-hop-list-equality · PR #36673
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed
    Why: the seat's re-read — the PR adds a root export findHopListEquality reached by @objectstack/formula's package entry, so it widens the public surface (public surface = what the built entry reaches); the refusal itself narrows. The export stays on the dev's measurement (formula ships one entry; no second implementation of the refusal in lint). The PR body's line-initial declaration was set to match via the relay; the changeset body follows. Owed before the queue: the dogfood battery at the final head, and an L2 at contract-review tier (L1-a).

  9. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As5bdhV5T4N9vpjmZzH

    Progress · 2026-11-23T19:14Z · still claimed and in flight under repo:objectstack#7. The account hit its 5-hour usage wall at about 2026-11-23T15:06Z; work resumed after the reset (2026-11-23T19:10Z). PR #36673 is ruled Clause-②: yes (narrowing); next step is L1/L2 at its head, then the governed handoff.

  10. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    {
      "issue": 36237,
      "status": "done",
      "branch": "claude/issue-36237-hop-list-equality",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36673",
      "session": "session_011y7As7qKGpBTzxc5S8q3Ko",
      "premise_still_valid": true,
      "summary": "Lap 3, following the seat's ruling (claim amendment 2, comment 7099860394). The changeset body now reads 'Clause-②: yes (narrowing)' beside 'Metadata-protocol: narrowed', with the **BREAKING** line in the root precedent's spelling (36167-cel-list-equality-refused.md): an accept-set narrowing shipped as minor, and the new export findHopListEquality widening formula's public surface. The levels stay minor. The ADR-0087 marker is unchanged (already-registered cel-list-equality-refused) and the gate accepts it. I did not edit the PR body; its Clause-② and Skills-docs lines are present. The full dogfood battery is green at the final head, CI is all green on the final head, and the code is unchanged since lap 2.",
      "tests": "No code changed this lap (the changeset only). Lap 2 readings stand at d26a320b: lint 228/228 files, 9476 passed | 5 skipped (dist-dependent, lint dist not built locally). Formula 71/71 files, 2128/2128. CI Test Core 10/10 shards success at the final head 22261181.",
      "gates": "At 22261181: check-changeset-no-major --base origin/main exits 0, run with the live PR #36673 payload as GITHUB_EVENT_PATH. Its LEVEL AXIS reads: declares clause-② yes (narrowing) and metadata-protocol narrowed, and no package it moves is graded patch. check-adr-0087-registration --base origin/main exits 0: [BREAKING+clause-②-narrowing+metadata-protocol-narrowed], not-required (already-registered). check-empty-changeset exits 0. CI check-runs on 22261181, all completed: 57 success, 11 skipped, 0 failure. The successes include Check Changeset, Lint & Repo Gates, TypeScript Type Check, Test Core 10/10, Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Type Check UI, Test UI, Build & E2E UI and Live E2E UI. Lint UI and the dogfood matrix rows are skipped on a PR run.",
      "dogfood_battery": "22261181 · os-verify-lock VERDICT command-exit 0, held the lock 2366s · Test Files 487 passed | 3 skipped (490) · Tests 4121 passed | 68 skipped (4189) · no failures. The closure was built at the same head by the earlier locked run, which a usage pause interrupted after the build had finished and while its tests were running; the test leg was re-run whole.",
      "mcp_calls": "0",
      "api_writes": "1 this lap: a post-stamped comment on #36237 (this os-dev-report). Plus git push, which is not REST. No PR body edit, no labels.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: the surface prose of the ADR-0087 semantic entry cel-list-equality-refused (packages/spec) does not name a hop read",
        "carrier: none · noted, not filed: the validator half of the MCP validate_expression tool and Studio's draft check do not see a hop. judgeAuthoredSiteExpression carries the pass, pinned by the SITE_CALLS rows"
      ],
      "deviations": "None. The dogfood battery's first locked run was cut by the usage-limit pause. I re-ran the test leg in full at the same head rather than resuming it.",
      "files_changed": [".changeset/36237-hop-list-equality.md", "packages/formula/src/index.ts", "packages/formula/src/relationship-traversal.ts", "packages/formula/src/validate.ts", "packages/formula/src/validate-hop-list-equality-36237.test.ts", "packages/lint/src/validate-expressions.ts", "packages/lint/src/validate-expressions.hop-list-equality-36237.test.ts", "packages/lint/src/authored-site-expression.test.ts", "packages/lint/src/validate-expressions.test.ts"],
      "head": "22261181b09bdcab1d75c3fc4297f15b40d00269"
    }
  11. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Claim amendment 3 · 2026-11-23T20:05Z · Branch: claude/issue-36237-hop-list-equality · PR #36673
    File surface (widened): adds packages/spec/src/migrations/entries/semantic/18.cel-list-equality-refused.ts and the generated artefacts packages/spec owes for that edit (AGENTS.md, Touched packages/spec), for REWORK 7112523202 item 1 route (a): the entry's surface names the one-hop read record.REF.LEAF at a validation rule predicate and a field expression, and its doors (os validate / os build / the object save door; not the Studio draft check or the MCP tool's validator half). Also the PR body's Acceptance notes / Readings and a ! on title and changeset headline (items 2–3).
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed

  12. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    {
      "issue": 36237,
      "status": "done",
      "branch": "claude/issue-36237-hop-list-equality",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36673",
      "pr_number": 36673,
      "head": "a59d4a847b86a08a2050a908a78b41e9e0f148b7",
      "session": "session_011y7As7qKGpBTzxc5S8q3Ko",
      "premise_still_valid": true,
      "summary": "Lap 4 REWORK, route (a), per claim amendment 3 (7112540601). S1: the ADR-0087 semantic entry cel-list-equality-refused (packages/spec/src/migrations/entries/semantic/18.cel-list-equality-refused.ts) now names the one-hop read record.REF.LEAF in its surface, at a validation rule's condition / when and at a field expression. Its replacement states the doors: refused by os validate, os build and the object save door, and not seen by the Studio draft check or the shared-validator half of the MCP validate_expression tool. The change is prose only and nothing needed regenerating. The changeset adds '@objectstack/spec': minor, and its headline is now fix(lint)!:. Its ADR-0087 marker reason now says the PR extends that entry's surface and names its doors. The PR title is now fix(lint)!: refuse == / != on a list-valued field reached through a lookup hop. In the PR body, the stale KNOWN RED was dropped, Acceptance notes and Readings were rewritten for a59d4a84, a spec bullet was added under What changes, and the signed trailer is the last line. The formula and lint code is unchanged since lap 2.",
      "tests": "At a59d4a84: @objectstack/spec build, then check:generated: all 14 artifacts up to date. spec migrations tests: Test Files 5 passed (5), Tests 200 passed (200). Earlier readings still hold because that source is unchanged: formula 71/71 files and 2128/2128 tests (ff7e133d); lint 228/228 files, 9476 passed | 5 skipped (d26a320b, the skips need a built dist). No ablation this lap: the only change is spec prose and changeset text, with no tested behaviour changed. The two lap-1 ablations stand (A deleted the rule-site call: 3 failed; B took the leaves from fieldIndex: 2 failed; both restored, with git diff HEAD empty).",
      "gates": "Re-derived at a59d4a84 with dispatch-gates --commands: 92 families, 25 of them new because the spec entry changed. All 25 exited 0; check:doc-formula-expressions and spec check:api-surface first exited 3 because a concurrent dogfood build had cleared dist, and exited 0 on re-run once dist was back. The other 67 were read earlier: 64 exit 0 and 3 NOT MEASURED (check:dual-build-cjs-loads, check:lean-entry-closure, check-plugin-teardown-shape --self-test; each needs a whole-tree build or a deeper clone). Re-run at a59d4a84, each exit code captured before any pipe, all 0: check-adr-0087-registration --base origin/main, check-empty-changeset, check:nul-bytes, check-affected-docs, check-drift-comment, check:issue-citations, check:doc-authoring, check:changeset-gate-self-tests. check-changeset-no-major --base origin/main was run after the title/body patch with the live PR payload as GITHUB_EVENT_PATH: exit 0, 'no major bump', and LEVEL AXIS reads 'declares clause-② yes (narrowing) and metadata-protocol narrowed, and no package ... is graded patch'. CI check-runs on a59d4a84, all completed: 73 total, 60 success, 13 skipped, 0 failure. The successes include Check Changeset (re-run after the body patch), PR-body guards, Lint & Repo Gates, Lint · ESLint, Lint · PM dispatch-gates, TypeScript Type Check, Type Check · workspace, Test Core with all 10 of 10 shards, Build Core, Spec property liveness, Governed Surface Queue Guard, Dogfood Regression Gate, Test UI 16/16, Type Check UI, Build & E2E UI and Live E2E UI.",
      "dogfood_battery": "a59d4a84 · os-verify-lock VERDICT command-exit 0, held the lock 2779s · Test Files 487 passed | 3 skipped (490) · Tests 4121 passed | 68 skipped (4189) · no failures",
      "line_budget": "10 files, +426 / -4 against the merge base 3cf6a44be. Source: formula validate.ts +60/-4 (net 56), relationship-traversal.ts +21, index.ts +4; lint validate-expressions.ts +38; spec entry +11/-2. Tests: 90 + 161 new, ledgers +10 and +5. Changeset +28. skills/** not touched.",
      "mcp_calls": "0",
      "api_writes": "2 this lap through the relay (fleet-write dispatch, POST /repos/objectstack-ai/objectstack/dispatches): (1) issue_patch on PR #36673, title and body, read back as identical, 8929 bytes; (2) a post-stamped comment on #36237 (this os-dev-report). git push is not REST and is not counted here. No labels.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: the shared-validator half of the MCP validate_expression tool and Studio's draft check do not see a hop. This is by design for this route, and the ADR-0087 entry now names it. judgeAuthoredSiteExpression carries the pass, pinned by the SITE_CALLS rows"],
      "deviations": "None of substance. Two derived gates exited 3 on their first run because a concurrent dogfood build had cleared dist; both were re-run after the build and exited 0. The earlier out-of-scope note (the entry's surface prose did not name the hop) was closed in this PR by S1.",
      "files_changed": [".changeset/36237-hop-list-equality.md", "packages/formula/src/index.ts", "packages/formula/src/relationship-traversal.ts", "packages/formula/src/validate.ts", "packages/formula/src/validate-hop-list-equality-36237.test.ts", "packages/lint/src/validate-expressions.ts", "packages/lint/src/validate-expressions.hop-list-equality-36237.test.ts", "packages/lint/src/authored-site-expression.test.ts", "packages/lint/src/validate-expressions.test.ts", "packages/spec/src/migrations/entries/semantic/18.cel-list-equality-refused.ts"]
    }
  13. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Claim amendment 4 · 2026-11-24T05:53Z · Branch: claude/issue-36237-hop-list-equality · PR #36673
    Rework lap: the merge queue dequeued #36673 (MERGE_CONFLICT) against #36796. The seat granted one dev for the conflict lap as in-flight work. Merge origin/main into the branch (merge, not rebase), keep both sides in the two unions (packages/lint/src/validate-expressions.ts formula import list; packages/lint/src/authored-site-expression.test.ts fixture row), rerun packages/lint tests and the dogfood battery at the new head. File surface unchanged.
    Container & model: rework, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: yes (narrowing)
    Metadata-protocol: narrowed

  14. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    Conflict lap (claim amendment 4, 7123382610) · 2026-11-24T10:14Z · PR #36673

    • Head 3945fcf5332f9511b6c1d21cd19b128020cbf431 = merge of a59d4a84 (first parent) and origin/main 76bff41f; plain merge, normal push, no rebase.
    • Resolution: exactly two unions (git show --remerge-diff removes only conflict markers): @objectstack/formula import list in packages/lint/src/validate-expressions.ts; SITE_CALLS fixture map in packages/lint/src/authored-site-expression.test.ts.
    • Local at the head: @objectstack/lint 9545/9545 tests, @objectstack/formula 2151/2151, typecheck clean for both. PR CI 58 success / 0 failed.
    • Dogfood battery at the head: record 7128490050 (4126 passed, 0 failed).
    • Out of scope, not filed: dogfood log shows Schema sync FAILED for object showcase_invoice (sqlite-wasm "Cannot add a column with non-constant default", invoice_date strftime default); battery passed regardless.
    • Next: L1-a same-head contract review + ACCEPT, then the seat's handoff and re-enqueue.
  15. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko
    os-dev-report

    {
      "issue": 36237,
      "status": "done",
      "branch": "claude/issue-36237-hop-list-equality",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36673",
      "session": "session_011y7As7qKGpBTzxc5S8q3Ko",
      "premise_still_valid": true,
      "summary": "Conflict lap (claim amendment 4, 7123382610): head 3945fcf5332f9511b6c1d21cd19b128020cbf431 merges a59d4a847b86a08a2050a908a78b41e9e0f148b7 (first parent) with origin/main 76bff41f451d3fa3d475384d8483905f49f6607f; plain merge, normal push. Resolution is exactly two keep-both unions (remerge diff removes only conflict markers): the @objectstack/formula import list in packages/lint/src/validate-expressions.ts and the SITE_CALLS fixture map in packages/lint/src/authored-site-expression.test.ts.",
      "tests": "At 3945fcf5 under os-verify-lock: @objectstack/lint 231 files / 9545 tests passed; @objectstack/formula 72 files / 2151 tests passed. Merge-only lap, no ablation.",
      "gates": "lint and formula typecheck VERDICT command-exit 0; check-nul-bytes EXIT=0. PR CI on 3945fcf5: 58 success, 11 skipped, 0 failed.",
      "dogfood_battery": "3945fcf5332f9511b6c1d21cd19b128020cbf431 · os-verify-lock: VERDICT command-exit 0 · held the lock 2030s · waited 0s · Test Files 487 passed | 3 skipped (490) · Tests 4126 passed | 68 skipped (4194) · no failures · command: pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build && pnpm --filter @objectstack/dogfood test (no OS_TEST_SHARD, no paths) · record comment 7128490050 on #36673",
      "mcp_calls": "0",
      "api_writes": "1 — the dogfood record 7128490050 on #36673 via post-stamped.mjs (relay run 45372704868)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — dogfood log shows 'Schema sync FAILED for object showcase_invoice' (sqlite-wasm: 'Cannot add a column with non-constant default', invoice_date strftime default); battery passed regardless"
      ]
    }
  16. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · os-alice · session_011y7As7qKGpBTzxc5S8q3Ko

    Delivered · 2026-11-24T11:08Z · PR #36673 merged (ad92dfd), closing this card via Fixes.
    What shipped: a validation-rule predicate or field expression that compares a one-hop multi-value read (record.REF.LEAF over a list) with a single value via == / != is now refused at os validate / os build / the object save door, with the in rewrite prescribed; semantic migration entry 18 (cel-list-equality-refused) and the ADR-0087 entry carry the narrowing. Declared !, Clause-②: yes (narrowing), Metadata-protocol: narrowed, minor on formula, lint and spec.
    What remains: L2 N1 (Studio draft check and validate_expression parity for the hop read) lives on #36866. Nothing else owed here; pm state cleared in this stroke.

  17. removed
    pm:dispatched
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:buildbugdomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions