diff --git a/src/commands/_anti_patterns.ts b/src/commands/_anti_patterns.ts index 2c79d4b..61a0f4b 100644 --- a/src/commands/_anti_patterns.ts +++ b/src/commands/_anti_patterns.ts @@ -43,7 +43,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'f_user_id (BIGINT 必填, 未指定FK关联关系)', right: 'f_user_id (BIGINT FK 必填 relationForm 关联 user 表 显示字段 f_user_name)', rationale: 'AI 默认推成 inputNumber, 列表显示 ID 数字而非名称', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0001-fk-relation-form-required'], }, { @@ -52,7 +52,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'f_status (int 必填)', right: 'f_status (int 字典 userstatus:0正常/1冻结, 必填 select 组件)', rationale: 'int + dictType 不会自动转 select 组件 (BS-新117 限制 1)', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0002-form-create-ai-4-limitations'], }, { @@ -61,7 +61,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'f_create_time (datetime 必填)', right: 'f_create_time (datetime 必填 datePicker 列 format=yyyy-MM-dd HH:mm:ss)', rationale: '列缺 format 时显示 ISO 时间戳 (BS-新117 限制 2)', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0002-form-create-ai-4-limitations'], }, { @@ -70,7 +70,7 @@ export const ANTI_PATTERNS: Record = { wrong: '1 句话建多表 (含 FK 字段)', right: '拆步: 先建被关联表 (不含 FK), 再 form update --fields 补 FK', rationale: '主表先建时 FK 字段无 modelId, step machine 校验失败', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0007-dacli-form-ai-not-in-dependency'], }, { @@ -87,7 +87,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'AI 描述未提 FK 处理', right: 'AI 描述结尾加 "本表不建FK字段"', rationale: '物理表缺 varchar FK 列, form POST 报 "Field cannot be empty"', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0003-form-update-fields-no-alter-table'], }, { @@ -96,7 +96,7 @@ export const ANTI_PATTERNS: Record = { wrong: '--enCode 含 - / _ / 空格 / 括号', right: 'camelCase 无下划线, 例: tdsmyform / tdscompetition', rationale: 'BS-56 正则 `[一-龥a-z0-9]+` 严格, 不允许这些字符', - source: 'drift/R12 BS-新38', + source: 'archive/drift-rounds-2026-07/2026-07-15-round12-fix-batch1.md §BS-新38', }, { id: 'AP-fc-8', @@ -104,7 +104,7 @@ export const ANTI_PATTERNS: Record = { wrong: '建表后未跑 dacli form info 验证', right: '必跑 `dacli form info ` 验证 4 项 (字段数/jnpfKey/relationForm/required)', rationale: 'BS-新117 4 限制入生产会报 "Field cannot be empty"', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', crossRefs: ['decisions/0002-form-create-ai-4-limitations'], }, ], @@ -114,7 +114,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'form update --fields 加 FK 字段 (varchar)', right: 'form import --autoTable 重建物理表 / dm drop + form delete + form create 重建', rationale: 'form update --fields 不会 ALTER 物理表 (BS-新117 限制 4)', - source: 'drift/R12', + source: 'archive/drift-rounds-2026-07/2026-07-15-round12-summary.md', crossRefs: ['decisions/0003-form-update-fields-no-alter-table'], }, { @@ -122,7 +122,7 @@ export const ANTI_PATTERNS: Record = { wrong: '--fields 字段名不带 F_ 前缀', right: '所有字段名必带 F_ 前缀', rationale: '列名缺 F_ 前缀, 列表显示异常', - source: 'drift/R12 column_drift', + source: 'archive/drift-rounds-2026-07/2026-07-15-round12-summary.md §column_drift', }, { id: 'AP-fu-3', severity: 'P2', @@ -138,7 +138,7 @@ export const ANTI_PATTERNS: Record = { wrong: '建表后未跑 form info 验证', right: '必跑 `dacli form info ` 检查字段数/jnpfKey/relationForm/required 4 项', rationale: 'BS-新117 4 限制只能通过 form info 验证, 提前发现问题', - source: 'drift/R17', + source: 'archive/drift-rounds-2026-07/2026-07-15-round17-plan.md', }, ], 'form delete': [ @@ -156,7 +156,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'menu create --type=3 不传 moduleId', right: '必传 --moduleId=', rationale: '后端 400 (BS-drift-M-1)', - source: 'drift/R5', + source: 'archive/drift-rounds-2026-07/2026-07-14-round5-menu-workflow-summary.md', crossRefs: ['decisions/0004-menu-create-type3-moduleid'], }, { @@ -171,7 +171,7 @@ export const ANTI_PATTERNS: Record = { wrong: '跨 app 引用未传 --urlAddress', right: '传 --urlAddress=model/', rationale: 'SPA 找不到 form 路由 404', - source: 'drift/R5', + source: 'archive/drift-rounds-2026-07/2026-07-14-round5-menu-workflow-summary.md', }, ], 'dict typeCreate': [ @@ -198,7 +198,7 @@ export const ANTI_PATTERNS: Record = { wrong: 'workflow create --ai 不传 --flowXml', right: '传 --flowXml=完整 BPMN XML', rationale: 'AI 默认生 trivial 3-node BPMN, 不实用', - source: 'drift/R12 F3', + source: 'archive/drift-rounds-2026-07/2026-07-15-round12-fix-batch2.md §F3', }, ], 'dm create': [ @@ -216,21 +216,21 @@ export const ANTI_PATTERNS: Record = { wrong: 'di create 不传 --fieldJson', right: '传 --fieldJson=<完整 schema JSON>', rationale: '后端拿不到字段定义, 报 400', - source: 'drift/R9 BS-DI-1', + source: 'archive/drift-rounds-2026-07/2026-07-14-round9-dict-di-drift-summary.md §BS-DI-1', }, { id: 'AP-di-2', severity: 'P0', wrong: 'di create 不传 --parameterJson', right: '传 --parameterJson=<参数 JSON>', rationale: '后端拿不到参数定义', - source: 'drift/R9 BS-DI-2', + source: 'archive/drift-rounds-2026-07/2026-07-14-round9-dict-di-drift-summary.md §BS-DI-2', }, { id: 'AP-di-3', severity: 'P0', wrong: 'di create 不传 --dataConfigJson', right: '传 --dataConfigJson=<数据配置 JSON>', rationale: '后端拿不到数据源配置', - source: 'drift/R9 BS-DI-3', + source: 'archive/drift-rounds-2026-07/2026-07-14-round9-dict-di-drift-summary.md §BS-DI-3', }, ], 'test run': [ diff --git a/src/commands/apis/search.ts b/src/commands/apis/search.ts index e700008..47da850 100644 --- a/src/commands/apis/search.ts +++ b/src/commands/apis/search.ts @@ -180,7 +180,7 @@ export function buildApisSearchCommand(): Command { 'dacli apis search --field=enCode --exact', ], notes: [ - 'v0.11+ 新增, 解决 Phase 1 审计 (cmd-review/apis.md) 标记的 P0 字段盲猜痛点', + 'v0.11+ 新增, 解决 Phase 1 审计 (历史) 标记的 P0 字段盲猜痛点', '默认模糊匹配 (--field=enCode 匹配 fullName/enCode/encode 等), --exact 精确', ], }) diff --git a/src/commands/app/index.ts b/src/commands/app/index.ts index 6633289..bf0093b 100644 --- a/src/commands/app/index.ts +++ b/src/commands/app/index.ts @@ -27,7 +27,7 @@ import { buildAppLogoutCommand } from './logout.ts' // v3.0+ 新增 (regression import { buildAppStatusCommand } from './status.ts' import { buildAppSwitchCommand } from './switch.ts' import { buildAppContextCommand } from './context.ts' -import { buildAppUseCommand } from './use.ts' // v3.0+ 新增 (cmd-review/app.md P1) +import { buildAppUseCommand } from './use.ts' // v3.0+ 新增 (审计 P1) export function buildAppCommand(): Command { const cmd = new Command('app').description('应用 (JNPF 多 app 生命周期, appCenter, v3.0+ 一体化 use)') diff --git a/src/commands/app/info.ts b/src/commands/app/info.ts index 64b8884..39ff1fe 100644 --- a/src/commands/app/info.ts +++ b/src/commands/app/info.ts @@ -2,7 +2,7 @@ * commands/app/info.ts — 应用详情 (v3.0+ 走 webapi/system 镜像) * * v3.0+ (2026-06-29 regression audit P0): 改用 webapi/system.getInfo - * - cmd-review/app.md 已识别: 旧实现直接 c.get('/system/System/{id}') + * - v3.0+ 评审已识别: 旧实现直接 c.get('/system/System/{id}') * - 现在 webapi 镜像: 复用 web 端 getInfo * * API: GET /api/system/System/{id} (镜像 web getInfo) @@ -51,7 +51,7 @@ export function buildAppInfoCommand(): Command { 'v3.0+ P0 (regression audit 2026-06-29): webapi 镜像化', ' 旧实现: 直接 c.get(\'/system/System/{id}\'), 与 web 端 schema 漂移风险', ' 新实现: 复用 web 端 getInfo', - ' 详见 dacli/docs/cmd-review/regression-2026-06-29.md', + ' 详见 dacli/docs/archive/review/regression-2026-06-29.md', ], }) return cmd diff --git a/src/commands/app/list.ts b/src/commands/app/list.ts index 37f6ed8..0ce1be4 100644 --- a/src/commands/app/list.ts +++ b/src/commands/app/list.ts @@ -2,7 +2,7 @@ * commands/app/list.ts — 应用列表 (v3.0+ 走 webapi/system 镜像) * * v3.0+ (2026-06-29 regression audit P0): 改用 webapi/system.getSystemList - * - cmd-review/app.md 已识别: 旧实现直接 c.get('/system/System') + * - v3.0+ 评审已识别: 旧实现直接 c.get('/system/System') * - 现在 webapi 镜像: 复用 web 端 getSystemList (含 query 参数处理 + 错误响应) * - 同时保留选项卡格式输出 * @@ -96,7 +96,7 @@ export function buildAppListCommand(): Command { 'v3.0+ P0 (regression audit 2026-06-29): webapi 镜像化', ' 旧实现: 直接 c.get(\'/system/System\'), 与 web 端 schema 漂移风险', ' 新实现: 复用 web 端 getSystemList (含 query 参数处理 + 错误响应)', - ' 详见 dacli/docs/cmd-review/regression-2026-06-29.md', + ' 详见 dacli/docs/archive/review/regression-2026-06-29.md', ], }) return cmd diff --git a/src/commands/app/logout.ts b/src/commands/app/logout.ts index a322e10..1575289 100644 --- a/src/commands/app/logout.ts +++ b/src/commands/app/logout.ts @@ -2,7 +2,7 @@ * commands/app/logout.ts — 退出登录 (v3.0+ 新增, regression audit P2) * * v3.0+ (2026-06-29) 新增原因: - * - cmd-review/app.md 已识别: 当前无 logout 命令, web 端有 logoutApi + * - v3.0+ 评审已识别: 当前无 logout 命令, web 端有 logoutApi * - webapi/auth.ts 已镜像 web 端 logoutApi (v3.0+ P0 新增 webapi 模块) * - 用户需求: "切换账号 / 退出登录 / 清本地 token" * @@ -98,7 +98,7 @@ export function buildAppLogoutCommand(): Command { }) installHelpHook(cmd, { - purpose: '退出登录 (走 webapi/auth.logoutApi + 清本地 token). v3.0+ 新增 (cmd-review/app.md 识别)', + purpose: '退出登录 (走 webapi/auth.logoutApi + 清本地 token). v3.0+ 新增 (审计 P2 补缺)', optional: { '--no-remote-logout': '跳过 web logoutApi, 仅清本地 token', '--json': '原始 JSON 输出', @@ -114,7 +114,7 @@ export function buildAppLogoutCommand(): Command { notes: [ 'v3.0+ P2 (regression audit 2026-06-29): 新增 logout 命令', ' 之前缺口: web 端有 logoutApi, dacli 无 logout 命令', - ' cmd-review/app.md 已识别: "dacli app logout" 当前无登出命令', + ' v3.0+ 评审已识别缺口: "dacli app logout" 之前无登出命令', '**webapi 镜像**: webapi/auth.logoutApi (复用 web 端 POST /api/oauth/Logout + withCredentials)', '**dacli 独有**: clearToken (清本地 ~/.dacli-token/{appCode}.json, web 端用 cookie 不需要)', '**容错**: web logoutApi 失败非致命, 仍清本地 token', diff --git a/src/commands/app/use.ts b/src/commands/app/use.ts index 8c875a3..13afe13 100644 --- a/src/commands/app/use.ts +++ b/src/commands/app/use.ts @@ -1,7 +1,7 @@ /** * commands/app/use.ts — `dacli app use ` (v3.0+ 新增, 一体化命令) * - * cmd-review/app.md P1 建议: AI 工作流痛点是切换 appCode 需要 2 步: + * v3.0+ P1 建议 (评审): AI 工作流痛点是切换 appCode 需要 2 步: * 1. `dacli app switch --appCode=X` (重新登录) * 2. `dacli app context --json` (拿环境快照) * @@ -188,7 +188,7 @@ export function buildAppUseCommand(): Command { api: 'POST /oauth/Login + GET /oauth/CurrentUser + 多 API 聚合', }, notes: [ - 'v3.0+ P1 (cmd-review/app.md): 替代 2 步调用 (switch + context)', + 'v3.0+ P1 (审计): 替代 2 步调用 (switch + context)', '**3 步合一**: 1. 重新登录 → 2. 拉 context → 3. CurrentUser 验证', '**AI 友好**: --json 输出完整 AppContext + currentUser, 一次拿全', '**CurrentUser 关键**: 服务器端确认 token+appCode+用户身份, 防止本地 token 与服务器不一致', diff --git a/src/commands/bigscreen/_validate.ts b/src/commands/bigscreen/_validate.ts index 76c1de4..8cfe9c2 100644 --- a/src/commands/bigscreen/_validate.ts +++ b/src/commands/bigscreen/_validate.ts @@ -126,7 +126,7 @@ export function validateUniqueness(opts: BigscreenOpts): StepValidation { // ===================================================================== // Phase 4: 镜像 web 端 construct 校验 (build.vue:666-692 + header.vue:200-211) -// 详见 dacli/docs/cmd-review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 4 +// 详见 dacli/docs/archive/review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 4 // // 镜像源: // - jnpf/前端/jnpf-web-datascreen-vue3/src/page/build.vue:666-689 (isStatic/isApi/isSql/... dataType 0-7) diff --git a/src/commands/bigscreen/construct.ts b/src/commands/bigscreen/construct.ts index 4f88b2a..cedd48b 100644 --- a/src/commands/bigscreen/construct.ts +++ b/src/commands/bigscreen/construct.ts @@ -188,7 +188,7 @@ export function buildBigscreenConstructCommand(): Command { source: { web: 'jnpf/前端/jnpf-web-datascreen-vue3/src/page/group/header.vue:200-211 (save formdata) + src/api/visual.js: addObj/updateObj', api: 'POST /api/blade-visual/visual/save (addObj) + POST /api/blade-visual/visual/update (updateObj)', - ref: 'dacli/docs/cmd-review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 5', + ref: 'dacli/docs/archive/review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 5', }, notes: [ 'v0.13+ NEW (2026-07-01): 镜像 web 端 save formdata 一键构造大屏', diff --git a/src/commands/bigscreen/info.ts b/src/commands/bigscreen/info.ts index 6e89e72..511047b 100644 --- a/src/commands/bigscreen/info.ts +++ b/src/commands/bigscreen/info.ts @@ -68,7 +68,7 @@ export function buildBigscreenInfoCommand(): Command { source: { web: 'jnpf/前端/jnpf-web-datascreen-vue3/src/api/visual.js getObj', api: 'GET /api/blade-visual/visual/detail', - ref: 'dacli/docs/cmd-review/v0.14-webapi-rollout-plan.md §2.1', + ref: 'dacli/docs/archive/review/v0.14-webapi-rollout-plan.md §2.1', }, }) return cmd diff --git a/src/commands/bigscreen/list.ts b/src/commands/bigscreen/list.ts index cc63333..f5e4afc 100644 --- a/src/commands/bigscreen/list.ts +++ b/src/commands/bigscreen/list.ts @@ -82,7 +82,7 @@ export function buildBigscreenListCommand(): Command { source: { web: 'jnpf/前端/jnpf-web-datascreen-vue3/src/api/visual.js getList', api: 'GET /api/blade-visual/visual/list', - ref: 'dacli/docs/cmd-review/v0.14-webapi-rollout-plan.md §2.1', + ref: 'dacli/docs/archive/review/v0.14-webapi-rollout-plan.md §2.1', }, }) return cmd diff --git a/src/commands/bigscreen/release.ts b/src/commands/bigscreen/release.ts index 0c23b8c..3a14abd 100644 --- a/src/commands/bigscreen/release.ts +++ b/src/commands/bigscreen/release.ts @@ -81,7 +81,7 @@ export function buildBigscreenReleaseCommand(): Command { source: { web: 'jnpf/前端/jnpf-web-datascreen-vue3/src/api/visual.js updateObj + getObj', api: 'POST /api/blade-visual/visual/update (visual.status=1)', - ref: 'dacli/docs/cmd-review/v0.14-webapi-rollout-plan.md §2.1', + ref: 'dacli/docs/archive/review/v0.14-webapi-rollout-plan.md §2.1', }, notes: [ 'v0.14+ (2026-07-01): 改 webapi/visualdata.updateObj', diff --git a/src/commands/integration/smstest.ts b/src/commands/integration/smstest.ts index a27840b..46ebe00 100644 --- a/src/commands/integration/smstest.ts +++ b/src/commands/integration/smstest.ts @@ -88,7 +88,7 @@ export function buildIntegrationSmsTestCommand(): Command { source: { web: 'web/apps/jnpf-web-apps-main/src/api/msgCenter/accountConfig.ts:29 testConfig()', api: 'POST /api/message/AccountConfig/testSendSms', - ref: 'dacli/docs/cmd-review/integration.md §端点错误', + ref: 'dacli/docs/archive/cmd-review-2026-07/integration.md §端点错误', }, notes: ['v0.10 端点 `/system/SmsTemplate/testSent` 已被 web 端废弃, v0.11+ 修复'], }) diff --git a/src/commands/integration/webhooktest.ts b/src/commands/integration/webhooktest.ts index be64067..0cfaec4 100644 --- a/src/commands/integration/webhooktest.ts +++ b/src/commands/integration/webhooktest.ts @@ -108,7 +108,7 @@ export function buildIntegrationWebhookTestCommand(): Command { source: { web: 'web/apps/jnpf-web-apps-main/src/api/msgCenter/accountConfig.ts:29 testConfig()', api: 'POST /api/message/AccountConfig/testSendWebhook', - ref: 'dacli/docs/cmd-review/integration.md §端点错误', + ref: 'dacli/docs/archive/cmd-review-2026-07/integration.md §端点错误', }, }) return cmd diff --git a/src/commands/msg/templatecreate.ts b/src/commands/msg/templatecreate.ts index 17b8eaa..a6f533e 100644 --- a/src/commands/msg/templatecreate.ts +++ b/src/commands/msg/templatecreate.ts @@ -125,7 +125,7 @@ export function buildMsgTemplateCreateCommand(): Command { source: { web: 'web/apps/jnpf-web-apps-main/src/api/msgCenter/msgTemplate.ts:14 create()', api: 'POST /api/message/MessageTemplateConfig', - ref: 'dacli/docs/cmd-review/msg.md §端点错误', + ref: 'dacli/docs/archive/cmd-review-2026-07/msg.md §端点错误', }, notes: ['v0.10 端点 `/api/system/MessageTemplate` 已被 web 端废弃, v0.11+ 修复'], }) diff --git a/src/commands/print/create.ts b/src/commands/print/create.ts index 59378c4..c1aac01 100644 --- a/src/commands/print/create.ts +++ b/src/commands/print/create.ts @@ -16,7 +16,7 @@ * v3.0+ (2026-06-29) 重要重构: * - 改用独立 _validate.ts (不再复用 report/_validate.ts) * - 回归审计发现 print 有 8 字段, report 只有 2-4 字段, 借用导致校验不全 - * - 详见 dacli/docs/cmd-review/regression-2026-06-29.md + * - 详见 dacli/docs/archive/review/regression-2026-06-29.md * * v2.1+ (2026-07-21) 三层接入 (跨命令 auto-fix 模式, 参照 dict/typecreate.ts): * L1: --verbose / --json 三模式 (commands/_output_filter.ts:setupOutputFilter) diff --git a/src/commands/report/list.ts b/src/commands/report/list.ts index 00de913..04cfcfb 100644 --- a/src/commands/report/list.ts +++ b/src/commands/report/list.ts @@ -50,7 +50,7 @@ export function buildReportListCommand(): Command { .option('--currentPage

', '页码', '1') .option('--pageSize ', '每页', '50') // v0.15+ (P2-1): 兼容旧版选项, 转发到 keyword 模糊搜索 + deprecation warn - // 旧版 (cmd-review/report.md § 1) 有 --category --type, v0.14 切 webapi 静默丢失 + // 旧版 (v3.0+ 评审报告) 有 --category --type, v0.14 切 webapi 静默丢失 .option('--category ', '[已弃用] 按分类过滤, 改用 --keyword=<分类名/enCode>') .option('--type ', '[已弃用] 按报表类型过滤, 改用 --keyword=<类型>') addOutputOptions(cmd) diff --git a/src/core/config.ts b/src/core/config.ts index 21f61dc..a617ced 100644 --- a/src/core/config.ts +++ b/src/core/config.ts @@ -7,7 +7,7 @@ * (./.dacli-token/, ./dacli/.dacli-token/, ./test/.dacli-token/, * ./boot/jnpf-admin/.dacli-token/, ./skills/.dacli-token/ 等) * 跟 docs/尚数网基本开发规范v3.0.md "配置 ~/.dacli-token/" 不一致。 - * v0.15 (2026-07-01) 统一到 home。详见 dacli/docs/cmd-review/v0.15-token-home.md + * v0.15 (2026-07-01) 统一到 home (regression audit 决策, 见 dacli/docs/archive/review/regression-2026-06-29.md) * * 覆盖: DACLI_TOKEN_DIR env 变量可自定义路径 (多账号 / CI / 测试场景) */ diff --git a/src/webapi/auth.ts b/src/webapi/auth.ts index 3898d11..7cb7273 100644 --- a/src/webapi/auth.ts +++ b/src/webapi/auth.ts @@ -5,7 +5,7 @@ * loginApi, saasLoginApi, getTenantMobileCode, applySaasApi, logoutApi * * v3.0+ (2026-06-29) 新增原因: - * - cmd-review/app.md 已识别: app/login.ts 当前 0 webapi 引用, 直接 c.postJson + * - v3.0+ 评审已识别: app/login.ts 之前 0 webapi 引用, 直接 c.postJson * - 应 webapi 镜像, 复用 web 端 loginApi 完整参数链 (account/password/code/origin/timestamp/jnpf_ticket/grant_type) * - v0.11e+ Phase E: 登录后 base_system 存在性检测逻辑保留 (dacli 特有, web 端无) * diff --git a/src/webapi/datascreen.ts b/src/webapi/datascreen.ts index 07b28d3..33e0047 100644 --- a/src/webapi/datascreen.ts +++ b/src/webapi/datascreen.ts @@ -30,7 +30,7 @@ const DATASCREEN_OPTION_COMPONENTS_DIR = '/home/ubuntu/ccWorkDir/jnpf/前端/jnp // ===================================================================== // Phase 1+2: 镜像 option/config.js (基础配置) + option/components/*.vue (组件元数据) -// 详见 dacli/docs/cmd-review/v0.13-webapi-form-workflow-refactor.md §8.2 +// 详见 dacli/docs/archive/review/v0.13-webapi-form-workflow-refactor.md §8.2 // ===================================================================== /** @@ -332,7 +332,7 @@ export function getValidProps(): string[] { // ===================================================================== // Phase 3: 镜像 save 数据结构 (header.vue:200-211) → constructConfigDetail + constructComponentJson -// 详见 dacli/docs/cmd-review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 3 +// 详见 dacli/docs/archive/review/v0.13-webapi-form-workflow-refactor.md §8.2.4 阶段 3 // // 镜像源: // - jnpf/前端/jnpf-web-datascreen-vue3/src/page/group/header.vue:200-211 (save 按钮 formdata) diff --git a/src/webapi/permission.ts b/src/webapi/permission.ts index dfaa5f3..ccb2b5e 100644 --- a/src/webapi/permission.ts +++ b/src/webapi/permission.ts @@ -7,7 +7,7 @@ * * v3.0+ (2026-06-29) 新增原因: * - CI 关卡 G 标识 org 0 webapi 引用为 FAIL - * - cmd-review 已知 org 是"经验复刻", 应 webapi 镜像 + * - v3.0+ 评审已知 org 是"经验复刻", 应 webapi 镜像 */ import { JnpfClient } from '../core/client.ts' import { loadWebModule } from './_loader.ts' diff --git a/src/webapi/portal.ts b/src/webapi/portal.ts index bd9cd89..afcfd2e 100644 --- a/src/webapi/portal.ts +++ b/src/webapi/portal.ts @@ -7,7 +7,7 @@ * * v3.0+ (2026-06-29) 新增原因: * - CI 关卡 G 标识 portal 0 webapi 引用为 FAIL - * - cmd-review 已知 portal 是"经验复刻", 应 webapi 镜像 + * - v3.0+ 评审已知 portal 是"经验复刻", 应 webapi 镜像 */ import { JnpfClient } from '../core/client.ts' import { loadWebModule } from './_loader.ts' diff --git a/src/webapi/printDev.ts b/src/webapi/printDev.ts index 14b502a..daa0484 100644 --- a/src/webapi/printDev.ts +++ b/src/webapi/printDev.ts @@ -8,7 +8,7 @@ * * v3.0+ (2026-06-29) 新增原因: * - CI 关卡 G 标识 print 0 webapi 引用为 FAIL - * - cmd-review 已知 print 是"经验复刻"源, 应 webapi 镜像 + * - v3.0+ 评审已知 print 是"经验复刻"源, 应 webapi 镜像 * - print/create.ts 已用 _validate.ts (BS-56), 现在补 webapi */ import { JnpfClient } from '../core/client.ts' diff --git a/src/webapi/system.ts b/src/webapi/system.ts index 1ec9999..1f41707 100644 --- a/src/webapi/system.ts +++ b/src/webapi/system.ts @@ -7,7 +7,7 @@ * getDevUser, getSystemSelector, getSystemlist, setPin * * v3.0+ (2026-06-29) 新增原因: - * - cmd-review/app.md 已识别: app/list.ts, app/info.ts, app/create.ts 当前 0 webapi 引用, 直接 c.get/postJson + * - v3.0+ 评审已识别: app/list.ts, app/info.ts, app/create.ts 之前 0 webapi 引用, 直接 c.get/postJson * - 应 webapi 镜像, 复用 web 端 15 个 API (CRUD + Copy/Export + Auth + Selector) * - 之前缺失的能力 (copySystem / exportSystem / getAppAuth / saveAppAuth / changeAppAuth / setPin) 一并恢复 *