Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- javascript, rust, yaml
調査の方向性
Read prompts/help/set.md and inspect the minimal-edit paths for set and move, then compare them with the MCP update_element implementation and syscribe_model::mutate. First clarify with the owner whether the initial scope is structural list and map edits or formatting preservation in update_element, and which fields it covers. Done means the selected path preserves untouched frontmatter formatting while retaining re-validation and the referential-integrity gate; the issue names no tests.
索引モデルが issue の本文から書いたものです。
説明
Feature request (from a VS Code extension with a canvas editor for the model).
Gap. Tools that edit a model need to change features:, connections:, layout:, shapes: and edges: without rewriting the rest of the file.
syscribe setis documented as a line-level edit, byte-preserving for the rest of the file (prompts/help/set.md), and re-serialises the frontmatter only for a list written as a multi-line flow list. It covers only a short allowlist of fields, and the structural ones above are not on it.moveis likewise a surgical edit, also on an allowlist.- The MCP
update_elementis documented as an arbitrary-field merge. Nothing promises it keeps comments, indentation or key order, so it should not be expected to.
So a client that must keep a user's formatting has to edit the frontmatter text itself with its own comment-preserving YAML library, and use the binary only to validate.
Options.
- Extend the minimal-edit path to structural lists and maps (add, remove and change an entry of
features:,connections:,layout:,shapes:,edges:). - Make
update_elementpreserve formatting (comments, quoting, indentation, key order) for the parts of the frontmatter it does not change.
Either lets such a client use the binary's guarded write path (syscribe_model::mutate, with re-validation and the referential-integrity gate) and drop its own YAML handling.
Open question for the owner: which option, and which fields are in scope for the first slice?
🤖 Generated with Claude Code
- 主要言語
- JavaScript
- スター
- 8
- フォーク
- 1
- 平均マージ
- 1時間
- マージ済み PR(30日)
- 83
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sjames/syscribe のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
sjames/syscribe#398 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
sjames/syscribe の issue をすべて見る
似ている issue
-
Add: &TV Logoオープンcheck:passed logos:add
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
-
BUG: Appointment time renders blank and PM appointment slots miscalculate vertical position in CalendarScreen対応中かも @aryanpatil-07 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/BabyNest#297 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Onboarding form: instructor radio never pre-selected "Yes" (permission vs permissions typo)対応中かも @ThakuraAnki が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
WikiEducationFoundation/WikiEduDashboard#7235 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
Component: Frontend Component: Web Component Type: Maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
it-at-m/refarch-templates#1944 ·
メンテナーはふだん 2 日以内に返信