Framework Extension
Overview
Systematic process for extending the GOSM framework with new procedures, gates, or capabilities.
Steps
Step 1: Gap Analysis
Search existing library for similar functionality:
- Check INDEX.md for related procedures/gates
- Search procedures/ directory for similar names
- Review PROCEDURE_CONSOLIDATION.md for cluster overlap
- Confirm this is genuinely new vs. enhancement of existing
Step 2: Specification
Define the extension precisely:
- Write purpose statement (1-2 sentences)
- List inputs and outputs
- Define 3-5 core steps
- Identify integration points with existing framework
Step 3: Template Selection
Choose appropriate template:
- Procedure: templates/procedure_template.yaml
- Gate: gates/core/requirement_verification_gates.yaml (as example)
- Domain handler: procedures/goal_approach_selections/ (as examples)
Step 4: Implementation
Create the artifact following template:
- Copy template to appropriate directory
- Fill in all BRONZE fields (required)
- Fill in SILVER fields (recommended)
- Add at least one example
Step 5: Schema Validation
Validate against procedure_schema.yaml:
- Check all required fields present
- Verify tier requirements met (Bronze minimum)
- Confirm naming conventions followed
Step 6: Integration Test
Test integration with framework:
- Reference from a test project STATE.md
- Verify procedure can be invoked
- Check outputs match specification
- Confirm no conflicts with existing procedures
Step 7: Index Update
Update library indexes:
- Add entry to INDEX.md in appropriate section
- Update PROCEDURE_CONSOLIDATION.md if applicable
- Add to EXTRACTED_PROCEDURES_INDEX.md if in extracted/
Step 8: Documentation
Ensure discoverability:
- Write clear description field
- Add tags for searchability
- Link related_procedures
- Update any dependent documentation
When to Use
- Adding a new procedure to the library
- Creating new gates or gate categories
- Extending GOSM capabilities (e.g., new goal approach selections)
- Improving existing framework components
Verification
- New YAML file exists in correct directory
- INDEX.md contains new entry
- Schema validation passes
- At least one example provided