Commit graph

14 commits

Author SHA1 Message Date
03c00a7f6c Add branch-cleanup task, fix taplo-lint pre-commit hook
Some checks failed
Build / validate (push) Failing after 3s
- mise-tasks/branch-cleanup: delete merged local/remote branches via
  git + Forgejo API (1Password/env/flag token resolution)
- mise.toml: add uv (runs PEP 723 task scripts) and bat (ai-docs output)
- CLAUDE.md: re-point at AGENTS.md
- prek.toml: drop taplo-lint hook. It fetches the remote SchemaStore
  catalog, which the pinned (dormant) taplo CLI can no longer decode and
  which fails in sandboxed CI. check-toml still validates syntax and
  taplo-format still formats.
- .forgejo workflows / .gitea/template / dagger: minor resync

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 06:06:30 -07:00
c46c303236 release.yaml: authenticate the version-resolution API calls
Some checks failed
Build / validate (push) Failing after 6s
The /releases/latest and /releases/tags/X reads were unauthenticated. On
private repos Forgejo returns 404 to unauth'd callers, so the workflow
silently fell back to v0.0.0 as the "previous version" and let a
BUMP_PATCH on top of v1.x.y produce v0.0.1. The duplicate-tag guard had
the same blind spot — it could not detect existing releases at all.

Both reads now send the Authorization header and treat any non-200 /
non-404 response as a hard failure instead of swallowing it.
2026-05-11 10:07:39 -07:00
15744d1cb5 Bump Dagger template pin to v0.20.6
Some checks failed
Build / validate (push) Failing after 18s
Keeps the template in step with the blumeops Dagger engine version.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 08:41:55 -07:00
5bb6051262 Resync template docs
Some checks failed
Build / validate (push) Failing after 3s
2026-04-19 08:19:26 -07:00
bcb6e01e58 Split template build and release workflows
Some checks failed
Build / validate (push) Failing after 3s
2026-04-19 07:59:50 -07:00
d13be54cb4 More CLAUDE.md -> AGENTS.md 2026-04-19 07:49:32 -07:00
b2b97ab8b3 CLAUDE.md -> AGENTS.md and docs-preview 2026-04-19 07:45:41 -07:00
3208f11b18 Fetch job logs via SSH to indri instead of Forgejo web endpoint
Forgejo's web action routes don't support API token auth for private
repos. Read the zstd-compressed log files directly from indri via SSH.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 17:08:59 -07:00
dfbcb72e94 Add runner-logs mise task for Forgejo Actions
Authenticated runner-logs script that lists workflow runs and fetches
job logs. Uses Forgejo API token from 1Password and auto-detects the
repo from git remote.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-18 16:39:26 -07:00
140b3f3e9f Upgrade Dagger from v0.19.11 to v0.20.0
Pin dagger CLI to 0.20.0 in mise.toml (was "latest"), bump engine
version in dagger.json. New .dagger/.gitattributes and .gitignore
generated by v0.20.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 09:32:05 -08:00
c86cdcf335 Add Forgejo template variable expansion for automatic repo customization
Replace hardcoded TODO markers with Forgejo template variables (${REPO_NAME},
${REPO_OWNER}, etc.) so new repos created from this template are auto-customized.
Use Forgejo Actions context variables in build.yaml for dynamic FORGE_URL.
Hardcode forge.eblu.me as the Forgejo instance. Update CLAUDE.md and README.md
to reflect reduced manual setup steps.

Python class names kept as manual TODO (same as directory rename) since template
variables in Python code positions aren't valid syntax for linters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:28:15 -08:00
5c9f06c165 Add README and ensure TODO markers at all template customization points
Adds a README.md describing the template and how to fork it. Adds TODO
comments to Dagger config, Quartz config, and CI workflow where they
were missing. Adds a "First-Time Setup" section to CLAUDE.md that
instructs Claude to proactively suggest resolving TODOs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:25:14 -08:00
78152cdb54 Add .ruff_cache to gitignore 2026-03-03 19:09:53 -08:00
0eba7743a1 Initial scaffold (pre-hook install) 2026-03-03 19:05:51 -08:00