Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, rust, yaml
- Ambito
- developer-experience, tooling
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 8
- Fork
- 1
- Merge medio
- 1h
- PR unite (30g)
- 83
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sjames/syscribe
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
sjames/syscribe#398 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sjames/syscribe
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Fei2411/DeepSeek-Bot#634 ·
-
beginner-friendly category:sarif community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
Berserk-hub150/skillhawk#244 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni
-
enhancement javascript python
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
jlab-sensing/ENTS-backend#851 ·
I maintainer di solito rispondono entro 2 giorni
-
Pin GitHub Actions to Ubuntu 26.04Forse già presa @krusty93 l’ha presa oggi. Apertachore infra:workflow-automation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
guilhermerodz/input-otp#157 · 1 commento ·