Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Build and Publish Artifacts

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
release:
name: Build and Publish Release Artifacts
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build

- name: Build package distribution artifacts
run: python -m build

- name: Create Release and Upload Artifacts
uses: softprops/action-gh-release@v2
with:
files: |
dist/*.whl
dist/*.tar.gz
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
# Makefile for Architecture Governance Toolkit

.PHONY: help build-analysis-image run-analysis adr-new artifacts-dir
.PHONY: help build build-analysis-image run-analysis adr-new artifacts-dir sbom hotspots ownership drift risk full-analysis clean

ANALYSIS_IMAGE=analysis:local
ARTIFACTS_DIR=artifacts

help:
@echo "Architecture Governance Toolkit - Available Commands:"
@echo ""
@echo " make build - Build Python wheel and sdist package artifacts"
@echo " make artifacts-dir - Create artifacts directory"
@echo " make build-analysis-image - Build Docker analysis image"
@echo " make run-analysis - Run analysis in Docker"
@echo " make adr-new TITLE='...' - Create new ADR"
@echo " make clean - Remove artifacts directory"
@echo ""

build:
python3 -m build

artifacts-dir:
mkdir -p $(ARTIFACTS_DIR)/sbom $(ARTIFACTS_DIR)/timeseries

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,14 @@ Optional for extended features:
- Trivy and/or Semgrep for security scanning
- Syft for SBOM generation

### One-Command Validation

To validate the repository, execute the unit test suite and run the full governance analysis pipeline in a single command:

```bash
python3 -m pytest && make full-analysis
```

### Option 1: Run Directly

```bash
Expand Down
14 changes: 12 additions & 2 deletions seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,30 @@ metadata:
implementation_status: ACTIVE
tier: standard
promotion_status: CANDIDATE
last_validated: "2026-02-12"
last_validated: "2026-04-14"
generated: "2026-02-17"
sprint: "SENSORIA"
language: python
validation_command: "python3 -m pytest && make full-analysis"
publication_target: "github_release"
release_url: "https://github.com/organvm-iv-taxis/reverse-engine-recursive-run/releases"
build_artifact: "dist/reverse_engine_recursive_run-0.1.0-py3-none-any.whl"

agents:
- name: ci
trigger: on_push
workflow: .github/workflows/ci-python.yml
workflow: .github/workflows/ci.yml
description: "Continuous integration pipeline"
- name: release
trigger: on_tag
workflow: .github/workflows/release.yml
description: "Release build and artifact publication pipeline"

produces:
- type: theory
description: "Epistemological frameworks, recursive engines, ontological systems"
- type: release_artifact
description: "Python wheel and sdist package distributions attached to GitHub releases"

consumes: []

Expand Down
Loading