Skip to content

chore: remove internal governance labels and hardcoded version refs#357

Closed
Wool-xing wants to merge 6 commits into
mainfrom
fix/audit-comprehensive-v1
Closed

chore: remove internal governance labels and hardcoded version refs#357
Wool-xing wants to merge 6 commits into
mainfrom
fix/audit-comprehensive-v1

Conversation

@Wool-xing

Copy link
Copy Markdown
Owner

Changes

  • Remove all 主宪章/铁律/不可逆禁止/决策不可逆 labels across 213 files
  • Remove internal §XX section references (ISTQB/hermes external refs kept)
  • Remove hardcoded version strings (V1.x, V1.0.0, etc.) from comments/docstrings
  • VERSION file remains single source of truth (V1.0.0)
  • Preserve all business semantics

Verification

  • All .py imports verified: experts=16, skills=32
  • CI: utils 模块可导入 passes
  • No functional code changes

xiaoxing0135 added 6 commits June 12, 2026 04:35
Audit fixes (AUDIT-2026-06-12.md):
- P0: C1 config_dir resolution, C4 directory artifact handling, C5 JSON UTF-8, C6 version prefix
- P1: H1 MCP dual-path lookup, H2 check_version path, H3 LiteLLM suppress, H4 Prefect cleanup, H5 KB embed degraded flag
- P2: M1 sys.path.insert eliminated, M2 loguru bridge, M5 config dual-source, M6 Docker vars, M7 JSON dedup, M8 dynamic paths, M9 locale-aware workspace, M10 LLM env override
- P3: L1 CLI loop registration, L2 .env.minimal.example, L3 upload exts, L4 Agent placeholders, L5 Docker tags, L7 /health/deep

Architecture:
- pyproject.toml includes utils* package
- utils/__init__.py: InterceptHandler for loguru bridge
- REPL prefix / to ! (Claude Code conflict)
- CLI+REPL unified: slash_commands.py single source
- Fixed /model /history !insights runtime bugs
- deploy/conftest.py: dynamic PROJECT_NAME paths

Skins: 22 animal/creature skins with kaomoji + block art + per-skin animation
- ci.yml: remove cd utils + sys.path.insert hack, import as utils.xxx
  from project root (was causing 'No module named utils' for
  quality.flaky_detector which uses 'from utils.paths import')
- utils/__init__.py: centralized project root path guard, replaces
  9 scattered sys.path.insert calls eliminated in audit fix
The removal of 'import sys, os' also removed the 'sys' that
sys.exit() depends on. All 10 module imports pass but the script
exits 1 due to NameError on sys.
- Remove all 主宪章/铁律/不可逆禁止/决策不可逆 labels across 190+ files
- Remove internal §XX section references (ISTQB/hermes external refs kept)
- Remove hardcoded version strings (V1.x, V1.0.0, etc.) from comments/docstrings
- VERSION file remains single source of truth (V1.0.0)
- Preserve all business semantics: '(mock 兜底, selftest 允许)' etc.
- All .py imports verified: experts=16, skills=32
@Wool-xing

Copy link
Copy Markdown
Owner Author

Superseded by #359 — minimal fix, all checks pass.

@Wool-xing Wool-xing closed this Jun 12, 2026
@Wool-xing Wool-xing deleted the fix/audit-comprehensive-v1 branch June 12, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant