fix(qizheng): pin vendor bytes to local a911c890 checkout
Independent Staging Quality Gate / validate (push) Failing after 6m58s
Independent Staging Quality Gate / publish (push) Skipped

Re-copy LICENSE/README/package.json/cli.cjs from the local yinduzhanxing snapshot. Drop dist/index.cjs that was assembled from npm. Do not include 6c27aab6 or 8bba9cb5.
This commit is contained in:
jesse-ux
2026-09-15 16:33:31 +08:00
parent 830799fafb
commit f7386e0717
6 changed files with 19 additions and 46672 deletions
@@ -17,7 +17,7 @@
## 任务 1 · vendored 归档与镜像 Node
- 上游不从 GitHub 拉。本机 `G:\Ferti\yinduzhanxing-codex-add-birth-time-rectification-skill` = 任务书 `/workspace/yinduzhanxing``a911c890`)。已按内容拷贝 `vendor/stem-branch/{LICENSE,README.md,package.json,dist/cli.cjs}` 到本仓同名路径。`cli.cjs` **45,963 行 / 2,682,464 B**sha256 前缀 `cf1bca10507ffcc9`,与上游文件逐字节相同。
- `scripts/qizheng_chart_engine.py` 以上游 168 行适配器为起点(`calculate_qizheng_chart` + CLI `--seven-governors --json`),再按任务 2 改派别参数、boundary、坐标系和错误路径。默认走 `cli.cjs`;覆盖 `ketu_mode` / `sidereal_mode` 时用同包 `dist/index.cjs`CLI 无对应旗标)
- `scripts/qizheng_chart_engine.py` 以上游 168 行适配器为起点(`calculate_qizheng_chart` + CLI `--seven-governors --json`),再按任务 2 改派别参数、boundary、坐标系和错误路径。vendor 以本机 `a911c890` 目录为准,已删除从 npm 另凑的 `dist/index.cjs`。未带 `6c27aab6` / `8bba9cb5`。CLI 无 ketuMode 旗标:请求派别回写 `calculation.ketu_mode`,实际盘面以 `engine_ketu_mode` 为准
- 仓库根 `NOTICE`:包名、0.8.0、Apache-2.0、上游地址、取入方式。
- `deploy/railway-api.Dockerfile``nodejs` 运行时(不装 npm/构建链),`COPY vendor ./vendor`
- `deploy/gated-paths.txt`:新增 `vendor/**`