Skip to content

scenarios: a build-over-the-draft-door mode, and with it a measured answer to how much hosted rule text is still needed #34780

Closed

Description

@objectstack-fleet

epic:#34659#1 · hotlong · session_01Q4EjjMnXJdSZifpEN5i7aU

Filing gate: ④ a child of the cross-lane parent #34659 (the 「MCP 二期与问数」 epic), filed on the maintainer's word in this seat's chat, 2026-11-17, verbatim: 「三点都同意,按最终计划把后续里程碑的卡全部立出来」, and, on the list of thirteen cards the seat then showed: 「同意」. The ruling records are #34659 comment 6940528935 and #34691 comment 6943107981. Readings: objectstack a0326b06, cloud 53a5844, 2026-11-17.

Why

Whether the draft door stages working apps, and whether the rule text the hosted product still serves earns its place, are both open questions that only a build run can answer. Today the audit of that rule text is a reading of the code, not a measurement.

Who acts: the devx lane (packages/qa/scenarios). Reader: the eval seat, and the maintainer when the hosted rule text is cut.

Evidence

  • The scenario runner builds through local project files only; no mode builds through MCP.
  • No build-accuracy eval drives the hosted MCP door either.
  • The rule-by-rule audit of the hosted corpus judged 15 of 60 rules already covered by a check; that judgement was not tested by removing them.

Scope

  • A runner mode in which the authoring client has the draft door's tools and the published skills, and no project files; the build is graded as today after a person-equivalent publish step.
  • Arms: with and without the build skill; with and without a named set of rule texts, so a rule's removal can be measured.

Done when

  • One round at five repetitions per arm is on record as an eval-run.

Relations

Activity

  1. added
    pm:epic
    area:ai
    on Nov 17, 2026
  2. added
    pm:on-hold
    and removed
    pm:epic
    on Nov 17, 2026
  3. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Released by the maintainer (recorded on #34659 at 23:01Z, comment 6963538703: 「云端的任务你说暂缓,他也不会排的呀,是不是应该先放回队列」 and 「其他技能体系的卡如果改动面大不是理由啊…那就应该开放」). pm:on-hold → pm:blocked. Theme: MCP, epic #34659 (in focus).

    A build-over-the-draft-door scenario mode, and a measured answer on hosted rule text. It is not a hold but a block: Blocked-by: #34766. p2.

  4. added
    domain:devx
    pm:blocked
    priority:p2
    and removed
    pm:on-hold
    on Nov 17, 2026
  5. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Unlocked: pm:blocked → pm:queue. Its Blocked-by #34766 (the open-source draft door) is closed, so the card is free to claim at its current grade. Epic #34659 orders it on its MCP build line.

  6. added
    pm:queue
    and removed
    pm:blocked
    on Nov 18, 2026
  7. 11 remaining items

  8. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
    os-dev-report

    Delta for #35241 (rework round on L1 REWORK 6986622506): head 4e1b7624f1e → 91ba6cfc0ed. No merge was needed: origin/main is still the merge base ec227fc7b18.

    • M1, done. The changeset .changeset/34780-scenarios-door-mode.md now opens on its feat(scenarios): … title line. Clause-②: no and Metadata-protocol: none follow below it, as in the other changesets on main.
    • S1, done. The README rules-arm section gains one line: a rules-arm run's record and recording hold the client's transcripts, which can quote the rule text the client was given, so read them before filing either anywhere public.

    Verification at 91ba6cfc0ed.

    • Scenarios package, under os-verify-lock: closure build, then the package's build, test and typecheck. Result: Test Files 40 passed (40), Tests 1176 passed (1176), VERDICT command-exit 0.
    • Derived gates: dispatch-gates --commands derived 67 families. Of those, 66 exited 0 and 1 was NOT MEASURED:
      • check:dual-build-cjs-loads exited 3 with "Run pnpm build first". It reads every package's dist, and this fresh worktree builds only the scenarios closure. CI runs it on the PR.
    • --ran reconciliation: 67 derived famil(ies) accounted for — 66 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).
    • overlap-check before the push: VERDICT clean exit 0.

    PR body. The PR body's Verification section still cites 4e1b7624f1e. Per contract the dev does not PATCH it, so the seat updates it.

    Second branch (claim 6986627195), rules corpus port: stopped, nothing ported.

    • I created the branch claude/issue-34780-rules-corpus and pushed it as an empty landing marker at 91ba6cfc0ed. It carries no commit of its own.
    • I produced the corpus data, but the write of the ported text into the repository was refused by this session's permission system. I did not route around that refusal.
    • Nothing from the private source was written to the worktree, committed or pushed, and no PR was opened. The local extraction was deleted.
    • The port needs the person running this session to allow that write, or another seat to run it. The seat report carries the details.

    Generated by Claude Code

  9. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL

    Build landed · 2026-11-18T18:40Z. PR #35241 (Part of #34780) merged as 02a1e2f29c5: os-scenarios --modes door builds a card through the MCP draft door with no project files, with a skills arm and a rules arm. Reviews: L1 full 6986622506, delta ACCEPT 6987493755; no contract review owed (Clause-②: no). The card's done-when needs a live model, and this lane's containers are keyless, so the rest is a maintainer action.

    Maintainer-action: run one door-mode round at five repetitions per arm (skills on/off, named rule set on/off; the command is in packages/qa/scenarios/README.md, door mode section) and file it as an eval-run — done when an eval-run record for door mode at five repetitions per arm is linked on this card.

    Also open, not built: the maintainer approved porting the hosted authoring rule corpus into packages/qa/scenarios as the rules arm's default data module; that follow-up is not built yet (branch claude/issue-34780-rules-corpus has no commit of its own). Until it lands, the rules arm reads a rules file supplied at run time.

    Release: session_01JQwxbaX2qDxUq9sF93EqqL · build half done, the remainder is a maintainer action · to pm:awaiting-maintainer. This stroke removes pm:dispatched and the lease label and clears the assignee.

  10. added
    pm:awaiting-maintainer
    and removed
    pm:dispatched
    on Nov 18, 2026
  11. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
    os-dev-report

    {
      "issue": 34780,
      "status": "done",
      "branch": "claude/issue-34780-rules-corpus",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35267",
      "session": "session_01JQwxbaX2qDxUq9sF93EqqL",
      "premise_still_valid": true,
      "summary": "Ported the hosted MCP build door's authoring rule corpus into @objectstack/scenarios as ONE data module, packages/qa/scenarios/src/runner/door-rules-corpus.ts: 54 rules plus the 2 preambles, 56 entries. It was rendered, not retyped, from objectstack-ai/cloud c9b6664d9ac8 by authoringCorporaAt(authoringTierFor('mcp', undefined, undefined, {status:'none'}), undefined, 'mcp'), taking each rule's corpusAt door text, with published sections read from this repo's built skills catalog. It carries the five named sets the dispatch asked for: metadata-authoring 45, solution-design 11, inline 27, ondemand 29, names-build-door-tools 38; the last is derived from PLATFORM_TOOLS_BY_PACKAGE['service-ai-studio'] and that derivation is pinned. Dropped 14b-tier (control-plane timer lifecycle). Not offered at the tier, so not ported: flow-node-types, 13, 14b, 14c, process-approval-flow. The arm reads the corpus with `--door-rules builtin` (or OS_SCENARIOS_DOOR_RULES=builtin) through the same judge as a rules file; `--door-rules FILE` is kept. Two declared deviations. (1) The corpus is selected explicitly by `builtin`, not by the absence of --door-rules: an implicit default would remove the bare arm and change what existing door records mean. (2) 13 cloud#NNN tracker citations across 12 rules are struck, because check:doc-authoring refuses tracker ids in runtime strings and a baseline entry is maintainer-only; the texts are otherwise verbatim. There was no literal 'S1' line in the README: I read it as the quick-reference command line and added a `--door-rules builtin` line there, besides rewriting the door-mode section.",
      "tests": "At bdcf01ecc69: `pnpm --filter @objectstack/scenarios build && pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2` under os-verify-lock -> VERDICT command-exit 0, Test Files 40 passed (40), Tests 1182 passed (1182). `pnpm --filter @objectstack/scenarios typecheck` -> exit 0 (at 52d808b; only corpus strings changed after). New describe in test/runner/door.test.ts, 6 cases covering: the arm's file format, with the file reader on the corpus JSON matching `builtin` in rules and sha256; 56 unique ids and 6 absent ids; set partitions and omit per set; the names-build-door-tools derivation; a content scan with planted positives; CLI wiring. door.test.ts -> 27/27. Ablation: disabled the builtin branch of readDoorRules via scripts/ablation-replace.mjs (anchor 1 -> 0, blob 7b80f58d2dc1 -> c649447b69f9). The tests import src, so no dist was involved: Tests 3 failed | 24 passed (27), the 3 builtin cases. Restored with git checkout HEAD; hash-object equals the HEAD blob 7b80f58d2dc1 and git diff HEAD is empty.",
      "gates": "Local, at bdcf01ecc69: `node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack --commands` derived 67 families, run sequentially with exit codes captured before any pipe: 65 exit 0. `pnpm check:dts-closure` exit 1 once, naming packages/objectql/dist d.ts; a concurrent rebuild of objectql in this worktree stamped its dist mid-run. Standalone re-run exit 0 (260/260 declaration files present). `pnpm check:dual-build-cjs-loads` exit 3 PREREQUISITE NOT MET (needs every package's dist) -> NOT MEASURED, family owned by CI. `pnpm check:doc-authoring` exit 1 at 52d808b (10 tracker-id pairs in the corpus) -> struck -> exit 0. `dispatch-gates --ran` -> 67 derived, 67 run, 0 unrun. `node scripts/pm/overlap-check.mjs --repo=objectstack-ai/objectstack` -> VERDICT clean exit 0. PR check-runs at bdcf01ecc69 when this was written: all gate-carrying jobs in_progress (Lint ×8, Type Check ×4, Check Changeset, Governed Surface Queue Guard, PR-body guards, Check PR Size); opt-in and queue jobs skipped. No conclusion yet, and I did not wait for one.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub calls (hearthbot read_thread once, for this session's own thread context; not a GitHub tool)",
      "api_writes": "3 — git push to claude/issue-34780-rules-corpus (4 pushes, not a REST write); relay pr_create (repository_dispatch -> fleet-write run 44432816402: POST pulls + POST issues/35267/assignees); post-stamped os-dev-report comment on #34780",
      "open_questions": [
        {
          "question": "Should `--door-rules builtin` become the door-mode default (rules on unless `--door-rules none`), as the dispatch's wording 'default corpus when no --door-rules FILE is given' could be read?",
          "options": [
            "A keep as built: explicit `--door-rules builtin`; no flag = bare arm (records keep their meaning)",
            "B implicit default: no flag = built-in corpus; add `--door-rules none` for the bare arm (changes what a flagless door record means; one parse branch plus README loop)"
          ],
          "recommendation": "A, because the bare arm stays the flagless run, the four-arm loop in the README only swaps RULES=builtin, and no existing record changes meaning."
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — the rules arm renders every active rule into CLAUDE.md up front (about 115,000 chars for the whole corpus). The hosted door serves the 29 ondemand rules only on request, so the full-corpus arm is not the hosted delivery; `--door-rules-omit ondemand` (about 21,000 chars) is the nearest. This is a measurement-design note for the eval seat, in the README and PR acceptance notes.",
        "carrier: none · noted, not filed — published sections were read from this repo's main skills catalog (base cdb327fdf03), while cloud pins the framework at 958ee035; a section may differ from what cloud serves today by any skills/ change between those commits. In the PR acceptance notes."
      ]
    }
  12. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    epic:#35205#1 · os-warren · session_01JQwxbYJqoPAoSpWTMpH1yq

    State: pm:awaiting-maintainer → pm:queue; the eval round moves to #35264 · 2026-11-19

    The door-mode build landed (PR #35241). The live round at five repetitions per arm is now the maintainer card #35264.

    What keeps this card open is fleet work: porting the hosted authoring rule corpus into packages/qa/scenarios as the rules arm's default data module (approved; branch claude/issue-34780-rules-corpus has no commit yet, comment 6988054411). The card closes when that PR merges.

    Order: Warren, 2026-11-19 00:32Z, objectstack priorities discussion thread: 「可以拆的都同意。」 Rule: #35259 item 7 (the maintainer's step gets its own card; the dev card closes; blocked cards are released).


    Generated by Claude Code

  13. added
    pm:queue
    and removed
    pm:awaiting-maintainer
    on Nov 19, 2026
  14. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
    os-dev-report

    Delta for #35267, head bdcf01e -> 6e24485: one test case fixed. No product, data or wiring change.

    • CI red (Test Core 5/10, job 135255376966). The case "the arm reads it by --door-rules builtin…" called makeDriver('claude', { doorRules: 'builtin', doorRulesOmit: 'ondemand' }) and expected no throw. That builds the live driver, and the live driver probes claude --version. CI has no claude.
    • Fix. The case now asserts that makeDriver('claude', { doorRules: 'builtin', doorRulesOmit: 'rule-z' }) throws DoorRulesRefusedError. makeDriver reads the rules before it builds the driver, so this proves the flag reaches the built-in reader with no CLI installed. The parse and arm-text assertions are unchanged.
    • Proof, with claude absent from PATH. A shim dir mirrors /opt/node22/bin without claude, and command -v claude prints nothing.
      • The old head's door.test.ts fails 1/27 with the CI error: "claude --version failed: is Claude Code installed?".
      • The new door.test.ts passes 27/27.
      • pnpm --filter @objectstack/scenarios build && … vitest run --maxWorkers=2 gives VERDICT command-exit 0: Test Files 40 passed (40), Tests 1182 passed (1182).
    • Other checks.
      • pnpm --filter @objectstack/scenarios typecheck: exit 0.
      • Derived gates at 6e24485: 67 families; 66 exit 0. check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET, so NOT MEASURED locally (CI owns it). --ran reports 67 of 67 run.
      • overlap-check: VERDICT clean exit 0. Main merges cleanly, so I did not merge it.
  15. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-19T12:25Z · Closed as completed. Its last open item, PR #35267, merged at 01:49Z; the five-repetition round moved to #35264 (pm:awaiting-maintainer). Disposition: repo:objectstack#6, 7009009296.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clouddomain:devxpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions