Skip to content

Commit 1def65f

Browse files
committed
chore(agents): consolidate agent context and compress instruction files
Replace AGENT.md and .cursor/rules with a single AGENTS.md entry point plus CODEMAP.md, and cut duplicated guidance out of the instruction files. The same six non-negotiables were restated across seven files, so editing one .tsx under packages/ loaded ~36.8KB of instructions to say them four times over. Now ~28.7KB: generic React/Vitest material dropped, Fusion-specific patterns kept. Also corrects rules that were actively wrong: - vite plugins were documented as `fusion-framework-vite-plugin-*`; every one of them is `@equinor/`-scoped - the documented pre-PR gate `pnpm -w check` runs biome only, silently skipping fusion-lint; now `pnpm lint` - documentation.instructions.md applied to `**/*.md`, firing its retrieval-corpus rules on changesets and agent files Adds `pnpm verify:agent-context` plus a CI job so CODEMAP.md cannot drift from the real workspace, and contributing/fusion-lint.md for lint knowledge that previously lived only in agent memory. No changeset: nothing under packages/* or cookbooks/* is touched.
1 parent 654d6c3 commit 1def65f

31 files changed

Lines changed: 1132 additions & 992 deletions

.cursor/commands/dependabot.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.cursor/rules/changeset-generation.mdc

Lines changed: 0 additions & 16 deletions
This file was deleted.

.cursor/rules/github-cli-file-bodies.mdc

Lines changed: 0 additions & 153 deletions
This file was deleted.

.cursor/rules/monorepo-package-resolution.mdc

Lines changed: 0 additions & 18 deletions
This file was deleted.

.cursor/rules/package-manager.mdc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.cursor/rules/pull-request.mdc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.cursor/rules/spec-sync.mdc

Lines changed: 0 additions & 96 deletions
This file was deleted.

.cursor/rules/typescript-documentation.mdc

Lines changed: 0 additions & 18 deletions
This file was deleted.

.cursor/rules/vitest-testing.mdc

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)