You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/agent-readiness.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,22 @@ flow to drive. Agent readiness means an agent can:
15
15
| --- | --- | --- | --- |
16
16
| Bootable | pass |`scripts/bootstrap/brew-bundle.sh` installs shared plus profile bundles; `scripts/bootstrap/install.sh` links tracked files. | First-time macOS still needs Command Line Tools, Homebrew, and GitHub auth. |
17
17
| Testable | pass |`scripts/bootstrap/verify-repo.sh` runs shell syntax, ShellCheck, Actionlint, diff hygiene, agent-entrypoint checks, and repo secret scans. | Live bootstrap checks require a matching personal or devbox Mac. |
18
-
| Observable |partial| Verification and audit scripts print stable sectioned output; CI exposes Verify and Secret scanning logs. |Scripts do not emit JSON or SARIF reports yet. |
18
+
| Observable |pass| Verification and audit scripts print stable sectioned output; security audits also support compact `--json` summaries; CI exposes Verify and Secret scanning logs. |SARIF output is not generated yet. |
19
19
| Verifiable | pass |`.github/workflows/verify.yml`, `.github/workflows/secrets.yml`, `scripts/bootstrap/verify.sh`, `scripts/devbox/verify.sh`, and audit scripts. | Host-local service and token checks cannot run meaningfully on GitHub-hosted CI. |
20
20
21
21
Overall grade: **B for a bootstrap repo**.
22
22
23
23
The repo has a reliable repo gate, CI gates, and separate host-local audits.
24
-
The remaining readiness gap is structured machine-readable audit output.
24
+
The remaining readiness gap is richer machine-readable report formats such as
25
+
SARIF for tools that can emit it cleanly.
25
26
26
27
## Verification Matrix
27
28
28
29
| Situation | Command | What it proves |
29
30
| --- | --- | --- |
30
31
| Before committing repo changes |`./scripts/bootstrap/verify-repo.sh`| Scripts parse, ShellCheck passes, workflows lint, diffs are clean, agent entrypoints are valid, and secret scanners pass. |
31
32
| Fast local loop |`./scripts/bootstrap/verify-repo.sh --skip-security`| Same repo checks without Gitleaks/TruffleHog. Run the full command before commit. |
33
+
| Install local push guard |`./scripts/bootstrap/install-git-hooks.sh`| Adds a pre-push hook that runs `verify-repo.sh --skip-security` before pushing. |
32
34
| Personal Mac bootstrap |`./scripts/bootstrap/verify.sh --profile personal`| Required CLIs, Homebrew bundle, mise, Codex defaults, and linked config exist on the live host. |
33
35
| Devbox bootstrap |`./scripts/bootstrap/verify.sh --profile devbox`| Shared/devbox CLIs, Homebrew bundle, mise, Codex defaults, and linked config exist on the live host. |
34
36
| Devbox service boundary |`./scripts/devbox/verify.sh`| process-compose and generated env/token boundaries match the local devbox contract. |
@@ -75,6 +77,5 @@ See [GitHub pipelines](github-pipelines.md) for triggers and non-goals.
75
77
76
78
## Future Improvements
77
79
78
-
- Add optional JSON output to audit scripts for easier agent parsing.
79
-
- Add an installable pre-push hook that runs `verify-repo.sh --skip-security`.
80
-
- Add a short machine-readable summary mode for `security-audit.sh` scripts.
80
+
- Add optional SARIF output for scanners that support it cleanly.
81
+
- Add a lightweight report collector for comparing both devbox users in one run.
0 commit comments