Migration Notes
Older repositories may lack template metadata, generated workflow policy, managed hook blocks, or the release configuration introduced in the current lifecycle.
Recommended Migration
-
Install the current tool.
uv tool install article-cli -
Add template metadata if missing.
[tool.article-cli.template] version = "1" -
Ensure the main document is configured.
[tool.article-cli.documents] main = "main.tex" -
Add release policy.
[tool.article-cli.release] tag_policy = "paper" compile = true check_pdf = true checksum = true bibliography = "off" github_release = false -
Add workflow policy if the repository uses generated GitHub Actions.
[tool.article-cli.workflow] runner_policy = "github" github_runner = "ubuntu-24.04" bibliography = "off" release = "github" artifact_includes = [] -
Run diagnostics and safe repairs.
article-cli doctor article-cli doctor --fix -
Compile and verify version metadata.
article-cli version article-cli compile
Common Changes
createcommand-
article-cli createis retained as a compatibility alias. Usearticle-cli releasein new documentation and scripts. - Inline workflows
-
Generated workflows are now rendered from package Jinja2 templates and record
article-climinimum version and template version. - Repository-owned hooks
-
The repository-owned
hooks/post-commitsource is created when missing. Managed git hook blocks are installed into.git/hookswhile preserving existing shell hook content. - Bibliography files
-
Use
local_references.bibfor manual BibTeX entries that should not be lost when Zotero-managedreferences.bibis refreshed. - Release tags
-
Paper tags such as
v1are accepted by the defaultpaperpolicy. Usesemveronly for repositories that require strictvX.Y.Ztags.