@driftsys/markspec 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -20
- package/esm/ast/build.d.ts +60 -0
- package/esm/ast/build.d.ts.map +1 -0
- package/esm/ast/build.js +516 -0
- package/esm/ast/equivalence.d.ts +18 -0
- package/esm/ast/equivalence.d.ts.map +1 -0
- package/esm/ast/equivalence.js +56 -0
- package/esm/ast/nodes.d.ts +189 -0
- package/esm/ast/nodes.d.ts.map +1 -0
- package/esm/ast/nodes.js +17 -0
- package/esm/ast/normalize.d.ts +58 -0
- package/esm/ast/normalize.d.ts.map +1 -0
- package/esm/ast/normalize.js +197 -0
- package/esm/ast/render.d.ts +34 -0
- package/esm/ast/render.d.ts.map +1 -0
- package/esm/ast/render.js +215 -0
- package/esm/compiler/constants.d.ts +16 -0
- package/esm/compiler/constants.d.ts.map +1 -0
- package/esm/compiler/constants.js +26 -0
- package/esm/compiler/discipline_classifier.d.ts +55 -0
- package/esm/compiler/discipline_classifier.d.ts.map +1 -0
- package/esm/compiler/discipline_classifier.js +191 -0
- package/esm/compiler/inverses.d.ts +2 -1
- package/esm/compiler/inverses.d.ts.map +1 -1
- package/esm/compiler/inverses.js +33 -14
- package/esm/compiler/manifest.d.ts +59 -0
- package/esm/compiler/manifest.d.ts.map +1 -0
- package/esm/compiler/manifest.js +48 -0
- package/esm/compiler/mod.d.ts +38 -1
- package/esm/compiler/mod.d.ts.map +1 -1
- package/esm/compiler/mod.js +202 -50
- package/esm/compiler/ndjson_writer.d.ts +50 -0
- package/esm/compiler/ndjson_writer.d.ts.map +1 -0
- package/esm/compiler/ndjson_writer.js +73 -0
- package/esm/compiler/schema.d.ts +33 -1
- package/esm/compiler/schema.d.ts.map +1 -1
- package/esm/compiler/schema.js +30 -9
- package/esm/config/markspec.d.ts +5 -0
- package/esm/config/markspec.d.ts.map +1 -1
- package/esm/config/markspec.js +17 -2
- package/esm/config/mod.d.ts.map +1 -1
- package/esm/config/mod.js +54 -0
- package/esm/formatter/mod.d.ts +55 -4
- package/esm/formatter/mod.d.ts.map +1 -1
- package/esm/formatter/mod.js +423 -46
- package/esm/formatter/synth_ulid.d.ts +21 -0
- package/esm/formatter/synth_ulid.d.ts.map +1 -0
- package/esm/formatter/synth_ulid.js +64 -0
- package/esm/lexicons/loader.d.ts +35 -0
- package/esm/lexicons/loader.d.ts.map +1 -0
- package/esm/lexicons/loader.js +51 -0
- package/esm/lexicons/mod.d.ts +13 -0
- package/esm/lexicons/mod.d.ts.map +1 -0
- package/esm/lexicons/mod.js +12 -0
- package/esm/lint/glossary.d.ts +45 -0
- package/esm/lint/glossary.d.ts.map +1 -0
- package/esm/lint/glossary.js +85 -0
- package/esm/lint/mod.d.ts +14 -0
- package/esm/lint/mod.d.ts.map +1 -0
- package/esm/lint/mod.js +9 -0
- package/esm/lint/range_util.d.ts +25 -0
- package/esm/lint/range_util.d.ts.map +1 -0
- package/esm/lint/range_util.js +50 -0
- package/esm/lint/rules/ears.d.ts +39 -0
- package/esm/lint/rules/ears.d.ts.map +1 -0
- package/esm/lint/rules/ears.js +316 -0
- package/esm/lint/rules/incose_sentence.d.ts +46 -0
- package/esm/lint/rules/incose_sentence.d.ts.map +1 -0
- package/esm/lint/rules/incose_sentence.js +417 -0
- package/esm/lint/rules/lexicon.d.ts +24 -0
- package/esm/lint/rules/lexicon.d.ts.map +1 -0
- package/esm/lint/rules/lexicon.js +236 -0
- package/esm/lint/rules/modal_sentence.d.ts +46 -0
- package/esm/lint/rules/modal_sentence.d.ts.map +1 -0
- package/esm/lint/rules/modal_sentence.js +146 -0
- package/esm/lint/rules/passive.d.ts +64 -0
- package/esm/lint/rules/passive.d.ts.map +1 -0
- package/esm/lint/rules/passive.js +282 -0
- package/esm/lint/rules/struct.d.ts +17 -0
- package/esm/lint/rules/struct.d.ts.map +1 -0
- package/esm/lint/rules/struct.js +55 -0
- package/esm/lint/rules/suppression.d.ts +54 -0
- package/esm/lint/rules/suppression.d.ts.map +1 -0
- package/esm/lint/rules/suppression.js +129 -0
- package/esm/lint/rules/xref.d.ts +19 -0
- package/esm/lint/rules/xref.d.ts.map +1 -0
- package/esm/lint/rules/xref.js +248 -0
- package/esm/lint/runner.d.ts +59 -0
- package/esm/lint/runner.d.ts.map +1 -0
- package/esm/lint/runner.js +153 -0
- package/esm/lint/score.d.ts +64 -0
- package/esm/lint/score.d.ts.map +1 -0
- package/esm/lint/score.js +163 -0
- package/esm/lint/segmenter.d.ts +32 -0
- package/esm/lint/segmenter.d.ts.map +1 -0
- package/esm/lint/segmenter.js +79 -0
- package/esm/lint/types.d.ts +31 -0
- package/esm/lint/types.d.ts.map +1 -0
- package/esm/lint/types.js +9 -0
- package/esm/lock/canonical_edges.d.ts +31 -0
- package/esm/lock/canonical_edges.d.ts.map +1 -0
- package/esm/lock/canonical_edges.js +57 -0
- package/esm/lock/check.d.ts +24 -0
- package/esm/lock/check.d.ts.map +1 -0
- package/esm/lock/check.js +127 -0
- package/esm/lock/hash.d.ts +12 -0
- package/esm/lock/hash.d.ts.map +1 -0
- package/esm/lock/hash.js +32 -0
- package/esm/lock/mod.d.ts +19 -0
- package/esm/lock/mod.d.ts.map +1 -0
- package/esm/lock/mod.js +14 -0
- package/esm/lock/model.d.ts +81 -0
- package/esm/lock/model.d.ts.map +1 -0
- package/esm/lock/model.js +7 -0
- package/esm/lock/parser.d.ts +26 -0
- package/esm/lock/parser.d.ts.map +1 -0
- package/esm/lock/parser.js +195 -0
- package/esm/lock/resolve.d.ts +142 -0
- package/esm/lock/resolve.d.ts.map +1 -0
- package/esm/lock/resolve.js +389 -0
- package/esm/lock/serializer.d.ts +14 -0
- package/esm/lock/serializer.d.ts.map +1 -0
- package/esm/lock/serializer.js +104 -0
- package/esm/mod.d.ts +28 -8
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +23 -4
- package/esm/model/attributes.d.ts +6 -0
- package/esm/model/attributes.d.ts.map +1 -1
- package/esm/model/attributes.js +200 -2
- package/esm/model/discipline.d.ts +53 -0
- package/esm/model/discipline.d.ts.map +1 -0
- package/esm/model/discipline.js +50 -0
- package/esm/model/discriminating_attr.d.ts +33 -0
- package/esm/model/discriminating_attr.d.ts.map +1 -0
- package/esm/model/discriminating_attr.js +74 -0
- package/esm/model/mod.d.ts +267 -14
- package/esm/model/mod.d.ts.map +1 -1
- package/esm/model/mod.js +99 -3
- package/esm/model/profile.d.ts +102 -27
- package/esm/model/profile.d.ts.map +1 -1
- package/esm/model/source_introspection.d.ts +26 -0
- package/esm/model/source_introspection.d.ts.map +1 -0
- package/esm/model/source_introspection.js +77 -0
- package/esm/model/type_hierarchy.d.ts +51 -0
- package/esm/model/type_hierarchy.d.ts.map +1 -0
- package/esm/model/type_hierarchy.js +126 -0
- package/esm/model/uri_scheme_map.d.ts +21 -0
- package/esm/model/uri_scheme_map.d.ts.map +1 -0
- package/esm/model/uri_scheme_map.js +66 -0
- package/esm/parser/attributes.d.ts.map +1 -1
- package/esm/parser/attributes.js +10 -16
- package/esm/parser/body_tokens.d.ts +35 -0
- package/esm/parser/body_tokens.d.ts.map +1 -0
- package/esm/parser/body_tokens.js +232 -0
- package/esm/parser/glossary.d.ts +51 -0
- package/esm/parser/glossary.d.ts.map +1 -0
- package/esm/parser/glossary.js +219 -0
- package/esm/parser/grammars.d.ts +5 -3
- package/esm/parser/grammars.d.ts.map +1 -1
- package/esm/parser/grammars.js +12 -4
- package/esm/parser/language_spec.d.ts +55 -0
- package/esm/parser/language_spec.d.ts.map +1 -0
- package/esm/parser/language_spec.js +419 -0
- package/esm/parser/line_map.d.ts +60 -0
- package/esm/parser/line_map.d.ts.map +1 -0
- package/esm/parser/line_map.js +41 -0
- package/esm/parser/markdown.d.ts +9 -0
- package/esm/parser/markdown.d.ts.map +1 -1
- package/esm/parser/markdown.js +317 -25
- package/esm/parser/mod.d.ts +5 -0
- package/esm/parser/mod.d.ts.map +1 -1
- package/esm/parser/mod.js +31 -8
- package/esm/parser/source.d.ts +53 -2
- package/esm/parser/source.d.ts.map +1 -1
- package/esm/parser/source.js +158 -68
- package/esm/parser/translate.d.ts +24 -0
- package/esm/parser/translate.d.ts.map +1 -0
- package/esm/parser/translate.js +99 -0
- package/esm/profile/chain.d.ts +8 -0
- package/esm/profile/chain.d.ts.map +1 -1
- package/esm/profile/chain.js +32 -14
- package/esm/profile/colors.js +1 -1
- package/esm/profile/default_profile.d.ts +25 -0
- package/esm/profile/default_profile.d.ts.map +1 -0
- package/esm/profile/default_profile.js +43 -0
- package/esm/profile/discipline_mode.d.ts +64 -0
- package/esm/profile/discipline_mode.d.ts.map +1 -0
- package/esm/profile/discipline_mode.js +133 -0
- package/esm/profile/discipline_registry.d.ts +41 -0
- package/esm/profile/discipline_registry.d.ts.map +1 -0
- package/esm/profile/discipline_registry.js +67 -0
- package/esm/profile/introspect.d.ts +135 -0
- package/esm/profile/introspect.d.ts.map +1 -0
- package/esm/profile/introspect.js +378 -0
- package/esm/profile/load.d.ts +3 -1
- package/esm/profile/load.d.ts.map +1 -1
- package/esm/profile/load.js +91 -5
- package/esm/profile/manifest.d.ts.map +1 -1
- package/esm/profile/manifest.js +512 -90
- package/esm/profile/merge.d.ts.map +1 -1
- package/esm/profile/merge.js +251 -39
- package/esm/profile/mod.d.ts +4 -4
- package/esm/profile/mod.d.ts.map +1 -1
- package/esm/profile/mod.js +7 -2
- package/esm/reporter/mod.js +4 -4
- package/esm/sync/locked_attributes.d.ts +19 -0
- package/esm/sync/locked_attributes.d.ts.map +1 -0
- package/esm/sync/locked_attributes.js +27 -0
- package/esm/sync/log.d.ts +34 -0
- package/esm/sync/log.d.ts.map +1 -0
- package/esm/sync/log.js +48 -0
- package/esm/sync/mapping.d.ts +66 -0
- package/esm/sync/mapping.d.ts.map +1 -0
- package/esm/sync/mapping.js +165 -0
- package/esm/sync/mod.d.ts +16 -0
- package/esm/sync/mod.d.ts.map +1 -0
- package/esm/sync/mod.js +12 -0
- package/esm/sync/status.d.ts +23 -0
- package/esm/sync/status.d.ts.map +1 -0
- package/esm/sync/status.js +21 -0
- package/esm/typl/ast.d.ts +87 -0
- package/esm/typl/ast.d.ts.map +1 -0
- package/esm/typl/ast.js +21 -0
- package/esm/typl/bridge.d.ts +32 -0
- package/esm/typl/bridge.d.ts.map +1 -0
- package/esm/typl/bridge.js +27 -0
- package/esm/typl/bullet.d.ts +34 -0
- package/esm/typl/bullet.d.ts.map +1 -0
- package/esm/typl/bullet.js +44 -0
- package/esm/typl/diagnostics.d.ts +43 -0
- package/esm/typl/diagnostics.d.ts.map +1 -0
- package/esm/typl/diagnostics.js +61 -0
- package/esm/typl/fence.d.ts +31 -0
- package/esm/typl/fence.d.ts.map +1 -0
- package/esm/typl/fence.js +24 -0
- package/esm/typl/grammar.d.ts +20 -0
- package/esm/typl/grammar.d.ts.map +1 -0
- package/esm/typl/grammar.js +471 -0
- package/esm/typl/inline.d.ts +34 -0
- package/esm/typl/inline.d.ts.map +1 -0
- package/esm/typl/inline.js +48 -0
- package/esm/typl/lexer.d.ts +37 -0
- package/esm/typl/lexer.d.ts.map +1 -0
- package/esm/typl/lexer.js +234 -0
- package/esm/typl/mod.d.ts +23 -0
- package/esm/typl/mod.d.ts.map +1 -0
- package/esm/typl/mod.js +16 -0
- package/esm/typl/registry.d.ts +42 -0
- package/esm/typl/registry.d.ts.map +1 -0
- package/esm/typl/registry.js +26 -0
- package/esm/typl/validator.d.ts +29 -0
- package/esm/typl/validator.d.ts.map +1 -0
- package/esm/typl/validator.js +141 -0
- package/esm/util/fence.d.ts +30 -0
- package/esm/util/fence.d.ts.map +1 -0
- package/esm/util/fence.js +40 -0
- package/esm/util/line_endings.d.ts +33 -0
- package/esm/util/line_endings.d.ts.map +1 -0
- package/esm/util/line_endings.js +53 -0
- package/esm/util/modals.d.ts +29 -0
- package/esm/util/modals.d.ts.map +1 -0
- package/esm/util/modals.js +38 -0
- package/esm/validator/attributes.d.ts +3 -3
- package/esm/validator/attributes.d.ts.map +1 -1
- package/esm/validator/attributes.js +1 -18
- package/esm/validator/body_blocks.d.ts +38 -0
- package/esm/validator/body_blocks.d.ts.map +1 -0
- package/esm/validator/body_blocks.js +218 -0
- package/esm/validator/caption_convention.d.ts +29 -0
- package/esm/validator/caption_convention.d.ts.map +1 -0
- package/esm/validator/caption_convention.js +58 -0
- package/esm/validator/captions.d.ts +22 -0
- package/esm/validator/captions.d.ts.map +1 -0
- package/esm/validator/captions.js +137 -0
- package/esm/validator/component_schemes.d.ts +73 -0
- package/esm/validator/component_schemes.d.ts.map +1 -0
- package/esm/validator/component_schemes.js +375 -0
- package/esm/validator/discipline.d.ts +35 -0
- package/esm/validator/discipline.d.ts.map +1 -0
- package/esm/validator/discipline.js +204 -0
- package/esm/validator/feature_ac.d.ts +28 -0
- package/esm/validator/feature_ac.d.ts.map +1 -0
- package/esm/validator/feature_ac.js +102 -0
- package/esm/validator/listing.d.ts +42 -0
- package/esm/validator/listing.d.ts.map +1 -0
- package/esm/validator/listing.js +295 -0
- package/esm/validator/mod.d.ts +3 -1
- package/esm/validator/mod.d.ts.map +1 -1
- package/esm/validator/mod.js +275 -13
- package/esm/validator/modal_keywords.d.ts +25 -0
- package/esm/validator/modal_keywords.d.ts.map +1 -0
- package/esm/validator/modal_keywords.js +54 -0
- package/esm/validator/pattern.d.ts +15 -8
- package/esm/validator/pattern.d.ts.map +1 -1
- package/esm/validator/pattern.js +42 -19
- package/esm/validator/per_type_attrs.d.ts +29 -0
- package/esm/validator/per_type_attrs.d.ts.map +1 -0
- package/esm/validator/per_type_attrs.js +75 -0
- package/esm/validator/pipeline.d.ts +18 -2
- package/esm/validator/pipeline.d.ts.map +1 -1
- package/esm/validator/pipeline.js +76 -21
- package/esm/validator/trace_types.d.ts +26 -0
- package/esm/validator/trace_types.d.ts.map +1 -0
- package/esm/validator/trace_types.js +232 -0
- package/esm/validator/traceability.d.ts +3 -4
- package/esm/validator/traceability.d.ts.map +1 -1
- package/esm/validator/traceability.js +5 -10
- package/esm/validator/type_resolution.d.ts +67 -0
- package/esm/validator/type_resolution.d.ts.map +1 -0
- package/esm/validator/type_resolution.js +162 -0
- package/esm/validator/types.d.ts +45 -0
- package/esm/validator/types.d.ts.map +1 -1
- package/esm/validator/types.js +128 -16
- package/esm/validator/value_types.d.ts +8 -0
- package/esm/validator/value_types.d.ts.map +1 -1
- package/esm/validator/value_types.js +8 -1
- package/package.json +2 -2
- package/script/ast/build.d.ts +60 -0
- package/script/ast/build.d.ts.map +1 -0
- package/script/ast/build.js +521 -0
- package/script/ast/equivalence.d.ts +18 -0
- package/script/ast/equivalence.d.ts.map +1 -0
- package/script/ast/equivalence.js +59 -0
- package/script/ast/nodes.d.ts +189 -0
- package/script/ast/nodes.d.ts.map +1 -0
- package/script/ast/nodes.js +18 -0
- package/script/ast/normalize.d.ts +58 -0
- package/script/ast/normalize.d.ts.map +1 -0
- package/script/ast/normalize.js +200 -0
- package/script/ast/render.d.ts +34 -0
- package/script/ast/render.d.ts.map +1 -0
- package/script/ast/render.js +218 -0
- package/script/compiler/constants.d.ts +16 -0
- package/script/compiler/constants.d.ts.map +1 -0
- package/script/compiler/constants.js +29 -0
- package/script/compiler/discipline_classifier.d.ts +55 -0
- package/script/compiler/discipline_classifier.d.ts.map +1 -0
- package/script/compiler/discipline_classifier.js +196 -0
- package/script/compiler/inverses.d.ts +2 -1
- package/script/compiler/inverses.d.ts.map +1 -1
- package/script/compiler/inverses.js +33 -14
- package/script/compiler/manifest.d.ts +59 -0
- package/script/compiler/manifest.d.ts.map +1 -0
- package/script/compiler/manifest.js +51 -0
- package/script/compiler/mod.d.ts +38 -1
- package/script/compiler/mod.d.ts.map +1 -1
- package/script/compiler/mod.js +206 -54
- package/script/compiler/ndjson_writer.d.ts +50 -0
- package/script/compiler/ndjson_writer.d.ts.map +1 -0
- package/script/compiler/ndjson_writer.js +78 -0
- package/script/compiler/schema.d.ts +33 -1
- package/script/compiler/schema.d.ts.map +1 -1
- package/script/compiler/schema.js +30 -8
- package/script/config/markspec.d.ts +5 -0
- package/script/config/markspec.d.ts.map +1 -1
- package/script/config/markspec.js +17 -2
- package/script/config/mod.d.ts.map +1 -1
- package/script/config/mod.js +54 -0
- package/script/formatter/mod.d.ts +55 -4
- package/script/formatter/mod.d.ts.map +1 -1
- package/script/formatter/mod.js +426 -46
- package/script/formatter/synth_ulid.d.ts +21 -0
- package/script/formatter/synth_ulid.d.ts.map +1 -0
- package/script/formatter/synth_ulid.js +67 -0
- package/script/lexicons/loader.d.ts +35 -0
- package/script/lexicons/loader.d.ts.map +1 -0
- package/script/lexicons/loader.js +55 -0
- package/script/lexicons/mod.d.ts +13 -0
- package/script/lexicons/mod.d.ts.map +1 -0
- package/script/lexicons/mod.js +17 -0
- package/script/lint/glossary.d.ts +45 -0
- package/script/lint/glossary.d.ts.map +1 -0
- package/script/lint/glossary.js +88 -0
- package/script/lint/mod.d.ts +14 -0
- package/script/lint/mod.d.ts.map +1 -0
- package/script/lint/mod.js +17 -0
- package/script/lint/range_util.d.ts +25 -0
- package/script/lint/range_util.d.ts.map +1 -0
- package/script/lint/range_util.js +53 -0
- package/script/lint/rules/ears.d.ts +39 -0
- package/script/lint/rules/ears.d.ts.map +1 -0
- package/script/lint/rules/ears.js +320 -0
- package/script/lint/rules/incose_sentence.d.ts +46 -0
- package/script/lint/rules/incose_sentence.d.ts.map +1 -0
- package/script/lint/rules/incose_sentence.js +421 -0
- package/script/lint/rules/lexicon.d.ts +24 -0
- package/script/lint/rules/lexicon.d.ts.map +1 -0
- package/script/lint/rules/lexicon.js +240 -0
- package/script/lint/rules/modal_sentence.d.ts +46 -0
- package/script/lint/rules/modal_sentence.d.ts.map +1 -0
- package/script/lint/rules/modal_sentence.js +150 -0
- package/script/lint/rules/passive.d.ts +64 -0
- package/script/lint/rules/passive.d.ts.map +1 -0
- package/script/lint/rules/passive.js +286 -0
- package/script/lint/rules/struct.d.ts +17 -0
- package/script/lint/rules/struct.d.ts.map +1 -0
- package/script/lint/rules/struct.js +59 -0
- package/script/lint/rules/suppression.d.ts +54 -0
- package/script/lint/rules/suppression.d.ts.map +1 -0
- package/script/lint/rules/suppression.js +136 -0
- package/script/lint/rules/xref.d.ts +19 -0
- package/script/lint/rules/xref.d.ts.map +1 -0
- package/script/lint/rules/xref.js +251 -0
- package/script/lint/runner.d.ts +59 -0
- package/script/lint/runner.d.ts.map +1 -0
- package/script/lint/runner.js +157 -0
- package/script/lint/score.d.ts +64 -0
- package/script/lint/score.d.ts.map +1 -0
- package/script/lint/score.js +167 -0
- package/script/lint/segmenter.d.ts +32 -0
- package/script/lint/segmenter.d.ts.map +1 -0
- package/script/lint/segmenter.js +82 -0
- package/script/lint/types.d.ts +31 -0
- package/script/lint/types.d.ts.map +1 -0
- package/script/lint/types.js +10 -0
- package/script/lock/canonical_edges.d.ts +31 -0
- package/script/lock/canonical_edges.d.ts.map +1 -0
- package/script/lock/canonical_edges.js +61 -0
- package/script/lock/check.d.ts +24 -0
- package/script/lock/check.d.ts.map +1 -0
- package/script/lock/check.js +130 -0
- package/script/lock/hash.d.ts +12 -0
- package/script/lock/hash.d.ts.map +1 -0
- package/script/lock/hash.js +36 -0
- package/script/lock/mod.d.ts +19 -0
- package/script/lock/mod.d.ts.map +1 -0
- package/script/lock/mod.js +31 -0
- package/script/lock/model.d.ts +81 -0
- package/script/lock/model.d.ts.map +1 -0
- package/script/lock/model.js +10 -0
- package/script/lock/parser.d.ts +26 -0
- package/script/lock/parser.d.ts.map +1 -0
- package/script/lock/parser.js +198 -0
- package/script/lock/resolve.d.ts +142 -0
- package/script/lock/resolve.d.ts.map +1 -0
- package/script/lock/resolve.js +397 -0
- package/script/lock/serializer.d.ts +14 -0
- package/script/lock/serializer.d.ts.map +1 -0
- package/script/lock/serializer.js +107 -0
- package/script/mod.d.ts +28 -8
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +129 -32
- package/script/model/attributes.d.ts +6 -0
- package/script/model/attributes.d.ts.map +1 -1
- package/script/model/attributes.js +201 -3
- package/script/model/discipline.d.ts +53 -0
- package/script/model/discipline.d.ts.map +1 -0
- package/script/model/discipline.js +53 -0
- package/script/model/discriminating_attr.d.ts +33 -0
- package/script/model/discriminating_attr.d.ts.map +1 -0
- package/script/model/discriminating_attr.js +77 -0
- package/script/model/mod.d.ts +267 -14
- package/script/model/mod.d.ts.map +1 -1
- package/script/model/mod.js +111 -3
- package/script/model/profile.d.ts +102 -27
- package/script/model/profile.d.ts.map +1 -1
- package/script/model/source_introspection.d.ts +26 -0
- package/script/model/source_introspection.d.ts.map +1 -0
- package/script/model/source_introspection.js +80 -0
- package/script/model/type_hierarchy.d.ts +51 -0
- package/script/model/type_hierarchy.d.ts.map +1 -0
- package/script/model/type_hierarchy.js +130 -0
- package/script/model/uri_scheme_map.d.ts +21 -0
- package/script/model/uri_scheme_map.d.ts.map +1 -0
- package/script/model/uri_scheme_map.js +69 -0
- package/script/parser/attributes.d.ts.map +1 -1
- package/script/parser/attributes.js +10 -16
- package/script/parser/body_tokens.d.ts +35 -0
- package/script/parser/body_tokens.d.ts.map +1 -0
- package/script/parser/body_tokens.js +235 -0
- package/script/parser/glossary.d.ts +51 -0
- package/script/parser/glossary.d.ts.map +1 -0
- package/script/parser/glossary.js +224 -0
- package/script/parser/grammars.d.ts +5 -3
- package/script/parser/grammars.d.ts.map +1 -1
- package/script/parser/grammars.js +15 -8
- package/script/parser/language_spec.d.ts +55 -0
- package/script/parser/language_spec.d.ts.map +1 -0
- package/script/parser/language_spec.js +423 -0
- package/script/parser/line_map.d.ts +60 -0
- package/script/parser/line_map.d.ts.map +1 -0
- package/script/parser/line_map.js +44 -0
- package/script/parser/markdown.d.ts +9 -0
- package/script/parser/markdown.d.ts.map +1 -1
- package/script/parser/markdown.js +315 -23
- package/script/parser/mod.d.ts +5 -0
- package/script/parser/mod.d.ts.map +1 -1
- package/script/parser/mod.js +36 -7
- package/script/parser/source.d.ts +53 -2
- package/script/parser/source.d.ts.map +1 -1
- package/script/parser/source.js +159 -69
- package/script/parser/translate.d.ts +24 -0
- package/script/parser/translate.d.ts.map +1 -0
- package/script/parser/translate.js +102 -0
- package/script/profile/chain.d.ts +8 -0
- package/script/profile/chain.d.ts.map +1 -1
- package/script/profile/chain.js +32 -14
- package/script/profile/colors.js +1 -1
- package/script/profile/default_profile.d.ts +25 -0
- package/script/profile/default_profile.d.ts.map +1 -0
- package/script/profile/default_profile.js +46 -0
- package/script/profile/discipline_mode.d.ts +64 -0
- package/script/profile/discipline_mode.d.ts.map +1 -0
- package/script/profile/discipline_mode.js +138 -0
- package/script/profile/discipline_registry.d.ts +41 -0
- package/script/profile/discipline_registry.d.ts.map +1 -0
- package/script/profile/discipline_registry.js +70 -0
- package/script/profile/introspect.d.ts +135 -0
- package/script/profile/introspect.d.ts.map +1 -0
- package/script/profile/introspect.js +381 -0
- package/script/profile/load.d.ts +3 -1
- package/script/profile/load.d.ts.map +1 -1
- package/script/profile/load.js +91 -5
- package/script/profile/manifest.d.ts.map +1 -1
- package/script/profile/manifest.js +511 -89
- package/script/profile/merge.d.ts.map +1 -1
- package/script/profile/merge.js +251 -39
- package/script/profile/mod.d.ts +4 -4
- package/script/profile/mod.d.ts.map +1 -1
- package/script/profile/mod.js +12 -6
- package/script/reporter/mod.js +4 -4
- package/script/sync/locked_attributes.d.ts +19 -0
- package/script/sync/locked_attributes.d.ts.map +1 -0
- package/script/sync/locked_attributes.js +30 -0
- package/script/sync/log.d.ts +34 -0
- package/script/sync/log.d.ts.map +1 -0
- package/script/sync/log.js +52 -0
- package/script/sync/mapping.d.ts +66 -0
- package/script/sync/mapping.d.ts.map +1 -0
- package/script/sync/mapping.js +169 -0
- package/script/sync/mod.d.ts +16 -0
- package/script/sync/mod.d.ts.map +1 -0
- package/script/sync/mod.js +21 -0
- package/script/sync/status.d.ts +23 -0
- package/script/sync/status.d.ts.map +1 -0
- package/script/sync/status.js +24 -0
- package/script/typl/ast.d.ts +87 -0
- package/script/typl/ast.d.ts.map +1 -0
- package/script/typl/ast.js +24 -0
- package/script/typl/bridge.d.ts +32 -0
- package/script/typl/bridge.d.ts.map +1 -0
- package/script/typl/bridge.js +30 -0
- package/script/typl/bullet.d.ts +34 -0
- package/script/typl/bullet.d.ts.map +1 -0
- package/script/typl/bullet.js +47 -0
- package/script/typl/diagnostics.d.ts +43 -0
- package/script/typl/diagnostics.d.ts.map +1 -0
- package/script/typl/diagnostics.js +65 -0
- package/script/typl/fence.d.ts +31 -0
- package/script/typl/fence.d.ts.map +1 -0
- package/script/typl/fence.js +27 -0
- package/script/typl/grammar.d.ts +20 -0
- package/script/typl/grammar.d.ts.map +1 -0
- package/script/typl/grammar.js +474 -0
- package/script/typl/inline.d.ts +34 -0
- package/script/typl/inline.d.ts.map +1 -0
- package/script/typl/inline.js +51 -0
- package/script/typl/lexer.d.ts +37 -0
- package/script/typl/lexer.d.ts.map +1 -0
- package/script/typl/lexer.js +237 -0
- package/script/typl/mod.d.ts +23 -0
- package/script/typl/mod.d.ts.map +1 -0
- package/script/typl/mod.js +29 -0
- package/script/typl/registry.d.ts +42 -0
- package/script/typl/registry.d.ts.map +1 -0
- package/script/typl/registry.js +29 -0
- package/script/typl/validator.d.ts +29 -0
- package/script/typl/validator.d.ts.map +1 -0
- package/script/typl/validator.js +144 -0
- package/script/util/fence.d.ts +30 -0
- package/script/util/fence.d.ts.map +1 -0
- package/script/util/fence.js +44 -0
- package/script/util/line_endings.d.ts +33 -0
- package/script/util/line_endings.d.ts.map +1 -0
- package/script/util/line_endings.js +58 -0
- package/script/util/modals.d.ts +29 -0
- package/script/util/modals.d.ts.map +1 -0
- package/script/util/modals.js +42 -0
- package/script/validator/attributes.d.ts +3 -3
- package/script/validator/attributes.d.ts.map +1 -1
- package/script/validator/attributes.js +1 -18
- package/script/validator/body_blocks.d.ts +38 -0
- package/script/validator/body_blocks.d.ts.map +1 -0
- package/script/validator/body_blocks.js +221 -0
- package/script/validator/caption_convention.d.ts +29 -0
- package/script/validator/caption_convention.d.ts.map +1 -0
- package/script/validator/caption_convention.js +61 -0
- package/script/validator/captions.d.ts +22 -0
- package/script/validator/captions.d.ts.map +1 -0
- package/script/validator/captions.js +140 -0
- package/script/validator/component_schemes.d.ts +73 -0
- package/script/validator/component_schemes.d.ts.map +1 -0
- package/script/validator/component_schemes.js +384 -0
- package/script/validator/discipline.d.ts +35 -0
- package/script/validator/discipline.d.ts.map +1 -0
- package/script/validator/discipline.js +207 -0
- package/script/validator/feature_ac.d.ts +28 -0
- package/script/validator/feature_ac.d.ts.map +1 -0
- package/script/validator/feature_ac.js +105 -0
- package/script/validator/listing.d.ts +42 -0
- package/script/validator/listing.d.ts.map +1 -0
- package/script/validator/listing.js +298 -0
- package/script/validator/mod.d.ts +3 -1
- package/script/validator/mod.d.ts.map +1 -1
- package/script/validator/mod.js +278 -14
- package/script/validator/modal_keywords.d.ts +25 -0
- package/script/validator/modal_keywords.d.ts.map +1 -0
- package/script/validator/modal_keywords.js +57 -0
- package/script/validator/pattern.d.ts +15 -8
- package/script/validator/pattern.d.ts.map +1 -1
- package/script/validator/pattern.js +42 -19
- package/script/validator/per_type_attrs.d.ts +29 -0
- package/script/validator/per_type_attrs.d.ts.map +1 -0
- package/script/validator/per_type_attrs.js +78 -0
- package/script/validator/pipeline.d.ts +18 -2
- package/script/validator/pipeline.d.ts.map +1 -1
- package/script/validator/pipeline.js +78 -22
- package/script/validator/trace_types.d.ts +26 -0
- package/script/validator/trace_types.d.ts.map +1 -0
- package/script/validator/trace_types.js +235 -0
- package/script/validator/traceability.d.ts +3 -4
- package/script/validator/traceability.d.ts.map +1 -1
- package/script/validator/traceability.js +5 -10
- package/script/validator/type_resolution.d.ts +67 -0
- package/script/validator/type_resolution.d.ts.map +1 -0
- package/script/validator/type_resolution.js +168 -0
- package/script/validator/types.d.ts +45 -0
- package/script/validator/types.d.ts.map +1 -1
- package/script/validator/types.js +131 -16
- package/script/validator/value_types.d.ts +8 -0
- package/script/validator/value_types.d.ts.map +1 -1
- package/script/validator/value_types.js +10 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @module core/profile/default_profile
|
|
4
|
+
*
|
|
5
|
+
* The bundled default profile (profile-schema §7 / §2.2). It ships as an
|
|
6
|
+
* embedded string constant — never a file on disk — so it survives
|
|
7
|
+
* `deno compile` and runs under Node without I/O. It is auto-registered as
|
|
8
|
+
* the implicit root of the `extends:` chain unless `default-profile: false`
|
|
9
|
+
* is set in `.markspec.yaml`.
|
|
10
|
+
*
|
|
11
|
+
* Scope (mechanism only): a minimal identity profile — stable id + the
|
|
12
|
+
* default colour roles, no types, no rules. The profile-schema §7.1
|
|
13
|
+
* display-ID pattern bindings, RFC 2119 hygiene, and `{{def.}}` glossary
|
|
14
|
+
* are deferred (they need a core-type-binding schema construct).
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.DEFAULT_PROFILE_MANIFEST = exports.BUILTIN_DEFAULT_SOURCE_PATH = exports.BUILTIN_DEFAULT_SPECIFIER = void 0;
|
|
18
|
+
/** Specifier that resolves to the embedded default profile. */
|
|
19
|
+
exports.BUILTIN_DEFAULT_SPECIFIER = { kind: "builtin" };
|
|
20
|
+
/**
|
|
21
|
+
* Synthetic source path used for the embedded manifest in diagnostics and
|
|
22
|
+
* tier bookkeeping. Not a real filesystem path.
|
|
23
|
+
*/
|
|
24
|
+
exports.BUILTIN_DEFAULT_SOURCE_PATH = "<bundled:@markspec/profile-default>";
|
|
25
|
+
/** The embedded default-profile manifest, authored as YAML. */
|
|
26
|
+
exports.DEFAULT_PROFILE_MANIFEST = `id: "@markspec/profile-default"
|
|
27
|
+
version: 1.0.0
|
|
28
|
+
markspec-schema: "1"
|
|
29
|
+
description: Baseline MarkSpec profile
|
|
30
|
+
license: MIT
|
|
31
|
+
profile:
|
|
32
|
+
attributes: []
|
|
33
|
+
labels: []
|
|
34
|
+
colors:
|
|
35
|
+
primary: blue
|
|
36
|
+
secondary: teal
|
|
37
|
+
tertiary: cyan
|
|
38
|
+
accent: purple
|
|
39
|
+
muted: grey
|
|
40
|
+
warning: orange
|
|
41
|
+
danger: red
|
|
42
|
+
types: {}
|
|
43
|
+
documents:
|
|
44
|
+
types: []
|
|
45
|
+
frontMatter: []
|
|
46
|
+
`;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module core/profile/discipline_mode
|
|
3
|
+
*
|
|
4
|
+
* Discipline-mode resolution per ADR-017 Slice 5.
|
|
5
|
+
*
|
|
6
|
+
* Three exported helpers:
|
|
7
|
+
* - `extendsTransitively(name, target, effective)` — walk profile-side
|
|
8
|
+
* extends chain then core-side type hierarchy looking for an ancestor.
|
|
9
|
+
* Reused by Tasks 7 (LSP) and 8 (CLI create) for the "is this type
|
|
10
|
+
* requirement-shaped?" check.
|
|
11
|
+
* - `inferDisciplineMode(effective)` — derive the mode from the merged
|
|
12
|
+
* profile's type graph when no tier declared one.
|
|
13
|
+
* - `resolveDisciplineMode(effective, declared)` — return the declared
|
|
14
|
+
* value when supplied (with `origin: "declared"`), otherwise call
|
|
15
|
+
* `inferDisciplineMode()` and wrap with `origin: "inferred"`.
|
|
16
|
+
*
|
|
17
|
+
* Sits next to `discipline_registry.ts` (Slice 2). Both are profile-layer
|
|
18
|
+
* post-merge resolvers that consume a fully-folded `EffectiveProfile`.
|
|
19
|
+
*
|
|
20
|
+
* @see docs/architecture/adr-017-discipline-classification.md (item 8)
|
|
21
|
+
* @see docs/superpowers/specs/2026-05-25-discipline-mode-flag-and-ux-design.md
|
|
22
|
+
*/
|
|
23
|
+
import type { DisciplineMode, EffectiveProfile, ProfileId, ProvenancedValue } from "../model/mod.js";
|
|
24
|
+
/**
|
|
25
|
+
* Walk a type's extends chain (profile-side first, then core hierarchy)
|
|
26
|
+
* and return `true` if `targetCoreType` is transitively an ancestor.
|
|
27
|
+
*
|
|
28
|
+
* Profile-declared types extend other profile types or core types; the
|
|
29
|
+
* walk goes through `effective.types.get(name).extends` until it hits a
|
|
30
|
+
* name that's not in the profile's types map. From there, walk the
|
|
31
|
+
* `CORE_TYPE_HIERARCHY` parent chain.
|
|
32
|
+
*
|
|
33
|
+
* Exported because Tasks 7 (LSP) and 8 (CLI create) reuse the same walk
|
|
34
|
+
* to decide whether a type is "requirement-shaped" for mode-recommended
|
|
35
|
+
* marking.
|
|
36
|
+
*/
|
|
37
|
+
export declare function extendsTransitively(startTypeName: string, targetCoreType: string, effective: EffectiveProfile): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Per spec §Inference algorithm:
|
|
40
|
+
* 1. tiered if any profile-declared requirement-shaped type has discipline: set
|
|
41
|
+
* 2. flat if no tiered requirement types AND the profile contributes any
|
|
42
|
+
* discipline-bearing types (profile-extended kinds OR profile-declared
|
|
43
|
+
* types that map to a core discipline-bearing type OR any requirement-
|
|
44
|
+
* shaped profile-declared type)
|
|
45
|
+
* 3. none otherwise (truly empty profile)
|
|
46
|
+
*
|
|
47
|
+
* Per spec edge case: the core CORE_DISCIPLINE_REGISTRY is ALWAYS present,
|
|
48
|
+
* but this helper treats core-only as "no profile signal" — the profile
|
|
49
|
+
* must contribute something for the result to be "flat" rather than "none".
|
|
50
|
+
* This matches the spec example table's outcomes.
|
|
51
|
+
*/
|
|
52
|
+
export declare function inferDisciplineMode(effective: EffectiveProfile): DisciplineMode;
|
|
53
|
+
/**
|
|
54
|
+
* Resolve the effective discipline mode for a merged profile.
|
|
55
|
+
*
|
|
56
|
+
* If `declared` is supplied (any tier set `discipline-mode:`), wrap it
|
|
57
|
+
* with `origin: "declared"`. Otherwise run inference and wrap with
|
|
58
|
+
* `origin: "inferred"`.
|
|
59
|
+
*/
|
|
60
|
+
export declare function resolveDisciplineMode(effective: EffectiveProfile, declared: {
|
|
61
|
+
value: DisciplineMode;
|
|
62
|
+
origin: ProfileId;
|
|
63
|
+
} | undefined): ProvenancedValue<DisciplineMode>;
|
|
64
|
+
//# sourceMappingURL=discipline_mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discipline_mode.d.ts","sourceRoot":"","sources":["../../src/profile/discipline_mode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAEV,cAAc,EACd,gBAAgB,EAEhB,SAAS,EACT,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAGzB;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,gBAAgB,GAC1B,OAAO,CAyBT;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,gBAAgB,GAC1B,cAAc,CA0ChB;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,gBAAgB,EAC3B,QAAQ,EAAE;IAAE,KAAK,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,GACjE,gBAAgB,CAAC,cAAc,CAAC,CAKlC"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @module core/profile/discipline_mode
|
|
4
|
+
*
|
|
5
|
+
* Discipline-mode resolution per ADR-017 Slice 5.
|
|
6
|
+
*
|
|
7
|
+
* Three exported helpers:
|
|
8
|
+
* - `extendsTransitively(name, target, effective)` — walk profile-side
|
|
9
|
+
* extends chain then core-side type hierarchy looking for an ancestor.
|
|
10
|
+
* Reused by Tasks 7 (LSP) and 8 (CLI create) for the "is this type
|
|
11
|
+
* requirement-shaped?" check.
|
|
12
|
+
* - `inferDisciplineMode(effective)` — derive the mode from the merged
|
|
13
|
+
* profile's type graph when no tier declared one.
|
|
14
|
+
* - `resolveDisciplineMode(effective, declared)` — return the declared
|
|
15
|
+
* value when supplied (with `origin: "declared"`), otherwise call
|
|
16
|
+
* `inferDisciplineMode()` and wrap with `origin: "inferred"`.
|
|
17
|
+
*
|
|
18
|
+
* Sits next to `discipline_registry.ts` (Slice 2). Both are profile-layer
|
|
19
|
+
* post-merge resolvers that consume a fully-folded `EffectiveProfile`.
|
|
20
|
+
*
|
|
21
|
+
* @see docs/architecture/adr-017-discipline-classification.md (item 8)
|
|
22
|
+
* @see docs/superpowers/specs/2026-05-25-discipline-mode-flag-and-ux-design.md
|
|
23
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.extendsTransitively = extendsTransitively;
|
|
26
|
+
exports.inferDisciplineMode = inferDisciplineMode;
|
|
27
|
+
exports.resolveDisciplineMode = resolveDisciplineMode;
|
|
28
|
+
const type_hierarchy_js_1 = require("../model/type_hierarchy.js");
|
|
29
|
+
/**
|
|
30
|
+
* Walk a type's extends chain (profile-side first, then core hierarchy)
|
|
31
|
+
* and return `true` if `targetCoreType` is transitively an ancestor.
|
|
32
|
+
*
|
|
33
|
+
* Profile-declared types extend other profile types or core types; the
|
|
34
|
+
* walk goes through `effective.types.get(name).extends` until it hits a
|
|
35
|
+
* name that's not in the profile's types map. From there, walk the
|
|
36
|
+
* `CORE_TYPE_HIERARCHY` parent chain.
|
|
37
|
+
*
|
|
38
|
+
* Exported because Tasks 7 (LSP) and 8 (CLI create) reuse the same walk
|
|
39
|
+
* to decide whether a type is "requirement-shaped" for mode-recommended
|
|
40
|
+
* marking.
|
|
41
|
+
*/
|
|
42
|
+
function extendsTransitively(startTypeName, targetCoreType, effective) {
|
|
43
|
+
let cursor = startTypeName;
|
|
44
|
+
const seen = new Set();
|
|
45
|
+
// Profile-side walk.
|
|
46
|
+
while (cursor !== null && !seen.has(cursor)) {
|
|
47
|
+
seen.add(cursor);
|
|
48
|
+
if (cursor === targetCoreType)
|
|
49
|
+
return true;
|
|
50
|
+
const profileType = effective.types.get(cursor);
|
|
51
|
+
if (profileType) {
|
|
52
|
+
cursor = profileType.value.extends;
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
// Cursor isn't a profile type — must be a core type. Switch to
|
|
56
|
+
// CORE_TYPE_HIERARCHY walk.
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
// Core-side walk.
|
|
60
|
+
while (cursor !== null && !seen.has(cursor)) {
|
|
61
|
+
seen.add(cursor);
|
|
62
|
+
if (cursor === targetCoreType)
|
|
63
|
+
return true;
|
|
64
|
+
const coreDef = type_hierarchy_js_1.CORE_TYPE_HIERARCHY[cursor];
|
|
65
|
+
if (!coreDef)
|
|
66
|
+
return false;
|
|
67
|
+
cursor = coreDef.parent;
|
|
68
|
+
}
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Per spec §Inference algorithm:
|
|
73
|
+
* 1. tiered if any profile-declared requirement-shaped type has discipline: set
|
|
74
|
+
* 2. flat if no tiered requirement types AND the profile contributes any
|
|
75
|
+
* discipline-bearing types (profile-extended kinds OR profile-declared
|
|
76
|
+
* types that map to a core discipline-bearing type OR any requirement-
|
|
77
|
+
* shaped profile-declared type)
|
|
78
|
+
* 3. none otherwise (truly empty profile)
|
|
79
|
+
*
|
|
80
|
+
* Per spec edge case: the core CORE_DISCIPLINE_REGISTRY is ALWAYS present,
|
|
81
|
+
* but this helper treats core-only as "no profile signal" — the profile
|
|
82
|
+
* must contribute something for the result to be "flat" rather than "none".
|
|
83
|
+
* This matches the spec example table's outcomes.
|
|
84
|
+
*/
|
|
85
|
+
function inferDisciplineMode(effective) {
|
|
86
|
+
// Step 1: scan profile-declared types for requirement-shaped types with discipline:.
|
|
87
|
+
for (const [typeName, entry] of effective.types) {
|
|
88
|
+
const td = entry.value;
|
|
89
|
+
if (td.discipline.value === undefined)
|
|
90
|
+
continue;
|
|
91
|
+
if (extendsTransitively(typeName, "Requirement", effective)) {
|
|
92
|
+
return "tiered";
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// Step 2a: flat if the profile contributes any extended kinds.
|
|
96
|
+
if (effective.kinds.size > 0)
|
|
97
|
+
return "flat";
|
|
98
|
+
// Step 2b: flat if any profile-declared type extends a core discipline-
|
|
99
|
+
// bearing type (SoftwareComponent etc.).
|
|
100
|
+
const CORE_DISCIPLINE_BEARING_TYPES = [
|
|
101
|
+
"SoftwareComponent",
|
|
102
|
+
"HardwareComponent",
|
|
103
|
+
"SoftwareInterface",
|
|
104
|
+
"HardwareInterface",
|
|
105
|
+
"SoftwareUnit",
|
|
106
|
+
"HardwareUnit",
|
|
107
|
+
];
|
|
108
|
+
for (const [typeName, _entry] of effective.types) {
|
|
109
|
+
for (const coreType of CORE_DISCIPLINE_BEARING_TYPES) {
|
|
110
|
+
if (extendsTransitively(typeName, coreType, effective)) {
|
|
111
|
+
return "flat";
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
// Step 2c: flat if the profile declares any requirement-shaped type
|
|
116
|
+
// (even without discipline:). This means the profile is doing
|
|
117
|
+
// requirements work, but tiered signal is absent.
|
|
118
|
+
for (const [typeName, _entry] of effective.types) {
|
|
119
|
+
if (extendsTransitively(typeName, "Requirement", effective)) {
|
|
120
|
+
return "flat";
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// Step 3: none — no profile contribution.
|
|
124
|
+
return "none";
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Resolve the effective discipline mode for a merged profile.
|
|
128
|
+
*
|
|
129
|
+
* If `declared` is supplied (any tier set `discipline-mode:`), wrap it
|
|
130
|
+
* with `origin: "declared"`. Otherwise run inference and wrap with
|
|
131
|
+
* `origin: "inferred"`.
|
|
132
|
+
*/
|
|
133
|
+
function resolveDisciplineMode(effective, declared) {
|
|
134
|
+
if (declared !== undefined) {
|
|
135
|
+
return { value: declared.value, origin: "declared" };
|
|
136
|
+
}
|
|
137
|
+
return { value: inferDisciplineMode(effective), origin: "inferred" };
|
|
138
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module core/profile/discipline_registry
|
|
3
|
+
*
|
|
4
|
+
* Build an effective discipline registry from a merged
|
|
5
|
+
* {@linkcode EffectiveProfile}. Per ADR-017 Slice 2: the registry is
|
|
6
|
+
* the core seed plus every profile-declared type whose discipline
|
|
7
|
+
* resolves — either directly (an explicit `discipline:` field) or
|
|
8
|
+
* via auto-inheritance walking the `extends:` chain to a registered
|
|
9
|
+
* ancestor.
|
|
10
|
+
*
|
|
11
|
+
* The current manifest parser only allows profile-declared types to
|
|
12
|
+
* extend **core** types (see `parseTypeDef` in `manifest.ts`), so the
|
|
13
|
+
* inheritance walk is one step in practice. The implementation below
|
|
14
|
+
* loops defensively so future relaxation of that constraint doesn't
|
|
15
|
+
* silently break inheritance through profile-declared intermediates.
|
|
16
|
+
* Cycles are currently impossible because the parser rejects any
|
|
17
|
+
* `extends` value that is not a recognised core type (PROFILE-TYPE-002),
|
|
18
|
+
* guaranteeing the fixed-point loop terminates in exactly one pass
|
|
19
|
+
* today.
|
|
20
|
+
*
|
|
21
|
+
* @see docs/architecture/adr-017-discipline-classification.md (Invariant 2)
|
|
22
|
+
*/
|
|
23
|
+
import { type DisciplineRegistry, type EffectiveProfile } from "../model/mod.js";
|
|
24
|
+
/**
|
|
25
|
+
* Build the effective discipline registry for a given (merged) profile.
|
|
26
|
+
* When `effective` is `null` (CLI run without a profile), the core seed
|
|
27
|
+
* is returned verbatim.
|
|
28
|
+
*
|
|
29
|
+
* Algorithm:
|
|
30
|
+
* 1. Start with a mutable copy of {@linkcode CORE_DISCIPLINE_REGISTRY}.
|
|
31
|
+
* 2. For each profile-declared type, resolve its discipline:
|
|
32
|
+
* - Use the explicit `discipline.value` when present.
|
|
33
|
+
* - Otherwise walk `extends:` one hop at a time, stopping at the
|
|
34
|
+
* first ancestor that resolves (core registry or already-resolved
|
|
35
|
+
* profile type).
|
|
36
|
+
* 3. Iterate until no new entries are added (handles arbitrary
|
|
37
|
+
* declaration order). Bounded by the number of profile types, so
|
|
38
|
+
* worst-case O(n²); n is small for realistic profiles.
|
|
39
|
+
*/
|
|
40
|
+
export declare function buildEffectiveDisciplineRegistry(effective: EffectiveProfile | null): DisciplineRegistry;
|
|
41
|
+
//# sourceMappingURL=discipline_registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discipline_registry.d.ts","sourceRoot":"","sources":["../../src/profile/discipline_registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACtB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,gCAAgC,CAC9C,SAAS,EAAE,gBAAgB,GAAG,IAAI,GACjC,kBAAkB,CA0BpB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @module core/profile/discipline_registry
|
|
4
|
+
*
|
|
5
|
+
* Build an effective discipline registry from a merged
|
|
6
|
+
* {@linkcode EffectiveProfile}. Per ADR-017 Slice 2: the registry is
|
|
7
|
+
* the core seed plus every profile-declared type whose discipline
|
|
8
|
+
* resolves — either directly (an explicit `discipline:` field) or
|
|
9
|
+
* via auto-inheritance walking the `extends:` chain to a registered
|
|
10
|
+
* ancestor.
|
|
11
|
+
*
|
|
12
|
+
* The current manifest parser only allows profile-declared types to
|
|
13
|
+
* extend **core** types (see `parseTypeDef` in `manifest.ts`), so the
|
|
14
|
+
* inheritance walk is one step in practice. The implementation below
|
|
15
|
+
* loops defensively so future relaxation of that constraint doesn't
|
|
16
|
+
* silently break inheritance through profile-declared intermediates.
|
|
17
|
+
* Cycles are currently impossible because the parser rejects any
|
|
18
|
+
* `extends` value that is not a recognised core type (PROFILE-TYPE-002),
|
|
19
|
+
* guaranteeing the fixed-point loop terminates in exactly one pass
|
|
20
|
+
* today.
|
|
21
|
+
*
|
|
22
|
+
* @see docs/architecture/adr-017-discipline-classification.md (Invariant 2)
|
|
23
|
+
*/
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.buildEffectiveDisciplineRegistry = buildEffectiveDisciplineRegistry;
|
|
26
|
+
const mod_js_1 = require("../model/mod.js");
|
|
27
|
+
/**
|
|
28
|
+
* Build the effective discipline registry for a given (merged) profile.
|
|
29
|
+
* When `effective` is `null` (CLI run without a profile), the core seed
|
|
30
|
+
* is returned verbatim.
|
|
31
|
+
*
|
|
32
|
+
* Algorithm:
|
|
33
|
+
* 1. Start with a mutable copy of {@linkcode CORE_DISCIPLINE_REGISTRY}.
|
|
34
|
+
* 2. For each profile-declared type, resolve its discipline:
|
|
35
|
+
* - Use the explicit `discipline.value` when present.
|
|
36
|
+
* - Otherwise walk `extends:` one hop at a time, stopping at the
|
|
37
|
+
* first ancestor that resolves (core registry or already-resolved
|
|
38
|
+
* profile type).
|
|
39
|
+
* 3. Iterate until no new entries are added (handles arbitrary
|
|
40
|
+
* declaration order). Bounded by the number of profile types, so
|
|
41
|
+
* worst-case O(n²); n is small for realistic profiles.
|
|
42
|
+
*/
|
|
43
|
+
function buildEffectiveDisciplineRegistry(effective) {
|
|
44
|
+
const out = new Map(mod_js_1.CORE_DISCIPLINE_REGISTRY);
|
|
45
|
+
if (!effective)
|
|
46
|
+
return out;
|
|
47
|
+
// Resolve in fixed-point fashion so order-of-declaration doesn't matter.
|
|
48
|
+
// Each pass attempts every unresolved type; if any type resolves, do
|
|
49
|
+
// another pass.
|
|
50
|
+
let changed = true;
|
|
51
|
+
while (changed) {
|
|
52
|
+
changed = false;
|
|
53
|
+
for (const [typeName, entry] of effective.types) {
|
|
54
|
+
if (out.has(typeName))
|
|
55
|
+
continue;
|
|
56
|
+
const explicit = entry.value.discipline.value;
|
|
57
|
+
if (explicit !== undefined) {
|
|
58
|
+
out.set(typeName, explicit);
|
|
59
|
+
changed = true;
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
const inherited = out.get(entry.value.extends);
|
|
63
|
+
if (inherited !== undefined) {
|
|
64
|
+
out.set(typeName, inherited);
|
|
65
|
+
changed = true;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return out;
|
|
70
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module core/profile/introspect
|
|
3
|
+
*
|
|
4
|
+
* Unified introspection API for profile chains. All discovery surfaces
|
|
5
|
+
* (CLI, MCP, LSP) consume this module instead of re-walking EffectiveProfile.
|
|
6
|
+
*
|
|
7
|
+
* Node-safe: no Deno.* APIs.
|
|
8
|
+
*/
|
|
9
|
+
import type { LabelConcernKind, ProfileChain } from "../model/mod.js";
|
|
10
|
+
/** Discriminant for the five kinds of profile elements. */
|
|
11
|
+
export type ProfileElementKind = "type" | "attribute" | "relation" | "label-concern" | "convention";
|
|
12
|
+
/**
|
|
13
|
+
* A human-readable description with provenance: which profile tier contributed
|
|
14
|
+
* it and which tiers it overrides.
|
|
15
|
+
*/
|
|
16
|
+
export interface ProvenancedDescription {
|
|
17
|
+
readonly text?: string;
|
|
18
|
+
readonly origin?: string;
|
|
19
|
+
readonly overrides?: string[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A lightweight reference to a profile element, used in overview lists and
|
|
23
|
+
* resolve results. `ref` is `"<kind>/<name>"`, e.g. `"type/software-requirement"`.
|
|
24
|
+
*/
|
|
25
|
+
export interface ProfileElementRef {
|
|
26
|
+
readonly kind: ProfileElementKind;
|
|
27
|
+
readonly name: string;
|
|
28
|
+
readonly summary: string;
|
|
29
|
+
/** `"<kind>/<name>"`, e.g. `"type/software-requirement"`. */
|
|
30
|
+
readonly ref: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* High-level snapshot of the active profile chain: chain tiers and all
|
|
34
|
+
* declared elements as lightweight refs.
|
|
35
|
+
*/
|
|
36
|
+
export interface ProfileOverview {
|
|
37
|
+
readonly tiers: readonly {
|
|
38
|
+
id: string;
|
|
39
|
+
version: string;
|
|
40
|
+
summary: string;
|
|
41
|
+
}[];
|
|
42
|
+
readonly elements: readonly ProfileElementRef[];
|
|
43
|
+
}
|
|
44
|
+
/** Detailed description of a profile-declared entry type. */
|
|
45
|
+
export interface TypeDetail {
|
|
46
|
+
readonly kind: "type";
|
|
47
|
+
readonly name: string;
|
|
48
|
+
readonly description: ProvenancedDescription;
|
|
49
|
+
readonly extendsTarget: string;
|
|
50
|
+
readonly shape: string;
|
|
51
|
+
readonly displayIdPattern?: string;
|
|
52
|
+
readonly color?: string;
|
|
53
|
+
readonly requiredAttributes: readonly ProfileElementRef[];
|
|
54
|
+
readonly allowedAttributes: readonly ProfileElementRef[];
|
|
55
|
+
readonly outgoingRelations: readonly ProfileElementRef[];
|
|
56
|
+
readonly incomingRelations: readonly ProfileElementRef[];
|
|
57
|
+
}
|
|
58
|
+
/** Detailed description of a universal or type-scoped attribute declaration. */
|
|
59
|
+
export interface AttributeDetail {
|
|
60
|
+
readonly kind: "attribute";
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly description: ProvenancedDescription;
|
|
63
|
+
readonly valueType: string;
|
|
64
|
+
readonly cardinality: string;
|
|
65
|
+
readonly required: boolean;
|
|
66
|
+
readonly enumValues?: readonly string[];
|
|
67
|
+
readonly inverse?: {
|
|
68
|
+
name: string;
|
|
69
|
+
category: string;
|
|
70
|
+
};
|
|
71
|
+
readonly declaredBy: readonly string[];
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Detailed description of a traceability relation, aggregated across all types
|
|
75
|
+
* that declare it.
|
|
76
|
+
*/
|
|
77
|
+
export interface RelationDetail {
|
|
78
|
+
readonly kind: "relation";
|
|
79
|
+
readonly name: string;
|
|
80
|
+
readonly description: ProvenancedDescription;
|
|
81
|
+
readonly targets: readonly string[];
|
|
82
|
+
readonly cardinality?: string;
|
|
83
|
+
readonly required: boolean;
|
|
84
|
+
readonly declaredBy: readonly string[];
|
|
85
|
+
}
|
|
86
|
+
/** Detailed description of a label concern (enum, set, or flag). */
|
|
87
|
+
export interface LabelConcernDetail {
|
|
88
|
+
readonly kind: "label-concern";
|
|
89
|
+
readonly name: string;
|
|
90
|
+
readonly description: ProvenancedDescription;
|
|
91
|
+
readonly concernKind: LabelConcernKind;
|
|
92
|
+
readonly values: readonly {
|
|
93
|
+
name: string;
|
|
94
|
+
description?: string;
|
|
95
|
+
}[];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Detailed description of a named profile convention (e.g. `modal-keywords`).
|
|
99
|
+
*/
|
|
100
|
+
export interface ConventionDetail {
|
|
101
|
+
readonly kind: "convention";
|
|
102
|
+
readonly name: string;
|
|
103
|
+
readonly description: ProvenancedDescription;
|
|
104
|
+
readonly settings: Readonly<Record<string, string>>;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Discriminated union of all per-element detail types returned by
|
|
108
|
+
* `ProfileIntrospection.describe`.
|
|
109
|
+
*/
|
|
110
|
+
export type ProfileElementDetail = TypeDetail | AttributeDetail | RelationDetail | LabelConcernDetail | ConventionDetail;
|
|
111
|
+
/**
|
|
112
|
+
* Unified read-only view of a profile chain. Consumed by CLI, MCP, and LSP
|
|
113
|
+
* instead of walking `EffectiveProfile` directly.
|
|
114
|
+
*/
|
|
115
|
+
export interface ProfileIntrospection {
|
|
116
|
+
/** Return a lazily computed, cached overview of all profile elements. */
|
|
117
|
+
overview(): ProfileOverview;
|
|
118
|
+
/**
|
|
119
|
+
* Return full detail for the named element, or `undefined` if not found.
|
|
120
|
+
*/
|
|
121
|
+
describe(kind: ProfileElementKind, name: string): ProfileElementDetail | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Return elements whose kind/name/summary contain all whitespace-separated
|
|
124
|
+
* query tokens (case-insensitive).
|
|
125
|
+
*/
|
|
126
|
+
resolve(query: string): ProfileElementRef[];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Build a `ProfileIntrospection` from a profile chain (or `null` when
|
|
130
|
+
* no profile is configured for the project).
|
|
131
|
+
*
|
|
132
|
+
* The returned object is lazy — `overview()` caches after the first call.
|
|
133
|
+
*/
|
|
134
|
+
export declare function buildProfileIntrospection(chain: ProfileChain | null): ProfileIntrospection;
|
|
135
|
+
//# sourceMappingURL=introspect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"introspect.d.ts","sourceRoot":"","sources":["../../src/profile/introspect.ts"],"names":[],"mappings":"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"}
|