Generators as plugins with drift checking: interface stubs and ARXML from the model
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, rust
Línea de trabajo
Read issue #363 item 12 and the existing build-config, export-sysml, and structured export entry points to understand the current model outputs. Then review the import plugin contract and symbol drift check referenced as A. Done means a documented generator contract and manifest schema, plus one reference generator whose --check fails when a model operation changes and generated output is stale.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of #363 (item 12). Largest payoff, largest cost.
Current state
build-config generates build-system artifacts from a Configuration; export-sysml and the structured export give the model graph. Nothing generates interface stubs, glue or ARXML.
Proposal
- A generator contract, symmetric to import plugins:
syscribe generate <alias> [--config C] [--out <dir>]runs[generators.<alias>](a subprocess reading the structured model JSON on stdin, writing files and a manifest), so generators live outside the core. - Drift check. The manifest records, per generated file, the hash of the model elements it came from and the hash of the content;
generate --checkandvalidatereport a generated file edited by hand or a model change not reflected in the output (traceBaselines:-style). - Reference generators (examples): interface stubs for AIDL or C++ from
operations:; ARXML from ports and interfaces. - Ownership rule: the model is the source of truth for the interface, the code for the implementation; generated files are marked and never hand-edited (a
// GENERATEDheader with the element ids).
Acceptance
- One reference generator with
--checkthat fails when a model operation changes and the output is stale. - The contract is documented with the manifest schema.
Risks
Round-tripping (code edits that should flow back) is out of scope; the import plugins plus the symbol drift check (A) cover the reverse direction.
Part of #272 (executable MBSE / software design).
Generated by Claude Code
- Lenguaje dominante
- Rust
- Estrellas
- 8
- Forks
- 1
- Merge medio
- 3 h 35 min
- PR fusionados (30 d)
- 69
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sjames/syscribe
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
sjames/syscribe#411 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Format-preserving writes for structural frontmatter (features, connections, layout, shapes, edges)Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
sjames/syscribe#405 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de sjames/syscribe
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
antiguru/interrexx#213 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug CLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
HigherOrderCO/Bend#2120 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
KNXBench-Labs/KNXBench#47 ·