Implement an SPF feature
Read references/workflow.md completely before acting; it contains the detailed disambiguation, planning, implementation, testing, and registry-update workflow.
Treat the feature entry as planning input. Reconcile it with code, tests, conventions, and requested scope before editing.
- Read the entry, related features, implementation, tests, and applicable SPF conventions.
- List contradictions, open decisions, and out-of-scope capability.
- Define the smallest end-to-end increment with observable value and split it into testable state, behavior, composition, adapter, and documentation chunks.
- For each chunk, add or update a failing test, implement the minimum at the correct ownership layer, and run the narrow target.
- Run cumulative SPF tests, build, and size checks proportional to impact.
- Collapse the feature record to final decisions, remaining scope, and current source pointers.
Report implemented and deferred scope, test evidence, record updates, and remaining risks. Do not claim completion for a prerequisite or partial increment.
Example
Input: “Implement the smallest useful increment of timeline discontinuity support.”
Output: The smallest end-to-end capability, test evidence, proportional checks, updated feature status, and explicit deferred scope.
1---2name: implement-spf-feature3description: Implement an SPF feature from its registry entry. Use when an engine capability spans behaviors and requires tests plus status updates.4---56# Implement an SPF feature78Read `references/workflow.md` completely before acting; it contains the detailed disambiguation, planning, implementation, testing, and registry-update workflow.910Treat the feature entry as planning input. Reconcile it with code, tests, conventions, and requested scope before editing.11121. Read the entry, related features, implementation, tests, and applicable SPF conventions.132. List contradictions, open decisions, and out-of-scope capability.143. Define the smallest end-to-end increment with observable value and split it into testable state, behavior, composition, adapter, and documentation chunks.154. For each chunk, add or update a failing test, implement the minimum at the correct ownership layer, and run the narrow target.165. Run cumulative SPF tests, build, and size checks proportional to impact.176. Collapse the feature record to final decisions, remaining scope, and current source pointers.1819Report implemented and deferred scope, test evidence, record updates, and remaining risks. Do not claim completion for a prerequisite or partial increment.2021## Example2223Input: “Implement the smallest useful increment of timeline discontinuity support.”2425Output: The smallest end-to-end capability, test evidence, proportional checks, updated feature status, and explicit deferred scope.