agent-contracts-runtime 0.36.7 → 0.36.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1053,3 +1053,11 @@ Tools that integrate with `agent-contracts-runtime` define their LLM agents, tas
1053
1053
  ## License
1054
1054
 
1055
1055
  MIT
1056
+
1057
+ ---
1058
+
1059
+ ## 関連リポジトリ
1060
+
1061
+ 本リポジトリは foo-log-inc の AI 駆動開発関連リポジトリ群の一つです。各リポジトリの役割と一覧は以下のカタログを参照してください。
1062
+
1063
+ 📦 [AI関連リポジトリ カタログ](https://github.com/foo-log-inc/foolog_ojt/blob/main/REPOSITORIES.md)
package/cli-contract.yaml CHANGED
@@ -694,6 +694,59 @@ command_sets:
694
694
  idempotent: true
695
695
  sideEffects: []
696
696
 
697
+ # -----------------------------------------------------------------------
698
+ # navigation-index
699
+ # -----------------------------------------------------------------------
700
+ navigation-index:
701
+ summary: Build artifact navigation index from resolved DSL.
702
+ description: |
703
+ Resolves the embedded DSL (merged with project overlay if configured),
704
+ applies artifact binding, and builds a navigation index showing
705
+ artifact-to-tool-to-agent mappings.
706
+
707
+ The output is a JSON/YAML structure suitable for IDE integration,
708
+ routing rules, and artifact coverage analysis.
709
+ options:
710
+ - name: format
711
+ aliases: [F]
712
+ description: Output format.
713
+ schema:
714
+ type: string
715
+ enum: [json, yaml]
716
+ default: json
717
+
718
+ - name: artifact
719
+ description: Filter output to a single artifact by ID.
720
+ schema:
721
+ type: string
722
+
723
+ - name: output
724
+ aliases: [o]
725
+ description: Write output to a file instead of stdout.
726
+ schema:
727
+ type: string
728
+ file:
729
+ mode: write
730
+
731
+ exits:
732
+ "0":
733
+ description: Navigation index built successfully.
734
+ stdout:
735
+ format: json
736
+ schema:
737
+ $ref: "#/components/schemas/NavigationIndexResult"
738
+
739
+ "1":
740
+ description: Failed to build navigation index.
741
+ stderr:
742
+ format: text
743
+
744
+ x-agent:
745
+ riskLevel: low
746
+ requiresConfirmation: false
747
+ idempotent: true
748
+ sideEffects: []
749
+
697
750
 
698
751
  # =============================================================================
699
752
  # Components
@@ -958,6 +1011,29 @@ components:
958
1011
  type: string
959
1012
  description: Human-readable detail.
960
1013
 
1014
+ # -------------------------------------------------------------------------
1015
+ # navigation-index
1016
+ # -------------------------------------------------------------------------
1017
+ NavigationIndexResult:
1018
+ type: object
1019
+ required: [version, generated_at, system, artifacts]
1020
+ properties:
1021
+ version:
1022
+ type: string
1023
+ generated_at:
1024
+ type: string
1025
+ system:
1026
+ type: object
1027
+ required: [id, name]
1028
+ properties:
1029
+ id:
1030
+ type: string
1031
+ name:
1032
+ type: string
1033
+ artifacts:
1034
+ type: object
1035
+ additionalProperties: true
1036
+
961
1037
  # -------------------------------------------------------------------------
962
1038
  # Canonical agent result schemas (AgentAuditResult sub-types)
963
1039
  # -------------------------------------------------------------------------