Skip to content

feat(cli): os validate --target judges the stack against a target environment's restriction profile - #31237

Merged
objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-6pkacq
Nov 7, 2026
Merged

objectstack-fleet[bot] merged 5 commits into
mainfrom
claude/project-thread-6pkacq

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by 田騏 · project thread

Fixes #31156

Clause-②: yes
Metadata-protocol: none

维护者速读

  • 改了什么:os validate 新增 --target PROFILE_FILE。它读取目标环境的限制配置(第 1 项已合入的 RestrictionProfileSchema),把本地元数据里该环境不允许的东西逐条拒掉,每条写明是哪一项、被哪条规则拒(写代码、定时任务、流程节点类型);本地 spec / skills 版本和目标环境不一致时只告警,不拒。
  • 为什么改:云端与本地唯一的区别就是这份限制配置(cloud#3659 裁决 A)。开发者在部署前就能知道"这份元数据在目标环境会被拒",而不是部署后才发现。
  • 风险与回滚:不带 --target 时命令行为完全不变(有对照测试)。只改 packages/cli,patch 版本。回滚就是还原这个 PR。另外:--target 目前只接受文件,传 URL 会被明确拒绝,因为目标环境还没有定义发布限制配置的地址(第 3 项在 cloud 仓)。
  • 先看:packages/cli/src/utils/restriction-profile.ts(三条读者规则在 judgeNodeType);packages/cli/src/commands/validate.ts 的 step 0 / 1c / 3f;packages/cli/test/validate-target-restriction-profile.test.ts。
  • 两分钟验证:pnpm --filter @objectstack/cli exec vitest run src/utils/restriction-profile.test.ts test/validate-target-restriction-profile.test.ts,预期 30 个用例全部通过。
  • 需要你做的:无,席位落地。

What changes

os validate --target PROFILE_FILE judges the stack against a target environment's restriction profile. Without --target nothing new runs.

Step 0, the profile. loadRestrictionProfile reads the file and parses it with RestrictionProfileSchema (@objectstack/spec/system, PR #31191). It runs before the stack is loaded. A URL, a missing file, a file that is not JSON, or a profile the schema refuses is refused through the catch-all (--json: error, exit 1), and the message names the schema issue path. {} is refused, so an absent dimension never reads as "no restriction".

Step 1c, version drift. restrictionProfileVersionDrift compares the project's @objectstack/spec and @objectstack/skills with versions.spec / versions.skills. They are resolved from the config's directory; spec falls back to the CLI's own copy, the way the protocol drift advisory resolves it. Each package that differs gives one warning (package, local, target, message). A project that does not install the skills catalog gets local: null. The warnings ride --json warnings (appended last in warningsSoFar()), and the text face prints them in their own block. They never refuse, and --strict does not gate them: the target's version is the environment's, not something the stack can fix, the same reason the protocol drift advisory is never gated by --strict.

Step 3f, the refusals. judgeRestrictionProfile runs after every other refusal. Those gates ask whether any runtime accepts the stack; this one asks whether this target does. It gives one row per refused item: rule (the ONE profile dimension), where (the item, named), path and message. It walks each packages[] entry, or the stack and its manifest when there are no packages, the way the CLI's other walks do.

  • allowCode: false refuses each hooks entry (the profile docblock names hooks) and each item under a key the spec classifies as code: UNMANAGED_INSTALL_KEY_DISPOSITIONS disposition code, the one table defineStack's unmanaged-install refusal and the install planner already share (functions per function, plugins / devPlugins per entry, the others per key, on the stack or its manifest). An empty key (functions: {}) refuses nothing, by the same unmanagedInstallValueCarries test.
  • allowScheduledAutomation: false refuses each flow of type: 'schedule' and each jobs entry.
  • allowedFlowNodeTypes refuses each node, at every region depth (collectFlowGraphs), whose built-in type is not listed.

Reader rules, from the contract review of item 1 (record 6710350208 ③/④, restated in the claim):

  1. start / end (FLOW_STRUCTURAL_NODE_TYPES) are always allowed.
  2. A node type outside FlowNodeAction (FLOW_BUILTIN_NODE_TYPES) cannot be named by allowedFlowNodeTypes, so allowCode governs it. Under allowCode: false it is refused naming that rule. Under true it is allowed.
  3. A script node under allowCode: false is refused by allowCode alone, whether or not allowedFlowNodeTypes lists it. Under true it is judged by allowedFlowNodeTypes.

URL form. No route for an environment's published profile is defined in this repository: no restriction route appears in the spec route ledger or under packages/spec/src/api. Card 3 (objectstack-ai/cloud#3713) is in the cloud repository, which this session cannot read. So the URL form is not guessed. A URL is refused, and the message names the file form as the remedy. Once card 3 publishes an endpoint, the URL form is a follow-up.

The gate-parity ledger (test/validate-build-gate-parity.test.ts) gains judgeRestrictionProfile under VALIDATE_ONLY_GATES (os build names no target, so there is no profile for it to judge against), and the other two calls under a NOT_A_GATE reason.

Tests

  • src/utils/restriction-profile.test.ts (21): a CONTROL all-open profile; each dimension (allowCode over a hook, the functions, a plugin, a script node and a plugin node; an empty code key; a manifest code key; allowScheduledAutomation over a job and a scheduled flow; allowedFlowNodeTypes at the top level and inside a loop body); the packages[] walk; the three reader rules (start/end under an empty list; approval under allowCode false and true; script naming one rule, and judged by the list under allowCode true); the loader (valid, invalid naming the issue path, {}, not JSON, missing, URL); version drift (CONTROL equal, one package differing, skills not installed).
  • test/validate-target-restriction-profile.test.ts (9, in-process Validate.run): CONTROL without --target (exit 0, no drift entry); CONTROL all-open profile; one refusal per dimension through --json; the text face; version drift as a warning (exit 0, and --strict with the drifted target reads the same exit as --strict with no target); an invalid profile; a URL.
Ablations (one-time, scripts/ablation-replace.mjs, each restored to blob 11f11e59 == HEAD with git diff HEAD empty; the tests import src, so no dist is on the path)
  • Reader rule 3 disabled (type === 'script' → 'ABLATED_script'): 3 failed / 27 passed (the command's allowCode row set, the reader's allowCode row set, "script names ONE rule").
  • Scheduled flow check disabled (flow.type === 'schedule' → 'ABLATED_schedule'): 3 failed / 27 passed (the command's allowScheduledAutomation row, its text face, the reader's schedule row set).
  • Reader rule 1 deleted (the FLOW_STRUCTURAL_NODE_TYPES early return): 5 failed / 25 passed (every allowedFlowNodeTypes case now also refuses start / end).

Acceptance notes

  • Engine built-ins outside FlowNodeAction. parallel and try_catch (ADR-0031 containers) are registered by @objectstack/service-automation's own builtins (src/builtin/parallel-node.ts, try-catch-node.ts), but they are not FlowNodeAction ids. Reader rule 2, as ruled, therefore refuses them under allowCode: false (the message says only that the type is outside the registry, not that it is a plugin), and no profile can list them. This is fail-closed, not silent. Raised as an open question for the spec lane in the report.
  • devPlugins is refused under allowCode: false because the spec's code table classifies it code, although it is a dev-only overlay. Kept literal to the one table rather than carving out a second list. Noted in the report.
  • allowCode reads exactly what the profile docblock and the code table name. JS bodies elsewhere (a job's or an action's sandboxed body) are not judged by allowCode: a job is still refused by allowScheduledAutomation, and an action's target function is refused through functions. Noted, not filed.
  • The optional one-sentence allowedFlowNodeTypes docblock note in packages/spec (review 6710350208 ④) is not ridden here: the claim keeps packages/spec out. Listed as an open question in the report.
  • In the vitest environment pnpm exec sets NODE_PATH to the workspace's hoisted store, so a tmp-dir fixture resolves the workspace @objectstack/skills. The command test therefore installs its own skills manifest at a known version, and the not-installed case is pinned on the reader with a tree whose resolution is controlled.

Verification

The derived gate list below was taken on dcbb8da, based on 66bf5b4a. origin/main then moved to df22adc37 and was merged once before opening (head 8c5e74a). The incoming commits touch packages/spec (docs, migration entries) and one unrelated packages/cli test, so the scoped re-checks ran on 8c5e74a: pnpm --filter @objectstack/spec build && pnpm --filter @objectstack/spec check:generated exit 0 (all 14 artifacts up to date); the two new test files plus test/validate-build-gate-parity.test.ts, Test Files 3 passed, Tests 63 passed; pnpm --filter @objectstack/cli typecheck exit 0. The branch delta against origin/main is still exactly the six files of this PR. Before the merge, 651989c added only a one-line changeset wording change (an angle-bracket placeholder spelled as a path), and the families that read the changeset were rerun on it: node scripts/check-adr-0087-registration.mjs --base origin/main, node scripts/check-changeset-no-major.mjs --base origin/main, node scripts/check-empty-changeset.mjs --base origin/main, pnpm check:changeset-gate-self-tests, pnpm check:doc-authoring, pnpm check:issue-citations, pnpm check:nul-bytes and node scripts/check-closing-keyword-parity.mjs, each exit 0.

Derived gates (node scripts/pm/dispatch-gates.mjs --commands, 62 commands)

All on dcbb8da:

  • node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
  • node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
  • node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
  • node scripts/check-closing-keyword-parity.mjs :: exit 0
  • node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
  • node scripts/check-comment-mask-adoption.mjs :: exit 0
  • node scripts/check-comment-mask-adoption.mjs --self-test :: exit 0
  • node scripts/check-comment-mask-corpus.mjs :: exit 0
  • node scripts/check-dts-emitted.mjs --self-test :: exit 0
  • node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
  • node scripts/check-empty-changeset.mjs --self-test :: exit 0
  • node scripts/check-issue-citations.mjs :: exit 0
  • node scripts/check-plugin-teardown-shape.mjs :: exit 0
  • node scripts/check-plugin-teardown-shape.mjs --self-test :: exit 0
  • node scripts/ci/assert-turbo-remote-cache.mjs --self-test :: exit 0
  • node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
  • node scripts/ci/prune-turbo-cache.mjs --self-test :: exit 0
  • node scripts/ci/snapshot-next.mjs --self-test :: exit 0
  • node scripts/docs-audit/check-affected-docs.mjs :: exit 0
  • node scripts/docs-audit/check-drift-comment.mjs :: exit 0
  • node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
  • node scripts/release-pending-publish.mjs --self-test :: exit 0
  • pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
  • pnpm check:changeset-gate-self-tests :: exit 0
  • pnpm check:ci-filter-parity :: exit 0
  • pnpm check:cli-test-child-env :: exit 0
  • pnpm check:closed-ceremony-text :: exit 0
  • pnpm check:cross-package-test-inputs :: exit 0
  • pnpm check:doc-authoring :: exit 0
  • pnpm check:driver-memory-census :: exit 0
  • pnpm check:dts-closure :: exit 0
  • pnpm check:dual-build-cjs-loads :: exit 0
  • pnpm check:engine-double-contract :: exit 0
  • pnpm check:gitlink-declared :: exit 0
  • pnpm check:i18n :: exit 0
  • pnpm check:i18n-coverage :: exit 0
  • pnpm check:i18n-walk-parity :: exit 0
  • pnpm check:issue-citations :: exit 0
  • pnpm check:keyed-text-bounds :: exit 0
  • pnpm check:lean-entry-closure :: exit 0
  • pnpm check:logger-receiver-detach :: exit 0
  • pnpm check:nul-bytes :: exit 0
  • pnpm check:objectql-double-limit :: exit 0
  • pnpm check:org-identifier :: exit 0
  • pnpm check:page-declaration-shape :: exit 0
  • pnpm check:platform-object-tenancy-census :: exit 0
  • pnpm check:published-files :: exit 0
  • pnpm check:query-options-erasure :: exit 0
  • pnpm check:refd-timer-probe :: exit 0
  • pnpm check:registry-log-declared :: exit 0
  • pnpm check:rest-log-spy-declared :: exit 0
  • pnpm check:slot-lookup :: exit 0
  • pnpm check:sourcemap-no-sources-content :: exit 0
  • pnpm check:system-context-census :: exit 0
  • pnpm check:test-source-alias :: exit 0
  • pnpm check:tier-file-adoption :: exit 0
  • pnpm check:type-check-coverage :: exit 0
  • pnpm check:type-check-debt :: exit 0
  • pnpm check:undeclared-dep-imports :: exit 0
  • pnpm check:vouch-for-reference-callers :: exit 0
  • pnpm check:watch-hint-literal :: exit 0
  • pnpm check:where-matcher :: exit 0

On the first pass (head 3f6ecdb), six were not green and were fixed or rerun:

  • node scripts/check-plugin-teardown-shape.mjs --self-test exit 3: the shallow clone did not hold the positive-control commit 621a487. It was fetched, then exit 0.
  • pnpm check:dual-build-cjs-loads, pnpm check:i18n, pnpm check:i18n-coverage, pnpm check:i18n-walk-parity exit 3: their prerequisites were not built. turbo run build --filter='./packages/**' --filter='./examples/**' ran (82/82 tasks), then each exited 0.
  • pnpm check:test-source-alias exit 1: the new command test reached @objectstack/objectql/core and @objectstack/plugin-security through the source's dynamic imports. Module-top imports were added (dcbb8da), then exit 0.

Reconciliation: node scripts/pm/dispatch-gates.mjs --ran with the exit-coded record gives 62 derived, 62 run, 0 NOT-MEASURED (a derived zero: all 62 recorded an exit code).

Package, on dcbb8da:

  • pnpm --filter @objectstack/cli typecheck exit 0 (tsc + check:test-typecheck);
  • pnpm --filter @objectstack/cli exec vitest run --project unit --maxWorkers=2 VERDICT command-exit 0: Test Files 400 passed (400), Tests 5653 passed (5653). The first full run (3f6ecdb) found validate-build-gate-parity.test.ts "every call site … is classified" red on the three new names. They were classified in dcbb8da. Its two published-subpath-* suite errors were "packages/cli is not built" and cleared after the build;
  • node --stack-size=4000 node_modules/eslint/bin/eslint.js packages/cli --no-inline-config exit 0;
  • node scripts/check-nul-bytes.mjs exit 0.

The integration tier (--project integration) is declared to CI: the diff touches no spawn entry and no integration-tier file.

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (packages/spec not touched.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes. (eslint over packages/cli, --no-inline-config, exit 0.)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (@objectstack/cli patch; Metadata-protocol: none grades patch.)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (Not touched.)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

🤖 Generated with Claude Code

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 7, 2026
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 7, 2026
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/cli, touching 27 documentable anchor(s).

20 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: node scripts/docs-audit/affected-docs.mjs --json df22adc370bae67424297c3d00841ce7ca0d3365.

⛔ 6 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails.

What this run could not see
  • 1 anchor(s) matched too much of the corpus to be a work list: os validate (command, 87 pages)
  • 7 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 63 of 226 client-bound route-ledger rows — the other 163 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 163: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 104 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 35 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json df22adc370bae67424297c3d00841ce7ca0d3365 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 53282d56b6aea5396240469ec80f55e5c6801854 — the merge of head 8c5e74a7b61a2eded18b13b6cfdded4838ba22ef into base df22adc370bae67424297c3d00841ce7ca0d3365, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 53282d56b6aea5396240469ec80f55e5c6801854 && git checkout 53282d56b6aea5396240469ec80f55e5c6801854
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin df22adc370bae67424297c3d00841ce7ca0d3365 8c5e74a7b61a2eded18b13b6cfdded4838ba22ef && git checkout -B drift-repro df22adc370bae67424297c3d00841ce7ca0d3365 && git merge --no-ff 8c5e74a7b61a2eded18b13b6cfdded4838ba22ef

node scripts/docs-audit/affected-docs.mjs --json df22adc370bae67424297c3d00841ce7ca0d3365

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs df22adc370bae67424297c3d00841ce7ca0d3365 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#4 · marchtian · session_017ihL2dLQEXWGsE2SZ3Qn5F

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 8c5e74a7b61a2eded18b13b6cfdded4838ba22ef
Local-runs: none

① Derived judgments

  • Face: consumer of a declared contract (Clause-②: yes on the claim, PR body and changeset). The diff reads RestrictionProfileSchema (@objectstack/spec/system, landed as item 1) and does not touch it: no path under packages/spec/**, no governed path, no route, no new error code. Diff read in full: 6 files, +929/−0.
  • Parse, never half a profile. loadRestrictionProfile parses with the spec's own schema; an invalid profile, {}, non-JSON, a missing file or a URL is refused through the existing catch-all naming the issue path, before the stack is read. This honours the schema's own docblock ("a profile that omits a dimension is refused at parse") and Prime Directive 12 (no lenient consumer).
  • One vocabulary, no second list. allowCode reads hooks (named by the profile docblock) plus every key UNMANAGED_INSTALL_KEY_DISPOSITIONS classifies code, gated by the same unmanagedInstallValueCarries test; node types read FLOW_BUILTIN_NODE_TYPES / FLOW_STRUCTURAL_NODE_TYPES; regions are walked with collectFlowGraphs. Each of these is the spec's exported reader, so a key or node type the spec gains moves the reader the same release.
  • Reader rules (review 6710350208 ③/④) implemented as ruled, in judgeNodeType: (1) start/end return before any rule; (2) a type outside FlowNodeAction is allowed under allowCode: true and refused naming allowCode under false; (3) script under allowCode: false short-circuits to one allowCode row before the list is read. Every row carries exactly one rule. Pinned by unit cases and by the ablations in the report (rule 3 → 3 red, schedule check → 3 red, rule 1 → 5 red).
  • Version drift warns only. restrictionProfileVersionDrift resolves from the config's directory (spec falls back to the CLI's own copy; skills has none and reports local: null). It rides warnings, appended last in warningsSoFar(), and is outside the list --strict gates — the protocol-drift advisory's precedent: the target's version is the environment's, not the stack's.
  • No --target, no change. Every new step is behind if (targetProfile); CONTROL pinned in-process (exit 0, no drift entry). The gate-parity ledger records judgeRestrictionProfile as validate-only (os build names no target) and the two readers as not-a-gate.

② Semver level

  • A new optional flag and new rows only when the flag is passed ⇒ additive. Changeset @objectstack/cli patch (Metadata-protocol none) is the repo's grading for this level axis. No narrowing arm: no existing invocation refuses anything it accepted before.

③ Boundary flags

Implemented-by: claude/project-thread-6pkacq
Reviewed-by: session_017ihL2dLQEXWGsE2SZ3Qn5F

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#4 · marchtian · session_017ihL2dLQEXWGsE2SZ3Qn5F

席位核对 — ACCEPT · domain:server#4 · Head-sha: 8c5e74a7b61a2eded18b13b6cfdded4838ba22ef

  • Shape: draft → main, attribution lines first, Fixes #31156 once, Clause-②: yes and Metadata-protocol: none line-initial; changeset @objectstack/cli patch. 6 files, +929/−0, all under packages/cli plus the changeset; not governed, under 3000 lines; local git merge-tree against current origin/main clean.
  • Diff read by the seat: step 0 parses the profile with the spec's schema before the stack and refuses through the catch-all; step 1c warns on spec/skills version drift outside --strict's list; step 3f, last of the refusals, gives one row per item with exactly one rule. The three reader rules from review 6710350208 sit in judgeNodeType in the ruled order. Every new step is behind --target; CONTROL pinned.
  • Gates (check-runs on the head): 53 runs — 36 success, 17 skipped, 0 failed. Dev: dispatch-gates --ran 62/62, 0 NOT-MEASURED; cli unit 400 files / 5653 tests; typecheck and eslint 0; three ablations red as expected (report 6711857510).
  • Accepted deviations: version drift is not gated by --strict (the protocol-drift advisory's precedent; the order said warn); the URL form is refused, not guessed; parallel / try_catch / devPlugins are refused under allowCode: false by the one-table reading (fail-closed, declared in the PR).
  • Out of scope: the profile vocabulary (ADR-0031 containers, devPlugins, the allowedFlowNodeTypes docblock sentence) → spec: a restriction profile cannot list the ADR-0031 containers (parallel, try_catch), devPlugins counts as code under allowCode, and the allowedFlowNodeTypes docblock omits the reader rules #31239 (domain:spec); the URL form once cloud#3713 names the route → cli: os validate --target accepts only a profile file — add the URL form once an environment publishes its restriction profile at a defined route (cloud#3713) #31240 (domain:server). Open questions 1–3 of the report answered by those two cards.
  • Landing: Tier: none, additive (no narrowing). Seat lands: pm:awaiting-merge cleared (not a human-approval PR), pr_ready + automerge_enable through the relay.

@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 7, 2026
@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 7, 2026 19:36
@objectstack-fleet
objectstack-fleet Bot enabled auto-merge November 7, 2026 19:37
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 169ff7e Nov 7, 2026
57 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-6pkacq branch November 7, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

One authoring source (cloud#3659 A), 2/4: a RestrictionProfile schema in spec, and os validate --target checks metadata against an environment's profile

2 participants