Platform Scope
Session constraints for work on shared platform code (for example packages/*, shared templates, shared contracts). These boundaries keep changes brownfield-safe and compatible with downstream scenarios.
Session Boundaries
ALLOWED
- Bugfixes and reliability improvements in shared packages
- Additive capabilities that do not break existing consumers
- Improving default human output contracts (clear next steps, deterministic exit codes)
- Adding tests proportional to blast radius (unit + a small downstream compat set)
- Updating documentation/changelogs for changed contracts
- Adding deprecation warnings and migration paths when needed
NOT ALLOWED (unless explicitly requested)
- Breaking changes (removing/renaming exported APIs, flags, output fields, file formats)
- Introducing new external dependencies or toolchains
- Forcing scenarios to adopt a new language/framework
- Sweeping refactors unrelated to the reported issue
- Mass edits across many scenarios (prefer a compat set + targeted fixes)
Quality Requirements
- Compatibility-first: preserve existing behavior/contracts by default
- Minimal blast radius: keep diffs tight; avoid “cleanup” unrelated to the change
- Contract clarity: human-first output is the default contract;
--jsonis optional - Verification: add/extend tests and run a downstream compat set
Verification Checklist
Before completing any platform/package task:
- [ ] Change type classified (bugfix/additive/behavior change/breaking)
- [ ] No breaking changes unless explicitly approved (and if so: deprecation + migration note)
- [ ] Tests added/updated in the package
- [ ] A downstream compat set was run and passed
- [ ] Default output contracts remain human-first and action-guiding