Repository navigation
Expand file tree
/
Copy pathfilemap.json
More file actions
2303 lines (2303 loc) · 272 KB
/
Copy pathfilemap.json
File metadata and controls
2303 lines (2303 loc) · 272 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"_comment": "Auto-generated by scripts/generate-filemap.mjs — do not hand-edit.",
"generated": "2026-11-28T04:44:45.824Z",
"coverage": "1948/2296 files (85%)",
"files": {
"CHANGELOG.md": "Changelog",
"CLA.md": "Formspec Individual Contributor License Agreement",
"CLAUDE.md": "CLAUDE.md",
"CODE-SMELL-AUDIT-2026-05-17.md": "Code Smell Audit — `formspec/`",
"COMPLETED.md": "Formspec — Completed Work Log",
"CONTRIBUTING.md": "Contributing to Formspec",
"FORMSPEC-FEATURE-MATRIX.md": "Formspec Feature & Requirements Matrix",
"LICENSING.md": "Formspec Licensing",
"README.md": "Formspec — Work Tracking & Architecture Index",
"TODO.md": "Formspec — Consolidated TODO",
"benchmarks/README.md": "Formspec Requirement-to-Form Benchmark (v0)",
"benchmarks/run_benchmark.py": "Formspec benchmark runner",
"benchmarks/run_mcp_loop.py": "MCP-driven convergence loop — drives an LLM through the Formspec MCP until",
"benchmarks/tasks/clinical-intake/meta.json": null,
"benchmarks/tasks/clinical-intake/reference/intake.component.json": "Clinical Intake Layout",
"benchmarks/tasks/clinical-intake/reference/intake.definition.json": "Clinical Intake Survey — Patient intake form with triage screener, nested repeats, pre-population instances, and comp...",
"benchmarks/tasks/clinical-intake/reference/intake.response-actions.json": null,
"benchmarks/tasks/clinical-intake/reference/intake.theme.json": "Clinical Intake Theme",
"benchmarks/tasks/clinical-intake/reference/screener.json": "Clinical Intake Survey — Screener",
"benchmarks/tasks/clinical-intake/requirement.md": "Patient Intake",
"benchmarks/tasks/grant-application/meta.json": null,
"benchmarks/tasks/grant-application/reference/changelog.json": null,
"benchmarks/tasks/grant-application/reference/component.json": "Grant Application Layout",
"benchmarks/tasks/grant-application/reference/contact-fragment.json": "Grant Application Contact Fragment — Reusable contact information fields for grant application sections",
"benchmarks/tasks/grant-application/reference/definition.json": "Federal Grant Application — Standard federal grant application demonstrating the full Formspec feature set",
"benchmarks/tasks/grant-application/reference/mapping-csv.json": null,
"benchmarks/tasks/grant-application/reference/mapping-xml.json": null,
"benchmarks/tasks/grant-application/reference/mapping.json": null,
"benchmarks/tasks/grant-application/reference/response-actions.json": null,
"benchmarks/tasks/grant-application/reference/screener.json": "Federal Grant Application — Screener",
"benchmarks/tasks/grant-application/reference/theme-pdf.json": "Grant Application Theme (PDF) — Print-first static rendering theme for PDF generation",
"benchmarks/tasks/grant-application/reference/theme.json": "Grant Application Theme",
"benchmarks/tasks/grant-application/requirement.md": "Federal Grant Application",
"benchmarks/tasks/grant-report/meta.json": null,
"benchmarks/tasks/grant-report/reference/tribal-base.definition.json": "Regional Annual Report — Base Module — Shared items for Regional Annual Report short and long variants. Includes basi...",
"benchmarks/tasks/grant-report/reference/tribal-grant.mapping.json": null,
"benchmarks/tasks/grant-report/reference/tribal-long.definition.json": "Regional Annual Report — Long Form — Extended annual report for tribal organizations submitting annual program report...",
"benchmarks/tasks/grant-report/reference/tribal-short.component.json": null,
"benchmarks/tasks/grant-report/reference/tribal-short.definition.json": "Regional Annual Report — Short Form — Annual report for tribal organizations submitting annual program reports. Cover...",
"benchmarks/tasks/grant-report/reference/tribal-short.response-actions.json": null,
"benchmarks/tasks/grant-report/reference/tribal.changelog.json": null,
"benchmarks/tasks/grant-report/reference/tribal.theme.json": "USWDS-aligned theme for annual report forms. Uses US Web Design System tokens and Public Sans typeface",
"benchmarks/tasks/grant-report/requirement.md": "Regional Annual Report (Base / Short / Long)",
"benchmarks/tasks/invoice/meta.json": null,
"benchmarks/tasks/invoice/reference/invoice.component.json": "Invoice Layout",
"benchmarks/tasks/invoice/reference/invoice.definition.json": "Invoice — Line-item invoice with repeat groups and calculated totals (subtotal, tax, discount, grand total)",
"benchmarks/tasks/invoice/reference/invoice.mapping.json": null,
"benchmarks/tasks/invoice/reference/invoice.response-actions.json": null,
"benchmarks/tasks/invoice/reference/invoice.theme.json": "Invoice Theme",
"benchmarks/tasks/invoice/requirement.md": "Supplier Invoice",
"context.md": "Formspec — Project Context",
"crates/formspec-changeset/README.md": "formspec-changeset",
"crates/formspec-changeset/src/extract.rs": "Key extraction from recorded changeset entries",
"crates/formspec-changeset/src/graph.rs": "Dependency graph construction and connected-component grouping",
"crates/formspec-changeset/src/lib.rs": "Changeset dependency analysis — key extraction and connected-component grouping",
"crates/formspec-core/README.md": "formspec-core",
"crates/formspec-core/docs/rustdoc-md/API.md": "formspec-core — generated API (Markdown)",
"crates/formspec-core/src/assembler.rs": "Resolves $ref inclusions and assembles self-contained definitions with FEL rewriting",
"crates/formspec-core/src/assembly_fel_rewrite.rs": "FEL path rewriting for definition assembly (fragment `$ref` / `keyPrefix` semantics)",
"crates/formspec-core/src/bin/formspec_core.rs": "CLI entrypoint for formspec-core operations: schema detection, registry inspection, and report assembly",
"crates/formspec-core/src/bind_targets.rs": "Bind entries grouped by the Item they target, for document-order merging (Core §4.3.1)",
"crates/formspec-core/src/changelog.rs": "Changelog — diffs two definition versions into a structured changelog",
"crates/formspec-core/src/compatible_versions.rs": "Shared matching for Definition versions and Node-style semantic version ranges",
"crates/formspec-core/src/component_tree.rs": "Pre-order traversal for component/theme JSON nodes (`component` + `children`)",
"crates/formspec-core/src/definition_expressions.rs": "Authored FEL expression sites in Definition documents",
"crates/formspec-core/src/definition_instance_reads.rs": "Static instance reads across expressions and creation-time declarations (Core §4.2.2.1)",
"crates/formspec-core/src/definition_items.rs": "Depth-first traversal of definition `items` / `children` JSON arrays",
"crates/formspec-core/src/dependency_order.rs": "Order dependency vertices and identify the vertices in cycles",
"crates/formspec-core/src/dependency_reads.rs": "Reads extracted from parsed FEL before resolving each evaluation site",
"crates/formspec-core/src/extension_analysis.rs": "Validates extension usage in item trees against a registry catalog",
"crates/formspec-core/src/fel_analysis.rs": "FEL static analysis and expression rewriting for field references and variables",
"crates/formspec-core/src/fel_condition_group_lift.rs": "Lift parsed FEL into the structured condition-group shape used by Studio (`fel-condition-builder`)",
"crates/formspec-core/src/fel_rewrite_exact.rs": "Exact-text rewriting using locations from the FEL parser",
"crates/formspec-core/src/instance_projection.rs": "Cross-Definition validation for response-backed instance projections",
"crates/formspec-core/src/instance_projection/choices.rs": "Compare the stored keys of choices connected by an untransformed response read",
"crates/formspec-core/src/instance_resolution.rs": "Delivered values and evidence shared by Response selection and candidate assembly",
"crates/formspec-core/src/json_artifacts.rs": "`serde_json::Value` projections for WASM and Python FFI (use with `json_to_python` on the Py side)",
"crates/formspec-core/src/json_util.rs": "Small JSON helpers shared across bindings",
"crates/formspec-core/src/jsonld_context.rs": "JSON-LD `@context` derivation from a Definition and an Ontology document's concept bindings",
"crates/formspec-core/src/lib.rs": "Formspec core processing — FEL, paths, schemas, assembly, mappings, extensions",
"crates/formspec-core/src/option_sets.rs": "Resolve `options` from `optionSets` in a Formspec Definition",
"crates/formspec-core/src/parser_recovery.rs": "JSON parser error recovery and diagnostic repair",
"crates/formspec-core/src/path_utils.rs": "Dotted path normalization and tree item navigation by path",
"crates/formspec-core/src/registry_client/mod.rs": "Registry client — parses registry documents, resolves extensions, validates lifecycle",
"crates/formspec-core/src/registry_client/name.rs": "Extension name pattern validation (`x-` prefix and segments)",
"crates/formspec-core/src/registry_client/parse.rs": "JSON parsing helpers for registry documents",
"crates/formspec-core/src/registry_client/registry.rs": "`Registry` inherent API and `RegistryLookup` bridge",
"crates/formspec-core/src/registry_client/types.rs": "Registry document types and parse errors",
"crates/formspec-core/src/registry_client/version.rs": "Loose semver-style version parsing and constraint matching for registry entries",
"crates/formspec-core/src/registry_client/wire_json.rs": "JSON projections for registry client (host bindings)",
"crates/formspec-core/src/repeat_references.rs": "Detect authored field paths that cross a repeat without a subscript",
"crates/formspec-core/src/response_migration.rs": "Apply a Definition's `migrations` (core spec §6.7) to Response data pinned to an earlier version",
"crates/formspec-core/src/response_selection.rs": "Subject-keyed Response selection and exact delivered-value commitments (Core §2.1.6)",
"crates/formspec-core/src/response_selection/candidates.rs": "Typed predicate resolution, candidate admission and authored ordering",
"crates/formspec-core/src/response_selection/delivery.rs": "Exact JSON delivery, schema-path projection and digesting",
"crates/formspec-core/src/response_selection/wire.rs": "Wire admission for the selector",
"crates/formspec-core/src/runtime_mapping/document.rs": "Full mapping document execution (`autoMap`, `defaults`)",
"crates/formspec-core/src/runtime_mapping/engine.rs": "Execute the ordered mapping rule pipeline",
"crates/formspec-core/src/runtime_mapping/engine_helpers.rs": "Mapping rule pipeline and per-rule execution helpers",
"crates/formspec-core/src/runtime_mapping/env.rs": "Build [`fel_core::FormspecEnvironment`] for mapping transforms and conditions",
"crates/formspec-core/src/runtime_mapping/mod.rs": "Bidirectional mapping engine for transforming data between formats",
"crates/formspec-core/src/runtime_mapping/parse.rs": "Deserialize mapping documents and rules from `serde_json::Value`",
"crates/formspec-core/src/runtime_mapping/path.rs": "Dot-path splitting and JSON get/set helpers",
"crates/formspec-core/src/runtime_mapping/transforms.rs": "Value-map, coercion, flatten string, and FEL evaluation helpers",
"crates/formspec-core/src/runtime_mapping/types.rs": "Type definitions for mapping rules, diagnostics, and documents",
"crates/formspec-core/src/runtime_mapping/wire_json.rs": "JSON projections for mapping execution (host bindings)",
"crates/formspec-core/src/schema_validator.rs": "Schema validation with document type detection and validation dispatch",
"crates/formspec-core/src/seed_predicate.rs": "Static checks for a creation-time repeat seed predicate",
"crates/formspec-core/src/subject_key.rs": "Typed keys and canonical identity for Formspec subjects",
"crates/formspec-core/src/validation_report.rs": "Assemble validation-report candidates from qualified public findings",
"crates/formspec-core/src/value_coerce.rs": "Inbound field coercion (parity with TS `coerceFieldValue` in `formspec-engine` helpers)",
"crates/formspec-core/src/wire_keys.rs": "Centralized JSON field names for host bindings (`JsonWireStyle`)",
"crates/formspec-cross-stack-fixture-harness/src/canonicalization_vectors.rs": "Pinned canonicalization vectors for the Formspec response-handoff and",
"crates/formspec-cross-stack-fixture-harness/src/lib.rs": "Formspec-side harness for the cross-stack fixture corpus",
"crates/formspec-cross-stack-fixture-harness/src/paths.rs": "Filesystem anchors for formspec repo fixtures consumed by this harness",
"crates/formspec-document-kernel/src/bindings.rs": "JS WASM and Python PyO3 binding shells per ADR 0151 §4.3 and §14 (P0)",
"crates/formspec-document-kernel/src/branch_manager.rs": "ChangesetBranchManager managing Automerge branches per (sessionId, actor) (ADR 0151 §6, §14 P3)",
"crates/formspec-document-kernel/src/document.rs": null,
"crates/formspec-document-kernel/src/error.rs": "Error types for `formspec-document-kernel`",
"crates/formspec-document-kernel/src/escape_hatch.rs": "Escape-hatch APIs for `KernelObjectRef` resolution and history-walking per ADR 0151 §13.6",
"crates/formspec-document-kernel/src/kernel_ref.rs": "Object reference and bidirectional substrate ID registry per ADR 0151 §4.1",
"crates/formspec-document-kernel/src/lib.rs": "`formspec-document-kernel` — Rust document kernel wrapping Automerge 2.0 (ADR 0151)",
"crates/formspec-document-kernel/src/op.rs": "Substrate-aware op shapes and artifact types per ADR 0151 §4.1 and §4.4",
"crates/formspec-document-kernel/src/schema_convergence.rs": "Post-convergence schema-aware validation and reference lens shadow gate (ADR 0151 §5, §13.7, §14 P2)",
"crates/formspec-eval/README.md": "formspec-eval",
"crates/formspec-eval/conformance/mod.rs": "Shared-suite parity guard, native adapter: runs conformance cases through",
"crates/formspec-eval/docs/rustdoc-md/API.md": "formspec-eval — generated API (Markdown)",
"crates/formspec-eval/examples/conformance-case.rs": "Run one or a batch of expanded conformance cases against the native evaluator,",
"crates/formspec-eval/src/assemble_candidate.rs": "Assemble the Response evidence that is covered by signing",
"crates/formspec-eval/src/convert.rs": "Value resolution helpers for dotted paths and nested objects",
"crates/formspec-eval/src/create.rs": "Create Response values once, before the evaluation pipeline",
"crates/formspec-eval/src/eval_json.rs": "JSON helpers for definition evaluation and WASM eval context parsing",
"crates/formspec-eval/src/eval_options.rs": "Evaluation options for [`crate::pipeline::evaluate`]",
"crates/formspec-eval/src/explanations.rs": "Warning answers checked against the resolved reads of submit-profile Shape firings",
"crates/formspec-eval/src/fel_eval.rs": "FEL evaluation seam: every Definition expression evaluates through [`Fel`]",
"crates/formspec-eval/src/fel_json.rs": "Money-aware and date-aware JSON normalization for FEL field/variable loading (shared across pipeline stages)",
"crates/formspec-eval/src/host_context.rs": "Host-resident FEL context for ad-hoc reads: `compileExpression`, Locale `{{}}`, derivation traces",
"crates/formspec-eval/src/interpolation.rs": "`{{expression}}` interpolation (Locale §3.3.1) for Item text, Locale strings, and Shape messages",
"crates/formspec-eval/src/lib.rs": "Formspec Definition Evaluator — 4-phase batch processor",
"crates/formspec-eval/src/nrb.rs": "Phase 4: NRB (Non-Relevant Behavior) application",
"crates/formspec-eval/src/output_data.rs": "The nested Response projection of an evaluation: [`EvaluationResult::data`]",
"crates/formspec-eval/src/pipeline.rs": "Top-level evaluate orchestration (rebuild → recalculate → revalidate → NRB)",
"crates/formspec-eval/src/rebuild/expressions.rs": "Refuse invalid authored expressions before any expression in the Definition runs (Core §3.10.1)",
"crates/formspec-eval/src/rebuild/item_tree.rs": "Build `ItemInfo` tree from definition `items` and merge `binds` (object or array style)",
"crates/formspec-eval/src/rebuild/mod.rs": "Phase 1: Rebuild — build the item tree from a definition JSON",
"crates/formspec-eval/src/rebuild/nested_data.rs": "Response `data` arrives nested (Core: non-repeatable groups are objects, repeatable groups are",
"crates/formspec-eval/src/rebuild/repeat_data.rs": "Repeat-instance counting and wildcard expansion over flat indexed keys",
"crates/formspec-eval/src/rebuild/repeat_expand.rs": "Expand repeatable groups into concrete indexed items from response data",
"crates/formspec-eval/src/recalculate/bind_pass.rs": "Per-item evaluation of relevance, readonly, required, and defaults",
"crates/formspec-eval/src/recalculate/calculate_order.rs": "Resolve concrete calculate reads once for ordering and cycle refusal",
"crates/formspec-eval/src/recalculate/calculate_pass.rs": "Evaluate one calculated field at its concrete Item path",
"crates/formspec-eval/src/recalculate/dependency_scope.rs": "Conservative scoped read-dependency analysis for Definition rule-mutation selection",
"crates/formspec-eval/src/recalculate/json_fel.rs": "Calculated-field JSON coercion (precision, money wrapping). See [`crate::fel_json`] for JSON→FEL normalization",
"crates/formspec-eval/src/recalculate/mod.rs": "Phase 2: Recalculate — evaluate computed values and bind expressions",
"crates/formspec-eval/src/recalculate/text_pass.rs": "Item text pass: label, labels, description, and hint per Item instance (Core §4.2.1)",
"crates/formspec-eval/src/recalculate/variables.rs": "Order and evaluate Definition variables at their concrete item paths",
"crates/formspec-eval/src/recalculate/walk.rs": "Visits concrete Items in document order",
"crates/formspec-eval/src/registry_constraints.rs": "Build and validate [`ExtensionConstraint`](crate::ExtensionConstraint) vectors from registry JSON documents",
"crates/formspec-eval/src/resolved_options.rs": "Host-supplied resolved option lists for remote `optionSets` and URI-string `Item.options`",
"crates/formspec-eval/src/revalidate/expr.rs": "FEL expression evaluation for validation (shape and bind constraint truthiness)",
"crates/formspec-eval/src/revalidate/items.rs": "Bind-level validation: required, type, constraint, cardinality, extension constraints",
"crates/formspec-eval/src/revalidate/mod.rs": "Phase 3: Revalidate — validate all constraints and shapes",
"crates/formspec-eval/src/revalidate/reads.rs": "Resolve Core §2.1.6 explanation references at the same site as Shape evaluation",
"crates/formspec-eval/src/revalidate/shapes.rs": "Shape rules: single targets, wildcard expansion, composition (and/or/not/xone), context",
"crates/formspec-eval/src/runtime_context.rs": "Instance hydration and previous relevance state for evaluation",
"crates/formspec-eval/src/scope.rs": "Resolves FEL names, repeat navigation, and variables at a concrete Item path",
"crates/formspec-eval/src/screener_eval/availability.rs": "Screener availability window checks and unavailable determinations (screener-spec §9.1)",
"crates/formspec-eval/src/screener_eval/condition.rs": "FEL condition and numeric evaluation for screener routes",
"crates/formspec-eval/src/screener_eval/helpers.rs": "Shared helpers for determination record assembly and route mapping",
"crates/formspec-eval/src/screener_eval/mod.rs": "Standalone Screener Document evaluation — full pipeline per screener-spec.md §10",
"crates/formspec-eval/src/screener_eval/strategies.rs": "Phase strategy implementations (first-match, fan-out, score-threshold)",
"crates/formspec-eval/src/screener_eval/validity.rs": "Result validity (`resultValidity`) and ISO 8601 duration parsing",
"crates/formspec-eval/src/screener_qualification.rs": "Qualify a native Screener result before selecting a bounded Surface destination",
"crates/formspec-eval/src/types/definition.rs": "Definition-level variable declarations",
"crates/formspec-eval/src/types/determination.rs": "Determination Record types — structured output of screener evaluation",
"crates/formspec-eval/src/types/evaluation.rs": "Evaluation trigger, context, and output types",
"crates/formspec-eval/src/types/extensions.rs": "Extension constraint payloads from registry entries",
"crates/formspec-eval/src/types/item_tree.rs": "Item tree nodes built from the definition",
"crates/formspec-eval/src/types/mod.rs": "Core types for the Formspec evaluator",
"crates/formspec-eval/src/types/modes.rs": "NRB, whitespace normalization, and excluded-value modes",
"crates/formspec-eval/src/types/paths.rs": "Path normalization and item-tree lookup",
"crates/formspec-eval/src/types/taxonomy.rs": "Closed taxonomies for validation diagnostics (SWEEP-001)",
"crates/formspec-eval/src/value_predicate.rs": "Core §4.3.1 emptiness after input whitespace normalization",
"crates/formspec-lint/README.md": "formspec-lint",
"crates/formspec-lint/docs/rustdoc-md/API.md": "formspec-lint — generated API (Markdown)",
"crates/formspec-lint/schemas/app-graph-validation-report.schema.json": "Formspec App Graph Validation Report — Deterministic AppGraphValidator output report. This schema covers the report e...",
"crates/formspec-lint/schemas/changelog.schema.json": "Formspec Changelog Document — Enumerates differences between two versions of a Formspec Definition. Each change is an...",
"crates/formspec-lint/schemas/common.schema.json": "Formspec Common Schema Primitives — Shared schema definitions used by Formspec Definition, Theme, and Component docum...",
"crates/formspec-lint/schemas/component.schema.json": "Formspec Component Document — A Formspec Component Document per the Component Specification. Defines a Tier 3 paralle...",
"crates/formspec-lint/schemas/conformance-suite.schema.json": "Formspec Shared Conformance Suite — Canonical shared-case and suite contract for the cross-runtime parity guard and e...",
"crates/formspec-lint/schemas/core-commands.schema.json": "Core Command Catalog — Structured catalog of all commands available in formspec-core. Each entry defines the command ...",
"crates/formspec-lint/schemas/data-sources.schema.json": "Formspec Data Sources — Peer app-graph artifact declaring named Data Sources for app, route, slot, module, resource, ...",
"crates/formspec-lint/schemas/definition.schema.json": "Formspec Definition — A Formspec Definition document per the Formspec v1.0 specification. A Definition is a versioned...",
"crates/formspec-lint/schemas/determination.schema.json": "Formspec Determination Record — A Formspec Determination Record — the structured output artifact produced by evaluati...",
"crates/formspec-lint/schemas/experience.schema.json": "Formspec Experience — A Formspec Experience Document per the Experience specification. A standalone sidecar that name...",
"crates/formspec-lint/schemas/intake-handoff.schema.json": "Formspec Intake Handoff — A Formspec Intake Handoff records the boundary object emitted when a validated intake sessi...",
"crates/formspec-lint/schemas/issuer.schema.json": "Formspec Issuer Document — A standalone sidecar declaring who is asking the form. One Issuer publishes many Definitio...",
"crates/formspec-lint/schemas/locale.schema.json": "Formspec Locale Document (v2.1) — Internationalized presentation strings for one exact Definition, App Manifest, or S...",
"crates/formspec-lint/schemas/mapping.schema.json": "Formspec Mapping Document — A Formspec Mapping DSL v1.0 document describing bidirectional data transformation between...",
"crates/formspec-lint/schemas/ontology.schema.json": "Formspec Ontology Document — A Formspec Ontology Document per the Ontology specification. A standalone sidecar that a...",
"crates/formspec-lint/schemas/outcome-verification-case.schema.json": "Outcome Verification Case — An authored, data-only procedure and closed set of expected observations for one pinned N...",
"crates/formspec-lint/schemas/outcome-verification-report.schema.json": "Outcome Verification Report — A generated, point-in-time comparison of normalized owner-produced observations against...",
"crates/formspec-lint/schemas/posture-declaration.schema.json": "Formspec Posture Declaration — Per-deployment posture declaration consumed by WOS admission (ADR-0090 D8). Declares s...",
"crates/formspec-lint/schemas/references.schema.json": "Formspec References Document — A Formspec References Document per the References specification. A standalone layer th...",
"crates/formspec-lint/schemas/registry.schema.json": "Formspec Registry Document (v1.1) — A static JSON document format for publishing, discovering, and validating Formspe...",
"crates/formspec-lint/schemas/response-actions.schema.json": "Formspec Response Actions — Sidecar document declaring named response or app actions, FEL preconditions, validation t...",
"crates/formspec-lint/schemas/response.schema.json": "Formspec Response — A Formspec Response document — a completed or in-progress Instance pinned to a specific Definitio...",
"crates/formspec-lint/schemas/screener.schema.json": "Formspec Screener Document — A standalone Formspec Screener document for respondent classification and routing. A Scr...",
"crates/formspec-lint/schemas/surface.schema.json": "Formspec Surface (v0.4) — A published Formspec Surface document per ADR 0150 §6 (Surface as composition primitive). S...",
"crates/formspec-lint/schemas/theme.schema.json": "Formspec Theme Document — A Formspec Theme document — a sidecar JSON file that controls visual presentation without m...",
"crates/formspec-lint/schemas/token-registry.json": "Formspec platform token catalog — tokens consumed by the default CSS skin",
"crates/formspec-lint/schemas/validation-mapping.schema.json": "Formspec Validation Mapping — Closed vocabularies and the master mapping table that reconciles Action Intent, Validat...",
"crates/formspec-lint/schemas/validation-report.schema.json": "Formspec Validation Report — A standalone Validation Report aggregating all validation results for a Response at a po...",
"crates/formspec-lint/schemas/validation-result.schema.json": "Formspec Validation Result — A single structured finding from checking the Definition or evaluating a constraint (§2....",
"crates/formspec-lint/schemas/verification-receipt.schema.json": "Formspec Verification Receipt — Structured verification result from the crypto-verifier port (ADR-0088). Produced by ...",
"crates/formspec-lint/specs/lint-codes.json": "Canonical registry of Formspec lint rule codes. Tested rules carry a normative spec pointer (specRef) and an imperati...",
"crates/formspec-lint/specs/ui-policy.json": "Machine-readable UI authoring policy shared by schema-adjacent tooling, Rust lint, TypeScript runtime helpers, and au...",
"crates/formspec-lint/src/access_classes.rs": "Pass 3b (E613): `accessControl.class` resolution against the Access-Class Registry",
"crates/formspec-lint/src/app_graph_report.rs": "Bridges completed AppGraph reports into lint-facing diagnostics",
"crates/formspec-lint/src/bind_consistency.rs": "Core §3.10.3: nonblocking advisories from effective Item Bind properties",
"crates/formspec-lint/src/component_matrix.rs": "Component/dataType compatibility accessors for built-in input components",
"crates/formspec-lint/src/definition_expression_checks.rs": "Definition-wide checks for reactive expressions, seeds, text, fees and migrations",
"crates/formspec-lint/src/definition_version.rs": "Version strings under their `versionAlgorithm` (Core §6.2)",
"crates/formspec-lint/src/dependencies.rs": "Pass 5: dependency analysis — E500 for every cycle in the Core §3.6.1 dependency graph",
"crates/formspec-lint/src/document_declarations.rs": "Check declared document references, locale identity, and available inline bytes",
"crates/formspec-lint/src/expression_semantics.rs": "Resolve static FEL dependencies in the Definition that owns each expression",
"crates/formspec-lint/src/expressions.rs": "Pass 4: Expression compilation — parses all FEL expression slots in a definition,",
"crates/formspec-lint/src/extensions.rs": "Pass 3b: Extension validation (E600/E601/E602)",
"crates/formspec-lint/src/generated/lint_code.rs": "AUTO-GENERATED from specs/lint-codes.json — DO NOT EDIT",
"crates/formspec-lint/src/generated/mod.rs": "Codegen output (registry-driven)",
"crates/formspec-lint/src/lib.rs": "Formspec Linter — static analysis and validation pipeline",
"crates/formspec-lint/src/lint_json.rs": "`serde_json::Value` projection for lint results (WASM / Python FFI)",
"crates/formspec-lint/src/metadata.rs": "Authoring-loop metadata for lint diagnostics — maps each rule code to the",
"crates/formspec-lint/src/pass_accessibility.rs": "Pass 10: accessibility document rules (ADR 0166 §3, step 1)",
"crates/formspec-lint/src/pass_component/check_duplicate_bind.rs": "Duplicate binds in tree (W804) and editable binding uniqueness (W803)",
"crates/formspec-lint/src/pass_component/check_forbidden_bind.rs": "Forbidden component binds (W801), from each component's own Bind clause",
"crates/formspec-lint/src/pass_component/check_input_compat.rs": "Bind resolution by component category (W800) and field/component type compatibility",
"crates/formspec-lint/src/pass_component/check_options_source.rs": "Options-required components without field options (E803)",
"crates/formspec-lint/src/pass_component/check_params.rs": "Custom component required params (E806)",
"crates/formspec-lint/src/pass_component/check_responsive.rs": "Component responsive override lint (W806)",
"crates/formspec-lint/src/pass_component/check_textinput_variant.rs": "TextInput formatted variants require string fields (E804)",
"crates/formspec-lint/src/pass_component/check_theme_alignment.rs": "Component/Theme cross-artifact UI structure checks (E805, W805, W807)",
"crates/formspec-lint/src/pass_component/check_unknown.rs": "Unknown component type (E801)",
"crates/formspec-lint/src/pass_component/check_when.rs": "Component `when` guards must parse as FEL and use explicit repeat subscripts",
"crates/formspec-lint/src/pass_component/classification.rs": "Built-in component names and bind/layout classification",
"crates/formspec-lint/src/pass_component/custom_cycles.rs": "Custom component reference cycle detection (E807)",
"crates/formspec-lint/src/pass_component/field_lookup.rs": "Definition item lookup for cross-artifact bind resolution",
"crates/formspec-lint/src/pass_component/mod.rs": "Pass 7: Component document semantic checks (E800-E807, W800-W807), and E400 for `when`",
"crates/formspec-lint/src/pass_component/walk.rs": "Component tree walk and per-node rule dispatch",
"crates/formspec-lint/src/pass_experience.rs": "Pass 9: Experience document semantic checks",
"crates/formspec-lint/src/pass_issuer.rs": "Pass 9: Issuer semantic checks",
"crates/formspec-lint/src/pass_locale.rs": "Pass 9: Locale document semantic checks",
"crates/formspec-lint/src/pass_mapping.rs": "Pass 9: Mapping document semantic checks and static-analysis facts",
"crates/formspec-lint/src/pass_modules.rs": "Pass 3c: Module contribution resolution (E603 / E604) and bundle-graph",
"crates/formspec-lint/src/pass_ontology.rs": "Pass 9: Ontology document semantic checks and static-analysis facts",
"crates/formspec-lint/src/pass_posture.rs": "Pass 3e: Posture admission (E608 / E609) — ADR 0150 §4.4/§5.4",
"crates/formspec-lint/src/pass_references_doc.rs": "Pass 9: References document semantic checks",
"crates/formspec-lint/src/pass_response.rs": "Pass 8 — Response cross-field invariants and signature method validation",
"crates/formspec-lint/src/pass_response_actions.rs": "Pass 9: Response Actions semantic checks",
"crates/formspec-lint/src/pass_screener.rs": "Pass 9: Screener semantic hardening and Determination Record consistency",
"crates/formspec-lint/src/pass_surface.rs": "Pass 8: Surface semantic hardening — route-graph reachability + slot binding validity",
"crates/formspec-lint/src/pass_theme/contrast.rs": "Effective Theme color-pair contrast checks (E1903 below the WCAG AA floor, W714 below a Theme's own stricter minimum)",
"crates/formspec-lint/src/pass_theme/mod.rs": "Pass 6: Theme document semantic checks (W700-W714, E710)",
"crates/formspec-lint/src/pass_theme/token_refs.rs": "`$token.*` reference extraction and integrity checks (W704)",
"crates/formspec-lint/src/pass_theme/token_registry.rs": "Embedded platform token registry and declared-token validation (W700–W703, W708–W710)",
"crates/formspec-lint/src/pass_theme/value_validators.rs": "CSS value validators for theme token declarations (W700–W703)",
"crates/formspec-lint/src/posture_admission.rs": "ADR 0150 §4.4/§5.4 posture admission matchers — Rust authority for lint;",
"crates/formspec-lint/src/references.rs": "Pass 3: Reference validation — checks bind paths and shape targets resolve against the item tree",
"crates/formspec-lint/src/repeat_references.rs": "E304 checks subscripts against the Definition at each expression site",
"crates/formspec-lint/src/response_documents.rs": "Bind resolved document selections to their Definition and committed signing gesture",
"crates/formspec-lint/src/response_instances.rs": "Diagnose Definition-local response instances and subject declarations",
"crates/formspec-lint/src/schema_validation.rs": "Pass 1b: JSON Schema validation against embedded schemas",
"crates/formspec-lint/src/semantic_helpers.rs": "Shared helpers for companion-document semantic lint passes",
"crates/formspec-lint/src/shape_explanations.rs": "Warning answer modes on Definition Shapes (Core §5.2.1, ADR 0173 §4.1)",
"crates/formspec-lint/src/tree.rs": "Pass 2: Tree indexing — flattens the item tree into a lookup index",
"crates/formspec-lint/src/types.rs": "Shared types for the formspec lint pipeline (diagnostics, modes, results)",
"crates/formspec-lint/src/ui_policy.rs": "Shared UI authoring policy loaded from `specs/ui-policy.json` (the crate ships a mirror; `make sync-lint-schemas` ref...",
"crates/formspec-py/README.md": "formspec-py (`formspec_rust`)",
"crates/formspec-py/src/candidate.rs": "Exact JSON binding for the pre-signing Response assembler",
"crates/formspec-py/src/changelog.rs": "Changelog generation binding",
"crates/formspec-py/src/convert.rs": "Python ↔ FEL / JSON conversion helpers for the PyO3 `formspec_rust` module",
"crates/formspec-py/src/document.rs": "Document type detection, linting, definition evaluation, and screener bindings",
"crates/formspec-py/src/extensions.rs": "Python-callable FEL extension functions (Core §3.12) for `evaluate_def`",
"crates/formspec-py/src/fel.rs": "FEL evaluation, parse, and dependency PyO3 bindings",
"crates/formspec-py/src/lib.rs": "PyO3 bindings for Formspec — FEL, linting, definition evaluation, registry, changelog, and mapping to Python",
"crates/formspec-py/src/mapping.rs": "Mapping document parsing and `execute_mapping_doc` PyO3 binding",
"crates/formspec-py/src/registry.rs": "Registry document parsing and entry lookup bindings",
"crates/formspec-py/src/response_selection.rs": "JSON text bindings for the pure Response selector",
"crates/formspec-signature-adapter-ring/src/lib.rs": null,
"crates/formspec-signature-cose/src/lib.rs": "Formspec COSE_Sign1 compatibility helpers",
"crates/formspec-signature-port/src/lib.rs": "Formspec signature facade over generic integrity signing ports",
"crates/formspec-wasm/README.md": "formspec-wasm",
"crates/formspec-wasm/src/bin/bloat_runtime.rs": "Native size anchor for `cargo bloat` (host target)",
"crates/formspec-wasm/src/bin/bloat_tools.rs": "Native size anchor for `cargo bloat` including **`formspec-lint`** (tools WASM graph)",
"crates/formspec-wasm/src/candidate.rs": "Exact JSON binding for the pre-signing Response assembler",
"crates/formspec-wasm/src/changelog.rs": "Changelog generation (`wasm_bindgen`)",
"crates/formspec-wasm/src/changeset.rs": "WASM bindings for changeset dependency analysis",
"crates/formspec-wasm/src/definition.rs": "Definition helpers for WASM, including authoring checks in the tools build",
"crates/formspec-wasm/src/document.rs": "Document type detection, schema validation planning, and linting",
"crates/formspec-wasm/src/evaluate.rs": "Definition batch evaluation and screener (`wasm_bindgen`)",
"crates/formspec-wasm/src/extensions.rs": "JavaScript-backed FEL extension functions (Core §3.12) for the engine bridge",
"crates/formspec-wasm/src/fel.rs": "FEL evaluation, analysis, and path utilities (`wasm_bindgen`). `fel-authoring` adds parse/tokenize/print/rewrites/cat...",
"crates/formspec-wasm/src/fel_context.rs": "`FelContext`: a WASM-resident FEL context the engine loads once per evaluation and reads many times",
"crates/formspec-wasm/src/json_host.rs": "Shared JSON parse/stringify helpers for wasm_bindgen surfaces",
"crates/formspec-wasm/src/lib.rs": "WASM bindings for Formspec — exposes FEL, evaluation, assembly, mapping, and (with `lint`) linting to TS",
"crates/formspec-wasm/src/mapping.rs": "Runtime mapping rule arrays and mapping documents (`wasm_bindgen`)",
"crates/formspec-wasm/src/ontology.rs": "JSON-LD context derivation for Ontology documents (`wasm_bindgen`, `ontology-api`)",
"crates/formspec-wasm/src/registry.rs": "Registry client and extension usage validation (`wasm_bindgen`)",
"crates/formspec-wasm/src/response_selection.rs": "JSON text bindings for the preview Response selector",
"crates/formspec-wasm/src/split_abi.rs": "Lockstep ABI marker shared by runtime and tools WASM artifacts",
"crates/formspec-wasm/src/subject.rs": "Subject identity, exported by both the runtime and the tools WASM builds",
"crates/formspec-wasm/src/value_coerce.rs": "WASM bindings for inbound field coercion (`coerceFieldValue`) and whole-Response",
"crates/formspec-wasm/src/wasm_tests.rs": "Native unit tests for wasm binding helpers (string JSON API); no wasm runtime required",
"docs/changelog.html": "Formspec Changelog Specification",
"docs/component-spec.html": "Formspec Component Specification",
"docs/exact-json-numbers.md": "Exact JSON numbers in evaluator responses",
"docs/extension-registry.html": "Formspec Extension Registry",
"docs/fel-grammar.html": "FEL Grammar Specification",
"docs/grant-application-guide.md": "Grant Application — Formspec Walkthrough",
"docs/grant-application.html": "Grant Application — Formspec Walkthrough",
"docs/index.html": "Formspec v1.0",
"docs/locale-spec.html": "Formspec Locale Specification",
"docs/mapping.html": "Formspec Mapping Specification",
"docs/ontology-spec.html": "Formspec Ontology Specification",
"docs/references-spec.html": "Formspec References Specification",
"docs/spec.html": "Formspec Core Specification",
"docs/superpowers/plans/2026-03-30-editor-workspace-consolidation.md": "Editor Workspace Consolidation Implementation Plan",
"docs/template.html": "$title$",
"docs/theme-spec.html": "Formspec Theme Specification",
"examples/README.md": "Examples",
"examples/case-initiation/public-intake-handoff.json": null,
"examples/case-initiation/workflow-initiated-handoff.json": null,
"examples/clinical-intake/README.md": "Clinical Intake Example",
"examples/clinical-intake/intake.definition.json": "Clinical Intake Survey — Patient intake form with triage screener, nested repeats, pre-population instances, and comp...",
"examples/clinical-intake/intake.theme.json": "Clinical Intake Theme",
"examples/clinical-intake/screener.json": "Clinical Intake Survey — Screener",
"examples/clinical-intake/validate.py": "Validate all clinical-intake example artifacts using the formspec validation helper",
"examples/grant-application/README.md": "Grant Application — Formspec Kitchen-Sink Reference",
"examples/grant-application/assemble.mjs": "Assemble the authored grant example and refresh its runtime copies.",
"examples/grant-application/component.json": "Grant Application Layout",
"examples/grant-application/contact-fragment.json": "Grant Application Contact Fragment — Reusable contact information fields for grant application sections",
"examples/grant-application/definition.json": "Federal Grant Application — Standard federal grant application demonstrating the full Formspec feature set",
"examples/grant-application/grant-bridge.css": "grant-bridge.css — USWDS bridge for the grant application demo",
"examples/grant-application/registry.json": null,
"examples/grant-application/screener.json": "Federal Grant Application — Screener",
"examples/grant-application/source/definition.json": "Federal Grant Application — Standard federal grant application demonstrating the full Formspec feature set",
"examples/grant-application/theme-pdf.json": "Grant Application Theme (PDF) — Print-first static rendering theme for PDF generation",
"examples/grant-application/theme.json": "Grant Application Theme",
"examples/grant-application/validate.py": "Validate all grant-application JSON artifacts using the formspec validation helper",
"examples/grant-report/tribal-base.definition.json": "Regional Annual Report — Base Module — Shared items for Regional Annual Report short and long variants. Includes basi...",
"examples/grant-report/tribal-long.definition.json": "Regional Annual Report — Long Form — Extended annual report for tribal organizations submitting annual program report...",
"examples/grant-report/tribal-short.definition.json": "Regional Annual Report — Short Form — Annual report for tribal organizations submitting annual program reports. Cover...",
"examples/grant-report/tribal.theme.json": "USWDS-aligned theme for annual report forms. Uses US Web Design System tokens and Public Sans typeface",
"examples/grant-report/validate.py": "Validate all grant-report JSON artifacts using the formspec validation helper",
"examples/invoice/README.md": "Invoice Example",
"examples/invoice/invoice.definition.json": "Invoice — Line-item invoice with repeat groups and calculated totals (subtotal, tax, discount, grand total)",
"examples/invoice/invoice.theme.json": "Invoice Theme",
"examples/invoice/validate.py": "Validate all invoice example artifacts using the formspec validation helper",
"examples/react-demo/index.html": "Formspec React Demo — Generic Form",
"examples/react-demo/package.json": "react-demo",
"examples/react-demo/src/App.tsx": "Demo app showcasing formspec-react with zero component overrides.",
"examples/react-demo/src/definition.json": "Community Impact Grant Application — Apply for funding to support community-focused projects in education, health, en...",
"examples/react-demo/src/globals.css": "Demo app styles — theme token emission + app shell styling",
"examples/react-demo/src/main.tsx": "Entry point for the formspec-react demo app.",
"examples/react-demo/src/theme.json": "React Demo Theme",
"examples/references/index.html": "Formspec — Reference Examples",
"examples/references/main.js": "Entry point for the references example: registers formspec-render and loads forms.",
"examples/references/package.json": "formspec-references",
"examples/references/serve.py": "Static HTTP server for the built references app (stdlib only)",
"examples/references/tools.html": "Form Intelligence Dashboard — Formspec",
"examples/references/tools.js": "Form Intelligence Dashboard — tools.js",
"examples/signature-attestation/README.md": "Signature Attestation",
"examples/signature-attestation/definition.json": "Signature Attestation — Minimal signing example with explicit consent, signature capture, and identity-proof reference",
"examples/surface-preview/README.md": "Static Surface preview",
"examples/surface-preview/index.html": "Surface preview",
"examples/surface-preview/main.tsx": "Load declared preview files and mount the maintained browser app in hash mode.",
"examples/surface-preview/validation.ts": "Validate preview sidecars and source payloads with the published schemas.",
"examples/uswds-grant/grant.definition.json": "Community Development Grant Application — Application for community development block grant funding. Demonstrates USW...",
"examples/uswds-grant/grant.theme.json": "Community Grant — USWDS Web Theme — USWDS v3 theme for the community development grant application. Uses the formspec...",
"examples/uswds-grant/index.html": "USWDS Grant Application — Formspec Demo",
"examples/uswds-grant/main.js": "Entry point for the USWDS Grant Application demo.",
"examples/uswds-grant/package.json": "formspec-uswds-grant-demo",
"examples/uswds-grant/validate.py": "Validate all USWDS grant example artifacts",
"output/playwright/v12-ux-ui-audit-2026-07-30/ux-ui-audit.md": "v12 UX/UI audit",
"package.json": "Formspec monorepo — a JSON-native declarative form specification with dual TypeScript/Python reference implementations",
"packages/formspec-adapters/CHANGELOG.md": "@formspec-org/adapters",
"packages/formspec-adapters/README.md": "formspec-adapters",
"packages/formspec-adapters/package.json": "Render adapter library — design-system-specific DOM implementations for formspec-webcomponent",
"packages/formspec-adapters/scripts/build-css.mjs": "CLI: compiles a self-contained USWDS-family Sass entry into a CSS sheet with inlined assets and a sibling class-vocab...",
"packages/formspec-adapters/src/helpers.ts": "Shared utilities for adapter implementations.",
"packages/formspec-adapters/src/index.ts": "Render adapter library — design-system adapters for formspec-webcomponent.",
"packages/formspec-adapters/src/shared/input-factory.ts": "Shared factory for constructing standard input controls (deduplicates mechanical wiring).",
"packages/formspec-adapters/src/shared/option-list.ts": "Shared option-list loop for checkbox/radio group adapters (design-system render hooks).",
"packages/formspec-adapters/src/shared/wizard-chrome.ts": "Shared wizard shell wiring — root, panels, nav, skip (design-system classes stay in adapters).",
"packages/formspec-adapters/src/tailwind/checkbox-group.ts": "Tailwind adapter for CheckboxGroup — card-style multi-select grid.",
"packages/formspec-adapters/src/tailwind/date-picker.ts": "Tailwind adapter for DatePicker — renders native date input with Tailwind styling.",
"packages/formspec-adapters/src/tailwind/file-upload.ts": "Tailwind adapter for FileUpload — drag-drop zone with styled file input.",
"packages/formspec-adapters/src/tailwind/index.ts": "Tailwind CSS render adapter — utility-first styling on semantic HTML elements",
"packages/formspec-adapters/src/tailwind/money-input.ts": "Tailwind adapter for MoneyInput — input group with currency prefix.",
"packages/formspec-adapters/src/tailwind/number-input.ts": "Tailwind adapter for NumberInput — renders styled number input with optional prefix/suffix group.",
"packages/formspec-adapters/src/tailwind/radio-group.ts": "Tailwind adapter for RadioGroup — card-style option grid.",
"packages/formspec-adapters/src/tailwind/rating.ts": "Tailwind adapter for Rating — star-rating with ARIA slider pattern.",
"packages/formspec-adapters/src/tailwind/select.ts": "Tailwind adapter for Select — renders styled dropdown.",
"packages/formspec-adapters/src/tailwind/shared.ts": "Shared DOM construction and neutral Tailwind utilities for adapters",
"packages/formspec-adapters/src/tailwind/signature.ts": "Tailwind adapter for Signature — canvas drawing with styled clear button.",
"packages/formspec-adapters/src/tailwind/slider.ts": "Tailwind adapter for Slider — range input with optional value display and ticks.",
"packages/formspec-adapters/src/tailwind/tabs.ts": "Tailwind adapter for Tabs — styled tab bar with panel switching.",
"packages/formspec-adapters/src/tailwind/tailwind-formspec-core.css": "Default styles for core Formspec plugins when using the Tailwind adapter — Card, ActionButton, ValidationSummary.",
"packages/formspec-adapters/src/tailwind/text-input.ts": "Tailwind adapter for TextInput — renders styled input or textarea.",
"packages/formspec-adapters/src/tailwind/toggle.ts": "Tailwind adapter for Toggle — switch with correct peer ordering for knob motion.",
"packages/formspec-adapters/src/tailwind/wizard.ts": "Tailwind adapter for page-mode wizard rendering (formPresentation.pageMode: \"wizard\")",
"packages/formspec-adapters/src/uswds/action-button.ts": "USWDS v3 adapter for ActionButton — usa-button primary action.",
"packages/formspec-adapters/src/uswds/checkbox-group.ts": "USWDS v3 adapter for CheckboxGroup — renders usa-checkbox markup inside a fieldset.",
"packages/formspec-adapters/src/uswds/date-picker.ts": "USWDS v3 adapter for DatePicker — usa-date-picker markup + text input (parity with RealUSWDSStory)",
"packages/formspec-adapters/src/uswds/display-components.ts": "USWDS display & special components — usa-alert, usa-card, usa-table, usa-prose, etc.",
"packages/formspec-adapters/src/uswds/file-upload.ts": "USWDS v3 adapter for FileUpload — usa-file-input with drag-drop target.",
"packages/formspec-adapters/src/uswds/index.ts": "USWDS v3 render adapter — CSS-only except DatePicker, which mounts USWDS's own date-picker JS.",
"packages/formspec-adapters/src/uswds/layout/accordion.ts": "USWDS Accordion — `usa-accordion` buttons + regions; repeat-bind mirrors default adapter behavior.",
"packages/formspec-adapters/src/uswds/layout/collapsible.ts": "USWDS Collapsible — single-panel `usa-accordion` pattern with manual `aria-expanded` / `hidden` (no USWDS JS).",
"packages/formspec-adapters/src/uswds/layout/divider.ts": "USWDS-styled divider — horizontal rule or flex row with label (tokens via formspec-uswds-divider SCSS).",
"packages/formspec-adapters/src/uswds/layout/grid-shared.ts": "Shared USWDS 12-column row helpers for Grid layout adapters (tablet col span classes).",
"packages/formspec-adapters/src/uswds/layout/grid.ts": "USWDS layout grid — `grid-row` / `grid-col-*` with optional token gaps; string `columns` falls back to default CSS grid.",
"packages/formspec-adapters/src/uswds/layout/group.ts": "USWDS bound groups and repeatable groups — `usa-fieldset`/`usa-legend`, `usa-button` affordances.",
"packages/formspec-adapters/src/uswds/layout/modal.ts": "USWDS Modal — native `<dialog>` with `usa-modal` inner structure (CSS-only; no USWDS modal JS).",
"packages/formspec-adapters/src/uswds/layout/overlay.ts": "Fixed positioning and focus helpers for USWDS Modal/Popover adapters (no webcomponent runtime import).",
"packages/formspec-adapters/src/uswds/layout/page.ts": "USWDS Section layout — `usa-section` + `grid-container` + `usa-prose` for body content.",
"packages/formspec-adapters/src/uswds/layout/panel.ts": "USWDS Panel layout — `usa-card` with optional heading and body slot.",
"packages/formspec-adapters/src/uswds/layout/popover.ts": "USWDS Popover — trigger + floating `usa-card` panel (popover API or hidden fallback).",
"packages/formspec-adapters/src/uswds/layout/repeat-cards.ts": "USWDS RepeatCards presentation — one `usa-card` per repeat instance, Add below the list.",
"packages/formspec-adapters/src/uswds/layout/stack.ts": "USWDS Stack layout — vertical stack as full-width row cells; horizontal as auto-width cells on tablet+.",
"packages/formspec-adapters/src/uswds/money-input.ts": "USWDS v3 adapter for MoneyInput — usa-input-group (fixed currency) or grid row (editable code + amount).",
"packages/formspec-adapters/src/uswds/number-input.ts": "USWDS v3 adapter for NumberInput — renders usa-input with type=\"number\".",
"packages/formspec-adapters/src/uswds/radio-group.ts": "USWDS v3 adapter for RadioGroup — renders usa-radio markup inside a fieldset.",
"packages/formspec-adapters/src/uswds/rating.ts": "USWDS v3 adapter for Rating — star-rating with USWDS form-group wrapper and ARIA slider.",
"packages/formspec-adapters/src/uswds/select.ts": "USWDS v3 adapter for Select — renders usa-select dropdown markup.",
"packages/formspec-adapters/src/uswds/shared.ts": "Shared DOM construction for USWDS field adapters — root, label, hint, error.",
"packages/formspec-adapters/src/uswds/signature.ts": "USWDS v3 adapter for Signature — canvas drawing with USWDS button for clear.",
"packages/formspec-adapters/src/uswds/slider.ts": "USWDS v3 adapter for Slider — usa-range input with optional value display and ticks.",
"packages/formspec-adapters/src/uswds/tabs.ts": "USWDS v3 adapter for Tabs — usa-button-group segmented tab bar.",
"packages/formspec-adapters/src/uswds/text-input.ts": "USWDS v3 adapter for TextInput — usa-input or usa-textarea, with usa-character-count for maxLength.",
"packages/formspec-adapters/src/uswds/toggle.ts": "USWDS v3 adapter for Toggle — standard usa-checkbox boolean (matches USWDS form patterns).",
"packages/formspec-adapters/src/uswds/wizard.ts": "USWDS v3 adapter for page-mode wizard rendering (formPresentation.pageMode: \"wizard\")",
"packages/formspec-adapters/tailwind-formspec-core.css": "Default styles for core Formspec plugins when using the Tailwind adapter — Card, ActionButton, ValidationSummary.",
"packages/formspec-adapters/uswds-base.css": null,
"packages/formspec-adapters/uswds-formspec.css": null,
"packages/formspec-adapters/uswds.classes.js": "Generated by scripts/build-css.mjs — sorted class vocabulary selected in the compiled sheet. Do not hand-edit.",
"packages/formspec-adapters/vitest.config.ts": "Vitest configuration for the formspec-adapters package (happy-dom environment).",
"packages/formspec-app-graph/CHANGELOG.md": "@formspec-org/app-graph",
"packages/formspec-app-graph/README.md": "Exact Component selection",
"packages/formspec-app-graph/package.json": "Shared AppGraphValidator report kernel and interface types",
"packages/formspec-app-graph/src/app-entry.ts": "App Manifest 2.4+ entry Surface and selected route validation.",
"packages/formspec-app-graph/src/artifact-resolver.ts": "Shared ArtifactResolver kernel for App Manifest sibling refs.",
"packages/formspec-app-graph/src/component-graph-context.ts": "Validates host-supplied Component graph projection context evidence.",
"packages/formspec-app-graph/src/component-identity.ts": "Component graph identity helpers.",
"packages/formspec-app-graph/src/component-route-resolution.ts": "Exact presentation selection from a schema-validated App graph. No route or service authority",
"packages/formspec-app-graph/src/component-routes.ts": "Built-in Component route target validation for app graphs.",
"packages/formspec-app-graph/src/data-sources.ts": "Data Sources catalog, availability, and Surface widget binding checks.",
"packages/formspec-app-graph/src/definition-publication.ts": "Build the trace record for each published Definition from the admitted bundle.",
"packages/formspec-app-graph/src/document-lint.ts": "Shared lint diagnostics and URL-paired bundle document lint through an injected linter.",
"packages/formspec-app-graph/src/draft-start-target.ts": "Resolve a new draft's destination and the source of each subject key.",
"packages/formspec-app-graph/src/executable-schema-contracts.ts": "Registry and Data Source executable-schema and port-name lint.",
"packages/formspec-app-graph/src/experience-action-refs.ts": "Experience.units[].actionRefs cross-artifact validation against loaded Response Actions action ids.",
"packages/formspec-app-graph/src/experience-referential-integrity.ts": "Experience-internal actor and task reference validation.",
"packages/formspec-app-graph/src/form-status-targets.ts": "Resolves Surface form-status references for validation and planning.",
"packages/formspec-app-graph/src/index.ts": "Public exports for the AppGraphValidator report kernel.",
"packages/formspec-app-graph/src/instance-projection.ts": "Pairs response instances and catalog sources with upstream Definitions for Rust validation.",
"packages/formspec-app-graph/src/locale-associations.ts": "App Manifest 2.4+ Locale reference and target coherence checks.",
"packages/formspec-app-graph/src/module-resolver.ts": "Shared ModuleResolver kernel for module admission and contribution evidence.",
"packages/formspec-app-graph/src/need-usable-outcomes.ts": "Advisory matching from Experience Need completion declarations to statically usable outputs.",
"packages/formspec-app-graph/src/needs-coverage.ts": "Needs Document integrity, needRef resolution, and coverage diagnostics over a caller-paired bundle.",
"packages/formspec-app-graph/src/platform-token-keys.ts": "Declared platform token keys — generated from schemas/token-registry.json.",
"packages/formspec-app-graph/src/posture-admission.ts": "ADR 0150 §4.4/§5.4 posture admission matchers shared by app-graph and lint parity.",
"packages/formspec-app-graph/src/producer.ts": "Production-callable AppGraph report producer pipeline.",
"packages/formspec-app-graph/src/rendered-need-trace.ts": "Opt-in strict validation from every authored render node to an adopted, current Need.",
"packages/formspec-app-graph/src/report.ts": "Deterministic report helpers for AppGraphValidator output.",
"packages/formspec-app-graph/src/response-action-resolution.ts": "Shared Response Actions identity and trigger resolution.",
"packages/formspec-app-graph/src/screener-surface-targets.ts": "Screener surface:<route-id> terminal-hop validation for app graphs.",
"packages/formspec-app-graph/src/section-title-duplicates.ts": "Duplicate visible titles in a resolved workspace or Wizard plan.",
"packages/formspec-app-graph/src/structured-panel-contracts.ts": "Cross-artifact semantic lint for the generic StructuredPanel widget.",
"packages/formspec-app-graph/src/surface-definition-slots.ts": "Surface definition-form slot binding cross-artifact validation against loaded Definitions.",
"packages/formspec-app-graph/src/surface-draft-review.ts": "Resolve an authored draft review to its exact local form route and slot.",
"packages/formspec-app-graph/src/surface-experience-units.ts": "Surface experience-unit slot validation for app graphs.",
"packages/formspec-app-graph/src/surface-response-action-triggers.ts": "Surface transition trigger validation against Response Actions.",
"packages/formspec-app-graph/src/surface-widget-actions.ts": "Surface module-widget action binding and transition checks.",
"packages/formspec-app-graph/src/surface-widgets.ts": "Shared extraction for Surface slots and embedded routes.",
"packages/formspec-app-graph/src/types.ts": "Shared AppGraphValidator interface and report types.",
"packages/formspec-app-graph/src/ui-graph-policy.ts": "Built-in UI Graph Policy validation for loaded app-graph evidence.",
"packages/formspec-app-graph/src/ux-authoring-quality.ts": "Cross-artifact UX and authoring quality checks for D1 surfaces, forms, and components.",
"packages/formspec-app-graph/src/ux-title-duplicates.ts": "Scoped duplicate-title warnings for content that can render together.",
"packages/formspec-app-graph/src/validator.ts": "Shared AppGraphValidator report kernel.",
"packages/formspec-app-graph/src/widget-action-scope.ts": "Shared module-widget action scope and qualified Response subject admission.",
"packages/formspec-app-graph/src/widget-contribution.ts": "Shared Registry identity lookup for Surface module widgets.",
"packages/formspec-app-graph/src/widget-runtime-contract.ts": "Renderer delivery contracts for Registry widgets: the one comparison, host selection, and graph check.",
"packages/formspec-app-graph/vitest.config.ts": "Vitest configuration for the app-graph package.",
"packages/formspec-assist/CHANGELOG.md": "@formspec-org/assist",
"packages/formspec-assist/README.md": "@formspec-org/assist",
"packages/formspec-assist/package.json": "Reference implementation of the Formspec Assist interoperability specification",
"packages/formspec-assist/src/chat/chat-session.ts": "Conversational form session orchestrator connecting LLMs to AssistProvider tools.",
"packages/formspec-assist/src/chat/index.ts": "Conversational form runtime (chat layer) barrel export.",
"packages/formspec-assist/src/chat/mock-adapter.ts": "Deterministic mock LLM adapter for conversational testing and reproducible execution.",
"packages/formspec-assist/src/chat/types.ts": "Type definitions for the conversational form runtime (formspec-assist chat layer).",
"packages/formspec-assist/src/context-resolver.ts": "Resolves References and Ontology sidecars into Assist field-help objects.",
"packages/formspec-assist/src/errors.ts": "Assist tool error codes, the `ToolError` shape, and the MCP-family result envelope helpers.",
"packages/formspec-assist/src/index.ts": "Public API barrel for the formspec-assist package.",
"packages/formspec-assist/src/profile-matcher.ts": "Ontology-aware profile matching for formspec-assist.",
"packages/formspec-assist/src/profile-store.ts": "Persistent profile storage for formspec-assist.",
"packages/formspec-assist/src/provider-fields.ts": "Field lookup, descriptions, validation, and live status for Assist tools.",
"packages/formspec-assist/src/provider-handlers.ts": "Validated Assist tool inputs mapped to provider responsibilities.",
"packages/formspec-assist/src/provider-profiles.ts": "Profile matching, guarded application, and learning from current form values.",
"packages/formspec-assist/src/provider-progress.ts": "Maps shared form progress to Assist's tools and page navigation.",
"packages/formspec-assist/src/provider-writes.ts": "Guarded Assist writes, respondent value protection, and choice label resolution.",
"packages/formspec-assist/src/provider.ts": "Assist composition, validated tool dispatch, and WebMCP registration lifecycle.",
"packages/formspec-assist/src/tool-declarations.ts": "The Assist tool catalog: names, titles, descriptions, input schemas, and WebMCP annotations.",
"packages/formspec-assist/src/tool-input.ts": "Tool input readers and JSON-Schema validation for Assist tool calls using Ajv.",
"packages/formspec-assist/src/transport/http.ts": "Assist HTTP transport implementation and server request handler (§7.5).",
"packages/formspec-assist/src/transport/in-process.ts": "In-process transport implementation for direct invocation within the same runtime.",
"packages/formspec-assist/src/transport/index.ts": "Barrel export for Assist transports (§7.3–§7.5).",
"packages/formspec-assist/src/transport/post-message.ts": "Browser postMessage transport implementation (§7.4) correlating requests with callId.",
"packages/formspec-assist/src/transport/types.ts": "Assist transport abstraction types and envelope interfaces.",
"packages/formspec-assist/src/types.ts": "Public type vocabulary for the formspec-assist package.",
"packages/formspec-assist/src/webmcp-binding.ts": "WebMCP binding: registers Assist tools on a `document.modelContext` (Assist spec §7.2).",
"packages/formspec-assist/vitest.config.ts": "Vitest configuration for the formspec-assist package.",
"packages/formspec-core/API.llm.md": "@formspec/core — API Reference",
"packages/formspec-core/CHANGELOG.md": "@formspec-org/core",
"packages/formspec-core/README.md": "formspec-core",
"packages/formspec-core/package.json": "Core project model, handlers, and invariant layer for Formspec documents",
"packages/formspec-core/src/bind-fel.ts": "Shared FEL property names on binds and inline item constraints.",
"packages/formspec-core/src/changeset-middleware.ts": "Recording middleware for changeset-based proposal tracking.",
"packages/formspec-core/src/common-registry.ts": "Canonical Formspec common extension registry document (bundled for Studio and tools).",
"packages/formspec-core/src/component-documents.ts": "Utilities for normalizing and selecting the single component document state.",
"packages/formspec-core/src/component-export.ts": "Component tree export/import: schema-prop filtering, bind path rewriting and its inverse, derived detection.",
"packages/formspec-core/src/component-tree.ts": "Typed access to editable component tree nodes in project state.",
"packages/formspec-core/src/definition-binds.ts": "Definition bind helpers: import normalization and per-path entry matching/merging",
"packages/formspec-core/src/document-envelopes.ts": "Merge working artifact state with required spec envelope fields for export/getters.",
"packages/formspec-core/src/document-id.ts": "The one rule for an id that names a bundle file (mapping, registry): a single path segment.",
"packages/formspec-core/src/export-bundle.ts": "Pure bundle export shared by RawProject.export() and diagnose().",
"packages/formspec-core/src/generated/component-schema-props.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-core/src/generated/formspec-common.registry.json": null,
"packages/formspec-core/src/handlers/component-properties.ts": "Component property handlers",
"packages/formspec-core/src/handlers/component-tree.ts": "Component tree structure handlers",
"packages/formspec-core/src/handlers/definition-binds.ts": "Handlers for definition bind management and field configuration commands",
"packages/formspec-core/src/handlers/definition-instances.ts": "Instance command handlers for Formspec Studio Core",
"packages/formspec-core/src/handlers/definition-items.ts": "Command handlers for definition item CRUD operations",
"packages/formspec-core/src/handlers/definition-metadata.ts": "Handlers for definition-level metadata commands",
"packages/formspec-core/src/handlers/definition-migrations.ts": "Migration command handlers for Formspec Core",
"packages/formspec-core/src/handlers/definition-optionsets.ts": "Option set command handlers for the Formspec Studio Core",
"packages/formspec-core/src/handlers/definition-pages.ts": "Definition-level metadata and form-presentation handlers",
"packages/formspec-core/src/handlers/definition-shapes.ts": "Command handlers for managing definition-level shapes (cross-field validation rules)",
"packages/formspec-core/src/handlers/definition-variables.ts": "Command handlers for managing definition-level variables",
"packages/formspec-core/src/handlers/experience.ts": "Command handlers for standalone Experience Documents: lifecycle + document-level metadata.",
"packages/formspec-core/src/handlers/helpers.ts": "Resolves dot-separated item paths to locations in the definition tree.",
"packages/formspec-core/src/handlers/index.ts": "Aggregates all built-in command handlers into a single registry.",
"packages/formspec-core/src/handlers/locale.ts": null,
"packages/formspec-core/src/handlers/mapping.ts": "Mapping command handlers",
"packages/formspec-core/src/handlers/ontology.ts": "Command handler for the one authored Ontology Document: whole-document replace, null removes.",
"packages/formspec-core/src/handlers/project.ts": null,
"packages/formspec-core/src/handlers/references.ts": "Command handler for the one authored References Document: whole-document replace, null removes.",
"packages/formspec-core/src/handlers/registry.ts": "Command handlers for authored Registry Documents keyed by id; the resolution index follows every write.",
"packages/formspec-core/src/handlers/response-actions.ts": "Command handlers for standalone Response Actions Documents: lifecycle + document-level metadata.",
"packages/formspec-core/src/handlers/screener.ts": "Command handlers for standalone Screener Documents: metadata, items, binds, phases, and routes.",
"packages/formspec-core/src/handlers/theme.ts": "Theme command handlers",
"packages/formspec-core/src/handlers/tree-utils.ts": "Shared tree utilities for component handlers",
"packages/formspec-core/src/history.ts": "Generic undo/redo stack and command log manager.",
"packages/formspec-core/src/index.ts": "Raw form project state management: command dispatch, handler pipeline,",
"packages/formspec-core/src/item-index.ts": "Definition path → item indexes over an item tree, in pure TS.",
"packages/formspec-core/src/json-equal.ts": "Structural equality for plain JSON values (object key order ignored).",
"packages/formspec-core/src/jsonld-context.ts": "Ontology §6.2 JSON-LD context derived from a Definition and an Ontology document's bindings (Rust/WASM).",
"packages/formspec-core/src/locale-dialect.ts": "Preserve supported Locale dialects through public authoring import.",
"packages/formspec-core/src/page-resolution.ts": "Resolves component-tree or theme pages into enriched page structures with diagnostics.",
"packages/formspec-core/src/pipeline.ts": "Phase-aware command execution pipeline with middleware support.",
"packages/formspec-core/src/project-commands.ts": "Canonical command payload map — one entry per builtin command type",
"packages/formspec-core/src/project-core.ts": "IProjectCore interface defining the contract between core and studio.",
"packages/formspec-core/src/queries/component-page-resolution.ts": "Resolves page structure from direct-root Section nodes.",
"packages/formspec-core/src/queries/dependency-graph.ts": "Pure query functions for dependency analysis across FEL expressions",
"packages/formspec-core/src/queries/diagnostics.ts": "Pure query function for project diagnostics backed by the canonical stack linter",
"packages/formspec-core/src/queries/drop-targets.ts": "Compute valid drop targets for drag-and-drop of definition items.",
"packages/formspec-core/src/queries/expression-index.ts": "Pure query functions for FEL expression indexing, parsing, and reference resolution",
"packages/formspec-core/src/queries/field-queries.ts": "Pure query functions over ProjectState for field/item lookups,",
"packages/formspec-core/src/queries/index.ts": "Barrel re-export for all query modules",
"packages/formspec-core/src/queries/mapping-queries.ts": "Mapping-specific state queries: bidirectional transform evaluation.",
"packages/formspec-core/src/queries/optionset-usage.ts": "Count fields referencing a named option set.",
"packages/formspec-core/src/queries/public.ts": "Public read-only query helpers exported from `@formspec-org/core`",
"packages/formspec-core/src/queries/registry-queries.ts": "Pure query functions for extension registry lookups",
"packages/formspec-core/src/queries/search-index.ts": "Build a flat search index of all definition items.",
"packages/formspec-core/src/queries/selection-ops.ts": "Pure selection operations over dot-paths: ancestor finding, overlap check, expansion.",
"packages/formspec-core/src/queries/serialization.ts": "Extract the definition document as a clean JSON-serializable object.",
"packages/formspec-core/src/queries/shape-display.ts": "Produce human-readable descriptions of shape constraints.",
"packages/formspec-core/src/queries/statistics.ts": "Pure query function for project complexity metrics",
"packages/formspec-core/src/queries/tree-flattening.ts": "Flatten the definition item tree into a depth-first list with path and depth info.",
"packages/formspec-core/src/queries/versioning.ts": "Pure query functions for versioning diff and changelog preview",
"packages/formspec-core/src/raw-project.ts": "RawProject class: central editing surface for a Formspec artifact bundle.",
"packages/formspec-core/src/record-mutate.ts": "Dynamic property set/delete on JSON-shaped records.",
"packages/formspec-core/src/regeneration-merge.ts": "Regeneration merge — deterministic three-way merge that preserves designer edits across AI rebuilds",
"packages/formspec-core/src/registry-entry.ts": "Narrow loaded extension registry entries without casts in call sites.",
"packages/formspec-core/src/registry-index.ts": "Normalize raw extension registry JSON into LoadedRegistry (URL, document, entry index); derive the index rows for aut...",
"packages/formspec-core/src/state-normalizer.ts": "Enforces cross-artifact invariants after every state mutation.",
"packages/formspec-core/src/theme-cascade.ts": "Resolves presentation properties via the full 5-level cascade (formPresentation → item.presentation → theme defaults ...",
"packages/formspec-core/src/tree-reconciler.ts": "Rebuilds the component tree to mirror the definition item hierarchy.",
"packages/formspec-core/src/types.ts": "Core type definitions for project state, commands, queries, and diagnostics.",
"packages/formspec-core/tests/global-setup.ts": "Vitest globalSetup — ensures formspec-rust is installed once before any test file runs.",
"packages/formspec-core/vitest.config.ts": "Vitest configuration for the formspec-core package.",
"packages/formspec-engine/API.llm.md": "@formspec/engine — API Reference",
"packages/formspec-engine/CHANGELOG.md": "@formspec-org/engine",
"packages/formspec-engine/README.md": "formspec-engine",
"packages/formspec-engine/conformance/assert-observation.mjs": "Shared conformance assertions, exact decimal comparison, no-invention oracle, and ledger judgment.",
"packages/formspec-engine/conformance/cli.mjs": "CLI for running external Formspec conformance suites and rule-mutation coverage.",
"packages/formspec-engine/conformance/index.mjs": "Public conformance runner library for external and in-repo Formspec suites.",
"packages/formspec-engine/conformance/load-suite.mjs": "Schema-validated loader for conformance case files, suite documents, and directories.",
"packages/formspec-engine/conformance/mutation-selection.mjs": "Conservative scoped dependency selection for rule-mutation coverage over grouped Definitions.",
"packages/formspec-engine/conformance/mutations.mjs": "Enumerate isolated edits to authored Definition rules for conformance coverage.",
"packages/formspec-engine/conformance/rule-mutation.mjs": "Measure which authored Definition rules an external conformance suite notices.",
"packages/formspec-engine/conformance/run-case.mjs": "Execute a single conformance case across FormEngine and the WASM evaluator.",
"packages/formspec-engine/package.json": "Client-side form state engine with FEL expression language, reactive signals, and validation",
"packages/formspec-engine/scripts/verify-fel-runtime-entry-only.mjs": "Assert `fel-api-runtime.js` has no tools bridge / tools wasm paths (ADR 0050).",
"packages/formspec-engine/scripts/verify-init-entry-runtime-only.mjs": "Assert compiled `init-formspec-engine.js` has no static tools-wasm path (ADR 0050 §8).",
"packages/formspec-engine/scripts/verify-render-entry-runtime-only.mjs": "Assert compiled `engine-render-entry.js` has no static `fel-api` / tools bridge / tools wasm paths (ADR 0050 §8).",
"packages/formspec-engine/src/assembly/assembleDefinition.ts": "Resolve $ref fragments and assemble a FormDefinition via WASM.",
"packages/formspec-engine/src/combobox-option-filter.ts": "Case-insensitive combobox type-ahead: label, value, and optional option keywords.",
"packages/formspec-engine/src/core-exports.ts": "Render-safe public surface shared by `index.ts` and `engine-render-entry.ts` — no FEL tooling facade or tools bridge ...",
"packages/formspec-engine/src/demo-submit-response-actions.ts": "Factory for demo/story Response Actions documents with a submit Action.",
"packages/formspec-engine/src/diff.ts": "Diffs batch evaluation snapshots into per-signal patch payloads.",
"packages/formspec-engine/src/document-attestations.ts": "Atomic declared-document signing over unchanged Integrity whole-Response v1 bytes.",
"packages/formspec-engine/src/engine-render-entry.ts": "Render-first engine surface — FormEngine + init + response helpers; excludes FEL tooling facade and static tools brid...",
"packages/formspec-engine/src/engine/FormEngine.ts": "Reactive FormEngine: field signals, WASM-backed FEL evaluation, validation, and response assembly.",
"packages/formspec-engine/src/engine/definition-setup.ts": "Definition constructor helper for resolving option sets.",
"packages/formspec-engine/src/engine/draft-edit-signal.ts": "Internal lightweight draft-mutation revision signal registry for FormEngine instances.",
"packages/formspec-engine/src/engine/draft-snapshot.ts": "Capture editable field data, repeat arrays, and undeclared properties for draft persistence.",
"packages/formspec-engine/src/engine/fel-context.ts": "Schema and per-evaluation snapshot for the WASM-resident FEL context (ad-hoc reads).",
"packages/formspec-engine/src/engine/helpers.ts": "Internal helpers shared by FormEngine (paths, coercion, validation shaping, FEL path rewriting).",
"packages/formspec-engine/src/engine/init.ts": "Factory for FormEngine instances.",
"packages/formspec-engine/src/engine/instance-schema.ts": "Validate instance JSON against optional per-instance schema (datatype strings).",
"packages/formspec-engine/src/engine/instance-source.ts": "Runtime JSON admission and detached metadata for host instance sources.",
"packages/formspec-engine/src/engine/reactive-patches.ts": "Apply WASM/diff outputs to `EngineSignal` stores — reactive seam only.",
"packages/formspec-engine/src/engine/repeat-ops.ts": "Repeat-row subtree clearing and capture of field state and nested repeats.",
"packages/formspec-engine/src/engine/response-assembly.ts": "Response envelope, validation report, changelog migration, and pinned-definition resolution.",
"packages/formspec-engine/src/engine/warning-explanations.ts": "Draft warning answers and review groups built from the Rust Submit findings.",
"packages/formspec-engine/src/engine/wasm-fel.ts": "WASM definition-eval payload, EvalResult merge, and validation merge.",
"packages/formspec-engine/src/experience.ts": "Experience processor predicates for sidecar coverage and references.",
"packages/formspec-engine/src/extension-functions.ts": "Host FEL extension functions (Core §3.12) registered on an engine and handed to WASM.",
"packages/formspec-engine/src/fel/fel-api-runtime.ts": "Path helpers and runtime-WASM FEL surface (`wasm-bridge-runtime` only; ADR 0050).",
"packages/formspec-engine/src/fel/fel-api-tools.ts": "FEL/registry/lint/changelog helpers backed by tools WASM (`wasm-bridge-tools` only; ADR 0050).",
"packages/formspec-engine/src/fel/fel-api.ts": "Full FEL facade — re-exports runtime + tools modules (ADR 0050).",
"packages/formspec-engine/src/fel/normalize-fel-analysis-error.ts": "Map WASM/Rust `fel_analysis_to_json_value` error entries to {@link FELAnalysisError}.",
"packages/formspec-engine/src/field-view-model.ts": "FieldViewModel — per-field reactive state with locale resolution and FEL interpolation.",
"packages/formspec-engine/src/form-view-model.ts": "FormViewModel — form-level locale-resolved reactive state.",
"packages/formspec-engine/src/index.ts": "Public API barrel for the Formspec engine package (WASM-backed evaluation).",
"packages/formspec-engine/src/init-formspec-engine.ts": "Public `initFormspecEngine` / `isFormspecEngineInitialized` — runtime WASM only until tools APIs run (ADR 0050).",
"packages/formspec-engine/src/interfaces.ts": "Engine public interfaces and shared exported types.",
"packages/formspec-engine/src/interpolate-message.ts": "Locale §3.3.1 `{{expression}}` interpolation — thin bridges to the Rust template rules.",
"packages/formspec-engine/src/issuer/IssuerFetcher.ts": "Issuer document HTTP fetcher port and default fetch-backed adapter.",
"packages/formspec-engine/src/issuer/IssuerStore.ts": "Issuer fetch, cache, cascade, and parent-chain walk with cycle/depth guards.",
"packages/formspec-engine/src/issuer/LangMap.ts": "BCP 47-aware LangMap resolver with regional and defaultLanguage fallback.",
"packages/formspec-engine/src/issuer/index.ts": "Public Issuer runtime exports for engine consumers.",
"packages/formspec-engine/src/issuer/types.ts": "Issuer / Party / LangMap / IssuerSource type declarations mirrored from the Issuer schema.",
"packages/formspec-engine/src/json-values.ts": "Exact JSON numeric leaves, detached copies, and scalar-aware equality.",
"packages/formspec-engine/src/locale.ts": "LocaleStore — reactive locale document management and string resolution cascade.",
"packages/formspec-engine/src/mapping/RuntimeMappingEngine.ts": "Runtime mapping document execution with WASM core and TS adapter formatting.",
"packages/formspec-engine/src/numeric-input.ts": "Numeric control arithmetic using the evaluator's decimal implementation.",
"packages/formspec-engine/src/package-interface.ts": "Structured map of the formspec-engine public API (facades, tests, DI).",
"packages/formspec-engine/src/precondition-catalog.ts": "Response Actions FEL host-binding catalog (§4.1 precondition + §6.4 effect-time)",
"packages/formspec-engine/src/presentation-strings.ts": "Shared maintained Item and option wording cascades; no evaluator imports.",
"packages/formspec-engine/src/reactivity/preact-runtime.ts": "Default FormEngine reactive layer using `@preact/signals-core`.",
"packages/formspec-engine/src/reactivity/types.ts": "Framework-agnostic reactive primitives for FormEngine (decoupled from WASM and UI libs).",
"packages/formspec-engine/src/repeat-affordances.ts": "Repeat chrome rule shared by renderers: relevance, Add/Remove bounded by min/maxRepeat and allowAdd/allowRemove locks.",
"packages/formspec-engine/src/response-action-effect-expression.ts": "Tools-backed native adapter for Response Action effect expressions.",
"packages/formspec-engine/src/response-actions.ts": "Response Actions resolution helpers for renderers and hosts.",
"packages/formspec-engine/src/screener-locale.ts": "Target-qualified Screener presentation text using the maintained Locale and FEL engines.",
"packages/formspec-engine/src/service-request-runtime.ts": "Pure planning and output extraction for host-admitted Response Action service requests.",
"packages/formspec-engine/src/signing-content.ts": "Resolve immutable authored signing wording and hash the complete displayed content.",
"packages/formspec-engine/src/static-presentation-entry.ts": "Public static presentation reader; no Engine or WASM initialization.",
"packages/formspec-engine/src/static-response-metadata.ts": "Static wording from admitted original artifacts; never evaluates answers.",
"packages/formspec-engine/src/taxonomy.ts": "Data type taxonomy predicates per Core spec §4.2.3 — 13 canonical data types.",
"packages/formspec-engine/src/tools-exports.ts": "Tools-side public surface — FEL facade, assembly, mapping, view-models, taxonomy, locale store, WASM eval/lint/screen...",
"packages/formspec-engine/src/validation/index.ts": null,
"packages/formspec-engine/src/validation/profile-resolver.ts": null,
"packages/formspec-engine/src/wasm-bridge-runtime.ts": "Runtime WASM — init, accessors, and wrappers that use only the runtime `formspec_wasm_runtime` module.",
"packages/formspec-engine/src/wasm-bridge-shared.ts": "Node helpers to resolve sibling `.wasm` bytes when `import.meta.url` is not `file:` (e.g. Vitest).",
"packages/formspec-engine/src/wasm-bridge-tools.ts": "Tools WASM — lazy init and wrappers for `formspec_wasm_tools` (lint, mapping, assembly, FEL authoring helpers).",
"packages/formspec-engine/tests/helpers/grant-app.mjs": "Test helper: creates a FormEngine from the grant-app-definition fixture with stubbed fetch",
"packages/formspec-engine/tests/isolation/wasm-runtime-isolation.mjs": "Asserts runtime-only init does not load tools WASM (ADR 0050). No global test setup import.",
"packages/formspec-engine/tests/isolation/wasm-tools-import-count.mjs": "Asserts tools JS glue is dynamically imported at most once across repeated initWasmTools (ADR 0050 §8).",
"packages/formspec-engine/tests/setup.mjs": "Test setup — initializes runtime + tools WASM before any test files run.",
"packages/formspec-engine/tests/static-response-metadata-consumer.ts": null,
"packages/formspec-engine/wasm-pkg-runtime/README.md": "formspec-wasm",
"packages/formspec-engine/wasm-pkg-runtime/package.json": "WASM bindings for Formspec — exposes fel-core and formspec-core to TypeScript",
"packages/formspec-engine/wasm-pkg-tools/README.md": "formspec-wasm",
"packages/formspec-engine/wasm-pkg-tools/package.json": "WASM bindings for Formspec — exposes fel-core and formspec-core to TypeScript",
"packages/formspec-layout/API.llm.md": "@formspec/layout — API Reference",
"packages/formspec-layout/CHANGELOG.md": "@formspec-org/layout",
"packages/formspec-layout/README.md": "formspec-layout",
"packages/formspec-layout/package.json": "Layout algorithm for resolving Formspec theme pages, grids, and component arrangements",
"packages/formspec-layout/src/auto-modal.ts": "Opens a `trigger: \"auto\"` Modal only while its `when` holds and its place in the form is rendered.",
"packages/formspec-layout/src/character-count.ts": "Character count copy for TextInput theme widgetConfig.maxLength (USWDS usa-character-count wording).",
"packages/formspec-layout/src/default-theme.json": "formspec-default",
"packages/formspec-layout/src/defaults.ts": "Map a definition item to its default component type based on `dataType`",
"packages/formspec-layout/src/field-help.ts": "Field-help rule shared by the React and webcomponent renderers — which References qualify, which URIs are admitted.",
"packages/formspec-layout/src/form-presentation.ts": "Merge definition and component-document formPresentation for planning and pageMode rendering.",
"packages/formspec-layout/src/form-progress.ts": "Counts the live evaluated instances, findings and owed warning follow-ups once for progress consumers.",
"packages/formspec-layout/src/formspec-default.css": "Layout + default skin in one file, for renderers that link no stylesheets themselves.",
"packages/formspec-layout/src/formspec-layout.css": "Structural layout primitives — always loaded, zero visual opinions.",
"packages/formspec-layout/src/formspec-skin.css": "Default adapter skin — visual rules only; structural layout is linked separately.",
"packages/formspec-layout/src/index.ts": "formspec-layout — Pure layout planning utilities for Formspec",
"packages/formspec-layout/src/node-utils.ts": "Layout node IDs, classification, token/CSS helpers, and plan context prep.",
"packages/formspec-layout/src/page-sequence.ts": "Plans renderable sections and stable Item ownership in Core page-authority order.",
"packages/formspec-layout/src/params.ts": "Replace `{param}` placeholders in a component tree node with values from",
"packages/formspec-layout/src/plan-definition-layout.ts": "Shared Definition layout root planning used by renderers and Surface slot-supply planning.",
"packages/formspec-layout/src/plan-page-mode.ts": "Materialize renderer page modes from the same section sequence as Assist.",
"packages/formspec-layout/src/planner-component-tree.ts": "Component-document tree planner: slots, repeats, custom components, theme pages.",
"packages/formspec-layout/src/planner-definition-fallback.ts": "Definition-items fallback planner when no component document is provided.",
"packages/formspec-layout/src/planner-path-utils.ts": "Definition/component path lookup helpers for the layout planner.",
"packages/formspec-layout/src/planner-theme-pages.ts": "Theme page grid planning: regions, placement, and page node assembly.",
"packages/formspec-layout/src/planner-width-stops.ts": "Shared widgetConfig.width carry (theme §4.2 Width Stops) for both planners.",
"packages/formspec-layout/src/planner.ts": "Layout planner barrel — re-exports split planner modules.",
"packages/formspec-layout/src/platform-defaults.ts": "Platform rendering defaults and theme builder that derives a ThemeDocument from the token registry.",
"packages/formspec-layout/src/popup-position.ts": "Position anchored overlays (modal, popover) near a trigger",
"packages/formspec-layout/src/responsive.ts": "Merge responsive breakpoint overrides onto a component descriptor",
"packages/formspec-layout/src/rich-text.ts": "Rich-text subset parser — Core §4.2.1 Markdown subset for label, hint, and display text.",
"packages/formspec-layout/src/route-landmark-projection.ts": "Shared UI Graph Policy route-landmark resolution for render consumers.",
"packages/formspec-layout/src/styles/default.accessibility.css": "Motion and responsive accessibility adjustments for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.base.css": "Base elements, fields, and shared chrome for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.data.css": "Data display and validation affordances for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.inputs.css": "Input widgets and field-specific affordances for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.navigation.css": "Navigation, overlay, and workflow components for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.surfaces.css": "Surface components and content containers for the default Formspec skin.",
"packages/formspec-layout/src/styles/default.tokens.css": "Semantic tokens shared by the default Formspec visual skin.",
"packages/formspec-layout/src/styles/default.utilities.css": "Shared utility classes for reusable default-skin interaction patterns.",
"packages/formspec-layout/src/styles/layout.primitives.css": "Structural layout primitives shared by all Formspec renderers.",
"packages/formspec-layout/src/styles/layout.responsive.css": "Responsive structural adjustments for the canonical Formspec layout CSS.",
"packages/formspec-layout/src/theme-resolver.ts": "Theme cascade resolver",
"packages/formspec-layout/src/token-registry.json": "Formspec platform token catalog — tokens consumed by the default CSS skin",
"packages/formspec-layout/src/tokens.ts": "Resolve a `$token.xxx` reference against component and theme token maps",
"packages/formspec-layout/src/types.ts": "Core layout plan types: LayoutNode and PlanContext interfaces.",
"packages/formspec-layout/src/ui-strings.ts": "Closed renderer-chrome string inventory (Locale spec §3.1.10 `$ui.<ChromeStringKey>`) and its `{{$param}}` filler.",
"packages/formspec-layout/src/validation-summary.ts": "ValidationSummary rows every renderer draws: which results show, deduped, worded as the field shows them, linked to t...",
"packages/formspec-layout/src/warning-acknowledgement.ts": "Shared view model for grouped blank-answer warning acknowledgements.",
"packages/formspec-layout/vitest.config.ts": "Vitest configuration for the formspec-layout package.",
"packages/formspec-outcome-verification/CHANGELOG.md": "@formspec-org/outcome-verification",
"packages/formspec-outcome-verification/package.json": "Pure outcome-verification comparator, admitted runner, and cross-document lint helpers",
"packages/formspec-outcome-verification/src/canonical.ts": "RFC 8785 canonical JSON and SHA-256 helpers.",
"packages/formspec-outcome-verification/src/claim-gate.ts": "Demo-only claim gate that recomputes complete evidence bundles.",
"packages/formspec-outcome-verification/src/clearance.ts": "Non-bypassable schema and cross-document lint preflight.",
"packages/formspec-outcome-verification/src/comparator.ts": "Deterministic comparison of declared expectations and normalized facts.",
"packages/formspec-outcome-verification/src/custody.ts": "Process-local issuance guard for persisted run custody.",
"packages/formspec-outcome-verification/src/index.ts": "Public outcome-verification API.",
"packages/formspec-outcome-verification/src/lint.ts": "Cross-document lint for outcome cases and generated reports.",
"packages/formspec-outcome-verification/src/need-trace.ts": "Resolve revision pins from AppGraph effective Need trace origins.",
"packages/formspec-outcome-verification/src/rule-index.ts": "Verifier-owned v0.1 rule index used by safe clearance.",
"packages/formspec-outcome-verification/src/runner.ts": "Generic outcome-case runner with fail-closed caller admission.",
"packages/formspec-outcome-verification/src/target-identity.ts": "Canonical validation and hashing for environment-owned targets.",
"packages/formspec-outcome-verification/src/types.ts": "Runtime-only runner and lint interfaces over generated documents.",
"packages/formspec-outcome-verification/tests/fixtures.ts": null,
"packages/formspec-outcome-verification/vitest.config.ts": "Vitest configuration for the outcome-verification package.",
"packages/formspec-react/API.llm.md": "@formspec-org/react — API Reference",
"packages/formspec-react/CHANGELOG.md": "@formspec-org/react",
"packages/formspec-react/README.md": "@formspec-org/react",
"packages/formspec-react/package.json": "React hooks and auto-renderer for Formspec — use any component library with FormEngine",
"packages/formspec-react/scripts/test-packed.mjs": "Packs @formspec-org/react and its local deps, installs the tarballs outside the workspace, probes both formats.",
"packages/formspec-react/src/action-feedback-freshness.ts": "Private bounded answer freshness; never Response or signature authority.",
"packages/formspec-react/src/action-feedback.tsx": "Private provider feedback with one originating form-content outlet.",
"packages/formspec-react/src/component-map.ts": "Component map types for the auto-renderer.",
"packages/formspec-react/src/context.tsx": "FormspecProvider — React context wrapping a FormEngine + optional layout plan.",
"packages/formspec-react/src/defaults/fields/controls/character-count.tsx": "Accessible character count for TextInput theme widgetConfig.maxLength (a display, not a hard cap).",
"packages/formspec-react/src/defaults/fields/controls/combobox-select.tsx": "Searchable/multi Select combobox (WAI-ARIA listbox).",
"packages/formspec-react/src/defaults/fields/controls/currency-format.ts": "Shared lossless currency display formatting, input normalization, and draft-preserving edit hook for MoneyInput and c...",
"packages/formspec-react/src/defaults/fields/controls/file-upload.tsx": "FileUpload with drag-drop zone and maxSize validation.",
"packages/formspec-react/src/defaults/fields/controls/money-input.tsx": "MoneyInput amount + currency adornment.",
"packages/formspec-react/src/defaults/fields/controls/native-select.tsx": "Shared native select structure, skin and early value commit for respondent controls.",
"packages/formspec-react/src/defaults/fields/controls/rating.tsx": "Rating stars/hearts with keyboard and half-step support.",
"packages/formspec-react/src/defaults/fields/controls/signature.tsx": "Signature pad canvas with clear control.",
"packages/formspec-react/src/defaults/fields/controls/slider.tsx": "Slider / range input with optional ticks.",
"packages/formspec-react/src/defaults/fields/default-field.tsx": "Default field dispatcher — layout chrome + per-component control routing.",
"packages/formspec-react/src/defaults/fields/field-control-types.ts": "Shared prop types for default field control renderers.",
"packages/formspec-react/src/defaults/fields/format-bytes.ts": "Human-readable byte sizes for FileUpload maxSize errors.",
"packages/formspec-react/src/defaults/fields/group-control.tsx": "RadioGroup and CheckboxGroup option lists (fieldset children).",
"packages/formspec-react/src/defaults/fields/render-control.tsx": "Standard (non-group) field control switch — dispatches by component type.",
"packages/formspec-react/src/defaults/layout/default-layout.tsx": "Default layout component — semantic HTML containers with CSS class structure.",
"packages/formspec-react/src/defaults/layout/tabs.tsx": "Tabs layout component — WAI-ARIA tabbed panel navigation with keyboard support.",
"packages/formspec-react/src/defaults/layout/wizard.tsx": "Wizard layout component — multi-step form navigation with soft validation.",
"packages/formspec-react/src/explanation-state.ts": "A form's paused Submit evaluation and explanation state: read at once for answers and Submits, and once edits pause.",
"packages/formspec-react/src/formspec-react-addon.css": "Reserved for temporary React-only Formspec CSS shims.",
"packages/formspec-react/src/formspec.css": "Compatibility wrapper for canonical Formspec CSS from formspec-layout.",
"packages/formspec-react/src/heading-level.ts": "Heading depth for nested titled groups, so a sub-section's title is a level below its section.",
"packages/formspec-react/src/hooks.ts": "Hooks-only barrel — tree-shakeable, no renderer or default components.",
"packages/formspec-react/src/index.ts": "formspec-react — React hooks, auto-renderer, and default components for Formspec.",
"packages/formspec-react/src/issuer.tsx": "React issuer chrome and query-override helpers.",
"packages/formspec-react/src/node-renderer-display.tsx": "Display-category LayoutNode rendering (Text, DataTable, Summary, etc.).",
"packages/formspec-react/src/node-renderer-repeat.tsx": "Repeat-group and accordion-repeat layout rendering for FormspecNode.",
"packages/formspec-react/src/node-renderer-types.ts": "Shared types for the FormspecNode renderer tree.",
"packages/formspec-react/src/node-renderer.tsx": "Recursive LayoutNode renderer — dispatches to field or layout components.",
"packages/formspec-react/src/projection-metadata.ts": "Inert projection metadata helpers shared by default React renderers.",
"packages/formspec-react/src/renderer.tsx": "FormspecForm — auto-renderer that walks LayoutNode tree into React elements.",
"packages/formspec-react/src/route-landmark.ts": "Active UI Graph Policy route-landmark attribute helper.",
"packages/formspec-react/src/screener/FormspecScreener.tsx": "FormspecScreener — standalone eligibility gate component.",
"packages/formspec-react/src/screener/index.ts": "Screener barrel — re-exports screener components, hooks, and types.",
"packages/formspec-react/src/screener/types.ts": "Screener types for formspec-react.",
"packages/formspec-react/src/screener/use-screener-text.ts": "Screener-owned Locale lookup, separate from any surrounding Definition.",
"packages/formspec-react/src/screener/use-screener.ts": "useScreener — React hook for the Formspec screener gate.",
"packages/formspec-react/src/semantic-controls.ts": "Exact, renderer-owned semantic control lookup and activation.",
"packages/formspec-react/src/use-chrome-text.ts": "useChromeText — the renderer's own words (Locale §3.1.10 `$ui.<key>`), live across a locale switch.",
"packages/formspec-react/src/use-diagnostics.ts": "useDiagnostics — captures engine state snapshots for debugging and audit.",
"packages/formspec-react/src/use-external-validation.ts": "useExternalValidation — inject/clear server-side validation results.",
"packages/formspec-react/src/use-field-error.ts": "useFieldError and shared Shape-error readers for field and group targets.",
"packages/formspec-react/src/use-field-value.ts": "useFieldValue — granular hook for just value + setValue.",
"packages/formspec-react/src/use-field.ts": "useField — full reactive field state from FieldViewModel.",
"packages/formspec-react/src/use-focus-field.ts": "useFocusField — programmatic field focus with wizard/tab/collapsible navigation.",
"packages/formspec-react/src/use-form.ts": "useForm — form-level reactive state (title, validity, submit).",
"packages/formspec-react/src/use-locale.ts": "useLocale — locale management forwarding to FormEngine.",
"packages/formspec-react/src/use-localized-node.ts": "useLocalizedNode — a LayoutNode with its Locale `$component.<id>.<prop>` strings and live group title applied.",
"packages/formspec-react/src/use-native-select.ts": "Commit native select choices before host input rerenders and deduplicate change events.",
"packages/formspec-react/src/use-repeat-affordances.ts": "useRepeatAffordances — the engine's repeat affordance rule (relevance, min/maxRepeat Add/Remove) for React.",
"packages/formspec-react/src/use-repeat-count.ts": "useRepeatCount — reactive subscription to a repeat group's instance count.",
"packages/formspec-react/src/use-replay.ts": "useReplay — event sourcing and deterministic replay for form state.",
"packages/formspec-react/src/use-runtime-context.ts": "useRuntimeContext — inject runtime context (now, locale, timezone, meta) into the engine.",
"packages/formspec-react/src/use-semantic-field-control.ts": "Opt-in registration for a field component that rendered a control.",
"packages/formspec-react/src/use-signal.ts": "Generic Preact-signal → React bridge via useSyncExternalStore.",
"packages/formspec-react/src/use-submit-pending.ts": "useSubmitPending — tracks async submit state to prevent double-submission.",
"packages/formspec-react/src/use-when.ts": "useWhen — reactive evaluation of a FEL `when` expression for conditional rendering.",
"packages/formspec-react/src/validation-summary.tsx": "ValidationSummary — the shared summary rows, each a link to its field, in the default look.",
"packages/formspec-react/src/warning-explanations.tsx": "Field, group, and form warning controls bound to the engine's live and Submit findings.",
"packages/formspec-react/src/workspace.tsx": "Section navigation, question search and live findings for Core workspace mode.",
"packages/formspec-react/tests/consumer-probe.mjs": "Node consumer probe: loads @formspec-org/react by name via require or import and renders.",
"packages/formspec-react/tests/render-utils.ts": "Shared React test render helpers — act + flushSync for engine-driven updates.",
"packages/formspec-react/tsup.config.ts": null,
"packages/formspec-react/vitest.config.ts": "Vitest configuration for formspec-react (happy-dom environment).",
"packages/formspec-signature-adapter-webcrypto/README.md": "`@formspec/signature-adapter-webcrypto`",
"packages/formspec-signature-adapter-webcrypto/package.json": "Formspec WebCrypto signature adapter — implements Verifier port using Web Crypto API",
"packages/formspec-signature-adapter-webcrypto/src/index.ts": "Formspec facade over the generic WebCrypto signature adapter.",
"packages/formspec-signature-adapter-webcrypto/vitest.config.ts": "Vitest configuration for the formspec-signature-adapter-webcrypto package.",
"packages/formspec-signature-cose/README.md": "`@formspec/signature-cose`",
"packages/formspec-signature-cose/package.json": "Formspec COSE_Sign1 decode helpers for signature adapters",
"packages/formspec-signature-cose/src/index.ts": "Formspec response/receipt COSE binding over integrity-stack primitives.",
"packages/formspec-signature-cose/vitest.config.ts": "Vitest configuration for the Formspec signature COSE package.",
"packages/formspec-signature-port/README.md": "`@formspec/signature-port`",
"packages/formspec-signature-port/package.json": "Formspec signature verifier port — Verifier interface and VerificationReceipt types",
"packages/formspec-signature-port/src/index.ts": "Formspec facade over generic integrity-stack signature ports.",
"packages/formspec-signature-port/vitest.config.ts": "Vitest configuration for the Formspec signature port package.",
"packages/formspec-surface-bundle-signing/CHANGELOG.md": "@formspec-org/surface-bundle-signing",
"packages/formspec-surface-bundle-signing/package.json": "Signed Surface-bundle preimage, verification, publisher trust, and release admission policy",
"packages/formspec-surface-bundle-signing/src/index.ts": null,
"packages/formspec-surface-bundle-signing/src/types.ts": null,
"packages/formspec-surface-bundle-signing/src/verify.ts": null,
"packages/formspec-surface-bundle-signing/vitest.config.ts": null,
"packages/formspec-surface-react/CHANGELOG.md": "@formspec-org/surface-react",
"packages/formspec-surface-react/README.md": "@formspec-org/surface-react",
"packages/formspec-surface-react/package.json": "React binding for the Surface shell — renders route plans, slots, and the starter module-widget set",
"packages/formspec-surface-react/scripts/copy-css.mjs": "Copies the Surface shell stylesheet into dist/ after tsc emits.",
"packages/formspec-surface-react/scripts/generate-signing-source-schema.mjs": "Materialize the canonical Common source schema for Registry's self-contained props validation.",
"packages/formspec-surface-react/src/BrowserSurfaceApp.tsx": "Mount an admitted Surface with browser navigation, Locale, and a shared masthead.",
"packages/formspec-surface-react/src/DraftDefinitionForm.tsx": "Open, resume and explicitly restart the native Surface form's draft.",
"packages/formspec-surface-react/src/DraftStart.tsx": "Create on activation and navigate only after the store returns a complete subject.",
"packages/formspec-surface-react/src/FormStatus.tsx": "Presents an authored form-status task list from a batch of draft observations.",
"packages/formspec-surface-react/src/SurfaceApp.tsx": "`SurfaceApp` — a bundle's Surfaces, running",
"packages/formspec-surface-react/src/SurfaceRoute.tsx": "`SurfaceRouteView` — one route plan, rendered, with its theme",
"packages/formspec-surface-react/src/SurfaceSlot.tsx": "`SurfaceSlot` — one planned slot, rendered — and `SurfaceSlotFrame`,",
"packages/formspec-surface-react/src/SurfaceTransitions.tsx": "Transition affordances — and the refusal that is the default",
"packages/formspec-surface-react/src/browser-appearance.ts": "Remember the browser appearance and honor a host's scheme.",
"packages/formspec-surface-react/src/browser-draft-port.ts": "Preview drafts, immutable filings and review fixtures over one scoped store.",
"packages/formspec-surface-react/src/browser-locale.ts": "Select an offered browser Locale and bind the Surface shell's string family.",
"packages/formspec-surface-react/src/browser-location.ts": "Read and write Surface addresses through browser session history.",
"packages/formspec-surface-react/src/browser-resource.ts": "Safe browser navigation and download adapter for structured app actions.",
"packages/formspec-surface-react/src/data-source-effect.ts": "Stops retired React data loads before they dispatch another host operation.",
"packages/formspec-surface-react/src/data-source-revision.ts": "Host scheduling hints for qualified Surface data consumers.",
"packages/formspec-surface-react/src/definition-response-reads.ts": "Build Definition reads and deliver authorized selector results to FormEngine.",
"packages/formspec-surface-react/src/diagnostic-delivery.ts": "Semantic diagnostic comparison and the React subscription boundary",
"packages/formspec-surface-react/src/draft-data-source.ts": "Deliver only committed filtered Response data to authorized draft consumers.",
"packages/formspec-surface-react/src/draft-progress.ts": "Read a draft's Submit-profile evaluation with its explanation state and summarize it for trackers.",
"packages/formspec-surface-react/src/draft-review.ts": "Supply all ResponseReview inputs from one authorized committed draft.",
"packages/formspec-surface-react/src/draft-session.ts": "Retain editable draft sessions across browser history and qualify all access by key.",
"packages/formspec-surface-react/src/draft-widget-action.ts": "Bind maintained filing widget actions to the committed form draft.",
"packages/formspec-surface-react/src/draft-writer.ts": "Serialize checkpoints and fence filing actions against one editable form revision.",
"packages/formspec-surface-react/src/formspec-surface.css": "Structural styles for the Surface shell — token-driven, paired light and dark.",
"packages/formspec-surface-react/src/generated/signing-content-source-schema.ts": "AUTO-GENERATED from common.schema.json SigningContentSource; run npm run schema:generate",
"packages/formspec-surface-react/src/heading.tsx": "`<Heading>` — a heading that takes its level from the composition,",
"packages/formspec-surface-react/src/index.ts": "`@formspec-org/surface-react` — the React binding for the Surface shell",
"packages/formspec-surface-react/src/internal/draft-review-qualification.ts": "Track qualified committed-draft review inputs and engine-derived relevance by object identity.",
"packages/formspec-surface-react/src/need-trace.ts": "Inert DOM review metadata for canonical Need anchors.",
"packages/formspec-surface-react/src/preview-filing-invoker.ts": "Run preview actions with the authored dispatcher and commit local Submit.",
"packages/formspec-surface-react/src/preview-host.ts": "Admit a preview bundle and compose its scenario and edition-scoped filing adapters.",
"packages/formspec-surface-react/src/receipt-ref.tsx": "Shared receipt reference formatting and filing status label helpers.",
"packages/formspec-surface-react/src/runtime-generation.ts": "Exact route/session identity shared by the Surface shell and qualified hosts.",
"packages/formspec-surface-react/src/screener-completion.tsx": "Native Screener completion policy and host acceptance boundary.",
"packages/formspec-surface-react/src/semantic-output.tsx": "React commit lifecycle for portable Surface semantic outputs.",
"packages/formspec-surface-react/src/surface-theme.ts": "Emit a granted Theme onto a shell-owned element and clean up on change.",
"packages/formspec-surface-react/src/title-presentation.ts": "Host-owned route presentation with authored defaults.",
"packages/formspec-surface-react/src/widget-action-runtime.ts": "Runtime delivery discipline for one widget-emitted action",
"packages/formspec-surface-react/src/widget-api.ts": "The module-widget delivery contract, in React terms",
"packages/formspec-surface-react/src/widget-metadata.ts": "Public widget metadata entry with no renderer runtime dependencies.",
"packages/formspec-surface-react/src/widget-state.tsx": "Generic, traced module-widget loading, empty, and failure views.",
"packages/formspec-surface-react/src/widgets/ceremony-frame.tsx": "`CeremonyFrame` — the frame around a signing act",
"packages/formspec-surface-react/src/widgets/empty-state.tsx": "The empty state every starter widget uses when it has nothing to show",
"packages/formspec-surface-react/src/widgets/index.ts": "The starter widget set, and the module that publishes it",
"packages/formspec-surface-react/src/widgets/intake-banner.tsx": "`IntakeBanner` — the lead-in above a form",
"packages/formspec-surface-react/src/widgets/queue-table.tsx": "`QueueTable` — the operator's work list",
"packages/formspec-surface-react/src/widgets/receipt-panel.tsx": "`ReceiptPanel` — what a person keeps after they submit",
"packages/formspec-surface-react/src/widgets/response-review-metadata.ts": "Canonical ResponseReview metadata without renderer runtime imports.",
"packages/formspec-surface-react/src/widgets/response-review-selection.ts": "Definition-validated native paths for accepted-record display selection.",
"packages/formspec-surface-react/src/widgets/response-review.tsx": "Lossless frozen Response review with qualified labels and owned attachment previews.",
"packages/formspec-surface-react/src/widgets/signing-ceremony-metadata.ts": "Canonical SigningCeremony metadata without renderer runtime imports.",
"packages/formspec-surface-react/src/widgets/signing-ceremony.tsx": "Read, consent, Sign, then Submit through qualified Surface data and mapped actions.",
"packages/formspec-surface-react/src/widgets/starter-contract-metadata.ts": "React-free table of the delivery contracts the starter widget set ships",
"packages/formspec-surface-react/src/widgets/structured-panel-metadata.ts": "Pure authored StructuredPanel configuration schemas; channels and native evidence remain separate.",
"packages/formspec-surface-react/src/widgets/structured-panel.tsx": "A reusable, data-only panel for declarative application surfaces",
"packages/formspec-surface-react/src/widgets/structured-table-ordering.ts": "Generic stable ordering for authored StructuredPanel tables",
"packages/formspec-surface-react/src/workspace-navigation.ts": "Resolve the form slot that owns section navigation and the page title.",
"packages/formspec-surface-react/tests/render.ts": "Minimal React render helper — no testing-library dependency",
"packages/formspec-surface-react/vitest.config.ts": "Vitest configuration for the Surface React binding (happy-dom environment).",
"packages/formspec-surface/CHANGELOG.md": "@formspec-org/surface",
"packages/formspec-surface/README.md": "@formspec-org/surface",
"packages/formspec-surface/SCREENER.md": "Native Screener slots",
"packages/formspec-surface/package.json": "Renderer-independent Surface shell — reads a bundle export's routes and slots and plans a navigable app",
"packages/formspec-surface/src/bundle.ts": "Bundle export → typed artifacts a renderer can hold",
"packages/formspec-surface/src/composition.ts": "Cross-surface composition — N Surface documents, one navigable app",
"packages/formspec-surface/src/data-source-loader.ts": "Canonical runtime delivery for Data Sources 1.0",
"packages/formspec-surface/src/definition-form-initial-data.ts": "Qualified initial-data loading for `definition-form` slots",
"packages/formspec-surface/src/diagnostics.ts": "Diagnostics a Surface shell reports instead of failing quietly",
"packages/formspec-surface/src/draft-port-conformance.ts": "Reusable behavioral checks for authorized Surface draft storage.",
"packages/formspec-surface/src/draft-port.ts": "Qualified draft storage and progress reads for Surface hosts.",
"packages/formspec-surface/src/draft-start.ts": "Plan an explicit creation control and qualify its store-returned destination.",
"packages/formspec-surface/src/experience-unit.ts": "`experience-unit` — resolving the \"why this screen exists\" artifact",
"packages/formspec-surface/src/filing-action.ts": "Identify Definition actions that operate on a committed draft revision.",
"packages/formspec-surface/src/finite-json.ts": "Detached finite JSON snapshots and deterministic private replay identity.",
"packages/formspec-surface/src/form-status-roster.ts": "Expands qualified roster rows into ordinary subject-keyed form-status destinations.",
"packages/formspec-surface/src/form-status.ts": "Plans exact form-status destinations and section links without opening forms.",
"packages/formspec-surface/src/index.ts": "`@formspec-org/surface` — the renderer-independent Surface shell",
"packages/formspec-surface/src/need-trace.ts": "Canonical Need-anchor extraction shared by Surface planners and bindings.",
"packages/formspec-surface/src/preview-scenario.ts": "Generic, preview-only runtime state for a resolved Surface bundle",
"packages/formspec-surface/src/registry.ts": "The module-widget runtime seam: `{moduleId, widgetName}` → a component",
"packages/formspec-surface/src/response-field-metadata.ts": "Pure capture of supplied field wording for retained Response data.",
"packages/formspec-surface/src/response-records.ts": "Prepare immutable filings, seeded drafts, and review decisions for Surface hosts.",
"packages/formspec-surface/src/response-source-loader.ts": "Deliver catalog Response sources through a scoped batch selector.",
"packages/formspec-surface/src/route-path.ts": "Route path parsing, matching and filling",
"packages/formspec-surface/src/route-plan.ts": "The route plan — one matched route, fully decided, with every",
"packages/formspec-surface/src/screener-slot.ts": "Native Screener presentation admission and result-only route selection.",
"packages/formspec-surface/src/semantic-output.ts": "Renderer-owned, portable semantic output observations",
"packages/formspec-surface/src/slot-plan.ts": "Slot dispatch — the only place in the stack where a `slotType`",
"packages/formspec-surface/src/static-content.ts": "`static-content` — the closed kind vocabulary, and the heading-level",
"packages/formspec-surface/src/strings.ts": "The shell's own person-facing vocabulary — enumerable, in one",
"packages/formspec-surface/src/theme-authority.ts": "The runtime half of THEME-ROUTE-CLASS: the only place a shell is",
"packages/formspec-surface/src/transitions.ts": "Transitions — and the decision the surface-render-v10 spike forced",
"packages/formspec-surface/tests/fixtures.ts": "Small hand-built Surface/Registry/bundle fixtures for the shell tests.",
"packages/formspec-surface/tests/typecheck/matched-observation.ts": "Compiler-checked assertions that matched range observations exclude denied draft/filing states.",
"packages/formspec-surface/vitest.config.ts": "Vitest configuration for the Surface shell core package.",
"packages/formspec-types/CHANGELOG.md": "@formspec-org/types",
"packages/formspec-types/README.md": "formspec-types",
"packages/formspec-types/package.json": "TypeScript type definitions generated from Formspec JSON schemas",
"packages/formspec-types/scripts/generate-types.mjs": "Generates TypeScript interfaces from Formspec JSON schemas into src/generated/",
"packages/formspec-types/scripts/generate-ui-policy.mjs": "Generates the TypeScript UI policy module from specs/ui-policy.json",
"packages/formspec-types/src/breakpoints.ts": "Shared Theme/Component responsive breakpoint namespace helpers.",
"packages/formspec-types/src/evaluated-form-state.ts": "Plain evaluated field flags and findings shared by the engine and layout.",
"packages/formspec-types/src/field-data-types.ts": "Canonical core field dataType values from definition.schema.json",
"packages/formspec-types/src/generated/app-graph-validation-report.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/artifact-resolution-report.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/changelog.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/common.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/component-graph-projection-context.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/component.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/data-sources.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/definition.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/determination.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/draft-progress-summary.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/experience.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/fel-functions.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/index.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/intake-handoff.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/issuer.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/locale.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/mapping.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/module-resolution-report.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/needs.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/ontology.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/outcome-verification-case.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/outcome-verification-report.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/references.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/registry.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/response-actions.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/response-selection.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/response.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/screener.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/surface-scenario.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/surface.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/theme.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/ui-graph-policy.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/validation-mapping-master-table.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/validation-mapping.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/validation-report.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/validation-result.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/generated/verification-receipt.ts": "AUTO-GENERATED — DO NOT EDIT",
"packages/formspec-types/src/index.ts": "TypeScript types generated from the Formspec JSON schemas",
"packages/formspec-types/src/path-utils.ts": "Dotted path normalization and tree item navigation by path",
"packages/formspec-types/src/references.ts": "References sidecar processing: target-Definition matching and per-field reference resolution",
"packages/formspec-types/src/response-selection.ts": "Host inputs and results for the shared Core Response selector.",
"packages/formspec-types/src/type-contracts.ts": "Compile-time checks for generated schema type contracts.",
"packages/formspec-types/src/ui-policy.ts": "AUTO-GENERATED -- DO NOT EDIT",
"packages/formspec-types/src/widget-vocabulary.ts": "Canonical widget vocabulary — single source of truth for widget ↔ component mappings",
"packages/formspec-types/src/width-stops.ts": "Canonical `widgetConfig.width` vocabulary (theme §4.2 Width Stops) — single source for the",