Evidence bundle schema sources.*.baseUrl pattern is looser than the runtime validator

オープン 初心者向け
#945 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

products/evidence/contracts/bundle.schema.yaml:907-916を、schema lines 815-828にある標準パターンおよびcrates/registry-evidence/src/config.rs:4761-4767のvalidate_source_originと比較します。拒否されるbaseUrlを対象とするfixtureを追加し、関連するスキーマ検証とランタイム検証のチェックを実行します。完了条件は、両方のバリデーターが同じ無効な値を拒否することです。

索引モデルが issue の本文から書いたものです。

説明

agent-ready area:evidence bug criticality:p3 triage:needs-implementation

Found in the 0.28.0 pre-release review (2026-09-08). Line references are as of main after #926.

products/evidence/contracts/bundle.schema.yaml:907-916 accepts sources.*.baseUrl values that validate_source_origin in crates/registry-evidence/src/config.rs:4761-4767 refuses, while sourceConnections.baseUrl (schema lines 815-828) already carries the canonical origin pattern. Editor validation therefore passes a bundle the runtime rejects. Tighten the schema pattern to the runtime rule and add a fixture that fails both.

主要言語
Rust
スター
2
フォーク
0
平均マージ
3時間 45分
マージ済み PR(30日)
134

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。