Conversation
Fields that describe something that is not there: - description was the literal string "## Prior Art", a fragment of an early README - main pointed at sandbox.js, which does not exist in the repository - directories.test pointed at test/, which is the Haskell HUnit suite, not an npm one - the test script only ever ran `exit 1`; the real suites are `make test` and the bazel e2e target - repository, bugs and homepage all pointed at kogai/onix, while this repository is kogai/onix-codegen Raised in review of #57 and split out from it so the dependency bump stayed a dependency bump. Not touched, because it needs an answer rather than an edit: the declared licence disagrees in three places. LICENSE is MIT, package.yaml and onix.cabal say BSD3, package.json says ISC. Picking one is the maintainer's call, so it is described in the pull request instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P8rZakwAiz1jpViUX34x1Z
レビュー結果削除・書き換えの前提を一つずつ裏取りしましたが、すべて事実で、この差分に誤りは見つかりませんでした。 必須なし。 推奨1.
2.
任意3.
4.
5. 同じ種類の stale URL が
6.
検証した内容すべて read-only の git 操作と、リポジトリ外の一時ディレクトリでのみ実行しています。作業ツリーには触れていません。
過去に消されたのではなく、どの ref のどのコミットにも存在したことがありません。参照もゼロです。
唯一の npm 呼び出しは e2e ジョブの リポジトリ同定と 3 つの URL 形式
ラウンドトリップ(リポジトリ外の一時ディレクトリ、npm 10.9.7 / node 22.22.2)
base (
ライセンス 3 箇所の実値(PR 本文の記載どおり) 検証できなかったこと
Generated by Claude Code |
Review made the case that "license": "ISC" belongs in this PR after all. The three declared licences are not three considered opinions: BSD3 sits in package.yaml next to github: "githubuser/onix", author: "Author name here" and maintainer: "example@example.com", which is an unedited `stack new` template, and ISC is what `npm init` writes by default. Only LICENSE — MIT, Copyright (c) 2020 Shinichi Kogai — shows any sign of being chosen. So ISC is the same kind of placeholder as the main and directories fields this PR already removed, and pointing it at the file that actually governs is not picking a licence. package.yaml and onix.cabal are still left alone: changing the Haskell package's declared licence is the part that needs the author, and it is described in the pull request. Also mark the package private. The npm name "onix" is already taken by another publisher, so this manifest cannot be published as it stands; it exists to feed npx bazelisk. Saying so directly settles the accuracy of version, author and keywords, and answers the peerDependencies question the pull request raised. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P8rZakwAiz1jpViUX34x1Z
package.jsonの、実体を指していないフィールドを直します。#57 のレビューで挙がった件を、依存バージョンの更新と混ぜないよう切り出したものです。base は #59(npm 系の変更が
#56 → #57 → #59 → 本 PRと連なっているため)。変更内容
description"## Prior Art"main"sandbox.js"directories.test"test"test/は Haskell の HUnit スイートで npm とは無関係scripts.testecho ... && exit 1make testと bazel の e2erepository/bugs/homepagekogai/onixkogai/onix-codegenmain・directories・scripts.testは、正しい値を書くのではなく削除しました。いずれも「このパッケージには無いもの」を指しているので、書き直すべき正解が無いためです。ライセンス表記が 3 箇所で食い違っています(要判断)
これは編集ではなく判断が必要なので、この PR では触っていません。
LICENSEpackage.yaml/onix.cabalpackage.jsonLICENSEファイル(MIT, Copyright (c) 2020 Shinichi Kogai)が実体だと思われますが、どれが正なのかは作者にしか判断できません。こちらで揃えると、もしLICENSE側が誤りだった場合に誤りを広げてしまうので、指摘に留めます。どれに揃えるか教えていただければ、別 PR で対応します。同様に、
peerDependenciesにfast-xml-parserがあるのに"private": trueが無い点も、公開の意図が分からないため触っていません。生成される TS クライアント側の宣言のつもりであれば、このpackage.jsonは生成器のものなので置き場所が違う可能性があります。確認
npm install後もpackage-lock.jsonに差分が出ないこと(.npmrcにより lockfileVersion は 1 のまま)を確認済みsandbox.jsは存在せず、test/はtest/Spec.hs以下の Haskell テスト)🤖 Generated with Claude Code
https://claude.ai/code/session_01P8rZakwAiz1jpViUX34x1Z
Generated by Claude Code