Skip to content

v0.5.1

Choose a tag to compare

@JHSeo-git JHSeo-git released this 11 Sep 00:00
· 20 commits to main since this release
  • Upstream sync: bump pin 64903f9 → 3bc038d (upstream v0.5.1). A patch release, and only two of its twenty-two commits touch mapped paths. Every prompt source and every lifecycle module this port maps is byte-identical to 0.5.0 — checked file by file rather than inferred from the commit list. Out of scope: the broad dependency modernization (#810/#783/#808/#784), .env value unescaping (#794), both visualizer fixes (#796/#806), the debug diagnostics stack panel (#832), openai-compatible stream chunks and top-level model-request rendering (#817/#846 — provider and stream plumbing this port has no runtime for), MCP connector env resolution (#838), the release-workflow fix (#851), upstream's own wiki updates (#798/#805/#814/#816/#825/#843), and the version-packages chore (#852).

  • A CLAUDE.md that only imports AGENTS.md is now left alone upstream too, and this port's rule narrows to match (#841) — skills/openwiki/SKILL.md Step 0. This port has carried an [adapted] exception here since before upstream had an opinion: a CLAUDE.md that pulls in AGENTS.md needs no OpenWiki pointer block, because the import already does the pointer's job. Upstream now agrees, with a stricter condition — the file's entire trimmed content must be exactly @AGENTS.md, and then it is not written at all, not even to normalize a trailing newline. So the port drops its broader "an @AGENTS.md line anywhere counts" reading and follows upstream: a CLAUDE.md carrying the import plus other content gets the managed pointer block appended like any other file. That is a real behavior change for exactly one shape of file, and it is the right trade — the block is marker-managed and idempotent, so the redundancy costs nothing, while divergence would cost byte-identical setup against the native CLI. (The narrow case is not hypothetical: this repository's own CLAUDE.md is that one line.)

  • Upstream's auto-merge CI recipe is ported, with the one gate it needs here and does not need there (#842) — references/automation.md §3. Upstream added a second GitHub Actions example that requests GitHub auto-merge on the docs PR after a successful run, plus the README setup prose that makes it safe (allow auto-merge, protect the branch, and a dedicated OPENWIKI_PR_TOKEN — because a PR opened with the default GITHUB_TOKEN does not start most pull_request workflows, so the checks meant to gate the merge may never run). All of that is ported. The adaptation is the gate, and checking upstream's exit path turned it from a port workaround into a real fix: upstream arms auto-merge on the job's outcome, which catches a hard failure but not a finalized partial run — a skipped page or mid-run source drift finishes the run, so openwiki code --update exits 0 while writing status: "interrupted" into its own metadata, because the CLI maps a successful run straight to exit 0 and never reads that status back. claude -p does the same. So the hole is upstream's too, not this port's, and unattended it means a partial wiki merges itself while its rewound gitHead silently becomes the baseline. So the port's recipe reads the real signal SKILL.md Step 6 writes, openwiki/.last-update.json's status, and arms auto-merge only for a run that finished what it planned; anything it cannot read counts as not-complete, and the disable arm is widened to clear a pending auto-merge on a partial run. Two smaller deltas are recorded in place: upstream's Exclude workflow changes step has nothing to do here (this port never writes CI files and add-paths already excludes them — and auto-merging an executable workflow file is precisely what an unattended job must not do), and upstream's own two examples disagree on the create-pull-request pin, which the port mirrors rather than silently unifying.

  • The pin is deliberately the tag, not upstream HEAD, and one pending commit is worth knowing about: cf0700f (#777) replaces the CLAUDE.md block's See [AGENTS.md](AGENTS.md) link with an @AGENTS.md import, having found that Claude Code expands only its own @path syntax — so the pointer upstream has shipped since 0.3.3 reached Codex and never reached the host it was written for. It lands in the next release and UPSTREAM.md's next-sync note carries the details, including why it does not collide with #841.