specdojo 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/agents/specdojo-orchestrator.md +3 -2
- package/CHANGELOG.md +193 -0
- package/README.md +2 -2
- package/dist/catalog/build.js +24 -1
- package/dist/catalog/plan.js +1 -1
- package/dist/catalog/scaffold.js +4 -1
- package/dist/commands/agent.js +33 -0
- package/dist/commands/init.js +6 -1
- package/dist/commands/night-orchestrator.js +6 -4
- package/dist/commands/orchestrator.js +10 -1
- package/dist/dashboard/dashboard-timeline.js +18 -16
- package/dist/dashboard/dashboard.js +612 -259
- package/dist/dashboard/epic-plan.js +81 -0
- package/dist/dashboard/exec-records.js +16 -20
- package/dist/dashboard/routines.js +8 -6
- package/dist/dashboard/timeline-build.js +5 -9
- package/dist/dashboard/timeline.js +9 -4
- package/dist/devcontainer/command.js +18 -0
- package/dist/devcontainer/host-script.js +21 -0
- package/dist/devcontainer/scaffold.js +22 -3
- package/dist/docs/frontmatter-namespace.js +1 -48
- package/dist/docs/yaml-pages.js +125 -3
- package/dist/exec/agent-config.js +22 -0
- package/dist/exec/agent-plan.js +3 -2
- package/dist/exec/antigravity-session.js +154 -0
- package/dist/exec/commands.js +69 -21
- package/dist/exec/commit-hook-skips.js +78 -0
- package/dist/exec/core.js +19 -7
- package/dist/exec/events.js +159 -8
- package/dist/exec/evidence.js +64 -16
- package/dist/exec/handoff.js +9 -13
- package/dist/exec/limit.js +1 -1
- package/dist/exec/mechanical-result.js +45 -0
- package/dist/exec/migrate-records.js +249 -0
- package/dist/exec/parent-validation.js +160 -12
- package/dist/exec/pipeline-state.js +27 -5
- package/dist/exec/plan-markdownlint.js +89 -0
- package/dist/exec/plans-condense-findings.js +89 -0
- package/dist/exec/plans-core.js +24 -17
- package/dist/exec/plans-generation.js +52 -25
- package/dist/exec/plans-grade-findings.js +8 -3
- package/dist/exec/plans-kata-findings.js +61 -0
- package/dist/exec/plans-planning.js +3 -3
- package/dist/exec/plans-storage.js +12 -24
- package/dist/exec/register-resume.js +69 -42
- package/dist/exec/register.js +26 -22
- package/dist/exec/repo-integration-sync.js +8 -4
- package/dist/exec/repo-integration.js +21 -1
- package/dist/exec/reporter.js +121 -23
- package/dist/exec/results.js +85 -24
- package/dist/exec/review-completion.js +47 -0
- package/dist/exec/review-kata.js +109 -0
- package/dist/exec/run/agent-pipeline.js +75 -6
- package/dist/exec/run/agent.js +20 -7
- package/dist/exec/run/in-place.js +69 -32
- package/dist/exec/run/job.js +81 -24
- package/dist/exec/run/lifecycle-commands.js +264 -43
- package/dist/exec/run/mode-shared.js +11 -3
- package/dist/exec/run/register-command.js +12 -10
- package/dist/exec/run/register-core.js +20 -13
- package/dist/exec/run/register-mode.js +12 -12
- package/dist/exec/run/register-post-review.js +21 -9
- package/dist/exec/run/register-resume.js +28 -18
- package/dist/exec/run/register-state.js +10 -7
- package/dist/exec/run/register-worktree.js +60 -30
- package/dist/exec/run/schedule-mode.js +26 -6
- package/dist/exec/run/schedule-prepare.js +228 -45
- package/dist/exec/run/schedule-task.js +132 -25
- package/dist/exec/run/shared.js +4 -3
- package/dist/exec/run/trailing-records.js +35 -0
- package/dist/exec/run-records.js +2 -0
- package/dist/exec/strategy.js +1 -0
- package/dist/exec/trailing-records.js +242 -0
- package/dist/exec/trial-commands.js +3 -2
- package/dist/exec/validate-records-commit.js +110 -0
- package/dist/exec/validate-records.js +148 -0
- package/dist/exec/worktree-command.js +29 -16
- package/dist/exec/worktree-ops-commit.js +118 -59
- package/dist/exec/worktree-ops-lifecycle.js +77 -44
- package/dist/exec/worktree-ops-merge.js +13 -2
- package/dist/exec/worktree-ops.js +2 -2
- package/dist/exec/worktree.js +19 -2
- package/dist/grade/apply.js +32 -6
- package/dist/grade/command-inspect.js +2 -2
- package/dist/grade/command-run.js +2 -0
- package/dist/grade/command-shared.js +1 -1
- package/dist/grade/core.js +18 -5
- package/dist/grade/markdown.js +3 -3
- package/dist/grade/pipeline-state.js +15 -11
- package/dist/grade/plan.js +37 -17
- package/dist/grade/result.js +3 -3
- package/dist/grade/run.js +23 -3
- package/dist/grade/target-discovery.js +17 -4
- package/dist/grade/targets.js +12 -11
- package/dist/job/job.js +31 -17
- package/dist/job/noop.js +104 -0
- package/dist/register/core.js +2 -0
- package/dist/register/create-commands.js +28 -3
- package/dist/register/deliverable-target.js +9 -1
- package/dist/register/epic.js +104 -26
- package/dist/register/event-merge.js +3 -0
- package/dist/register/events.js +4 -0
- package/dist/register/external-project.js +3 -0
- package/dist/register/item.js +6 -0
- package/dist/register/maintenance-commands.js +4 -1
- package/dist/register/planning.js +7 -14
- package/dist/register/register.js +74 -32
- package/dist/register/track-domains.js +34 -0
- package/dist/register/track-plan.js +78 -0
- package/dist/register/transition-commands.js +8 -0
- package/dist/register/work-table.js +64 -0
- package/dist/review/grade.js +35 -13
- package/dist/routine/definition.js +4 -3
- package/dist/routine/failure.js +30 -0
- package/dist/routine/routine.js +56 -32
- package/dist/routine/storage.js +33 -0
- package/dist/schedule/schedule.js +1 -0
- package/dist/schedule/strategy-generate-document.js +26 -14
- package/dist/schedule/strategy-generate-scope.js +17 -45
- package/dist/schedule/strategy-generate.js +33 -3
- package/dist/schedule/strategy-profiles.js +86 -12
- package/dist/shared/agent-types.js +2 -0
- package/dist/shared/condense-records.js +25 -0
- package/dist/shared/deprecation.js +8 -0
- package/dist/shared/document-metadata.js +20 -0
- package/dist/shared/finding-cause.js +20 -0
- package/dist/shared/frontmatter-namespace.js +48 -0
- package/dist/shared/git.js +149 -15
- package/dist/shared/grade-result.js +17 -1
- package/dist/shared/local-state.js +20 -0
- package/dist/shared/markdownlint-config.js +8 -3
- package/dist/shared/plan-conventions.js +129 -0
- package/dist/shared/plan-templates.js +57 -41
- package/dist/shared/provider-scaffold.js +2 -0
- package/dist/shared/run-records.js +224 -0
- package/dist/shared/specdojo-config.js +39 -21
- package/dist/shared/specdojo-gitignore.js +1 -0
- package/dist/shared/text.js +65 -5
- package/dist/shared/timeline-index.js +2 -0
- package/docs/ja/specdojo/defaults/pm-review-viewpoints.yaml +11 -2
- package/docs/ja/specdojo/exec-templates/xep-common-conventions-template.md +4 -74
- package/docs/ja/specdojo/exec-templates/xep-condense-template.md +50 -0
- package/docs/ja/specdojo/exec-templates/xep-draft-template.md +17 -5
- package/docs/ja/specdojo/exec-templates/xep-fully-guided-template.md +16 -3
- package/docs/ja/specdojo/exec-templates/xep-recipe-guided-template.md +15 -5
- package/docs/ja/specdojo/exec-templates/xep-recipe-maintenance-template.md +6 -0
- package/docs/ja/specdojo/exec-templates/xep-register-template.md +1 -1
- package/docs/ja/specdojo/exec-templates/xep-rulebook-maintenance-template.md +6 -0
- package/docs/ja/specdojo/exec-templates/xep-sample-maintenance-template.md +6 -0
- package/docs/ja/specdojo/exec-templates/xep-template-maintenance-template.md +6 -0
- package/docs/ja/specdojo/exec-templates/xer-condense-template.md +25 -0
- package/docs/ja/specdojo/exec-templates/xp-common-conventions-template.md +50 -0
- package/docs/ja/specdojo/exec-templates/xrp-common-conventions-template.md +30 -0
- package/docs/ja/specdojo/guides/branch-workflow-guide.md +1 -1
- package/docs/ja/specdojo/guides/docs-editing-guide.md +48 -0
- package/docs/ja/specdojo/guides/docs-structure-guide.md +48 -15
- package/docs/ja/specdojo/guides/exec-config-guide.md +61 -28
- package/docs/ja/specdojo/guides/exec-operation-guide.md +61 -13
- package/docs/ja/specdojo/guides/exec-worktree-guide.md +20 -11
- package/docs/ja/specdojo/guides/orchestrator-operation-guide.md +4 -2
- package/docs/ja/specdojo/guides/plan-result-lifecycle-guide.md +92 -55
- package/docs/ja/specdojo/guides/project-move-guide.md +381 -0
- package/docs/ja/specdojo/guides/quick-start-guide.md +589 -807
- package/docs/ja/specdojo/guides/register-operation-guide.md +26 -4
- package/docs/ja/specdojo/guides/remote-host-development-guide.md +33 -4
- package/docs/ja/specdojo/guides/review-guide.md +22 -19
- package/docs/ja/specdojo/guides/routine-operation-guide.md +14 -8
- package/docs/ja/specdojo/guides/ryu-guide.md +23 -13
- package/docs/ja/specdojo/guides/schedule-design-guide.md +7 -4
- package/docs/ja/specdojo/guides/schedule-operation-guide.md +41 -3
- package/docs/ja/specdojo/guides/specdojo-overview-guide.md +5 -4
- package/docs/ja/specdojo/guides/timeline-design-guide.md +27 -144
- package/docs/ja/specdojo/guides/use-case-guide.md +471 -74
- package/docs/ja/specdojo/recipes/bac-recipe.md +94 -0
- package/docs/ja/specdojo/recipes/bes-recipe.md +105 -0
- package/docs/ja/specdojo/recipes/br-recipe.md +84 -0
- package/docs/ja/specdojo/recipes/cdfd-overview-recipe.md +88 -86
- package/docs/ja/specdojo/recipes/cdfd-uc-recipe.md +108 -122
- package/docs/ja/specdojo/recipes/cnd-recipe.md +125 -0
- package/docs/ja/specdojo/recipes/cpd-recipe.md +126 -0
- package/docs/ja/specdojo/recipes/cxd-recipe.md +145 -0
- package/docs/ja/specdojo/recipes/ifd-recipe.md +134 -0
- package/docs/ja/specdojo/recipes/ifx-cmd-recipe.md +135 -86
- package/docs/ja/specdojo/recipes/ifx-index-recipe.md +130 -0
- package/docs/ja/specdojo/recipes/pm-organization-recipe.md +29 -26
- package/docs/ja/specdojo/recipes/pm-plan-recipe.md +35 -26
- package/docs/ja/specdojo/recipes/pm-quality-management-plan-recipe.md +38 -28
- package/docs/ja/specdojo/recipes/pm-raci-recipe.md +39 -31
- package/docs/ja/specdojo/recipes/pm-roles-recipe.md +26 -28
- package/docs/ja/specdojo/recipes/prj-assumptions-constraints-dependencies-recipe.md +10 -8
- package/docs/ja/specdojo/recipes/prj-comparison-of-alternatives-recipe.md +18 -17
- package/docs/ja/specdojo/recipes/stsd-recipe.md +100 -62
- package/docs/ja/specdojo/recipes/sysd-critical-flows-recipe.md +106 -0
- package/docs/ja/specdojo/recipes/sysd-cross-cutting-policy-recipe.md +137 -0
- package/docs/ja/specdojo/recipes/sysd-index-recipe.md +122 -0
- package/docs/ja/specdojo/references/command-reference.md +146 -99
- package/docs/ja/specdojo/references/deliverables-reference.md +9 -4
- package/docs/ja/specdojo/references/directory-layout-reference.md +3 -2
- package/docs/ja/specdojo/references/specdojo-config-reference.md +17 -16
- package/docs/ja/specdojo/rulebooks/bac-rulebook.md +72 -290
- package/docs/ja/specdojo/rulebooks/bdd-rulebook.md +212 -79
- package/docs/ja/specdojo/rulebooks/bds-rulebook.md +138 -154
- package/docs/ja/specdojo/rulebooks/bes-index-rulebook.md +147 -59
- package/docs/ja/specdojo/rulebooks/bes-rulebook.md +100 -96
- package/docs/ja/specdojo/rulebooks/br-rulebook.md +88 -108
- package/docs/ja/specdojo/rulebooks/ccd-mermaid-rulebook.md +126 -211
- package/docs/ja/specdojo/rulebooks/cdfd-d2-rulebook.md +367 -0
- package/docs/ja/specdojo/rulebooks/cdfd-mermaid-rulebook.md +6 -5
- package/docs/ja/specdojo/rulebooks/cdfd-overview-rulebook.md +96 -100
- package/docs/ja/specdojo/rulebooks/cdfd-rulebook.md +38 -47
- package/docs/ja/specdojo/rulebooks/cdfd-uc-rulebook.md +132 -106
- package/docs/ja/specdojo/rulebooks/cdsd-rulebook.md +102 -68
- package/docs/ja/specdojo/rulebooks/cdt-rulebook.md +152 -0
- package/docs/ja/specdojo/rulebooks/cld-rulebook.md +9 -184
- package/docs/ja/specdojo/rulebooks/clis-rulebook.md +187 -0
- package/docs/ja/specdojo/rulebooks/cnd-rulebook.md +93 -247
- package/docs/ja/specdojo/rulebooks/cpd-rulebook.md +104 -241
- package/docs/ja/specdojo/rulebooks/cxd-rulebook.md +124 -257
- package/docs/ja/specdojo/rulebooks/dct-index-rulebook.md +87 -98
- package/docs/ja/specdojo/rulebooks/dct-rulebook.md +9 -7
- package/docs/ja/specdojo/rulebooks/dec-rulebook.md +2 -1
- package/docs/ja/specdojo/rulebooks/dss-rulebook.md +193 -0
- package/docs/ja/specdojo/rulebooks/gl-rulebook.md +100 -54
- package/docs/ja/specdojo/rulebooks/ifd-mermaid-rulebook.md +69 -252
- package/docs/ja/specdojo/rulebooks/ifx-cmd-rulebook.md +91 -76
- package/docs/ja/specdojo/rulebooks/ifx-file-rulebook.md +252 -226
- package/docs/ja/specdojo/rulebooks/ifx-index-rulebook.md +118 -40
- package/docs/ja/specdojo/rulebooks/imp-business-rulebook.md +11 -11
- package/docs/ja/specdojo/rulebooks/imp-data-rulebook.md +9 -9
- package/docs/ja/specdojo/rulebooks/imp-interface-rulebook.md +4 -4
- package/docs/ja/specdojo/rulebooks/imp-operations-rulebook.md +11 -11
- package/docs/ja/specdojo/rulebooks/imp-test-rulebook.md +11 -11
- package/docs/ja/specdojo/rulebooks/mm-rulebook.md +4 -3
- package/docs/ja/specdojo/rulebooks/pjr-rulebook.md +34 -29
- package/docs/ja/specdojo/rulebooks/pm-change-request-log-rulebook.md +8 -8
- package/docs/ja/specdojo/rulebooks/pm-issue-log-rulebook.md +2 -2
- package/docs/ja/specdojo/rulebooks/pm-organization-rulebook.md +50 -56
- package/docs/ja/specdojo/rulebooks/pm-plan-rulebook.md +46 -55
- package/docs/ja/specdojo/rulebooks/pm-quality-management-plan-rulebook.md +57 -54
- package/docs/ja/specdojo/rulebooks/pm-raci-rulebook.md +50 -65
- package/docs/ja/specdojo/rulebooks/pm-risk-register-rulebook.md +2 -2
- package/docs/ja/specdojo/rulebooks/pm-roles-rulebook.md +70 -97
- package/docs/ja/specdojo/rulebooks/pr-rulebook.md +2 -1
- package/docs/ja/specdojo/rulebooks/prj-assumptions-constraints-dependencies-rulebook.md +47 -56
- package/docs/ja/specdojo/rulebooks/prj-comparison-of-alternatives-rulebook.md +61 -135
- package/docs/ja/specdojo/rulebooks/sf-index-rulebook.md +116 -32
- package/docs/ja/specdojo/rulebooks/sf-rulebook.md +118 -61
- package/docs/ja/specdojo/rulebooks/sld-rulebook.md +152 -57
- package/docs/ja/specdojo/rulebooks/stsd-mermaid-rulebook.md +51 -39
- package/docs/ja/specdojo/rulebooks/stsd-rulebook.md +101 -46
- package/docs/ja/specdojo/rulebooks/sysd-critical-flows-rulebook.md +72 -329
- package/docs/ja/specdojo/rulebooks/sysd-cross-cutting-policy-rulebook.md +74 -263
- package/docs/ja/specdojo/rulebooks/sysd-index-rulebook.md +78 -195
- package/docs/ja/specdojo/rulebooks/tml-rulebook.md +4 -9
- package/docs/ja/specdojo/rulebooks/trc-requirements-to-specs-rulebook.md +3 -4
- package/docs/ja/specdojo/rulebooks/trc-requirements-to-tests-rulebook.md +3 -3
- package/docs/ja/specdojo/rulebooks/uis-rulebook.md +140 -143
- package/docs/ja/specdojo/samples/bac-sample.md +106 -21
- package/docs/ja/specdojo/samples/bdd-sample.yaml +143 -35
- package/docs/ja/specdojo/samples/bds-sample.md +100 -21
- package/docs/ja/specdojo/samples/bes-index-sample.md +59 -20
- package/docs/ja/specdojo/samples/bes-sample.md +80 -21
- package/docs/ja/specdojo/samples/br-sample.md +68 -14
- package/docs/ja/specdojo/samples/ccd-sample.md +81 -19
- package/docs/ja/specdojo/samples/cdfd-overview-sample.md +248 -140
- package/docs/ja/specdojo/samples/cdfd-sample.md +172 -99
- package/docs/ja/specdojo/samples/cdfd-uc-sample.md +130 -97
- package/docs/ja/specdojo/samples/cdsd-sample.md +89 -20
- package/docs/ja/specdojo/samples/cdt-sample.md +116 -0
- package/docs/ja/specdojo/samples/cld-sample.md +3 -30
- package/docs/ja/specdojo/samples/clis-sample.md +132 -0
- package/docs/ja/specdojo/samples/cnd-sample.md +127 -21
- package/docs/ja/specdojo/samples/cpd-sample.md +136 -22
- package/docs/ja/specdojo/samples/cxd-sample.md +108 -22
- package/docs/ja/specdojo/samples/dct-index-sample.yaml +63 -17
- package/docs/ja/specdojo/samples/dss-sample.md +175 -0
- package/docs/ja/specdojo/samples/gl-sample.yaml +50 -14
- package/docs/ja/specdojo/samples/ifd-sample.md +105 -21
- package/docs/ja/specdojo/samples/ifx-cmd-sample.yaml +91 -60
- package/docs/ja/specdojo/samples/ifx-file-sample.md +462 -21
- package/docs/ja/specdojo/samples/ifx-index-sample.yaml +87 -19
- package/docs/ja/specdojo/samples/pm-members-sample.yaml +37 -13
- package/docs/ja/specdojo/samples/pm-organization-sample.md +52 -20
- package/docs/ja/specdojo/samples/pm-plan-sample.md +84 -26
- package/docs/ja/specdojo/samples/pm-quality-management-plan-sample.md +55 -22
- package/docs/ja/specdojo/samples/pm-raci-sample.md +69 -28
- package/docs/ja/specdojo/samples/pm-roles-sample.yaml +13 -12
- package/docs/ja/specdojo/samples/prj-assumptions-constraints-dependencies-sample.md +50 -26
- package/docs/ja/specdojo/samples/prj-comparison-of-alternatives-sample.md +89 -62
- package/docs/ja/specdojo/samples/sf-index-sample.md +89 -20
- package/docs/ja/specdojo/samples/sf-sample.md +121 -21
- package/docs/ja/specdojo/samples/sld-sample.md +107 -21
- package/docs/ja/specdojo/samples/stsd-sample.md +54 -26
- package/docs/ja/specdojo/samples/sysd-critical-flows-sample.md +166 -21
- package/docs/ja/specdojo/samples/sysd-cross-cutting-policy-sample.md +178 -21
- package/docs/ja/specdojo/samples/sysd-index-sample.md +82 -21
- package/docs/ja/specdojo/samples/tml-sample.yaml +4 -1
- package/docs/ja/specdojo/samples/uis-sample.md +164 -20
- package/docs/ja/specdojo/standards/document-metadata-standard.md +33 -4
- package/docs/ja/specdojo/standards/id-and-file-naming-standard.md +3 -1
- package/docs/ja/specdojo/standards/rulebook-authoring-standard.md +1 -0
- package/docs/ja/specdojo/templates/bac-template.md +76 -0
- package/docs/ja/specdojo/templates/bes-template.md +56 -0
- package/docs/ja/specdojo/templates/br-template.md +64 -0
- package/docs/ja/specdojo/templates/cdfd-overview-template.md +161 -83
- package/docs/ja/specdojo/templates/cdfd-template.md +81 -54
- package/docs/ja/specdojo/templates/cdfd-uc-template.md +130 -89
- package/docs/ja/specdojo/templates/cnd-template.md +137 -0
- package/docs/ja/specdojo/templates/cpd-template.md +129 -0
- package/docs/ja/specdojo/templates/cxd-template.md +105 -0
- package/docs/ja/specdojo/templates/dct-data-model-cdt-template.yaml +40 -0
- package/docs/ja/specdojo/templates/dct-data-model-cld-template.yaml +7 -14
- package/docs/ja/specdojo/templates/dct-index-template.md +9 -20
- package/docs/ja/specdojo/templates/dct-project-management-template.yaml +5 -1
- package/docs/ja/specdojo/templates/ifd-template.md +86 -0
- package/docs/ja/specdojo/templates/ifx-cmd-template.yaml +44 -28
- package/docs/ja/specdojo/templates/ifx-index-template.yaml +40 -0
- package/docs/ja/specdojo/templates/opr-template.md +2 -4
- package/docs/ja/specdojo/templates/pm-organization-template.md +9 -3
- package/docs/ja/specdojo/templates/pm-plan-template.md +4 -4
- package/docs/ja/specdojo/templates/pm-quality-management-plan-template.md +17 -9
- package/docs/ja/specdojo/templates/pm-raci-template.md +24 -13
- package/docs/ja/specdojo/templates/pm-roles-template.yaml +3 -2
- package/docs/ja/specdojo/templates/prj-assumptions-constraints-dependencies-template.md +6 -3
- package/docs/ja/specdojo/templates/prj-comparison-of-alternatives-template.md +22 -19
- package/docs/ja/specdojo/templates/stsd-template.md +46 -21
- package/docs/ja/specdojo/templates/sysd-critical-flows-template.md +94 -0
- package/docs/ja/specdojo/templates/sysd-cross-cutting-policy-template.md +122 -0
- package/docs/ja/specdojo/templates/sysd-index-template.md +89 -0
- package/docs/specdojo/lib/yaml-metadata.cjs +7 -0
- package/docs/specdojo/schemas/v1/bdd.schema.yaml +25 -57
- package/docs/specdojo/schemas/v1/condense-records.schema.yaml +26 -0
- package/docs/specdojo/schemas/v1/dct.schema.yaml +10 -0
- package/docs/specdojo/schemas/v1/deliverable-frontmatter.schema.yaml +3 -0
- package/docs/specdojo/schemas/v1/esil.schema.yaml +7 -141
- package/docs/specdojo/schemas/v1/exec-common.schema.yaml +3 -0
- package/docs/specdojo/schemas/v1/exec-defaults.schema.yaml +54 -3
- package/docs/specdojo/schemas/v1/exec-evidence.schema.yaml +3 -0
- package/docs/specdojo/schemas/v1/exec-plan-frontmatter.schema.yaml +14 -0
- package/docs/specdojo/schemas/v1/exec-result-frontmatter.schema.yaml +18 -0
- package/docs/specdojo/schemas/v1/finding-cause.schema.yaml +22 -0
- package/docs/specdojo/schemas/v1/grade-pipeline-state.schema.yaml +1 -1
- package/docs/specdojo/schemas/v1/grade-result.schema.yaml +2 -0
- package/docs/specdojo/schemas/v1/ifx-cmd.schema.yaml +65 -5
- package/docs/specdojo/schemas/v1/ifx-index.schema.yaml +142 -0
- package/docs/specdojo/schemas/v1/register-events.schema.yaml +2 -0
- package/docs/specdojo/schemas/v1/register-item-frontmatter.schema.yaml +17 -1
- package/docs/specdojo/schemas/v1/specdojo-config.schema.yaml +1 -0
- package/package.json +6 -3
- package/templates/antigravity/README.md +19 -46
- package/templates/antigravity/exec-defaults-snippet.yaml +5 -6
- package/templates/antigravity/orchestrator.md +3 -2
- package/templates/antigravity/settings.edit.json +73 -0
- package/templates/antigravity/settings.orchestrator.json +15 -0
- package/templates/antigravity/settings.report.json +7 -0
- package/templates/antigravity/settings.review.json +7 -0
- package/templates/claude/agents/specdojo-orchestrator.md +3 -2
- package/templates/codex/agents/specdojo-orchestrator.toml +3 -2
- package/templates/codex/orchestrator.md +3 -2
- package/templates/devcontainer/remote-host/devcontainer-tmux.sh +217 -0
- package/templates/devcontainer/remote-host/specdojo-tmux.sh.sample +8 -96
- package/templates/devcontainer/remote-host/ssh-config.sample +3 -1
- package/templates/devcontainer/tmux.conf +6 -0
- package/templates/init-agent-members.yaml +1 -0
- package/templates/init-exec-defaults.yaml +1 -1
- package/templates/opencode/agents/specdojo-orchestrator.md +3 -2
|
@@ -86,6 +86,9 @@ properties:
|
|
|
86
86
|
- $ref: "./register-item-frontmatter.schema.yaml#/$defs/Date"
|
|
87
87
|
- type: "null"
|
|
88
88
|
description: "登録項目の対応期限または判断期限。未定は省略し、期限なしは null。"
|
|
89
|
+
start_on:
|
|
90
|
+
$ref: "./register-item-frontmatter.schema.yaml#/$defs/Date"
|
|
91
|
+
description: "epic の予定開始日。未定は省略する。type 制約は登録項目 schema が検証する。"
|
|
89
92
|
completed_at:
|
|
90
93
|
$ref: "./register-item-frontmatter.schema.yaml#/$defs/Timestamp"
|
|
91
94
|
description: "登録項目を完了・決定・却下した日時(UTC の RFC 3339・秒精度)。"
|
|
@@ -1,142 +1,8 @@
|
|
|
1
1
|
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
2
|
-
title: External System Interface List Schema
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- title
|
|
10
|
-
- status
|
|
11
|
-
- rulebook
|
|
12
|
-
- interfaces
|
|
13
|
-
|
|
14
|
-
$defs:
|
|
15
|
-
idRef:
|
|
16
|
-
type: string
|
|
17
|
-
pattern: "^[a-z0-9][a-z0-9-]*$"
|
|
18
|
-
description: "英小文字・数字・ハイフンのみ。先頭は英小文字または数字。"
|
|
19
|
-
idRefArray:
|
|
20
|
-
type: array
|
|
21
|
-
items:
|
|
22
|
-
$ref: "#/$defs/idRef"
|
|
23
|
-
uniqueItems: true
|
|
24
|
-
semver:
|
|
25
|
-
type: string
|
|
26
|
-
# SemVer 2.0.0(prerelease / build metadata も許容)
|
|
27
|
-
pattern: "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-.]+)?(?:\\+[0-9A-Za-z-.]+)?$"
|
|
28
|
-
|
|
29
|
-
properties:
|
|
30
|
-
id:
|
|
31
|
-
type: string
|
|
32
|
-
pattern: "^esil-[a-z0-9-]+$"
|
|
33
|
-
description: "一意なID(esil-...)"
|
|
34
|
-
type:
|
|
35
|
-
type: string
|
|
36
|
-
const: "api"
|
|
37
|
-
title:
|
|
38
|
-
type: string
|
|
39
|
-
minLength: 1
|
|
40
|
-
status:
|
|
41
|
-
type: string
|
|
42
|
-
enum: ["draft", "ready", "deprecated"]
|
|
43
|
-
rulebook:
|
|
44
|
-
type: string
|
|
45
|
-
pattern: "^((?:[a-z][a-z0-9-]*:)?[a-z0-9][a-z0-9-]*-rulebook|none)$"
|
|
46
|
-
description: "準拠する rulebook の ID。該当がない場合は none。"
|
|
47
|
-
version:
|
|
48
|
-
$ref: "#/$defs/semver"
|
|
49
|
-
owners:
|
|
50
|
-
type: array
|
|
51
|
-
items:
|
|
52
|
-
type: string
|
|
53
|
-
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
|
|
54
|
-
uniqueItems: true
|
|
55
|
-
|
|
56
|
-
tags:
|
|
57
|
-
type: array
|
|
58
|
-
items:
|
|
59
|
-
type: string
|
|
60
|
-
minLength: 1
|
|
61
|
-
uniqueItems: true
|
|
62
|
-
|
|
63
|
-
part_of:
|
|
64
|
-
$ref: "#/$defs/idRefArray"
|
|
65
|
-
default: []
|
|
66
|
-
based_on:
|
|
67
|
-
$ref: "#/$defs/idRefArray"
|
|
68
|
-
default: []
|
|
69
|
-
implements:
|
|
70
|
-
$ref: "#/$defs/idRefArray"
|
|
71
|
-
default: []
|
|
72
|
-
tests:
|
|
73
|
-
$ref: "#/$defs/idRefArray"
|
|
74
|
-
default: []
|
|
75
|
-
supersedes:
|
|
76
|
-
$ref: "#/$defs/idRefArray"
|
|
77
|
-
default: []
|
|
78
|
-
|
|
79
|
-
interfaces:
|
|
80
|
-
type: array
|
|
81
|
-
default: []
|
|
82
|
-
minItems: 1
|
|
83
|
-
items:
|
|
84
|
-
type: object
|
|
85
|
-
additionalProperties: false
|
|
86
|
-
required:
|
|
87
|
-
- name
|
|
88
|
-
- source
|
|
89
|
-
- target
|
|
90
|
-
- direction
|
|
91
|
-
- kind
|
|
92
|
-
- format
|
|
93
|
-
- timing
|
|
94
|
-
properties:
|
|
95
|
-
name:
|
|
96
|
-
type: string
|
|
97
|
-
minLength: 1
|
|
98
|
-
description: "連携名"
|
|
99
|
-
source:
|
|
100
|
-
type: string
|
|
101
|
-
minLength: 1
|
|
102
|
-
description: "連携元(システム/コンテナ/コンポーネントなど)"
|
|
103
|
-
target:
|
|
104
|
-
type: string
|
|
105
|
-
minLength: 1
|
|
106
|
-
description: "連携先(外部システム名など)"
|
|
107
|
-
direction:
|
|
108
|
-
type: string
|
|
109
|
-
enum:
|
|
110
|
-
- source_to_target
|
|
111
|
-
- target_to_source
|
|
112
|
-
- bidirectional
|
|
113
|
-
description: "方向(source/targetに基づく)"
|
|
114
|
-
kind:
|
|
115
|
-
type: string
|
|
116
|
-
enum:
|
|
117
|
-
- API
|
|
118
|
-
- ファイル
|
|
119
|
-
- メッセージ
|
|
120
|
-
- コマンド
|
|
121
|
-
description: "連携の種別"
|
|
122
|
-
format:
|
|
123
|
-
type: string
|
|
124
|
-
enum:
|
|
125
|
-
- CSV
|
|
126
|
-
- JSON
|
|
127
|
-
- XML
|
|
128
|
-
- その他
|
|
129
|
-
- TBD
|
|
130
|
-
description: "データ形式(限定列挙)"
|
|
131
|
-
timing:
|
|
132
|
-
type: string
|
|
133
|
-
minLength: 1
|
|
134
|
-
description: "連携タイミング"
|
|
135
|
-
error_handling:
|
|
136
|
-
type: string
|
|
137
|
-
description: "エラー処理・備考"
|
|
138
|
-
spec_ref:
|
|
139
|
-
type: string
|
|
140
|
-
pattern: "^(?:ifx-api|ifx-file|ifx-msg|ifx-cmd)-[a-z0-9-]+$|^TBD$"
|
|
141
|
-
description: >-
|
|
142
|
-
詳細仕様ドキュメントの id(ifx-api-/ifx-file-/ifx-msg-/ifx-cmd-...)または TBD
|
|
2
|
+
title: External System Interface List Schema (deprecated alias)
|
|
3
|
+
description: >-
|
|
4
|
+
非推奨の別名。正本は ifx-index.schema.yaml で、本ファイルはそれを参照するだけ。
|
|
5
|
+
古い名前を指す modeline を持つ YAML の検証を壊さないために残している。
|
|
6
|
+
YAML 先頭の modeline を ifx-index.schema.yaml へ書き換えたら、本ファイルは不要になる。
|
|
7
|
+
deprecated: true
|
|
8
|
+
$ref: "ifx-index.schema.yaml"
|
|
@@ -50,6 +50,7 @@ $defs:
|
|
|
50
50
|
[
|
|
51
51
|
"draft",
|
|
52
52
|
"fully-guided",
|
|
53
|
+
"condense",
|
|
53
54
|
"recipe-guided",
|
|
54
55
|
"freeform",
|
|
55
56
|
"bootstrap",
|
|
@@ -80,6 +81,8 @@ $defs:
|
|
|
80
81
|
retrofit reads implementation evidence declared by the catalog and reflects the verified
|
|
81
82
|
current behavior into an existing or newly created deliverable without treating the
|
|
82
83
|
implementation as the unconditional source of intended behavior.
|
|
84
|
+
condense edits redundancy within one existing document, preserving meaning and recording
|
|
85
|
+
changes, retained candidates, and causes.
|
|
83
86
|
cross-deliverable-dedup selects canonical descriptions across an explicitly scoped
|
|
84
87
|
deliverable group and replaces duplicate detail with summaries and references. The
|
|
85
88
|
*-maintenance values improve the named reference material based on deliverables
|
|
@@ -109,6 +109,7 @@ $defs:
|
|
|
109
109
|
lint-fm,
|
|
110
110
|
lint-md,
|
|
111
111
|
lint-mermaid,
|
|
112
|
+
lint-d2,
|
|
112
113
|
build,
|
|
113
114
|
format-check,
|
|
114
115
|
]
|
|
@@ -136,7 +137,8 @@ $defs:
|
|
|
136
137
|
- $ref: "#/$defs/ParentValidationId"
|
|
137
138
|
- type: object
|
|
138
139
|
additionalProperties: false
|
|
139
|
-
required: [id
|
|
140
|
+
required: [id]
|
|
141
|
+
minProperties: 2
|
|
140
142
|
properties:
|
|
141
143
|
id:
|
|
142
144
|
$ref: "#/$defs/ParentValidationId"
|
|
@@ -144,8 +146,48 @@ $defs:
|
|
|
144
146
|
type: string
|
|
145
147
|
pattern: "^[a-z0-9-]+$"
|
|
146
148
|
description: >
|
|
147
|
-
Repository name: `project` for the project repository, or a
|
|
148
|
-
repository name from `projects.<id>.repos`.
|
|
149
|
+
Repository name: `project` for the project repository (default), or a
|
|
150
|
+
product repository name from `projects.<id>.repos`.
|
|
151
|
+
paths:
|
|
152
|
+
type: array
|
|
153
|
+
minItems: 1
|
|
154
|
+
items:
|
|
155
|
+
type: string
|
|
156
|
+
minLength: 1
|
|
157
|
+
description: >
|
|
158
|
+
Glob patterns relative to the assigned repository (`**`, `*`, `?`, `{a,b}`).
|
|
159
|
+
The runner runs the validation only when a file the executor changed matches
|
|
160
|
+
one of them, and records `not_applicable` otherwise. Without `paths`, or when
|
|
161
|
+
the change set is unknown or truncated, or when the integration targets were
|
|
162
|
+
merged into the worktree, the validation always runs.
|
|
163
|
+
commit_hook_skips:
|
|
164
|
+
type: array
|
|
165
|
+
description: >
|
|
166
|
+
Git hook commands (lefthook command names) that the runner's integration commit skips
|
|
167
|
+
through `LEFTHOOK_EXCLUDE` when every parent validation in `covered_by` was recorded as
|
|
168
|
+
passed for the run. Manual commits are not affected.
|
|
169
|
+
items:
|
|
170
|
+
type: object
|
|
171
|
+
additionalProperties: false
|
|
172
|
+
required: [hook, covered_by]
|
|
173
|
+
properties:
|
|
174
|
+
hook:
|
|
175
|
+
type: string
|
|
176
|
+
pattern: "^[A-Za-z0-9_.-]+$"
|
|
177
|
+
covered_by:
|
|
178
|
+
type: array
|
|
179
|
+
minItems: 1
|
|
180
|
+
items:
|
|
181
|
+
type: string
|
|
182
|
+
minLength: 1
|
|
183
|
+
description: Labels (`<id>` or `<repo>:<id>`) from `parent_validations`.
|
|
184
|
+
mechanical_result:
|
|
185
|
+
type: boolean
|
|
186
|
+
default: false
|
|
187
|
+
description: >
|
|
188
|
+
When true, the runner writes an edit result from executor evidence without invoking the
|
|
189
|
+
reporter agent if the outcome is complete and the executor supplied `final_message`.
|
|
190
|
+
Review results, blocked outcomes, and rendering failures still use the reporter.
|
|
149
191
|
parent_validation_concurrency:
|
|
150
192
|
type: integer
|
|
151
193
|
minimum: 1
|
|
@@ -182,6 +224,15 @@ $defs:
|
|
|
182
224
|
Maximum number of `exec run` processes that may run at the same time for one project,
|
|
183
225
|
counting the primary run and every `exec run --register --worktree --join` run
|
|
184
226
|
(default 4). 1 disables `--join`.
|
|
227
|
+
git_index_lock_wait_seconds:
|
|
228
|
+
type: integer
|
|
229
|
+
minimum: 0
|
|
230
|
+
default: 1200
|
|
231
|
+
description: >
|
|
232
|
+
Seconds the runner's Git operations (integration and trailing-record commits) wait for
|
|
233
|
+
another process, such as a manual commit's pre-commit hook, to release index.lock before
|
|
234
|
+
failing (default 1200). After the first short retries, the wait stops early when the
|
|
235
|
+
lock file remains but no git process is running (a stale lock); the lock is never removed.
|
|
185
236
|
|
|
186
237
|
ProviderOverride:
|
|
187
238
|
type: object
|
|
@@ -21,6 +21,20 @@ properties:
|
|
|
21
21
|
- status
|
|
22
22
|
- project_id
|
|
23
23
|
allOf:
|
|
24
|
+
- if:
|
|
25
|
+
required: [approach]
|
|
26
|
+
properties:
|
|
27
|
+
approach:
|
|
28
|
+
const: condense
|
|
29
|
+
then:
|
|
30
|
+
required: [targets]
|
|
31
|
+
properties:
|
|
32
|
+
targets:
|
|
33
|
+
type: array
|
|
34
|
+
minItems: 1
|
|
35
|
+
maxItems: 1
|
|
36
|
+
mode:
|
|
37
|
+
const: edit
|
|
24
38
|
# Register-originated tasks have no predetermined target deliverable, so targets
|
|
25
39
|
# cannot be resolved and is not required. Schedule tasks always carry it because
|
|
26
40
|
# the commit allowlist is derived from it.
|
|
@@ -24,6 +24,21 @@ properties:
|
|
|
24
24
|
- project_id
|
|
25
25
|
- started_at
|
|
26
26
|
allOf:
|
|
27
|
+
- if:
|
|
28
|
+
required: [approach]
|
|
29
|
+
properties:
|
|
30
|
+
approach:
|
|
31
|
+
const: condense
|
|
32
|
+
then:
|
|
33
|
+
required: [condense_records, targets]
|
|
34
|
+
properties:
|
|
35
|
+
condense_records: true
|
|
36
|
+
targets:
|
|
37
|
+
type: array
|
|
38
|
+
minItems: 1
|
|
39
|
+
maxItems: 1
|
|
40
|
+
mode:
|
|
41
|
+
const: edit
|
|
27
42
|
# Register-originated tasks have no predetermined target deliverable, so targets
|
|
28
43
|
# cannot be resolved and is not required. Schedule tasks always carry it because
|
|
29
44
|
# the commit allowlist is derived from it.
|
|
@@ -142,3 +157,6 @@ properties:
|
|
|
142
157
|
Doc ids of the documents this task targets, carried with the same rules as the plan
|
|
143
158
|
frontmatter targets. Authoring results carry the new kata id; read-only exemplar sources
|
|
144
159
|
are described in the plan body instead of becoming change-coverage targets.
|
|
160
|
+
|
|
161
|
+
condense_records:
|
|
162
|
+
$ref: "condense-records.schema.yaml"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
2
|
+
title: Finding Cause
|
|
3
|
+
description: Shared cause for grade findings and edit records. Omission means document.
|
|
4
|
+
oneOf:
|
|
5
|
+
- type: object
|
|
6
|
+
additionalProperties: false
|
|
7
|
+
required: [type]
|
|
8
|
+
properties:
|
|
9
|
+
type:
|
|
10
|
+
const: document
|
|
11
|
+
- type: object
|
|
12
|
+
additionalProperties: false
|
|
13
|
+
required: [type, kind, location]
|
|
14
|
+
properties:
|
|
15
|
+
type:
|
|
16
|
+
const: kata
|
|
17
|
+
kind:
|
|
18
|
+
enum: [rulebook, recipe, sample, template]
|
|
19
|
+
location:
|
|
20
|
+
type: string
|
|
21
|
+
pattern: "\\S"
|
|
22
|
+
description: Heading, line, or quoted passage in the declared Kata supporting the cause.
|
|
@@ -13,7 +13,6 @@ required:
|
|
|
13
13
|
- title
|
|
14
14
|
- rulebook
|
|
15
15
|
- command
|
|
16
|
-
- arguments
|
|
17
16
|
- streams
|
|
18
17
|
- exit_codes
|
|
19
18
|
- authentication
|
|
@@ -43,6 +42,11 @@ properties:
|
|
|
43
42
|
items:
|
|
44
43
|
type: string
|
|
45
44
|
uniqueItems: true
|
|
45
|
+
supersedes:
|
|
46
|
+
type: array
|
|
47
|
+
items:
|
|
48
|
+
type: string
|
|
49
|
+
uniqueItems: true
|
|
46
50
|
metadata_template:
|
|
47
51
|
type: object
|
|
48
52
|
additionalProperties: true
|
|
@@ -56,7 +60,6 @@ properties:
|
|
|
56
60
|
additionalProperties: false
|
|
57
61
|
required:
|
|
58
62
|
- executable
|
|
59
|
-
- subcommands
|
|
60
63
|
- purpose
|
|
61
64
|
- shell
|
|
62
65
|
properties:
|
|
@@ -65,13 +68,16 @@ properties:
|
|
|
65
68
|
minLength: 1
|
|
66
69
|
subcommands:
|
|
67
70
|
type: array
|
|
68
|
-
minItems:
|
|
71
|
+
minItems: 0
|
|
69
72
|
items:
|
|
70
73
|
type: string
|
|
71
74
|
minLength: 1
|
|
72
75
|
purpose:
|
|
73
76
|
type: string
|
|
74
77
|
minLength: 1
|
|
78
|
+
reference:
|
|
79
|
+
type: string
|
|
80
|
+
minLength: 1
|
|
75
81
|
version_constraint:
|
|
76
82
|
type: string
|
|
77
83
|
shell:
|
|
@@ -95,7 +101,9 @@ properties:
|
|
|
95
101
|
minLength: 1
|
|
96
102
|
kind:
|
|
97
103
|
type: string
|
|
98
|
-
enum: ["argument", "option", "_ARGUMENT_KIND_"]
|
|
104
|
+
enum: ["argument", "option", "positional", "_ARGUMENT_KIND_"]
|
|
105
|
+
position:
|
|
106
|
+
$ref: "#/$defs/PositiveIntegerOrPlaceholder"
|
|
99
107
|
required:
|
|
100
108
|
$ref: "#/$defs/BooleanOrPlaceholder"
|
|
101
109
|
value_type:
|
|
@@ -103,7 +111,8 @@ properties:
|
|
|
103
111
|
minLength: 1
|
|
104
112
|
value_source:
|
|
105
113
|
type: string
|
|
106
|
-
enum:
|
|
114
|
+
enum:
|
|
115
|
+
["literal", "generated", "config", "secret", "user_input", "_ARGUMENT_VALUE_SOURCE_"]
|
|
107
116
|
description:
|
|
108
117
|
type: string
|
|
109
118
|
minLength: 1
|
|
@@ -124,6 +133,28 @@ properties:
|
|
|
124
133
|
stderr:
|
|
125
134
|
$ref: "#/$defs/Stream"
|
|
126
135
|
|
|
136
|
+
files:
|
|
137
|
+
type: object
|
|
138
|
+
additionalProperties: false
|
|
139
|
+
properties:
|
|
140
|
+
inputs:
|
|
141
|
+
type: array
|
|
142
|
+
items:
|
|
143
|
+
$ref: "#/$defs/FileContract"
|
|
144
|
+
outputs:
|
|
145
|
+
type: array
|
|
146
|
+
items:
|
|
147
|
+
$ref: "#/$defs/FileContract"
|
|
148
|
+
|
|
149
|
+
side_effects:
|
|
150
|
+
oneOf:
|
|
151
|
+
- type: string
|
|
152
|
+
minLength: 1
|
|
153
|
+
- type: array
|
|
154
|
+
items:
|
|
155
|
+
type: string
|
|
156
|
+
minLength: 1
|
|
157
|
+
|
|
127
158
|
exit_codes:
|
|
128
159
|
type: array
|
|
129
160
|
minItems: 1
|
|
@@ -148,6 +179,7 @@ properties:
|
|
|
148
179
|
- input_error
|
|
149
180
|
- authentication_error
|
|
150
181
|
- authorization_error
|
|
182
|
+
- rate_limit
|
|
151
183
|
- permanent_failure
|
|
152
184
|
- transient_failure
|
|
153
185
|
- _FAILURE_CATEGORY_
|
|
@@ -220,6 +252,14 @@ properties:
|
|
|
220
252
|
condition:
|
|
221
253
|
type: string
|
|
222
254
|
minLength: 1
|
|
255
|
+
side_effects:
|
|
256
|
+
oneOf:
|
|
257
|
+
- type: string
|
|
258
|
+
minLength: 1
|
|
259
|
+
- type: array
|
|
260
|
+
items:
|
|
261
|
+
type: string
|
|
262
|
+
minLength: 1
|
|
223
263
|
|
|
224
264
|
error_handling:
|
|
225
265
|
type: object
|
|
@@ -295,3 +335,23 @@ $defs:
|
|
|
295
335
|
type: string
|
|
296
336
|
description:
|
|
297
337
|
type: string
|
|
338
|
+
|
|
339
|
+
FileContract:
|
|
340
|
+
type: object
|
|
341
|
+
additionalProperties: false
|
|
342
|
+
required:
|
|
343
|
+
- path
|
|
344
|
+
- format
|
|
345
|
+
- description
|
|
346
|
+
properties:
|
|
347
|
+
path:
|
|
348
|
+
type: string
|
|
349
|
+
minLength: 1
|
|
350
|
+
format:
|
|
351
|
+
type: string
|
|
352
|
+
minLength: 1
|
|
353
|
+
encoding:
|
|
354
|
+
type: string
|
|
355
|
+
description:
|
|
356
|
+
type: string
|
|
357
|
+
minLength: 1
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
2
|
+
title: External System Interface List Schema
|
|
3
|
+
type: object
|
|
4
|
+
additionalProperties: false
|
|
5
|
+
|
|
6
|
+
required:
|
|
7
|
+
- id
|
|
8
|
+
- type
|
|
9
|
+
- title
|
|
10
|
+
- status
|
|
11
|
+
- rulebook
|
|
12
|
+
- interfaces
|
|
13
|
+
|
|
14
|
+
$defs:
|
|
15
|
+
idRef:
|
|
16
|
+
type: string
|
|
17
|
+
pattern: "^[a-z0-9][a-z0-9-]*$"
|
|
18
|
+
description: "英小文字・数字・ハイフンのみ。先頭は英小文字または数字。"
|
|
19
|
+
idRefArray:
|
|
20
|
+
type: array
|
|
21
|
+
items:
|
|
22
|
+
$ref: "#/$defs/idRef"
|
|
23
|
+
uniqueItems: true
|
|
24
|
+
semver:
|
|
25
|
+
type: string
|
|
26
|
+
# SemVer 2.0.0(prerelease / build metadata も許容)
|
|
27
|
+
pattern: "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-.]+)?(?:\\+[0-9A-Za-z-.]+)?$"
|
|
28
|
+
|
|
29
|
+
properties:
|
|
30
|
+
id:
|
|
31
|
+
type: string
|
|
32
|
+
pattern: "^(?:[a-z][a-z0-9-]*:)?ifx-index(?:-[a-z0-9-]+)?$"
|
|
33
|
+
description: "一意なID(ifx-index または ifx-index-...)。プロジェクトの修飾(例: prj-0001:ifx-index)を付けてよい"
|
|
34
|
+
type:
|
|
35
|
+
type: string
|
|
36
|
+
const: "api"
|
|
37
|
+
title:
|
|
38
|
+
type: string
|
|
39
|
+
minLength: 1
|
|
40
|
+
status:
|
|
41
|
+
type: string
|
|
42
|
+
enum: ["draft", "ready", "deprecated"]
|
|
43
|
+
rulebook:
|
|
44
|
+
type: string
|
|
45
|
+
pattern: "^((?:[a-z][a-z0-9-]*:)?[a-z0-9][a-z0-9-]*-rulebook|none)$"
|
|
46
|
+
description: "準拠する rulebook の ID。該当がない場合は none。"
|
|
47
|
+
version:
|
|
48
|
+
$ref: "#/$defs/semver"
|
|
49
|
+
owners:
|
|
50
|
+
type: array
|
|
51
|
+
items:
|
|
52
|
+
type: string
|
|
53
|
+
pattern: "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
|
|
54
|
+
uniqueItems: true
|
|
55
|
+
|
|
56
|
+
tags:
|
|
57
|
+
type: array
|
|
58
|
+
items:
|
|
59
|
+
type: string
|
|
60
|
+
minLength: 1
|
|
61
|
+
uniqueItems: true
|
|
62
|
+
|
|
63
|
+
part_of:
|
|
64
|
+
$ref: "#/$defs/idRefArray"
|
|
65
|
+
default: []
|
|
66
|
+
based_on:
|
|
67
|
+
$ref: "#/$defs/idRefArray"
|
|
68
|
+
default: []
|
|
69
|
+
implements:
|
|
70
|
+
$ref: "#/$defs/idRefArray"
|
|
71
|
+
default: []
|
|
72
|
+
tests:
|
|
73
|
+
$ref: "#/$defs/idRefArray"
|
|
74
|
+
default: []
|
|
75
|
+
supersedes:
|
|
76
|
+
$ref: "#/$defs/idRefArray"
|
|
77
|
+
default: []
|
|
78
|
+
|
|
79
|
+
interfaces:
|
|
80
|
+
type: array
|
|
81
|
+
default: []
|
|
82
|
+
minItems: 1
|
|
83
|
+
items:
|
|
84
|
+
type: object
|
|
85
|
+
additionalProperties: false
|
|
86
|
+
required:
|
|
87
|
+
- name
|
|
88
|
+
- source
|
|
89
|
+
- target
|
|
90
|
+
- direction
|
|
91
|
+
- kind
|
|
92
|
+
- format
|
|
93
|
+
- timing
|
|
94
|
+
properties:
|
|
95
|
+
name:
|
|
96
|
+
type: string
|
|
97
|
+
minLength: 1
|
|
98
|
+
description: "連携名"
|
|
99
|
+
source:
|
|
100
|
+
type: string
|
|
101
|
+
minLength: 1
|
|
102
|
+
description: "連携元(システム/コンテナ/コンポーネントなど)"
|
|
103
|
+
target:
|
|
104
|
+
type: string
|
|
105
|
+
minLength: 1
|
|
106
|
+
description: "連携先(外部システム名など)"
|
|
107
|
+
direction:
|
|
108
|
+
type: string
|
|
109
|
+
enum:
|
|
110
|
+
- source_to_target
|
|
111
|
+
- target_to_source
|
|
112
|
+
- bidirectional
|
|
113
|
+
description: "方向(source/targetに基づく)"
|
|
114
|
+
kind:
|
|
115
|
+
type: string
|
|
116
|
+
enum:
|
|
117
|
+
- API
|
|
118
|
+
- ファイル
|
|
119
|
+
- メッセージ
|
|
120
|
+
- コマンド
|
|
121
|
+
description: "連携の種別"
|
|
122
|
+
format:
|
|
123
|
+
type: string
|
|
124
|
+
enum:
|
|
125
|
+
- CSV
|
|
126
|
+
- JSON
|
|
127
|
+
- XML
|
|
128
|
+
- その他
|
|
129
|
+
- TBD
|
|
130
|
+
description: "データ形式(限定列挙)"
|
|
131
|
+
timing:
|
|
132
|
+
type: string
|
|
133
|
+
minLength: 1
|
|
134
|
+
description: "連携タイミング"
|
|
135
|
+
error_handling:
|
|
136
|
+
type: string
|
|
137
|
+
description: "エラー処理・備考"
|
|
138
|
+
spec_ref:
|
|
139
|
+
type: string
|
|
140
|
+
pattern: "^(?:[a-z][a-z0-9-]*:)?(?:ifx-api|ifx-file|ifx-msg|ifx-cmd)-[a-z0-9-]+$|^TBD$"
|
|
141
|
+
description: >-
|
|
142
|
+
詳細仕様ドキュメントの id(ifx-api-/ifx-file-/ifx-msg-/ifx-cmd-...)または TBD
|