Skip to content

Commit 808c641

Browse files
committed
docs(agents): update all AGENTS.md files
- Update catalog count: 67 → 74 tools - Update Python lines: ~7K - Fix CLI examples: remove non-existent --only flag - Add make upgrade-all command - Update timestamps to 2025-11-29
1 parent 4dd2a7c commit 808c641

5 files changed

Lines changed: 30 additions & 28 deletions

File tree

AGENTS.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-03 -->
1+
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-29 -->
22

33
# AGENTS.md (root)
44

@@ -17,7 +17,7 @@
1717

1818
**AI CLI Preparation v2.0** - Tool version auditing and installation management for AI coding agents.
1919

20-
**Architecture:** Modular design with 18 specialized Python modules, 67 JSON tool catalogs, and comprehensive testing.
20+
**Architecture:** Modular design with 18 specialized Python modules, 74 JSON tool catalogs, and comprehensive testing.
2121

2222
- **Phase 1 (Complete):** Detection & auditing with modular refactoring
2323
- **Phase 2 (Complete):** Installation & upgrade management
@@ -52,15 +52,17 @@ make audit # Verify core workflows
5252
make audit # Render from snapshot (<100ms)
5353
make update # Collect fresh versions (~7s)
5454
make upgrade # Interactive upgrade guide
55+
make upgrade-all # Complete 5-stage system upgrade
5556

5657
python3 audit.py # Direct invocation
57-
python3 audit.py --only ripgrep # Single tool audit
58+
python3 audit.py ripgrep # Single tool audit
59+
python3 audit.py --update ripgrep # Update single tool
5860
```
5961

6062
**Key files:**
61-
- `audit.py` — Entry point (50 lines)
62-
- `cli_audit/` — 18 Python modules (6,608 lines)
63-
- `catalog/`67 JSON tool definitions
63+
- `audit.py` — Entry point
64+
- `cli_audit/` — 18 Python modules (~7K lines)
65+
- `catalog/`74 JSON tool definitions
6466
- `latest_versions.json` — Version cache
6567
- `tools_snapshot.json` — Snapshot data
6668

cli_audit/AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-03 -->
1+
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-29 -->
22

33
# cli_audit/ — Python Package
44

@@ -10,7 +10,7 @@ The `cli_audit` package provides the core functionality for AI CLI Preparation:
1010

1111
**Phase 1: Detection & Auditing (6 modules)**
1212
- `tools.py` — Tool definitions and metadata
13-
- `catalog.py` — JSON catalog management (67 entries)
13+
- `catalog.py` — JSON catalog management (74 entries)
1414
- `detection.py` — Installation detection, version extraction
1515
- `collectors.py` — Upstream version collection (GitHub, PyPI, npm, crates)
1616
- `snapshot.py` — Snapshot-based caching
@@ -268,7 +268,7 @@ except json.JSONDecodeError as e:
268268
**Debugging:**
269269
```bash
270270
# Enable debug logging
271-
CLI_AUDIT_DEBUG=1 python3 audit.py --only ripgrep
271+
CLI_AUDIT_DEBUG=1 python3 audit.py ripgrep
272272

273273
# Test specific module
274274
python3 -c "from cli_audit.catalog import ToolCatalog; c = ToolCatalog(); print(len(c))"

scripts/AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-03 -->
1+
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-29 -->
22

33
# Installation Scripts - Agent Guide
44

@@ -350,7 +350,7 @@ update_rust() {
350350

351351
**Reconcile fails:**
352352
1. Check current installation: `which <tool>`
353-
2. Check installation method: `python3 audit.py --only <tool>` or `make audit`
353+
2. Check installation method: `python3 audit.py <tool>` or `make audit`
354354
3. Manually remove old version first: `apt remove <tool>` or `cargo uninstall <tool>`
355355

356356
**Documentation:**

tests/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-03 -->
1+
<!-- Managed by agent: keep sections & order; edit content, not structure. Last updated: 2025-11-29 -->
22

33
# tests/ — Test Suite
44

tools_snapshot.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"__meta__": {
3-
"collected_at": "2025-11-28T23:08:26Z",
3+
"collected_at": "2025-11-28T23:11:19Z",
44
"count": 74,
5-
"created_at": "2025-11-28T23:08:26Z",
5+
"created_at": "2025-11-28T23:11:19Z",
66
"offline": false,
77
"partial_failures": 0,
88
"schema_version": 1
@@ -904,20 +904,6 @@
904904
"tool_url": "https://pypi.org/project/httpie/",
905905
"upstream_method": "pypi"
906906
},
907-
{
908-
"category": "other",
909-
"hint": "",
910-
"installed": "1.13.5",
911-
"installed_method": "manual",
912-
"installed_version": "1.13.5",
913-
"latest_upstream": "1.14.0",
914-
"latest_url": "https://github.com/hashicorp/terraform/releases/tag/1.14.0",
915-
"latest_version": "1.14.0",
916-
"status": "OUTDATED",
917-
"tool": "terraform",
918-
"tool_url": "https://github.com/hashicorp/terraform",
919-
"upstream_method": "gh"
920-
},
921907
{
922908
"category": "other",
923909
"hint": "",
@@ -1043,6 +1029,20 @@
10431029
"tool": "kubectl",
10441030
"tool_url": "https://github.com/kubernetes/kubernetes",
10451031
"upstream_method": "gh"
1032+
},
1033+
{
1034+
"category": "other",
1035+
"hint": "",
1036+
"installed": "1.14.0",
1037+
"installed_method": "manual",
1038+
"installed_version": "1.14.0",
1039+
"latest_upstream": "1.14.0",
1040+
"latest_url": "https://github.com/hashicorp/terraform/releases/tag/1.14.0",
1041+
"latest_version": "1.14.0",
1042+
"status": "UP-TO-DATE",
1043+
"tool": "terraform",
1044+
"tool_url": "https://github.com/hashicorp/terraform",
1045+
"upstream_method": "gh"
10461046
}
10471047
]
10481048
}

0 commit comments

Comments
 (0)