3dd8a5cabf
Adds .sisyphus/rules/test-discipline.md, auto-injected by
rulesInjector hook whenever an agent reads or edits a test file
(**/*.test.ts, __tests__/**, src/testing/**, test-setup.ts,
script/run-ci-tests.ts).
Rules enforced:
- 'bun test' must pass in one process, one run, no isolation flags
- no setTimeout/sleep in test bodies unless time is the SUT
- event tests must subscribe-before-trigger with explicit timeout
- no .only/.skip/process-isolation to mask state leaks
- prompt-builder tests must assert behavior, not text snapshots
Also un-ignores .sisyphus/rules/ so project-scope rules can be
checked in while keeping .sisyphus/{draft,run-continuation,...}
ignored.
48 lines
612 B
Plaintext
48 lines
612 B
Plaintext
# Dependencies
|
|
.sisyphus/*
|
|
!.sisyphus/rules/
|
|
!.sisyphus/rules/**
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
|
|
# Platform binaries (built, not committed)
|
|
packages/*/bin/oh-my-opencode
|
|
packages/*/bin/oh-my-opencode.exe
|
|
packages/*/bin/*.map
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# Lock files (use bun.lockb instead)
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
test-injection/
|
|
notepad.md
|
|
oauth-success.html
|
|
*.bun-build
|
|
.omx/
|
|
.dori-sync/
|
|
.dori/
|
|
.playwright-mcp/
|
|
|
|
# Debugging / session artifacts (skill workspace residue)
|
|
.debug-journal*.md
|
|
session-ses_*.md
|