5 Commits

Author SHA1 Message Date
87236b57d2 Merge PR #192: chore(ci): mirror with --prune so GitHub branch deletes propagate
All checks were successful
CI / frontend (push) Successful in 6m50s
Mirror to GitHub / mirror (push) Successful in 7s
CI / e2e (push) Successful in 10m24s
CI / backend (push) Successful in 11m50s
2026-05-29 18:21:29 +00:00
0c5bd9734f Merge PR #191: docs: L1 Phase 2A design/plan + plan-taxonomy decision
All checks were successful
CI / frontend (push) Successful in 7m1s
Mirror to GitHub / mirror (push) Successful in 4s
CI / backend (push) Successful in 11m31s
CI / e2e (push) Successful in 9m30s
2026-05-29 17:36:42 +00:00
d5d4405ac2 fix(ci): mirror — push refs/heads + refs/tags, not all refs
All checks were successful
Mirror to GitHub / mirror (push) Successful in 6s
CI / frontend (pull_request) Successful in 6m59s
CI / backend (pull_request) Successful in 11m37s
CI / e2e (pull_request) Successful in 9m56s
`git push --mirror` pushes everything under refs/* including refs/pull/*,
which GitHub rejects with "deny updating a hidden ref" — GitHub manages
its own refs/pull/N/head namespace and won't let outside pushers touch it.

Switching to `--all --prune --force` + `--tags --prune --force` scopes the
push to refs/heads/* and refs/tags/* only (same as the original lines)
while keeping --prune so branch/tag deletions still propagate.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 13:34:22 -04:00
16a07e1682 chore: gitignore .mcp.json
Some checks failed
Mirror to GitHub / mirror (push) Failing after 6s
CI / frontend (pull_request) Successful in 7m5s
CI / backend (pull_request) Successful in 12m56s
CI / e2e (pull_request) Successful in 10m3s
`.mcp.json` is per-machine MCP server config (e.g. the GitHub MCP block
added during today's session). It references local env vars for auth
rather than embedding secrets, but the file itself is workstation-specific
— what servers a contributor connects depends on which MCPs they've set
up locally.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 13:29:19 -04:00
84dc9b07bf chore(ci): mirror to GitHub with --mirror so deletes propagate
Some checks failed
Mirror to GitHub / mirror (push) Failing after 5s
CI / frontend (pull_request) Successful in 6m55s
CI / e2e (pull_request) Successful in 10m28s
CI / backend (pull_request) Successful in 12m57s
Today's cleanup surfaced 14 branches that existed on GitHub but had
been deleted on Gitea — the previous `--all --force` + `--tags --force`
pair pushes refs but never deletes missing ones, so the mirror drifted
over time.

Switching to `git push --mirror` (equivalent to --all --tags --prune
--force) makes the GitHub side a true reflection of Gitea: branch and
tag deletes propagate automatically.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 13:24:31 -04:00
2 changed files with 8 additions and 2 deletions

View File

@@ -15,5 +15,8 @@ jobs:
git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo
cd repo
git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }}
git push github --all --force
git push github --tags --force
# --all + --tags scopes the push to refs/heads/* and refs/tags/*,
# avoiding refs/pull/* (which GitHub refuses with "deny updating a
# hidden ref"). --prune makes deletions on the Gitea side propagate.
git push github --all --prune --force
git push github --tags --prune --force

3
.gitignore vendored
View File

@@ -249,3 +249,6 @@ graphify-out/
# remember skill runtime state (hook logs, PIDs)
.remember/
# MCP server config (per-machine, references local env vars for auth)
.mcp.json