# .spec-superflow.yaml — lightweight state machine # Derived data. Always rebuildable from artifacts. Lost/corrupt → fall back to content-level detection. # === Core state === state: closing workflow: full revision: 1 # === Hashes (fast staleness detection) === artifacts_hash: sha256:5e15964e215b2645ea2679d15626cf2cb04fba15b8285049fc4ba8104d7ad330 contract_hash: sha256:c85abc5d5ddd79b03da8ff42816436f4389bb99a5739d4fcb2a960c3c81867b1 # === Execution progress === execution_mode: sdd execution_plan_hash: sha256:b04ca4af0927fa94d7c56a462549a5edb6717e542ec30228c0f0349848cd631c execution_plan_revision: 1 batches_completed: 4 test_result: pass spec_merged: true spec_publication_receipt: eyJ2ZXJzaW9uIjoxLCJzb3VyY2VfaGFzaCI6InNoYTI1NjozOTkxMDk2Zjk4ZTU1MGJhNTZhMmQ4YTY1YWZjZjFmNzUxNTc4OGNlZTM3YTYwMmVkYmZmOGNiNTcxZmYwNjM0IiwiYmFzZWxpbmVfYmVmb3JlX2hhc2giOiJzaGEyNTY6ZDM4YjQyMzcwODdhYTRkNTJkNWMyNTBkY2M4MmYwN2FjNDAyOGYzMWJmMDhiNDljMjczNDJhYTJkMGY2MjRhNiIsImJhc2VsaW5lX2FmdGVyX2hhc2giOiJzaGEyNTY6NzM4ZWNiYjFkYTRjNTM4MDIzMTFjZjM0ZWU1NzBlYjQ3NDU5OWNmMTRhZGEwZWRmMzY0MDE2NmU3M2IyNjFlZiIsImNhcGFiaWxpdGllcyI6WyJzYWxhcnktY2FsY3VsYXRpb24iLCJzYWxhcnktaGlzdG9yeSJdfQ # === Metadata === change_name: n05-salary-calc last_transition: 2026-09-21T05:09:14.898Z last_transition_from: executing last_transition_to: closing # === Decision points === dp_0_decisions: 变更名称:n05-salary-calc;一句话意图:为已登录 STUDENT 提供按地级行政区配置的城市默认参数、用户覆盖、到手工资估算和历史快照能力。workflow_path=full;选择原因:新增模块、V40/V41 迁移、六个 API、权限、幂等与跨模块注销清理。范围:仅后端;不支持匿名、ADMIN、前端、个人数据导出、薪资参考或 Offer 关联。计算:税前月薪、个人五险一金简化模型、累计预扣;全国目标城市全量配置;历史物理删除,账号注销时清理。约束:城市级不拆区县;用户覆盖优先;政策版本校验;仅 STUDENT;日志不记录金额。优化:保持聚焦,不纳入前端、企业成本、年终奖、年度汇算、管理员维护和薪资大数据。沟通方式:四类规划工件一次生成,完成验证后统一进入 DP-2 审查。artifact_language=zh-CN dp_0_result: confirmed dp_0_confirmed: true dp_0_timestamp: 2026-09-20T07:28:51Z dp_1_result: confirmed: 后端薪资计算器范围、计算口径、城市政策模型、历史记录生命周期、接口、错误码、隐私与验收标准均已确认 dp_1_timestamp: 2026-09-20T07:29:03Z dp_2_result: approved: layered CITY/PROVINCE_FALLBACK data strategy, updated specs/design/tasks dp_2_timestamp: 2026-09-20T08:15:41Z dp_3_result: approved: updated execution contract with layered city policy data and dataLevel propagation dp_3_timestamp: 2026-09-20T08:15:41Z dp_4_result: sdd: plan revision 1; user-confirmed; 任务勾选已完成,重建当前工件哈希并保留同一 W1-W4 执行范围 dp_4_timestamp: 2026-09-20T09:13:10.032Z dp_5_result: null dp_5_timestamp: null dp_5_decisions: null dp_5_confirmed: null dp_6_result: conditional: N05 salary calculator verified; pre-existing 2 failures/9 errors outside N05 conditionally accepted dp_6_timestamp: 2026-09-21T05:09:12Z dp_7_result: confirmed: N05 salary calculator archived; branch feat/n05-salary-calc ready for merge dp_7_timestamp: 2026-09-21T05:09:12Z