Skip to content

Commit 317c315

Browse files
authored
docs: anchor portfolio truth docs to canonical snapshot (#66)
1 parent beca424 commit 317c315

6 files changed

Lines changed: 48 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
[![Release](https://img.shields.io/github/v/release/saagpatel/GithubRepoAuditor?display_name=tag)](https://github.com/saagpatel/GithubRepoAuditor/releases/latest)
88
[![License](https://img.shields.io/github/license/saagpatel/GithubRepoAuditor.svg)](LICENSE)
99

10-
> Know the truth about every project you've ever started — because `git log` across 100 repos doesn't tell you which ones are worth finishing.
10+
> Know the truth about every project you've ever started — because `git log` across a crowded repo portfolio doesn't tell you which ones are worth finishing.
1111
12-
📐 **Case study — [Operator OS: a multi-agent control plane over a 129-repo portfolio](CASE-STUDY.md).** How this auditor's truth layer anchors six local services and two coordinated coding agents (Claude Code + Codex), with real portfolio metrics and a [90-second demo plan](DEMO-PLAN.md).
12+
📐 **Case study — [Operator OS: a multi-agent control plane over a repo portfolio](CASE-STUDY.md).** How this auditor's truth layer anchors six local services and two coordinated coding agents (Claude Code + Codex), with real portfolio metrics and a [90-second demo plan](DEMO-PLAN.md).
1313

1414
GitHub Repo Auditor is a portfolio audit and operator tool for developers with a lot of repositories. It clones every repo on your GitHub account, runs 12 analyzers across completeness and interest dimensions, assigns letter grades and achievement badges, preserves historical state, and generates actionable dashboards you can actually use to decide what to work on next. Built for developers who ship fast, start often, and need a system to manage the sprawl.
1515

@@ -347,6 +347,12 @@ For day-to-day operations, `--control-center` is now the clean read-only entrypo
347347

348348
The portfolio truth layer now has its own dedicated generation path. `--portfolio-truth` scans the configured local projects workspace, produces `output/portfolio-truth-latest.json` plus dated historical truth snapshots, and regenerates the configured project-registry and portfolio-audit Markdown compatibility outputs from that same truth contract instead of treating either markdown file as canonical.
349349

350+
For current live portfolio counts, query the canonical snapshot instead of copying numbers into handoff or demo docs:
351+
352+
```bash
353+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
354+
```
355+
350356
Phase 104 added a second standalone workspace mode: `--portfolio-context-recovery`. That mode freezes the active/recent weak-context cohort from the live truth snapshot, writes dry-run recovery plan artifacts into `output/`, skips dirty or temporary repos automatically, and can apply bounded minimum-context upgrades plus repo-level catalog seeds before regenerating the truth snapshot and compatibility outputs.
351357

352358
Watch mode now uses that same baseline contract in live execution. Each cycle records the requested watch strategy, the chosen mode, and the reason a full refresh was required or an incremental rerun remained safe.

docs/codex-restart-packet.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ Use JSON when another tool should consume the result:
1717
python -m src.codex_restart_packet --workspace-root /Users/d/Projects --json
1818
```
1919

20+
For the current generated portfolio truth counts, query the canonical snapshot directly:
21+
22+
```sh
23+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
24+
```
25+
2026
## What It Decides
2127

2228
- which repos are dirty, off-main, missing upstream, or ahead/behind upstream

docs/demo-proof/2026-06-07/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ the window title `Portfolio Command Center Demo`.
1919
- Projects: `129`
2020
- Weekly digest: `output/weekly-command-center-saagpatel-2026-06-03.json`
2121

22+
These values are historical evidence for the screenshot package captured on
23+
2026-06-07. For current live private portfolio counts, query the canonical
24+
snapshot instead of reusing these numbers:
25+
26+
```sh
27+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
28+
```
29+
2230
## Proof Points
2331

2432
- Portfolio: `129` projects visible in the header and table count.

docs/demo-proof/2026-06-07/RECORDING-CHECKLIST.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ Use this as the operator checklist for recording the 2026-06-07
44
PortfolioCommandCenter demo. It assumes the proof package in this directory and
55
the script in `../../../DEMO-SCRIPT.md`.
66

7+
The numbers below are historical proof values for this captured local package.
8+
For a new live recording, regenerate the proof package and query the current
9+
canonical snapshot before writing spoken lines:
10+
11+
```sh
12+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
13+
```
14+
715
## Preflight
816

917
- [ ] Run from `/Users/d/Projects/PortfolioCommandCenter`:

docs/demo-proof/2026-06-07/SUMMARY.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,20 @@ demonstrated.
77

88
Status: passed.
99

10-
Key proof points:
10+
Historical proof points from the captured 2026-06-07 run:
1111

1212
- Portfolio tab: 129 projects.
1313
- Risk + Security tab: 117 scanned repos and 63 with open high/critical alerts.
1414
- Burndown tab: advisory-grouped fix guidance.
1515
- Trends tab: risk and high/critical history charts.
1616
- Weekly Digest tab: current decision ends with `Start with codexkit.`
1717

18+
For current live private portfolio counts, query the canonical generated
19+
snapshot instead of reusing this historical proof summary:
20+
21+
```sh
22+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
23+
```
24+
1825
Use `proof-package.json` for the machine-readable claim-to-evidence map and
1926
`README.md` for the narrative proof summary.

docs/machine-wide-consolidation.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ The packet combines:
2121
- archive/dependency/temp exclusions so old cleanup waves do not reappear as
2222
live work
2323

24+
For current portfolio truth counts, query the canonical generated snapshot
25+
instead of copying counts into continuation notes:
26+
27+
```sh
28+
jq '{generated_at,total:(.projects|length),counts:.source_summary.attention_state_counts}' output/portfolio-truth-latest.json
29+
```
30+
2431
## Consolidation Policy
2532

2633
1. Start from the packet, not from a raw filesystem scan.
@@ -47,7 +54,7 @@ The packet combines:
4754
5. Keep restart prompts short. Tell the next session to rerun the packet and
4855
inspect the live repo state, not to inherit stale chat counts.
4956

50-
## 2026-06-07 Baseline
57+
## 2026-06-07 Historical Baseline
5158

5259
The first verified packet run after adding the restart surface reported:
5360

@@ -76,7 +83,8 @@ The top active working set was:
7683
12. `PortfolioCommandCenter`
7784

7885
These counts are evidence from one run, not a permanent registry. Rerun the
79-
packet before making a new decision.
86+
packet and re-query `output/portfolio-truth-latest.json` before making a new
87+
decision.
8088

8189
## Next Strong Lane
8290

0 commit comments

Comments
 (0)