Quick lookup guides for SDP commands, configuration, and quality standards.
CLI reference: ../CLI_REFERENCE.md — key sdp commands.
- Commands
- Reality OSS
- Quality Gates
- Configuration
- Pipeline Hooks Security
- Error Handling
- Hydration
- Schema Registry
- Integration Contracts
- Skills
Core Commands:
@feature- Create new feature@design- Plan workstreams@build- Execute workstream@review- Quality review@deploy- Deploy to production@oneshot- Autonomous execution
Utility Commands:
/debug- Systematic debugging@issue- Bug routing@hotfix- Emergency fix (P0)@bugfix- Quality fix (P1/P2)
See: ../CLI_REFERENCE.md — SDP CLI commands
Local single-repo reality baseline for OSS users:
sdp reality emit-osssdp reality validatedocs/specs/reality/OSS-SPEC.mddocs/specs/reality/ARTIFACT-CONTRACT.md
See: reality-oss.md — command surface, outputs, and publish checklist
Every workstream must pass:
- TDD - Tests written before implementation
- Coverage ≥80% - Test coverage threshold
- mypy --strict - Full type hint compliance
- ruff - Code linting
- File Size <200 LOC - Keep code focused
- No Bare Exceptions - Explicit error handling
See: build-spec.md - Complete quality standards
File: quality-gate.toml
[coverage]
minimum = 80
[complexity]
max_cc = 10
[file_size]
max_lines = 200
[type_hints]
strict_mode = trueSee: ../PROTOCOL.md — Protocol and config
Pipeline hooks run executable commands in build/review/ci phases and are validated in fail-closed mode.
- shell metacharacters are rejected
- executables must be allowlisted or repository-local scripts
on_failpolicy controls halt/warn/ignore behavior
See: pipeline-hooks-security.md — secure hook execution rules
Structured errors with:
- Category classification
- Remediation steps
- Documentation links
- Context information
Error Types:
BeadsNotFoundError- Task not foundCoverageTooLowError- Coverage below thresholdQualityGateViolationError- Quality gate failedWorkstreamValidationError- Validation failedConfigurationError- Config invalidDependencyNotFoundError- Dependency missingHookExecutionError- Hook failedTestFailureError- Tests failedBuildValidationError- Build check failedArtifactValidationError- Artifact invalid
See: skills.md — Skill contracts and error handling
- Deterministic pre-build/pre-review context packet generation
- Fail-fast read of required quality-gate source (
AGENTS.md) - Explicit
ERROR:capture for dependency and drift collection failures - Injectable invoker seams for deterministic unit tests
See: context-hydration.md — hydration guarantees and testability contract
- Protocol contracts:
schema/contracts/*.schema.json - CI findings contracts:
schema/findings/*.schema.json - Agent handoff contracts:
schema/handoff-*.schema.json
See: schema-registry.md — schema families and usage map
- Runtime events and decisions:
schema/contracts/*.schema.json - CI findings and examples:
schema/findings/*.schema.json,schema/findings/examples/*.json - Cross-agent handoffs:
schema/handoff-*.schema.json - Evidence provenance (
prompt_hash,context_sources):schema/evidence-envelope.schema.json
See: integration-contracts.md — integration playbook and rollout checklist
Feature Development:
feature- Unified entry pointidea- Requirements gatheringdesign- Workstream planningbuild- Execute workstreamreview- Quality checkdeploy- Production deployment
Utilities:
oneshot- Autonomous executiondebug- Systematic debuggingissue- Bug routinghotfix- Emergency fixbugfix- Quality fix
Internal:
tdd- TDD enforcement (automatic)
See: skills.md — Skill catalog
| Need | Doc |
|---|---|
| Command syntax | ../CLI_REFERENCE.md |
| Reality OSS usage and checklist | reality-oss.md |
| Quality standards | build-spec.md |
| Hook security rules | pipeline-hooks-security.md |
| Schema map | schema-registry.md |
| Contracts usage guide | integration-contracts.md |
| Skill details | skills.md |
| Design workflow | design-spec.md |
| Review workflow | review-spec.md |
Version: SDP v0.9.8 | Updated: 2026-02-26