Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)

オープン
#405 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 set is 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.
  • move is likewise a surgical edit, also on an allowlist.
  • The MCP update_element is 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.

  1. Extend the minimal-edit path to structural lists and maps (add, remove and change an entry of features:, connections:, layout:, shapes:, edges:).
  2. Make update_element preserve 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

https://claude.ai/code/session_01ANvoJ7rMK9HUDP1qDdYEnN

主要言語
JavaScript
スター
8
フォーク
1
平均マージ
1時間
マージ済み PR(30日)
83

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sjames/syscribe のほかの issue

sjames/syscribe の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。