Repository navigation
Conversation
6 of 7 tasks
6 tasks done
Owner
Author
|
已由 #178 替代并合入。按当前 main 架构重新核对和重写 AGENTS.md 层级,保留既有指南路径,覆盖 CLI 拆分、资源/缓存生命周期、双 schema 查询、技能工作流与评估、打包及发布门槛。新 PR 的 Python 3.10–3.13、lint/type、provenance 和 wheel 验收全绿。原 PR 基于旧架构且缺少 snapshot 文档变更所需的 provenance 声明,因此关闭为已替代,不合并旧提交。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes and hardens the architecture-oriented AGENTS.md hierarchy (22 files: root + 21 scoped guides).
Files changed (AGENTS.md only)
AGENTS.md: navigation index now links every child guide (two tables: top-level scopes plus deeper nested guides); runtime topology refined with verified console scripts (pt-snap,pt-snap-mcp) and thereportcommand group (pt-snap report peak-memory); added the CI type check (basedpyright) to development commands.AGENTS.mdfiles: added a visible, relativeParent scope: [..](../AGENTS.md)link under each title (docs/zh also links itsentranslation reference) and refreshed the Updated header.Key architecture facts documented (verified against source)
pyproject.toml[project.scripts]:pt-snap = pt_snap_cli.cli:_safe_call,pt-snap-mcp = pt_snap_cli.mcp.server:main.src/pt_snap_cli/config.py: Config.resolve_focus(): explicit path ->PT_SNAP_DB_PATH-> nearest.pt-snap/focus.json-> legacy global~/.config/pt-snap-cli/config.json.src/pt_snap_cli/context.pyopens SQLite withmode=ro, validates thedictionarytable, and discovers devices fromtrace_entry_%tables.src/pt_snap_cli/query/executor.pyrenders with Jinja2StrictUndefined, injectsdevice_trace_table/device_block_table, and normalizes failures toTemplateRenderError.core/split_service.py: exactly one positive strategy (--slicesor--max-entries), replay validation, no-replace publication..github/workflows/test.yml) is a reusable workflow: provenance guard, ruff, black, basedpyright, pytest matrix 3.10-3.13;release.ymlgatesquality->build->publish->github-release.Validation
validate_agents.py: Checked 22 AGENTS.md files: 0 error(s), 0 warning(s).git diff --check: clean.