{"name": "effect", "version": "0.1.0", "hash": "sha256:712219ea1ade6fd6f2c6e6bbc35a247135d04292b1e4a712dcdbfeb7b80e0af8", "files": {"ABSORB_REPORT.md": "# Absorb report: effect\n\n- **Source:** https://github.com/effect-ts/effect at `8dfec63ce1fc`\n- **Licence:** MIT\n- **Project names searched for:** effect\n\n## What was absorbed\n\n| Piece | Kind | Class | Project names | Project paths |\n|---|---|---|---|---|\n| ai-docs | skill | mixed |  | ai-docs/src, ai-docs/README.md |\n| bundle-analysis | skill | mixed | effect ×1 | packages/tools/bundle/README.md, scratchpad |\n| changesets | skill | mixed | effect ×4 | .changeset/config.json |\n| ci-maintenance | skill | mechanics |  |  |\n| dependency-maintenance | skill | mechanics |  |  |\n| effect-development | skill | mixed | effect ×7 | ai-docs/src |\n| jsdocs | skill | mixed | effect ×4 | packages/tools/doctest/README.md |\n| migration-guidance | skill | mixed | effect ×5 | migration/v3-to-v4.md, migration/annotations |\n| package-development | skill | mixed |  | .changeset/config.json |\n| performance-analysis | skill | mixed | effect ×2 | packages/effect/runtimeperf/README.md, packages/effect/typeperf/README.md |\n| pull-requests | skill | mixed | effect ×2 |  |\n| test-development | skill | mixed | effect ×6 |  |\n| vendored-assets | skill | mechanics |  |  |\n\n## Needs review before sharing\n\nThese pieces mention the project by name or lean on its files. Move those facts into configuration, or keep the piece out of a shared starter.\n\n- **ai-docs** (skill): paths ai-docs/src, ai-docs/README.md\n- **bundle-analysis** (skill): names effect; paths packages/tools/bundle/README.md, scratchpad\n- **changesets** (skill): names effect; paths .changeset/config.json\n- **effect-development** (skill): names effect; paths ai-docs/src\n- **jsdocs** (skill): names effect; paths packages/tools/doctest/README.md\n- **migration-guidance** (skill): names effect; paths migration/v3-to-v4.md, migration/annotations\n- **package-development** (skill): paths .changeset/config.json\n- **performance-analysis** (skill): names effect; paths packages/effect/runtimeperf/README.md, packages/effect/typeperf/README.md\n- **pull-requests** (skill): names effect\n- **test-development** (skill): names effect\n\n## Not absorbed\n\nNothing was left out.\n\n## Self-test\n\nNo case could be generated.\n", "ATTRIBUTION.md": "# Attribution: effect\n\nThis harness was absorbed from https://github.com/effect-ts/effect at commit `8dfec63ce1fc8d82a5bc667f0ab175a7b5db82b1` on 2026-11-27 with `baudrier absorb`.\n\n- **Licence:** MIT. Licence and notice files kept unchanged in this folder: `LICENSE`.\n- **Credit:** every file listed below is the work of the source repository's authors. Files were copied unchanged, except that hook commands name their folder as `${HARNESS_HOOKS}` and slash commands were wrapped as skills.\n\n## Absorbed files\n\n- `skills/ai-docs/SKILL.md` (skill)\n- `skills/bundle-analysis/SKILL.md` (skill)\n- `skills/changesets/SKILL.md` (skill)\n- `skills/changesets/authoring.md` (skill)\n- `skills/ci-maintenance/SKILL.md` (skill)\n- `skills/ci-maintenance/privileged-workflows.md` (skill)\n- `skills/dependency-maintenance/SKILL.md` (skill)\n- `skills/dependency-maintenance/coordinated-upgrades.md` (skill)\n- `skills/dependency-maintenance/manifest-roles.md` (skill)\n- `skills/effect-development/SKILL.md` (skill)\n- `skills/jsdocs/SKILL.md` (skill)\n- `skills/jsdocs/categories.md` (skill)\n- `skills/jsdocs/declarations.md` (skill)\n- `skills/jsdocs/examples.md` (skill)\n- `skills/migration-guidance/SKILL.md` (skill)\n- `skills/migration-guidance/annotations.md` (skill)\n- `skills/migration-guidance/generation.md` (skill)\n- `skills/package-development/SKILL.md` (skill)\n- `skills/package-development/dependencies.md` (skill)\n- `skills/package-development/publishing.md` (skill)\n- `skills/package-development/registration.md` (skill)\n- `skills/performance-analysis/SKILL.md` (skill)\n- `skills/performance-analysis/runtime.md` (skill)\n- `skills/performance-analysis/types.md` (skill)\n- `skills/pull-requests/SKILL.md` (skill)\n- `skills/test-development/SKILL.md` (skill)\n- `skills/test-development/displayed-types.md` (skill)\n- `skills/test-development/runtime.md` (skill)\n- `skills/test-development/types.md` (skill)\n- `skills/vendored-assets/SKILL.md` (skill)\n- `skills/vendored-assets/browser-assets.md` (skill)\n", "LICENSE": "MIT License\n\nCopyright (c) 2023 Effectful Technologies Inc\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", "harness.yaml": "$schema: https://harnessprotocol.io/schema/v1/harness.schema.json\nversion: '1'\nkind: profile\nmetadata:\n  name: effect\n  description: 'The Effect repository''s agent skills: package development, tests, JSDoc, changesets and performance.'\n  version: 0.1.0\n  license: MIT\nskills:\n- name: ai-docs\n  source: ./skills/ai-docs\n- name: bundle-analysis\n  source: ./skills/bundle-analysis\n- name: changesets\n  source: ./skills/changesets\n- name: ci-maintenance\n  source: ./skills/ci-maintenance\n- name: dependency-maintenance\n  source: ./skills/dependency-maintenance\n- name: effect-development\n  source: ./skills/effect-development\n- name: jsdocs\n  source: ./skills/jsdocs\n- name: migration-guidance\n  source: ./skills/migration-guidance\n- name: package-development\n  source: ./skills/package-development\n- name: performance-analysis\n  source: ./skills/performance-analysis\n- name: pull-requests\n  source: ./skills/pull-requests\n- name: test-development\n  source: ./skills/test-development\n- name: vendored-assets\n  source: ./skills/vendored-assets\nx-origin:\n  repository: https://github.com/effect-ts/effect\n  commit: 8dfec63ce1fc8d82a5bc667f0ab175a7b5db82b1\n  license: MIT\n  license_basis: detected\n  license_files:\n  - LICENSE\n  absorbed_at: '2026-11-27'\n", "skills/ai-docs/SKILL.md": "---\nname: ai-docs\ndescription: AI documentation. Use when editing ai-docs/src or regenerating LLMS.md.\n---\n\nRead `ai-docs/README.md`; it owns source structure, style, examples, generation,\nand changeset policy.\n\n1. Inspect neighboring source examples and the relevant current `LLMS.md`.\n2. Edit sources under `ai-docs/src`, then run `pnpm ai-docgen`.\n3. Review generated output for ordering, missing content, and unrelated changes.\n4. Run applicable root validation.\n\nThe task is complete when sources and generated output agree, every generated\ndifference is explained, TypeScript checks pass when examples or fixtures\nchange, and applicable checks pass or are reported as not runnable.\n", "skills/bundle-analysis/SKILL.md": "---\nname: bundle-analysis\ndescription: Bundle analysis. Use when measuring current bundle size, comparing stable or selected fixtures, inspecting composition, or cleaning retained comparison state.\n---\n\nRead `packages/tools/bundle/README.md`, then select one workflow:\n\n- **Stable comparison:** `pnpm bundle-compare <base-ref>`. Use `HEAD~1` for the\n  latest commit. Read `tmp/bundle-stats.txt` and report non-zero differences.\n- **Selected comparison:** `pnpm bundle-compare-selected --base <ref>\n  scratchpad/<fixture>.ts`. Use only user-named or investigation-local fixtures;\n  keep temporary fixtures out of the stable corpus.\n- **Composition:** `pnpm bundle-analyze scratchpad/<fixture>.ts`. Read raw data\n  first and report the largest modules, dependency groups, and surprising\n  inclusions. Its readable-name output is not an exact size measurement.\n- **Current size:** Build immediately before the direct bundle report so Effect\n  packages resolve from current `dist` output.\n- **Cleanup:** Stable comparisons retain `tmp/bundle-base` for reuse unless\n  cleanup is requested. Remove selected-comparison state retained with\n  `--keep-base` after its final use. Verify cleanup without disturbing unrelated\n  worktrees.\n\nThe task is complete when the selected artifact is inspected, requested size or\ncomposition findings are reported, generated paths are named, and comparison\nstate follows the selected workflow's retention policy.\n", "skills/changesets/SKILL.md": "---\nname: changesets\ndescription: Concise PR finalization changesets. Use when implementation scope is complete and focused validation has finished to classify release impact, consolidate the PR's existing changeset, or write its consumer release note.\n---\n\nTreat a changeset as the release note for the complete PR, not as a log of work\nperformed along the way. Finalize it after the current implementation scope and\nfocused validation are complete.\n\n## Workflow\n\n1. Inspect the complete diff from the merge base, including changeset files\n   already introduced by the PR, and identify directly affected published\n   packages.\n2. Classify impact across source types, runtime behavior, entrypoints, required\n   services, lifecycle, and persisted or wire data.\n3. Perform the breaking audit below.\n4. Record a reason no changeset is required, or update the PR's existing\n   changeset. Create one only when the PR does not have one. When required, read\n   [authoring.md](authoring.md).\n5. Validate package names, frontmatter, bump policy, and a one-sentence\n   consumer-facing description, longer only for breaks or required migration.\n\nDo not include unrelated worktree changes.\n\n## PR-level consolidation\n\nThe default is one changeset file per PR. One file can name several packages and\nsummarize several related fixes or additions. Successive prompts, commits, and\nsubtasks within the same PR update that file. If implementation resumes after a\nchangeset was drafted, revise it during the next finalization pass.\n\nUse separate files only when a maintainer requests the split or the PR contains\nindependent changes that need separate release notes.\n\n## Requirement\n\nCreate a changeset for observable runtime behavior changes, including bug\nfixes; exported value or public type changes; entrypoint or export-map changes;\nchanges to required services, errors, ownership, defaults, or lifecycle; and\npersisted, serialization, protocol, or wire-format changes.\n\nTests-only changes, behavior-preserving internal refactors, documentation or\nJSDoc maintenance, and unpublished tooling normally do not need one. When\nunclear, inspect exports and consumer-visible declarations rather than inferring\nfrom source location.\n\n## Breaking Audit\n\nA change is breaking when valid existing consumer code, configuration, or data\nmust change to keep compiling or behaving according to the previous contract.\nAudit every surface:\n\n- **Names and locations:** exports, entrypoints, compatibility exports, and\n  module paths.\n- **Call compatibility:** parameters, accepted inputs, overload resolution,\n  generic parameters, and defaults.\n- **Result compatibility:** return and error types, output narrowing, members,\n  inference, and required services.\n- **Runtime contracts:** defaults, failures, interruption, concurrency,\n  ordering, resource lifetime, acquisition, cleanup, and mutation.\n- **Data compatibility:** persisted schemas, encodings, database layouts,\n  protocols, and wire formats.\n\nAdditive exports, optional parameters, and behavior-preserving implementations\nare normally non-breaking. A fix restoring the documented contract is normally\nnon-breaking but still needs a changeset when its operational impact is\nconsumer-visible. Verify representative existing calls when overload ordering,\nstructural assignability, or inference makes compatibility uncertain. API diff\noutput is mechanical evidence, not a semantic-version decision.\n\nThe task is complete when every affected contract and published package is\naccounted for and either the no-changeset decision is explicit or the PR has one\nconsolidated, valid changeset by default. Its release note is one sentence of\nconsumer impact, plus migration steps for every break, with no implementation\ndetail.\n", "skills/changesets/authoring.md": "# Authoring changesets\n\nUpdate the changeset already introduced by the PR. If there is none, create one\n`.changeset/<descriptive-name>.md` for the complete PR:\n\n```md\n---\n\"effect\": patch\n\"@effect/affected-package\": patch\n---\n\nFix `Effect.cachedInvalidateWithTTL` caching a stale result when invalidated while the effect is running.\n```\n\nWrite one short sentence, usually under 25 words, that names the changed API\nand states what consumers will notice. That sentence is the whole entry unless\nthe change is breaking or consumers must migrate.\n\nLeave out how the change works: internal modules, algorithms, data structures,\nrefactors, motivation, benchmarks, test coverage, and development history. They\nbelong in the PR description. Cut any sentence a consumer would not act on.\n\n- Bad: \"Rework the `MemoMap` lookup so `Layer.provide` checks identity before\n  building, adding a cache keyed by layer reference and tests for shared\n  layers.\"\n- Good: \"Fix composed layers being rebuilt for every parent that references\n  them.\"\n\nAdd detail only for a break or required migration: what existing code must\nchange and how. Use compact bullets, one break per bullet, when several breaks\nneed migration steps. Several non-breaking fixes or additions still share one\nsentence.\n\nList every directly affected published package. Do not list packages merely\nbecause they share the fixed release group in `.changeset/config.json`.\n\nChoose the bump from current release policy:\n\n- APIs tagged `@stability stable`, and APIs without a stability tag, follow\n  strict semver: `patch` for compatible fixes, `minor` for compatible\n  additions, and `major` for breaks.\n- For APIs tagged `@stability unstable`, use `patch` for compatible fixes and\n  new features. Only a break is `minor`.\n- For APIs tagged `@stability experimental`, use `patch` for fixes, new\n  features, and breaks.\n- When a PR touches APIs at several stability levels, use the highest bump any\n  of them requires.\n- Use `major` only when a maintainer has approved a major release.\n- The release queue retargets PRs with `minor` changesets to `v4/next-minor`\n  and PRs with `major` changesets to `v4/next-major`. Choose the level the\n  change requires, not the branch you want it to land on.\n- Ask when release intent is ambiguous.\n\nUse a `### Breaking changes` section when several breaks need separate\nscanning. Include before/after examples only when they materially clarify\nmigration.\n\nValidate frontmatter against published package names and inspect nearby current\nchangesets for release convention. Do not copy the length of longer entries.\nNever run `changeset-version` or `changeset-publish` as contributor validation.\n", "skills/ci-maintenance/SKILL.md": "---\nname: ci-maintenance\ndescription: GitHub Actions maintenance. Use when authoring or reviewing workflows or composite actions, especially event, permission, action-reference, artifact, setup, or concurrency changes.\n---\n\nAudit the trust boundary before editing. This skill owns Actions event\nsemantics, workflow security, permissions, action pinning, setup reuse,\nuntrusted inputs, timeouts, concurrency, and artifact trust boundaries.\n\n## Workflow\n\n1. Decide whether this is a review or an implementation. Reviews produce\n   evidence-backed findings without editing; implementations continue through\n   the smallest boundary-preserving change.\n2. Inspect every affected workflow, composite action, and caller. List all\n   affected jobs and actions before proceeding.\n3. For each job, record the trigger, actor/fork status, workflow revision,\n   checked-out revision, permissions, credentials, and every external input and\n   consumer. Include artifacts, caches, outputs, PR fields, refs, dispatch\n   inputs, generated files, and called actions.\n4. Consult current GitHub documentation for every platform-sensitive decision.\n   Repository examples establish local convention, not platform semantics.\n5. Apply every applicable rule:\n   - Default workflow permissions to empty and grant minimal job permissions.\n   - Reuse the repository's shared setup action unless the environment must differ.\n   - Give executable jobs intentional matrices and realistic timeouts.\n   - Pin external actions and reusable workflows to full commit SHAs with\n     readable release comments; verify each SHA belongs to that upstream release.\n   - Analyze event choice, checkout revision, and credential persistence\n     together.\n   - Pass untrusted expressions through environment variables; validate and\n     quote them before use.\n   - Derive concurrency from interruption safety.\n6. For forks, privileged credentials, publication, or cross-run data, read\n   [privileged-workflows.md](privileged-workflows.md).\n7. Run the narrowest syntax and repository checks, inspect the complete diff,\n   and identify behavior testable only on GitHub-hosted runners.\n\nFor local patterns, inspect the current shared setup action and the nearest\nworkflow with the same trust boundary. Use ordinary check workflows for routine\nprecedent and privileged publication workflows only for equivalent trust\nboundaries.\n\nThe task is complete when every affected job and caller has a recorded trust\nboundary, every applicable rule has evidence or a compensating control, local\nchecks pass, and GitHub-only verification is identified. Reviews report every\nfailure with evidence; implementations resolve every failure and contain only\nintended behavior.\n", "skills/ci-maintenance/privileged-workflows.md": "# Privileged Workflows\n\n- Privileged jobs must not run untrusted repository code with secrets or write\n  credentials.\n- Validate cross-run data for expected source, identity, type, shape, and\n  bounded size before using it in commands, outputs, APIs, or comments.\n- Require the intended approval boundary before fork-originated work reaches\n  privileged execution.\n- Preserve publication and other irreversible operations until completion;\n  cancel only replaceable checks and previews.\n- Make checkout revision and credential persistence explicit. Account for\n  every write permission and credential.\n\nSearch current workflows by event, job purpose, action, and permission to find\nthe nearest precedent for fork approval gates, publication, non-cancelable\nconcurrency, and validation of cross-run artifacts before privileged use.\n\nConsult current GitHub documentation for event, token, secret, permission,\ncheckout, artifact, reusable-workflow, and environment semantics. Start with\nthe workflow events, workflow syntax, and secure-use references.\n", "skills/dependency-maintenance/SKILL.md": "---\nname: dependency-maintenance\ndescription: Dependency maintenance. Use when adding, moving, or upgrading dependencies, changing pnpm or JavaScript runtimes, updating TypeScript or build/test tools, or changing native-build policy, patches, or test images.\n---\n\nTreat an upgrade as a synchronization task, not a lockfile refresh. Derive\nversions, commands, and compatibility points from the current repository.\n\n## Discover\n\n1. Read affected manifests and scripts, `pnpm-workspace.yaml`, setup actions,\n   workflows, test configuration, and compatibility documentation.\n2. Search for the dependency and every current version, range, runtime input,\n   image, engine constraint, patch, and compatibility claim.\n3. Record each match as a development version, tested version, peer range,\n   engine minimum, advertised minimum, or intentionally different constraint.\n4. When adding or moving a manifest entry, read\n   [manifest-roles.md](manifest-roles.md) before selecting its role.\n5. Select the package-local or coordinated branch and its validation matrix.\n\nDiscovery is complete when every match and affected validation surface is\naccounted for.\n\n## Package-local branch\n\nUse this branch only for one dependency in one workspace package when runtime,\ncompiler, package-manager, image, patch, native-build, and shared-tooling policy\nare unchanged.\n\nUpdate only the owning manifest and keep peer compatibility independent from\nthe development version tested here. If any coordinated surface appears,\nswitch branches.\n\nThis branch is complete when the manifest and lockfile agree, focused checks\npass, and every search result is intentionally unchanged or package-local.\n\n## Coordinated branch\n\nRead [coordinated-upgrades.md](coordinated-upgrades.md), select every applicable\nrow, and update all listed synchronization points before installing. Apply root\nworkflow and generated-file requirements before editing those surfaces, then\nreturn here to finish matrix and lockfile review.\n\n## Install and finish\n\nRun root `pnpm install` after all selected edits. Inspect warnings and the\nsemantic lockfile diff for specifiers, resolutions, duplicate transitives, peer\nchanges, integrity, patch hashes, lifecycle scripts, and `allowBuilds` effects.\nA successful install alone does not complete this review.\n\nRun the narrowest correctness and performance checks that cover every selected\nmatrix row.\nApply the root changeset routing after implementation and focused validation.\n\nThe task is complete when repeated repository searches find no unclassified\nsynchronization point, manifest roles and compatibility ranges are intentional,\nthe lockfile has no unexplained churn, and every selected check passes or is\nreported as not runnable.\n", "skills/dependency-maintenance/coordinated-upgrades.md": "# Coordinated Upgrades\n\nSelect every applicable row and derive commands from the cited current source.\n\n| Change                                    | Synchronize                                                                                                        | Validation source                                             |\n| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------- |\n| Shared dependency or test/build tool      | Owning manifests, peer/development pairs, configs, and generated artifacts owned by that tool                      | Root/package scripts and affected Vitest projects             |\n| pnpm                                      | Root `packageManager`, workspace settings, setup/cache assumptions, workflows, and lockfile format                 | Current install, lint, check, build, and focused test scripts |\n| Node, Deno, or Bun                        | Setup inputs, workflow jobs, engines, runtime metadata, compatibility docs, and runtime config                     | Current runtime workflow jobs and test configuration          |\n| TypeScript support or compiler            | Compiler/tooling dependencies, `test-types` target, CI target, tool peer ranges, compatibility docs, and typetests | Targeted typetests; typeperf protocol for measured paths      |\n| Native package or install policy          | Owning manifests and `pnpm-workspace.yaml#allowBuilds`                                                             | Fresh install plus focused package build and tests            |\n| Patched dependency                        | Manifest/range, `patchedDependencies`, patch file, and lockfile patch hash                                         | Fresh install and the behavior that required the patch        |\n| Container image or Testcontainers package | Workflow pre-pulls, image call sites, manifests, and integration project names                                     | Current integration workflow and Vitest configuration         |\n\nFor a patched dependency, test the new release without the patch when feasible.\nRemove obsolete registration and patch files. Otherwise refresh the patch using\nthe current pnpm workflow and verify both that it applies and that the original\npatched behavior still requires it.\n\nWhen an upgraded component lies on a measured path, use the repository's\nruntimeperf or typeperf comparison protocol rather than inventing a benchmark.\n", "skills/dependency-maintenance/manifest-roles.md": "# Manifest Roles\n\nInspect the nearest package with the same integration shape, then justify each\nadded or moved entry:\n\n| Role                                     | Use when                                                                                         | Completion check                                                                                                        |\n| ---------------------------------------- | ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |\n| `dependencies`                           | Published runtime code requires its own installed copy.                                          | A packed consumer receives it without adding an undeclared package.                                                     |\n| `peerDependencies`                       | Consumers provide a compatible shared package or the public contract integrates with their copy. | The range states supported consumer versions; add a development entry when local build or tests need an installed copy. |\n| `devDependencies`                        | Only repository build, test, type, benchmark, or code-generation work needs it.                  | Published runtime code and declarations do not require consumers to install it.                                         |\n| `optionalDependencies`                   | A runtime feature handles absence and installation failure must not block the base package.      | Focused tests cover present and absent behavior.                                                                        |\n| Optional peer via `peerDependenciesMeta` | A consumer-provided integration is genuinely optional.                                           | The peer remains in `peerDependencies`, and code requires it only when selected.                                        |\n\nRole selection is complete when every changed entry has one justified role and\npeer compatibility remains independent from repository validation versions.\n", "skills/effect-development/SKILL.md": "---\nname: effect-development\ndescription: Effect development guidance. Use when implementing or reviewing code that composes Effect APIs or patterns, or that adds or changes API signatures.\n---\n\nUse the repository's AI documentation as targeted reference, not ambient\ncontext:\n\n1. Identify the Effect APIs and concepts involved in the change.\n2. Search `LLMS.md` and `ai-docs/src` for those names and concepts, then read\n   the matching sections and examples.\n3. Apply the relevant guidance and inspect nearby source and tests for any\n   repository-internal conventions not covered by the documentation.\n\nThe task is ready for implementation when every material Effect API or pattern\nhas matching local guidance, or the search has established that none exists.\n\n## API conventions\n\nWrite option types inline in the signature by default. Mark fields `readonly`\nand add `| undefined` to optional fields:\n\n```ts\nexport const make = (options: {\n  readonly capacity: number\n  readonly strategy?: \"dropping\" | \"sliding\" | undefined\n}): Effect.Effect<Queue> => ...\n```\n\nDeclare a named options type only in these cases:\n\n- A substantial set of options is shared across several APIs, so a named type\n  keeps them in sync.\n- The options type needs complex conditional logic, such as conditional or\n  mapped types driven by type parameters.\n\nA long option list for a single API is not on its own a reason to extract a\nnamed type.\n", "skills/jsdocs/SKILL.md": "---\nname: jsdocs\ndescription: Public API JSDoc. Use when authoring or reviewing Effect API documentation, refining a module's documentation, or fixing documentation related diagnostics.\n---\n\n## Workflow\n\n1. Inspect the declaration, implementation, nearby JSDoc, tests, and call sites.\n2. Select every applicable branch and load its reference before editing:\n   - tags, modules, or links: [declarations.md](declarations.md);\n   - categories: [categories.md](categories.md);\n   - examples: [examples.md](examples.md).\n3. Make a focused API fix or module refinement. Preserve verified facts and\n   valuable examples rather than rewriting mechanically.\n4. For module refinement or APIs with close alternatives, audit `@see` links\n   and inspect implementation and tests for concrete `**Gotchas**`.\n5. Run `pnpm jsdocs --check` and every applicable root validation command.\n\n`@internal` declarations and default exports are outside public JSDoc\nauthoring. Checked files do not support exported enums or empty export\ndeclarations.\n\nPublic declarations use a multiline block with one self-contained practical\ndescription paragraph. Start functions and methods with a present-tense action;\nmatch nearby noun-family phrasing for values. Optional non-empty sections appear\nonce in this order: `**When to use**`, `**Details**`, `**Gotchas**`. Separate\ndescriptions, sections, examples, and tags with one blank line. `**When to\nuse**` states a positive use case distinct from the description; reserve\n`**Gotchas**` for concrete caveats and failure modes.\n\nThe task is complete when every changed public declaration satisfies each\napplicable reference, the checker passes, runnable examples pass their targeted\ndoctest, and all other applicable root checks pass or are reported as not run.\n", "skills/jsdocs/categories.md": "# Categories\n\nRoot declarations require one non-empty `@category`. Reuse nearby categories;\nprefer lowercase plurals and gerunds while preserving canonical domain casing.\n\nCommon categories include:\n\n- Shapes: `constructors`, `destructors`, `models`, `schemas`, `guards`,\n  `predicates`, `getters`, `accessors`, `instances`, `constants`, `protocols`,\n  `prototypes`, `re-exports`, `unsafe`, `testing`.\n- Effect: `services`, `tags`, `layers`, `context`, `resource management`,\n  `running`, `errors`, `error handling`.\n- Operations: `combinators`, `filtering`, `mapping`, `sequencing`, `zipping`,\n  `combining`, `merging`, `converting`, `transforming`, `folding`, `splitting`,\n  `repetition`.\n- Shared: `utility types`, `encoding`, `decoding`, `serialization`, `tracing`,\n  `metrics`, `logging`, `annotations`, `references`, `symbols`, `type IDs`,\n  `configuration`, `math`, `comparisons`, `ordering`.\n\nKeep these boundaries: services are contracts, tags identify services, and\nlayers provide them; getters retrieve values while accessors read context;\nerrors model failures while error handling recovers or maps them; models are\ndomain data while utility types are type-level contracts; guards narrow while\npredicates return booleans.\n", "skills/jsdocs/declarations.md": "# Tags, Modules, And Links\n\n## Declaration Shape\n\nUse a multiline JSDoc block for a public declaration:\n\n````ts\n/**\n * Short description as one paragraph.\n *\n * **When to use**\n *\n * Optional practical usage guidance.\n *\n * **Details**\n *\n * Optional details for complex behavior.\n *\n * **Gotchas**\n *\n * Optional concrete caveats.\n *\n * **Example** (Parsing JSON)\n *\n * ```ts import.meta.vitest\n * operation() // => expected\n * ```\n *\n * @category constructors\n * @since 1.0.0\n */\n````\n\nWrite practical English about the public concept, not its implementation. Start\nfunctions and methods with a present-tense action such as `Creates`, `Returns`,\nor `Converts`; match nearby noun families for values, such as `Schema for`,\n`Layer that`, or `Service that`.\n\nOptional non-empty sections appear once in this order: `**When to use**`,\n`**Details**`, `**Gotchas**`. Separate descriptions, sections, examples, and\ntags with exactly one blank line. Use prose for one fact and bullets for\nparallel facts. Do not add other headings.\n\n`**When to use**` states a positive use case distinct from the description and\nbegins with `Use to`, `Use when`, `Use as`, or `Use with`. Put sibling\ncomparisons in `@see`. Reserve `**Gotchas**` for concrete preconditions, edge\ncases, surprising behavior, and important failure modes.\n\n## Tags\n\nDeclaration tags appear in this order:\n\n1. `@deprecated`\n2. `@default`\n3. `@see`\n4. `@stability`\n5. `@category`\n6. `@since`\n\n- Roots require stable-semver `@since` and no `@default`; category requirements\n  live in [categories.md](categories.md).\n- Namespaces and their declarations require stable-semver `@since`, permit\n  `@category`, and reject `@default`.\n- Member JSDoc is optional; when present it permits stable-semver `@since` and\n  non-empty `@default`, rejects `@category`, and follows the prose contract.\n- Preserve existing APIs' `@since` versions when changing their implementation\n  or documentation. Correct an existing version only with evidence of its\n  actual introduction release.\n- For new APIs, set `@since` to their first intended release version. Determine\n  that version from the affected package's current version and the agreed\n  changeset bump or explicit release target. Do not copy versions from nearby\n  declarations or the template above, and do not default to the major version's\n  initial release. For example, a new API targeting a patch after `4.1.4` uses\n  `@since 4.1.5`, while existing APIs keep their introduction versions.\n- Verify version selection separately from `pnpm jsdocs --check`: the checker\n  validates semver syntax, not whether an API existed in the specified release.\n- Any declaration permits one non-empty `@deprecated` and repeated non-empty\n  `@see` tags.\n- Roots, export specifiers, and root namespaces require `@stability stable`,\n  `@stability unstable`, or `@stability experimental`. Use `unstable` when an\n  API may receive breaking changes in minor releases, `experimental` when it may\n  receive breaking changes across patch versions, and `stable` otherwise.\n- Tag any API that exposes a third-party dependency `@stability unstable`: an\n  accessor to the underlying client or instance, options typed as the\n  dependency's options, constructors that accept its instances, re-exports of\n  it, and signatures that mention its types. Tag the whole module when it exists\n  to wrap the dependency; otherwise tag only the exposing declarations or\n  members. Runtime built-ins (Node, Bun, Deno, DOM) and framework types inherent\n  to a binding (React, Solid, Vue) are exempt.\n\nUse canonical `**Example**` sections rather than `@example` tags or loose code\nfences.\n\n## Modules And Links\n\nWhen present, the first top-level JSDoc is the module block unless TypeScript\nattaches it to a non-import first declaration. An `@internal` module is omitted.\nModule prose does not use the declaration template. Its tags are optional\nnon-empty `@deprecated`, repeated non-empty `@see`, required `@stability`, then\nrequired stable-semver `@since`. Its examples and links follow the declaration\ncontracts.\n\nInline `{@link Symbol}` targets must resolve to TypeScript symbols; use normal\nMarkdown links for URLs. Prefer code formatting when navigation does not help a\nreader understand or choose the API.\n\nUse `@see` only for a verified related public API: a close alternative,\ninverse, complement, level variant, or closely returned, consumed, or\nconfigured type. Explain non-obvious relationships. Exclude implementation\ndependencies, broad concepts, example-only helpers, private APIs, and merely\nlexical matches.\n", "skills/jsdocs/examples.md": "# Examples\n\nExamples are optional. Keep or add one only for behavior not evident from the\nsignature, meaningful composition, or useful inference or narrowing. Replace\nor remove examples that are trivial, misleading, contrived, or\nscaffolding-heavy.\n\nUse `**Example** (Unique use-case title)`, optional prose, and exactly one\nnon-empty `ts` fence. Titles must remain unique after trimming and lowercasing.\n\nRead `packages/tools/doctest/README.md` for runnable-fence and inline-assertion\nsyntax. Additionally:\n\n- Use public imports and arrange nontrivial examples as setup, operation, then\n  semantic observation.\n- The transform does not run Effects or await promises automatically. Prefer\n  awaited `Effect.runPromise`; use `Effect.runSync` only when synchronous\n  execution is the documented contract.\n- Keep type-level examples marked without tautological runtime assertions.\n- Leave examples that register tests and intentionally non-executable examples\n  as plain `ts` fences.\n- Use `Ref`, `Deferred`, or `Queue` rather than mutable probes for concurrency,\n  interruption, or races.\n\nIf example research suggests an implementation or type bug, report it instead\nof changing runtime code during a documentation-only pass.\n", "skills/migration-guidance/SKILL.md": "---\nname: migration-guidance\ndescription: Use when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.\n---\n\nUpdate guidance when a v3 public module or API is renamed, moved, removed,\nreplaced, or gains a materially different v4 contract. A v4-only API without a\nv3 counterpart does not automatically need an annotation.\n\n1. Account for every affected v3 symbol.\n2. Read [annotations.md](annotations.md) before adding or changing annotation\n   YAML. Verify every suggested replacement against implementation and tests.\n3. When checking or regenerating the reference, or when the API change exists in\n   a committed ref, read [generation.md](generation.md). Otherwise report that\n   generation is deferred.\n4. When output was generated, inspect it for unrelated movement and stale refs.\n\nThe task is complete when every affected v3 symbol is accounted for, annotation\nreplacements are verified, checks and generation succeed when the change is in\na committed ref, and every generated difference is explained. Report deferred\nchecks explicitly for uncommitted API changes.\n", "skills/migration-guidance/annotations.md": "# Migration Annotations\n\nAdd or update one YAML file per v3 module under `migration/annotations/`. Use\nstable API IDs without trailing `#type` or `#value` facets:\n\n```yaml\neffect/Effect#async:\n  replacement: Effect.callback\n  note: Use the callback constructor.\n  example: Effect.callback((resume) => resume(Effect.void))\n```\n\nEvery annotation requires `replacement` and `note`; `example` is optional. Use\n`replacement: none` when there is no direct replacement and explain the\nsupported migration strategy instead of inventing an equivalent API.\n", "skills/migration-guidance/generation.md": "# Generated Migration Reference\n\n`migration/v3-to-v4.md` is generated. Check annotations and regenerate using\nexplicit committed refs containing the change:\n\n```sh\npnpm api-diff --base-ref origin/v3 --head-ref HEAD --check\npnpm api-diff --base-ref origin/v3 --head-ref HEAD --write-doc migration/v3-to-v4.md\n```\n\nThe API diff reads refs through detached worktrees. If the API change is\nuncommitted, `HEAD` does not contain it. Update known annotation IDs, defer the\ncheck and regeneration, and report the limitation. Do not create a temporary\ncommit solely to run the tool.\n", "skills/package-development/SKILL.md": "---\nname: package-development\ndescription: Package registration. Use when adding a workspace package, making a private package publishable, renaming a package, or moving its workspace path.\n---\n\nTreat package work as a registration change, not a directory copy.\n\n## Workflow\n\n1. Inspect the closest package in the same family. Classify publication status,\n   runtime, test environment, platform support, barrels, and dependency shape.\n   Justify each proposed file by precedent or an explicit repository need.\n   Continue when every proposed file is justified.\n2. Create or move only required source, test, TypeScript, and manifest files.\n   When manifest dependencies change, read [dependencies.md](dependencies.md)\n   and classify every entry by role.\n   Continue when pnpm discovers the intended name and manifests reference no\n   absent file.\n3. Read [registration.md](registration.md). Classify every registration surface\n   as applicable or not applicable and update every applicable surface.\n   Continue when every surface is classified and old references are explained.\n4. For a published package, read [publishing.md](publishing.md) and verify its\n   development and packed surfaces.\n5. Run codegen when the package owns generated barrels, then inspect generated\n   sections rather than editing them manually.\n   Continue when generated sections match source modules without manual edits.\n6. Run focused package tests and scripts plus applicable root checks. Include\n   public API type tests when applicable. For published packages, build and dry\n   pack the package as described in [publishing.md](publishing.md).\n   Continue when focused and root checks pass and the packed surface is intended.\n7. Apply root changeset, generated-file, documentation, and workflow routing.\n\nThe task is complete when package discovery, registration, generated output,\nvalidation, packed output, and changeset routing are all verified or reported\nas not applicable.\n", "skills/package-development/dependencies.md": "# Package Dependencies\n\nInspect the closest package with the same publication and integration shape.\nClassify every manifest entry by the role it serves:\n\n| Role                                     | Use when                                                                                         |\n| ---------------------------------------- | ------------------------------------------------------------------------------------------------ |\n| `dependencies`                           | Published runtime code requires the package to receive its own installed copy.                   |\n| `peerDependencies`                       | Consumers provide a compatible shared package or the public contract integrates with their copy. |\n| `devDependencies`                        | Only repository build, test, type test, benchmark, or code generation needs the package.         |\n| `optionalDependencies`                   | A runtime feature handles absence and installation failure must not block the base package.      |\n| Optional peer via `peerDependenciesMeta` | A consumer-provided integration is genuinely optional. Keep its version in `peerDependencies`.   |\n\nUse `workspace:^` for workspace packages unless neighboring packages establish a\ndifferent policy. When local build or tests need an installed peer, add the peer\nto `devDependencies` at the repository's tested version while keeping the peer\nrange based on supported consumer versions.\n\nDerive external versions from current consumers with the same integration\nshape. Add only direct requirements; do not copy a neighboring manifest entry\nthat the new package's runtime, declarations, build, or tests do not use.\n\nAfter editing manifests, run root `pnpm install`. Inspect warnings and the\npackage's `pnpm-lock.yaml` importer for intended specifiers and resolutions. If\na dependency has an install or native build, classify it under\n`pnpm-workspace.yaml#allowBuilds` using current repository policy.\n\nThis branch is complete when every entry has one justified role, workspace and\npeer ranges follow repository policy, the lockfile importer agrees with the\nmanifest, and install/build policy is explicit.\n", "skills/package-development/publishing.md": "# Publishing A Package\n\nCompare the package manifest with a neighboring published package in the same\nfamily.\n\n- Keep development `exports` and `publishConfig.exports` aligned by key.\n  Source targets become their intended built targets; blocked internal and\n  legacy paths remain blocked.\n- Check current AI documentation copy tooling and the package `files` list for\n  every file required in the published payload.\n- Ensure each public source entrypoint has exactly one published counterpart\n  and no internal entrypoint becomes exposed.\n\nRun the current root build so publication payload generation executes. Create a\ntarball in a temporary destination without publishing, inspect its file list,\nand inspect the packed `package.json` whenever manifest transformation matters.\n\nThis branch is complete when package and root checks pass and the packed\nsurface contains exactly the intended files, exports, and metadata.\n", "skills/package-development/registration.md": "# Package Registration\n\nUse current configuration and the closest package in the same family as the\nsources of truth. A package-local build does not prove repository registration.\nClassify every row as applicable or not applicable.\n\n## Workspace And TypeScript\n\n| Surface                  | Check                                                                                                                                                                                        |\n| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `pnpm-workspace.yaml`    | Its globs cover the package path and exact-name pnpm selection discovers it.                                                                                                                 |\n| `pnpm-lock.yaml`         | The current importer, name, and dependencies exist; renamed or moved importers are gone.                                                                                                     |\n| `tsconfig.packages.json` | Packages intended to participate in the root TypeScript project-reference graph are referenced. Follow neighboring package policy; buildable private tools are not automatically included.   |\n| `tsconfig.tests.json`    | Broad test globs cover the path. Add source aliases only when tests require workspace source routing or would otherwise create a dependency cycle. Preserve intentional platform exclusions. |\n\n## Tests And Documentation\n\n| Surface              | Check                                                                                                                          |\n| -------------------- | ------------------------------------------------------------------------------------------------------------------------------ |\n| `vitest.config.ts`   | A package with runtime tests has the intended project, environment, setup, and inclusion rules.                                |\n| `tstyche.json`       | Type-test discovery covers the package depth; current globs cover one- and two-level package layouts.                          |\n| `vitest.docs.ts`     | Doctest source discovery covers packages with runnable JSDoc examples; current globs cover one- and two-level package layouts. |\n| `jsdocs.config.json` | Public source is included in JSDoc checks and exclusions by package family remain intentional.                                 |\n| `deno.json`          | Deno checks cover the package family, or its exclusion is intentional.                                                         |\n\n## Release And Discovery\n\n| Surface                                           | Check                                                                                                                                        |\n| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| `.changeset/config.json`                          | Published fixed-group membership uses the current name; private tooling is not added solely because it builds.                               |\n| `README.md`                                       | Public catalog entries have the current name, path, description, and documentation link.                                                     |\n| AI documentation copy tooling and package `files` | Published payloads include required generated documentation. Continue with [publishing.md](publishing.md) for the full packed-surface audit. |\n| Snapshot publishing workflows                     | Snapshot publishing selects the package path. Existing globs may already cover it; apply root workflow requirements before editing.          |\n| Runtime-specific CI workflows                     | Runtime-specific packages participate in applicable runtime jobs; apply root workflow requirements before editing.                           |\n\n## Paths And Consumers\n\nAudit explicit workspace package names in root tooling manifests. Search scripts\nfor the package family, old name, and old path to find path-sensitive clean,\ncodemod, circularity, copy, and related behavior. Explain every remaining old\nreference after a rename or move.\n", "skills/performance-analysis/SKILL.md": "---\nname: performance-analysis\ndescription: Performance analysis. Use for runtime throughput or latency benchmarks, TypeScript compiler cost, performance regressions, comparison harnesses, or thresholds.\n---\n\nValidate correctness with focused tests before measuring. Compare the same\nfocused operation and environment across revisions; a single unpaired run is\nnot evidence of improvement.\n\nSelect every applicable branch:\n\n- **Runtime performance:** Read [runtime.md](runtime.md).\n- **Type performance:** Read [types.md](types.md).\n\nThe task is complete when every selected branch meets its measurement and\nreporting criteria and applicable root checks pass or are reported as not\nrunnable.\n", "skills/performance-analysis/runtime.md": "# Runtime Performance\n\nFor authoritative base/head comparisons or fixture work, read\n`packages/effect/runtimeperf/README.md`. Use `pnpm runtimeperf-compare\n<suite-or-case>` for local worktree comparisons and explicit `--base`/`--head`\nonly for committed refs. Report the resolved comparison head and measurement\nconfiguration.\n\nFor exploratory scripts under `benchmark/`, match nearby Tinybench scripts,\nkeep setup outside the measured callback unless setup is the operation, warm\nreusable state, close resources, and print the table. Label results exploratory\nunless the task defines a repeatable comparison protocol.\n\nFocused runtimeperf work is complete when fixture validation and the selected\nrun succeed. Comparison work additionally requires every configured round to\nsucceed, the paired statistical classification to support the conclusion, and\nresolved refs and settings to be reported. Harness changes require its focused\nchecks. Tinybench work is complete when resources close, the table is reported,\nand claims remain exploratory unless a repeatable protocol was run.\n", "skills/performance-analysis/types.md": "# Type Performance\n\nRead `packages/effect/typeperf/README.md` before adding fixtures, changing the\nharness, updating thresholds, or running cross-ref comparisons. Isolate one\nrealistic public type path and compare the same fixture and compiler environment\nacross revisions. Derive supported suites and comparison commands from the\ncurrent harness documentation and CLI.\n\nBefore changing a threshold, record its previous value and measured result,\nexplain the expected delta, update it, and run a clean focused verification.\nKeep ordinary threshold fixtures separate from cross-ref fixtures.\n\nThis branch is complete when the focused measurement is repeatable, threshold\nverification is clean when applicable, and reported comparisons include\nresolved refs, compiler version, and an explanation of the observed delta.\nFixture or harness changes also require the focused validation and formatting\nchecks documented in the README.\n", "skills/pull-requests/SKILL.md": "---\nname: pull-requests\ndescription: Pull request finalization. Use when a change works and is about to be opened as a pull request, or when updating or continuing an existing one.\n---\n\nA pull request is ready when its tests, implementation, comments, and changeset\nare each the simplest that cover the intended behavior. Draft PRs can be used\nearlier; finishing means making the PR ready for review.\n\n## Workflow\n\nRun each step in a fresh-context subagent when available; otherwise run it\nyourself. Pass along the task context and prior results so each step can check its gate.\n\n1. Keep tests focused. Read [test-development](../test-development/SKILL.md) for\n   test placement and type. Cover each intended behavior once, in the existing\n   test file for the module.\n   For changes needing no tests, record why.\n   Continue when removing any remaining case would leave intended behavior\n   uncovered, or no tests are needed.\n2. Simplify the implementation. With the tests passing, look for a simpler or\n   more idiomatic version: reuse helpers and patterns from nearby source and\n   [effect-development](../effect-development/SKILL.md), and remove debugging\n   code, scaffolding, and changes unrelated to the task.\n   Continue when applicable targeted tests pass and every hunk in the diff\n   from the merge base is required by the task.\n3. Review the full diff from the merge base as a maintainer would: correctness,\n   failure and interruption paths, resource cleanup, naming and API\n   consistency with neighboring modules, and documentation. Fix findings and\n   review again.\n   Continue when a review pass produces no findings.\n4. Clean up. Remove comments that restate code or narrate the change; keep the\n   rest short and about why. Finalize the changeset with\n   [changesets](../changesets/SKILL.md).\n   Continue when comments explain only what code cannot, and the changeset\n   describes the final consumer impact or the no-changeset reason is recorded.\n5. Run the validation in the [AGENTS.md validation table](../../AGENTS.md#validation)\n   for each change type in the diff. Fix failures caused by the change; if\n   fixes alter the diff, repeat the affected passes.\n   Continue when applicable checks pass or commands that cannot run and their\n   blockers are recorded.\n6. Open or update the pull request. Title: a short imperative summary.\n   Description: the problem addressed, notable decisions, and `Closes #<issue>` for each\n   GitHub issue resolved. Do not narrate the diff. Mark the PR ready for review.\n   Continue when the final changes are pushed, the description matches the\n   final diff, and the PR is ready for review.\n\nThe task is complete when each step's gate holds, validation has passed or\nbeen reported as not runnable with reasons, and the pull request is ready for\nreview with a description matching the final diff.\n", "skills/test-development/SKILL.md": "---\nname: test-development\ndescription: Test development. Use when adding or changing Vitest or Tstyche coverage. Choose Tstyche only for intended compiler behavior such as inference, assignability, rejection, or displayed public types.\n---\n\nChoose branches from the task's acceptance criteria before editing:\n\n- **Runtime behavior:** The intended result is observable when code executes.\n  Read [runtime.md](runtime.md).\n- **Compiler behavior:** The intended result is TypeScript accepting, rejecting,\n  or inferring a consumer expression in a particular way. Read\n  [types.md](types.md).\n\nAn exported signature alone is validated by `pnpm check`; it enters the compiler\nbranch only when its inference, assignability, rejection, overload selection, or\ndisplayed type is part of the task. Some changes require both branches because\nthey independently change runtime and compiler behavior.\n\nThe task is complete when each intended behavior in scope has the relevant\nfocused coverage, targeted tests pass, and applicable root checks pass or are\nreported as not runnable.\n", "skills/test-development/displayed-types.md": "# Displayed Types\n\nDeliberately produce an assignment error and match a distinctive substring with\nTstyche's checked `@ts-expect-error` message:\n\n```ts\nit(\"simplifies the displayed type\", () => {\n  const value = null as unknown as PublicType\n\n  // @ts-expect-error Type '{ readonly value: string; }'\n  const displayed: never = value\n\n  void displayed\n})\n```\n\nKeep the expected substring as small as possible while distinguishing the\npublic type from the leaked implementation type. Before accepting the test,\ntemporarily restore the broken type and confirm the diagnostic-message match\nfails.\n", "skills/test-development/runtime.md": "# Runtime Tests\n\n- Use `it.effect` for Effect-returning tests and regular `it` for pure\n  synchronous tests.\n- `it.effect` and `it.live` provide and close a `Scope`; return scoped effects\n  directly instead of wrapping the body in `Effect.scoped`.\n- Use `assert` from `@effect/vitest`, not Vitest's `expect`.\n- Use `TestClock` for time-dependent behavior.\n- Keep `Effect.runSync` out of unit tests; runnable documentation follows the\n  root JSDoc validation rules.\n\nInspect nearby tests for imports and structure. This branch is complete when\nevery changed behavior has focused coverage and its targeted test passes.\n", "skills/test-development/types.md": "# Type tests\n\nEnter this branch when the acceptance criterion is compiler behavior: inference,\nassignability, rejection, overload selection, generic constraints, or a displayed\npublic type. Use `pnpm check` for ordinary declaration edits whose compiler\nbehavior is not independently under test. A runtime bug in generic code needs a\nruntime regression test, not a type test, when its type contract is unchanged.\n\nInspect nearby `.tst.ts` files and use their imports and assertion style. Use\nordinary Tstyche assertions such as `toBe` for structural equality and choose a\nspecific assertion for the inference or assignability contract under test.\n\nStructural equality does not verify editor quick-info rendering. For internal\naliases, unsimplified intersections, or other displayed-type regressions, read\n[displayed-types.md](displayed-types.md).\n\nRun targeted `pnpm test-types <filename>`; the root command covers every\nconfigured TypeScript version. For a regression fix, confirm the assertion\nfails against the pre-fix type. This branch is complete when the assertion\nproves the intended contract and the target passes.\n", "skills/vendored-assets/SKILL.md": "---\nname: vendored-assets\ndescription: Vendored assets. Use when importing or updating checked-in third-party or externally generated JavaScript, CSS, registries, schemas, snapshots, or Scalar, Swagger, and MIME artifacts.\n---\n\nTreat upstream artifacts as supply-chain inputs. Change their generator or\ndocumented import source, then regenerate; generated output is review evidence,\nnot an editing surface.\n\n## Workflow\n\n1. **Trace ownership.** Identify the artifact, generator or exact import\n   procedure, upstream source/version, license, consumers, tests, and shipped\n   package or bundle. Search by asset and upstream project name to find current\n   packaging scripts, generated artifacts, consumers, and history.\n   Continue when every input and consumer is accounted for.\n2. **Pin provenance.** Resolve moving URLs, tags, branches, and omitted versions\n   to an immutable release or artifact. Record project, version, path or URL,\n   and digest in the generator or maintenance header. Omit a digest only when\n   another enforced immutable source is recorded.\n   Continue when a future run cannot silently select different bytes.\n3. **Clear the license gate.** Verify release metadata, license files, bundled\n   notices, and the license trail retained in the distributed form.\n   Continue when every distributed artifact has a verified retained license trail.\n4. **Regenerate.** Improve the generator or import reference first. Recover an\n   exact procedure for generatorless assets; add a deterministic script only\n   for recurring updates. Record a one-off procedure beside the artifact. A\n   clean rerun must produce no diff.\n5. **Audit the complete diff.** Account for behavior, URLs and runtime fetches,\n   source maps, notices, encoding, format changes, and additions or removals.\n   For browser assets, also read [browser-assets.md](browser-assets.md).\n   Continue when every change is attributable and suspicious content is resolved\n   or reported.\n6. **Clear test and size gates.** Record byte sizes before and after, use\n   focused consumer tests, and compare bundle size or composition when shipped\n   JavaScript, CSS, or registry output changes materially. Compare that output\n   against the pre-update revision rather than measuring only current size.\n   Continue when focused checks pass and every non-trivial size delta is explained.\n7. **Close release impact.** Apply root changeset routing for consumer-visible\n   behavior, browser support, wire data, or meaningful shipped-size changes.\n   Generated sections owned by barrels, AI docs, or migration tooling remain\n   with the owners named in root instructions.\n\nThe task is complete when every input and consumer is accounted for, provenance\nand licenses are immutable and retained, regeneration is deterministic, every\noutput change and non-trivial size delta is explained, focused checks pass or\nare reported as not runnable, and release impact is recorded.\n", "skills/vendored-assets/browser-assets.md": "# Browser Asset Audit\n\nFor browser-delivered JavaScript or CSS, inspect the complete generated output\nfor:\n\n- CSP requirements and dynamic code execution;\n- injected markup, scripts, or styles;\n- network destinations and runtime loading;\n- external URLs, source maps, and runtime fetches;\n- bundled code or notices absent from upstream top-level metadata.\n\nEvery destination and executable behavior must be attributable to the selected\nupstream release. Resolve or report suspicious content before completion.\n"}}
