Commit Graph
4 Commits
Author SHA1 Message Date
omar a5dd271588 ci: drop release workflow, switch install URLs to raw/HEAD
Upstream Sync / sync (push) Successful in 13s
Gitea has no /releases/latest/download/<file> shortcut (GitHub-only),
so the URL we wired up last commit served 404. Switch all user-facing
install commands to /raw/HEAD/install.{sh,ps1} -- the HEAD ref resolves
to the default branch (secure-main) without naming it, gives a stable
"always latest" URL, and survives a future branch rename.

With install no longer routed through release assets, the release
workflow becomes dead weight: secure-main is the curated branch (every
merge is manually reviewed), so every commit there is already vetted.
A separate tagged-release step duplicates that gate without adding new
information. Drop .gitea/workflows/release.yml; tag manually if you
ever want an immutable audit checkpoint.

The orphan v1.1.7-secure.1 tag + release is left in place as a
historical snapshot; harmless and can be deleted from the Gitea UI
later if desired.
2026-05-21 03:47:26 +03:00
omar f6ee715478 fix: strip BOM + reverse cp1251 mojibake; migrate URLs to releases/latest/download
Commit 56bc5a7 was authored from a PowerShell session whose console code
page was cp1251 (Cyrillic), so PowerShell read the UTF-8 byte stream of
each touched file as cp1251 and re-saved it as UTF-8 -- adding a leading
EF BB BF BOM and double-encoding every multi-byte character (em-dash,
arrows, CJK). README headings, Chinese/Japanese link labels, and inline
hyphens all turned into vЂ" / в†' / дё-ж–' style mojibake.

Restore the eight affected files (READMEs, docs/clawgod-handbook/*,
*.html) from main's clean blobs, then re-apply the qomar.pw redirect
substitutions on top. Install URLs now point at
git.qomar.pw/omar/clawgod/releases/latest/download/install.{sh,ps1}
instead of /raw/branch/secure-main/... in both the markdown/HTML docs
and the patcher snippet inside install.sh / install.ps1 (the snippet
that rewrites `claude update`).

Note: this assumes a Gitea release pipeline publishes install.sh +
install.ps1 as assets under each tag. Without that, the new URLs 404.
2026-05-21 03:32:41 +03:00
omar 56bc5a79e7 Security: redirect updates to private Gitea fork omar/clawgod 2026-05-21 03:04:23 +03:00
洺熙 0fdd33dd61 docs: add ClawGod Handbook — context governance reference + runnable hooks
Layer 1: Session Rules templates (identity + scene declarations)
Layer 2: Scene Router methodology + runnable hook script
Layer 3: PreToolUse Guard + policy engine reference
End-to-end walkthroughs: CTF, vuln research, code audit, IR
hooks/: Ready-to-use Python scripts with one-line installer
appendix: Audit log schema, integration guide, cross-product compat
2026-05-13 16:08:05 +08:00