Skip to content

v0.7.70

Choose a tag to compare

@qiansc qiansc released this 14 Oct 13:00
· 41 commits to main since this release
0bf4b08

v0.7.70

Knowledge production

  • Revising an existing article no longer fails because its old citations are outside the new task's sources. A fragment that omits references keeps its validated citations; listing references re-confirms them against the task's authorized sources. Only candidate or approved citations are trusted, never a failed draft's.
  • Revision tasks come with an edits.yaml skeleton that lists the existing fragment IDs. A complete draft written before the skeleton appeared is still submitted as a whole article.
  • Plan amendments accept an article path in after, resolve it to the current task, and reject replaced or excluded tasks with a list of candidates. When a replacement keeps the same editing base, its draft is carried to the new task. Sources already authorized and cited by the revised article are added to its task. A plan without stage is rejected with an example.
  • A citation can be located by heading (Markdown files) or by an exact quote instead of line numbers. The CLI resolves it to lines and echoes the result in resolved_references; stored locators are still line ranges.

Website translations

  • translate prepare is incremental: it reports changed sections, titles and surrounding text; writes drafts that keep unchanged translations; and writes a submission file. A draft edited against an older source must be reconciled and confirmed with source_digest. A draft without a generation record is set aside as *.unrecorded.md. Existing translations gain source_parts baselines once, without changing reader text.
  • Translations may translate prose in text, txt, and plaintext code blocks while preserving commands, paths, placeholders, block counts, and language markers. Other code blocks remain unchanged; Mermaid labels can still be translated.

Knowledge websites

  • On multilingual websites, in-page and cross-page anchors keep the reader's language and scroll to the matching heading, including repeated clicks and back/forward navigation.

Published packages

  • @c4a/core@0.7.70
  • @c4a/context@0.7.70
  • @c4a/extract@0.7.70
  • @c4a/extract-ts@0.7.70
  • @c4a/extract-go@0.7.70
  • @c4a/extract-rush@0.7.70
  • @c4a/extract-thrift@0.7.70
  • @c4a/extract-proto@0.7.70
  • @c4a/extract-mdx@0.7.70
  • @c4a/extract-contract@0.7.70
  • @c4a/extract-style@0.7.70
  • @c4a/extract-sql@0.7.70
  • @c4a/context-cli@0.7.70