Your Name
687c4535f8
fix: P0-1 RateLimiter并发写安全 + P0-2工单操作错误码区分 + P1 rows.Close修复
...
P0-1 (limits.go): Allow()方法改为全程使用写锁保护counters map读写,避免RLock写入时的data race
P0-2 (ticket_workflow.go+ticket_handler.go): Assign/Resolve/Close操作先查询ticket存在性和状态,返回明确的CS_TICKET_4001/CS_TKT_4002/CS_TICKET_4092/CS_TICKET_4093错误码,handler根据错误前缀路由HTTP状态码
P1-1 (ticket_store.go): 移除GetStats中3处手动rows.Close(),只保留defer Close()
2026-05-01 20:56:25 +08:00
Your Name
1fec3e981d
feat(ci): 实现 Phase 1/2 严格退出标准的所有代码实现
...
Phase 1 Criterion 4: contract tests 场景清单 → backend-verify.sh --phase1-contract-gate(含四个场景:合法token全链路、吊销拒绝、scope不足拒绝、runtime快速失败),repo_integrity_check.sh 集成调用
Phase 2 Criterion 1: manifest.json 系统(lib/manifest_lib.sh + staging_release_pipeline.sh),run_id 作为硬门禁,manifest_hard_gate_run_id() 验证非空
Phase 2 Criterion 2: superpowers_stage_validate.sh exit 1 条件从 NO_GO 扩展到 CONDITIONAL_GO,staging 硬门禁不再放行条件通过
Phase 2 Criterion 3: DEFERRED 语义修正,CONDITIONAL_GO 不再出现在复审结论选项中;CONDITIONAL_GO 在 pipeline 中强制 exit 1
Phase 2 Criterion 5: cross_service_smoke.sh 从 DESIGN_ONLY 变为可执行(exit 0=PASS/1=FAIL/2=SKIP_LOCAL_PLACEHOLDER),纳入 staging_release_pipeline.sh STEP-03
Phase 2 Criterion 4: 配置分离(已之前落地,本次确认)
环境问题记录: docs/plans/2026-04-21-environmental-issues-log.md
- P3-A: HTTP timeout + cache eviction(需要真实 staging env + env var 热加载支持)
- P3-B/C: /metrics 端点(需要 Prometheus scrape 配置 + 运维介入)
- P3-D: graceful shutdown(需要 staging 流量压测验证)
2026-04-21 12:14:50 +08:00
Your Name
c59204049a
docs(ci): define cross-service smoke taxonomy
2026-04-21 09:38:37 +08:00
Your Name
b3e34c6e36
feat(ci): normalize shared environment semantics
2026-04-21 09:34:29 +08:00
Your Name
3f509d1a6c
docs(ci): define real staging gate rules
2026-04-21 09:28:27 +08:00
Your Name
3aeddc0b43
docs(ci): define release manifest contract
...
Add the run_id and manifest contract doc, reserve the reports/releases tree, record the decision in the execution log, and annotate the four release scripts with their planned manifest-based inputs.
2026-04-21 09:23:54 +08:00
Your Name
d98b1fb262
docs(ci): define phase1 contract gate
...
Add the cross-service contract gate documentation, create the Phase 1 checklist, wire explicit contract-gate design slots into backend-verify and repo integrity scripts, and mark P1-D complete in the plan.
2026-04-21 09:20:33 +08:00
Your Name
b879906fec
test(ci): add supply domain stability rerun check
2026-04-20 16:27:08 +08:00
Your Name
014c183c84
fix: correct environment issues doc and add missing config improvements
...
- Remove fabricated etcd/Kafka/AWS issues from TEST_ENVIRONMENT_ISSUES.md
(codebase contains zero references to these dependencies)
- Add Kafka/etcd/CloudWatch clarification: early design docs discuss
these but actual implementation uses none of them
- Add getEnvInt() for GATEWAY_PORT env variable support
- Add devtest stack scripts for local development
- Update verification report and repair plan status
2026-04-18 11:34:58 +08:00
Your Name
17b54973e3
ci: make repo integrity check uncached and integration-aware
2026-04-17 17:46:13 +08:00
Your Name
f958ab4321
chore(ci): consolidate gate artifacts under archive directory
...
Move gate verification scripts to write and resolve reports from reports/archive/gate_verification.
This keeps newly generated evidence aligned with the archived gate layout and removes stale reports/gates lookups from the active pipeline scripts.
2026-04-15 10:40:29 +08:00
Your Name
3bedb37fb8
refactor(review): automate machine-review source governance
2026-04-15 10:19:05 +08:00
Your Name
c7194020b1
fix(ci): tighten staging gate semantics and unify verification core
2026-04-15 10:15:54 +08:00
Your Name
88d842648d
chore(repo): align integrity entrypoints with current state
...
Rewrite module READMEs around the current verified run and test paths, tighten repo_integrity_check.sh with fact-source checks, update supply-api migration baseline, and remove the platform-token-runtime audit query placeholder response.
2026-04-14 12:29:13 +08:00
Your Name
d28f83a6a8
chore(repo): add integrity baseline check
2026-04-14 10:38:24 +08:00
Your Name
50a6775eb3
fix: 修复 M-018 指标计算和 .env 端口配置问题
...
1. 修复 .env 中 API_BASE_URL 端口配置 (localhost:18082 -> 127.0.0.1:18080)
2. 优化 M-018 计算逻辑:DEFERRED 状态视为有效(非失败)
3. 修复 grep 返回码1导致 set -e 退出的问题(添加 || true)
4. 添加测试脚本验证端口配置和 M-018 计算
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-12 22:53:12 +08:00
Your Name
4adeee2e06
fix: close p0 auth and release gate gaps
2026-04-11 09:25:31 +08:00
Your Name
e82bf0b25d
feat(compliance): 验证CI脚本可执行性
...
- m013_credential_scan.sh: 凭证泄露扫描
- m017_sbom.sh: SBOM生成
- m017_lockfile_diff.sh: Lockfile差异检查
- m017_compat_matrix.sh: 兼容性矩阵
- m017_risk_register.sh: 风险登记
- m017_dependency_audit.sh: 依赖审计
- compliance_gate.sh: 合规门禁主脚本
R-04 完成。
2026-04-03 11:57:23 +08:00
Your Name
89104bd0db
feat(P1/P2): 完成TDD开发及P1/P2设计文档
...
## 设计文档
- multi_role_permission_design: 多角色权限设计 (CONDITIONAL GO)
- audit_log_enhancement_design: 审计日志增强 (CONDITIONAL GO)
- routing_strategy_template_design: 路由策略模板 (CONDITIONAL GO)
- sso_saml_technical_research: SSO/SAML调研 (CONDITIONAL GO)
- compliance_capability_package_design: 合规能力包设计 (CONDITIONAL GO)
## TDD开发成果
- IAM模块: supply-api/internal/iam/ (111个测试)
- 审计日志模块: supply-api/internal/audit/ (40+测试)
- 路由策略模块: gateway/internal/router/ (33+测试)
- 合规能力包: gateway/internal/compliance/ + scripts/ci/compliance/
## 规范文档
- parallel_agent_output_quality_standards: 并行Agent产出质量规范
- project_experience_summary: 项目经验总结 (v2)
- 2026-04-02-p1-p2-tdd-execution-plan: TDD执行计划
## 评审报告
- 5个CONDITIONAL GO设计文档评审报告
- fix_verification_report: 修复验证报告
- full_verification_report: 全面质量验证报告
- tdd_module_quality_verification: TDD模块质量验证
- tdd_execution_summary: TDD执行总结
依据: Superpowers执行框架 + TDD规范
2026-04-02 23:35:53 +08:00
Your Name
e9338dec28
feat: sync lijiaoqiao implementation and staging validation artifacts
2026-03-31 13:40:00 +08:00
Your Name
0e5ecd930e
chore: initial public snapshot for github upload
2026-03-26 20:06:14 +08:00