-
chore(cli): land Effect-first guidelines and inert guardrail rule groups (#3877)
发布于
2026-07-21 07:13:04 +00:00 This PR:
- opens the CLI Effect-guardrails stack that re-slices
https://github.com/ComposioHQ/composio/pull/3859 into reviewable PRs - rewrites the CLI
AGENTS.mdEffect guidance: typedData.TaggedError
failures,Schema/Predicatedecoding at trust boundaries, and Effect
platform services over Node builtins — policy for new code effective now - adds the matching "Effect Platform Boundaries" section to the
cli-commandskill reference - defines every new ESLint rule group (platform imports, terminal
streams, descriptor seam, zod ban, test rules, try/catch +
process.env) as live constants in the rooteslint.config.mjs, with
the entries applying them commented out and annotated with the stack PR
that activates each group - bumps the vendored
ts/vendor/effectreference to the pin used across
the stack (CI never initializes submodules)
No CLI source is touched;
pnpm lintstays green with the rules inert.Stack (re-slice of https://github.com/ComposioHQ/composio/pull/3859;
each PR targets its parent and auto-retargets tonextas parents
merge):- https://github.com/ComposioHQ/composio/pull/3877 — guidelines + inert
rule groups ← this PR - https://github.com/ComposioHQ/composio/pull/3878 —
new Function()
eval security fix - https://github.com/ComposioHQ/composio/pull/3879 — behavioral fix
pack - https://github.com/ComposioHQ/composio/pull/3880 — platform-imports
rule + migration - https://github.com/ComposioHQ/composio/pull/3881 — terminal-streams
rule + TerminalUI boundary - https://github.com/ComposioHQ/composio/pull/3882 — descriptor seam +
zod→Schema - https://github.com/ComposioHQ/composio/pull/3883 — test-tree lint +
deterministic suites - https://github.com/ComposioHQ/composio/pull/3884 — typed error
boundaries + v4 seams - https://github.com/ComposioHQ/composio/pull/3885 — try/catch+env ban
- boundary ratchet
On stacked bases CI runs lint/build and the CLI Docker e2e job; unit
tests and typecheck are verified locally per PR and re-verified by full
CI when each PR is retargeted tonext.下载附件
- opens the CLI Effect-guardrails stack that re-slices