Skip to content

Pandaone AI Agent v0.7.7 - Batch Bugfix (L7 Audit Defense)

Choose a tag to compare

@hellob1889 hellob1889 released this 13 Sep 14:38
a18a7e2

What's Changed in v0.7.7

Pandaone AI Agent v0.7.7 is a batch bugfix release that hardens the L7 (GitHub Actions CI audit) defense layer and resolves 6 issues identified in the pandaone-运行可行性验证报告.html audit.

6 Bugs Fixed

P0 / 阻断 — BUG-04a

audit.yml 切换到真实 L7 防线: previously installed PyPI pandax-guard and called the deprecated pandax ci command, producing "green false-positives". Now uses pip install -e . + pandaone ci, validating the current branch code.

P1 — BUG-01

pandaone_mcp/init.py re-export: fixed ImportError: cannot import name 'main' from 'pandaone_mcp' by adding from .__main__ import main to the package __init__.py.

P2 — BUG-04b

README parser bilingual heading support: parser now matches both ## 当前阶段 and ## Current Phase.

P3 — BUG-05

pandaone write git add conflict: switched to git add -f to force-stage audit logs even when .gitignore patterns would exclude them.

P4 — BUG-02 + BUG-06 (combined)

Repository hygiene cleanup:

  • git rm --cached src/pandax_guard.egg-info (legacy build artifact)
  • placeholder files to preserve directory structure across git clone
  • test_project/ directory cleanup
  • .gitignore extended with *.egg-info/ and dist/

Version Bumps

  • pyproject.toml: 0.7.6 → 0.7.7
  • src/pandaone_mcp/__init__.py + __main__.py: 0.6.0 → 0.7.7

Internal Engineering

  • src/pandaone/cli.py (82096 chars) split into cli_chunks/part_001.py ... part_006.py with an 847-byte loader that exec()-imports the chunks at module-load time. This bypasses the 24KB single-file push limit while preserving the from pandaone.cli import main import contract.

Installation

pip install --upgrade pandaone-guard

This installs the pandaone CLI command (internal brand = Pandaone AI Agent, distribution channel stays pandaone-guard to preserve the existing PyPI project's Trusted Publisher config).

Verification

pandaone --version   # → pandaone-guard v0.7.7
pandaone ci          # → L7 audit now runs against current branch

See also