{"id":44908256,"url":"https://github.com/chen56/pinpoint","last_synced_at":"2026-02-17T23:13:33.512Z","repository":{"id":337420622,"uuid":"1151494760","full_name":"chen56/pinpoint","owner":"chen56","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-09T14:09:30.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-09T17:35:36.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chen56.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-06T14:38:21.000Z","updated_at":"2026-02-09T14:09:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chen56/pinpoint","commit_stats":null,"previous_names":["chen56/pinpoint"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chen56/pinpoint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fpinpoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fpinpoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fpinpoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fpinpoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chen56","download_url":"https://codeload.github.com/chen56/pinpoint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fpinpoint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29561825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-17T23:13:32.804Z","updated_at":"2026-02-17T23:13:33.506Z","avatar_url":"https://github.com/chen56.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PinPoint\n\n## 目标\n\n把“项目依赖版本 -\u003e AI 可消费上下文”这件事标准化，降低 AI 编码工具（如 Codex / Gemini CLI）在依赖 API 上的幻觉概率。\n\n## 当前 AI 工程化配置\n\n- `AGENTS.md`：仓库级 agent 协作规范。\n- `docs/ai-agent-standards.md`：采用的开放实践说明。\n- `scripts/export_dependency_context.py`：从 `pyproject.toml` 生成依赖上下文。\n- `.ai/dependency-context.json`：可提交、可审查的机器可读上下文。\n- `.github/copilot-instructions.md`：IDE 内 AI 助手一致性提示。\n- `.editorconfig`：跨工具基础格式规范。\n\n## 快速开始\n\n```bash\npython scripts/export_dependency_context.py\npython scripts/export_dependency_context.py --check\npython scripts/validate_ai_baseline.py\npython -m unittest -v\npython -m compileall .\n```\n\n## 设计说明\n\n\u003e 你提到的问题是“skill 往往不区分依赖版本，导致内容混乱”。\n\n本仓库采用“生成式上下文工件”的方式：\n\n1. 以 `pyproject.toml`（后续可扩展 lockfile）作为版本源。\n2. 生成 `.ai/dependency-context.json`，供任何 agent 读取。\n3. 在本地检查和 CI 中通过 `--check` 保证上下文不过期。\n\n这样，AI 工具不需要依赖模糊记忆，而是读取项目自己的版本化事实。\n\n\n## 验证方案（Python）\n\n- `scripts/validate_ai_baseline.py`：一键校验依赖上下文是否最新（内部调用 `--check`）并验证 `.ai/dependency-context.json` 结构。\n- `tests/test_ai_baseline.py`：回归测试导出、检查与基线验证流程。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen56%2Fpinpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen56%2Fpinpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen56%2Fpinpoint/lists"}