refactor: Replace generator with enhanced version
Some checks are pending
Auto Changelog / changelog (push) Waiting to run
Coherence Check / coherence-check (push) Waiting to run
Coherence Check / coherence (push) Waiting to run
Security Scan / security (push) Waiting to run
Semantic Versioning / version (push) Waiting to run

- Extracts full frontmatter metadata (originalDate, notion_*, authors, source)
- Correct date priority: frontmatter → filename → mtime → ctime
- All metadata exposed in index.json for frontend use

Phase 1 quick win complete.
This commit is contained in:
Solaria Lumis Havens 2026-02-14 14:45:51 +00:00
parent 87cfa7e083
commit d0cf2e3061
26 changed files with 2621 additions and 299 deletions

69
.github/workflows/versioning.yml vendored Normal file
View file

@ -0,0 +1,69 @@
name: Semantic Versioning
on:
push:
branches: [main]
workflow_dispatch:
inputs:
version_type:
description: 'Version bump type'
required: true
default: 'patch'
type: choice
options:
- major
- minor
- patch
jobs:
version:
runs-on: ubuntu-latest
outputs:
new_version: ${{ steps.version.outputs.new_version }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Get current version
id: current-version
run: |
git describe --tags --abbrev=0 2>/dev/null || echo "v0.0.0" > VERSION
echo "Current: $(cat VERSION)"
- name: Bump version
id: version
run: |
TYPE=${${{ github.event.inputs.version_type || 'patch' }} || TYPE="patch"
echo "Bumping $TYPE version..."
# Simple version bump (can be enhanced with git-semver)
echo "v1.0.0" > VERSION
echo "new_version=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Create tag
run: |
git config user.email "solaria@thefoldwithin.earth"
git config user.name "Solaria Lumis Havens"
git tag -a "$(cat VERSION)" -m "Version $(cat VERSION)"
git push origin "$(cat VERSION)" || echo "Tag may already exist"
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v$(cat VERSION)
release_name: Release v$(cat VERSION)
body: |
## Coherence Update
This release captures the ongoing evolution of The Fold Within.
## Changes
- Fieldnotes updated
- Coherence maintained
draft: false
prerelease: false