framework_eng/rules/tdd-policy/SKILL.md
When working on code or tests, go Red -> Green
npx skillsauth add steelmorgan/1c-agent-based-dev-framework tdd-policyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Trigger: the test-writing phase (Phase 3b) or implementation (Phase 3c/3d). When triggered, apply the
test-writingskill (framework/skills/bsl-practices/test-writing/SKILL.md).
ПриСозданииНаСервере/ПриОткрытии, visibility/accessibility/requiredness of elements, response to input, form commands) is the domain of scenario (Vanessa) tests through the UI, see vanessa-scenario-policy. Do not mix up the layers: when bypassing the UI with a server call, all client logic (client handlers, form events, conditional formatting, visibility/accessibility, response to input) remains completely untested - it is covered by neither such a "scenario" nor unit tests.SetPrivilegedMode, role checks (AccessRight, RoleAvailable), or the result depends on the current user, the specification MUST explicitly state for each test in the "Test Plan" section: user name/role set, required mode (privileged or not), expected result (success/failure). Without this, a test under a full-rights runner (for example AgentAI) will produce a false positive. If this is technically impossible for unit, record it in the spec as an ADR with a move to the integration scope (Phase 4).Test failed
├── Error in test → Tester fixes it (test_error)
└── Bug in code → STOP. Label implementation_error + description.
Orchestrator returns the task to Developer.
depends_on:
development
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.