You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .specify/memory/constitution.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -622,6 +622,8 @@ jobs:
622
622
- All workflow YAML MUST be valid and pass linting
623
623
- Action scripts MUST be testable and maintainable
624
624
- Inline code in workflows SHOULD be avoided; extract to action scripts
625
+
- **Git credential handling**: Workflows MUST use `persist-credentials: false` for checkout actions to prevent credential leakage
626
+
- **Repository depth**: Workflows SHOULD use `fetch-depth: 0` for full git history when needed for versioning or changelog generation
625
627
626
628
### Documentation
627
629
@@ -641,9 +643,9 @@ jobs:
641
643
- `macos-latest`(macOS)
642
644
- BeforeAll/AfterAll setup and teardown scripts MUST be supported for test environments
643
645
- Test matrices MUST be configurable via repository settings
644
-
- **CI validation workflow** (`.github/workflows/ci.yml`) MUST be maintained for integration testing
645
-
- **Production workflow** (`.github/workflows/workflow.yml`) is the primary consumer-facing workflow
646
-
- Consuming repositories SHOULD use CI workflow for nightly regression testing
646
+
- **CI validation workflows** (`.github/workflows/Workflow-Test-*.yml`) MUST be maintained for integration testing
647
+
- **Unified production workflow** (`.github/workflows/workflow.yml`) is the primary consumer-facing workflow
648
+
- Consuming repositories SHOULD use CI validation workflows for nightly regression testing
647
649
648
650
## Development Workflow
649
651
@@ -690,9 +692,12 @@ The standard execution order for Process-PSModule workflows MUST be:
690
692
691
693
**Workflow Types**:
692
694
693
-
- **Production Workflow** (`.github/workflows/workflow.yml`) - Main workflow for consuming repositories
694
-
- **CI Validation Workflow** (`.github/workflows/ci.yml`) - Integration tests for framework development
695
-
- Consuming repositories use production workflow for releases, CI workflow for nightly validation
695
+
- **Unified Production Workflow** (`.github/workflows/workflow.yml`) - Single workflow handling both CI and CD for consuming repositories
696
+
- Intelligently executes appropriate jobs based on PR state (open/merged/abandoned)
697
+
- Eliminates need for separate CI and release workflows
698
+
- Uses conditional execution to optimize for different scenarios
699
+
- **CI Validation Workflows** (`.github/workflows/Workflow-Test-*.yml`) - Integration tests for framework development
700
+
- Consuming repositories use the unified production workflow for all scenarios
696
701
697
702
### Configuration
698
703
@@ -745,4 +750,4 @@ For agent-specific runtime development guidance **when developing the framework*
745
750
746
751
**For Consuming Repositories**: Follow the Required Module Structure and Workflow Integration Requirements documented in the Product Overview section. Start with [Template-PSModule](https://github.com/PSModule/Template-PSModule).
0 commit comments