Skip to content

AGENTS.md: upstream sync steps; clear scripts.json unmerged error - #46

Merged
noelrohi merged 1 commit into
Skuafrom
agents/sync-guardrails
Nov 23, 2026
Merged

noelrohi merged 1 commit into
Skuafrom
agents/sync-guardrails

Conversation

@noelrohi

Copy link
Copy Markdown
Owner

Summary

 AGENTS.md
+## Pull requests      # target noelrohi/Scripts; auqw/Scripts gets none
+## Upstream sync      # merge --no-ff, fork wins on its deliberate changes,
+                      # scripts.json regen recipe, checks, title, merge commit
 Tools/ForDevelopers/scripts_json.py
 staged_entries()
+  if scripts.json is unmerged: exit with "git checkout --ours ... && git add ..."
   git show :scripts.json

The #45 sync opened its PR on upstream by mistake (auqw#210, closed), and crashed once on sync --all mid-merge.

Evidence

  • Before: sync --all during a scripts.json conflict → CalledProcessError: git show :scripts.json ... exit status 128
    After: scripts.json is unmerged. Pick a side and stage it, then sync again: ... (exit 1); following it, check → matches all 1958 Scripts.
  • scripts_json_test.sh all ok; scripts_json.py check passes.

Merge Danger

Door: two-way

Blast Radius: tiny

Dev tooling and agent docs only; no Script changes.

🤖 Generated with Claude Code

PRs target noelrohi/Scripts, never upstream. The sync recipe from #40/#42
now lives in AGENTS.md. scripts_json.py sync exits with the fix instead of
a CalledProcessError when scripts.json is still unmerged.
@noelrohi
noelrohi merged commit 9e8a2eb into Skua Nov 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant