Files
Charon/docs/plans/current_spec.md
GitHub Actions 6c99372c52 fix(ci): add workflow orchestration for supply chain verification
Resolves issue where supply-chain-verify.yml ran before docker-build.yml
completed, causing verification to skip on PRs because Docker image
didn't exist yet.

**Root Cause:**
Both workflows triggered independently on PR events with no dependency,
running concurrently instead of sequentially.

**Solution:**
Add workflow_run trigger to supply-chain-verify that waits for
docker-build to complete successfully before running.

**Changes:**
- Remove pull_request trigger from supply-chain-verify.yml
- Add workflow_run trigger for "Docker Build, Publish & Test"
- Add job conditional checking workflow_run.conclusion == 'success'
- Update tag determination to handle workflow_run context
- Extract PR number from workflow_run metadata
- Update PR comment logic for workflow_run events
- Add debug logging for workflow_run context
- Document workflow_run depth limitation

**Behavior:**
- PRs: docker-build → supply-chain-verify (sequential)
- Push to main: docker-build → supply-chain-verify (sequential)
- Failed builds: verification skipped (correct behavior)
- Manual triggers: preserved via workflow_dispatch
- Scheduled runs: preserved for weekly scans

**Security:**
- Workflow security validated: LOW risk
- workflow_run runs in default branch context (prevents privilege escalation)
- No secret exposure in logs or comments
- Proper input sanitization for workflow metadata
- YAML validation passed
- Pre-commit hooks passed

**Testing:**
- YAML syntax validated
- All references verified correct
- Regression testing completed (no breaking changes)
- Debug instrumentation added for validation

**Documentation:**
- Implementation summary created
- QA report with security audit
- Plan archived for reference
- Testing guidelines provided

Related: #461 (PR where issue was discovered)
Resolves: Supply chain verification skipping on PRs

Co-authored-by: GitHub Copilot <copilot@github.com>
2026-01-11 00:59:10 +00:00

2.4 KiB

Current Specification

Status: Ready for Next Project Last Updated: 2026-01-11 Active Projects: None


Active Projects

No active projects at this time. See "Recently Completed" below for the most recent work.


Recently Completed

Workflow Orchestration Fix (2026-01-11)

Successfully fixed workflow orchestration issue where supply-chain-verify was running before docker-build completed, causing verification to skip on PRs.

Documentation:

Status: Complete - Deployed to production


Grype SBOM Remediation (2026-01-10)

Successfully resolved CI/CD failures in the Supply Chain Verification workflow caused by Grype SBOM format mismatch.

Documentation:

Status: Complete - Deployed to production


Guidelines for Creating New Specs

When starting a new project, create a detailed specification in this file following the Spec-Driven Workflow v1 format.

Required Sections

  1. Problem Statement - What issue are we solving?
  2. Root Cause Analysis - Why does the problem exist?
  3. Solution Design - How will we solve it?
  4. Implementation Plan - Step-by-step tasks
  5. Testing Strategy - How will we validate success?
  6. Success Criteria - What defines "done"?

Archiving Completed Specs

When a specification is complete:

  1. Create implementation summary in docs/implementation/
  2. Move spec to docs/plans/archive/ with timestamp
  3. Update this file with completion notice

Archive Location

Completed and archived specifications can be found in:


Note: This file should only contain ONE active specification at a time. Archive completed work before starting new projects.