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/20-ai-context-side-load.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,13 @@ V1 generates only these paths:
43
43
cache/context/
44
44
├── workspace/
45
45
│ ├── abstract.md
46
+
│ ├── entry.md
46
47
│ ├── overview.md
47
48
│ └── sources.json
48
49
└── repos/
49
50
└── workspace-hub/
50
51
├── abstract.md
52
+
├── entry.md
51
53
├── overview.md
52
54
└── sources.json
53
55
```
@@ -78,9 +80,9 @@ Use this when starting a fresh chat that needs repo-aware handover context.
78
80
79
81
Recommended sequence:
80
82
81
-
1. treat tracked docs as canonical and start with the relevant handover or README surface
83
+
1. treat tracked docs as canonical and start with the relevant side-load entry packet
82
84
2. refresh the side-load cache if the session is broad, new, or likely to re-read workspace context repeatedly
83
-
3. let the chat use generated `abstract.md` and `overview.md` as the fast entry layer
85
+
3. let the chat use generated `entry.md`, `abstract.md`, and `overview.md` as the fast entry layer
84
86
4. fall back to tracked docs, manifests, and repo files for any real decision or ambiguity
85
87
5. regenerate or ignore the cache if Workspace Hub reports the side-load state as `stale` or `missing`
86
88
@@ -95,7 +97,7 @@ Then start the chat with a handover instruction such as:
95
97
96
98
> Read `docs/HANDOVER.md` first for the current workspace state. Use generated side-load files under `cache/context/` only as a compact entry layer, and treat tracked docs and repo files as canonical.
97
99
98
-
For repo-specific work, point the chat at the relevant repo README or handover note as well as the repo side-load cache when it exists.
100
+
For repo-specific work, point the chat at the repo `entry.md` first, then the repo README or handover note only when the side-load packet is insufficient.
99
101
100
102
## Source set
101
103
@@ -127,6 +129,18 @@ It should stay small enough for quick relevance decisions and answer:
127
129
- the main runtime or entrypoint
128
130
- the main constraint or warning
129
131
132
+
### `entry.md`
133
+
134
+
Use this as the default repo-scoped routing packet.
135
+
136
+
It should stay compact enough to answer:
137
+
138
+
- what to open first
139
+
- repo type and runtime mode
140
+
- the main commands
141
+
- the primary canonical docs
142
+
- the main constraints that should prevent broad workspace loading
143
+
130
144
### `overview.md`
131
145
132
146
Use this as the `L1` planning summary.
@@ -188,7 +202,7 @@ The details panel should show:
188
202
-`fresh` when all declared inputs still exist, `mtimeMs` values still match, and required outputs exist
189
203
-`stale` when an input changed or disappeared, or a required output file is missing
190
204
191
-
The Hub can open the generated `abstract.md`, `overview.md`, and `sources.json` files directly through the existing generic open-path route.
205
+
The Hub can open the generated `entry.md`, `abstract.md`, `overview.md`, and `sources.json` files directly through the existing generic open-path route.
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
- Added a tracked [docs/plans/readme-docs-closeout.md](plans/readme-docs-closeout.md) plan for future reference, and aligned small Workspace Hub/operator copy surfaces with the same mapped-host wording in `repos/workspace-hub`, `tools/scripts/doctor-workspace.sh`, and `tools/scripts/setup-workspace-profile.sh`.
9
9
- Extended `repos/workspace-hub` backlog follow-through with better repo-list prioritization for pinned and recent work, clearer Python-aware dependency readiness, intake-result surfacing in repo details, capability search and inspection, explicit mapped-host routing status, and richer runtime troubleshooting guidance.
10
10
- Advanced Workspace memory graph support from file-open-only toward Phase 2 by surfacing derived-edge counts, node-type breakdown, and an in-app graph report preview for the selected target, while clarifying intentional MCP profile usage in the Workspace Hub settings panel.
11
+
- Added generated `entry.md` side-load packets for workspace and repo context caches, updated manifest support for `entryDocs`, and aligned the side-load docs so Hub operators have one default routing document before they open deeper generated summaries.
12
+
- Split Workspace Hub indexed search into `thin` and `deep` modes so the default path stays fast and side-load-aware while deeper searches can still opt into repo-local docs, logs, and artifact content when that extra cost is justified.
Copy file name to clipboardExpand all lines: docs/HANDOVER.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -866,3 +866,33 @@ Verification after this slice:
866
866
Pickup note:
867
867
868
868
- The managed browser wrappers are now robust even when the host process exposes an unusable home directory; any remaining Playwright-specific failure inside a separate tool host is no longer caused by the workspace wrapper.
869
+
870
+
### Implementation update (2026-04-11, side-load entry packet and thin/deep search)
871
+
872
+
Current local workspace changes after `7591ded` focus on the side-load entry path and indexed search behavior.
873
+
874
+
Completed in the current local slice:
875
+
876
+
1. Added `entry.md` as the default side-load routing packet.
877
+
-`tools/scripts/generate-context-cache.sh` now emits `entry.md` for both workspace and repo targets alongside `abstract.md`, `overview.md`, and `sources.json`.
878
+
-`docs/07-context-cache-and-retrieval.md` and `docs/20-ai-context-side-load.md` now treat `entry.md` as the first compact read for repo-scoped work.
879
+
- Repo manifests now support optional `entryDocs` so a repo can declare the small set of canonical files operators should open before scanning broadly.
880
+
881
+
2. Added `thin` versus `deep` indexed search modes in `workspace-hub`.
882
+
-`thin` is now the default indexed search path and stays focused on repo metadata plus side-load summaries.
883
+
-`deep` is explicit and expands search into README content, logs, docs, failure reports, and artifacts where those sources exist.
884
+
- Search document caching is now keyed by mode instead of assuming one global index shape.
885
+
886
+
3. Updated Hub UI copy and repo details to match the new side-load flow.
887
+
- Repo Discovery now exposes the indexed-search mode selector.
888
+
- Repo details can open the generated repo `entry.md` packet directly.
889
+
- Discovery and manifest docs now explain `entryDocs` plus thin/deep search behavior.
890
+
891
+
Verification status for this local slice:
892
+
893
+
- tests were updated for `entry.md` generation, side-load hydration, and thin/deep search behavior
894
+
- final runtime verification for this exact local slice should still be re-run before the next commit or push
895
+
896
+
Pickup note:
897
+
898
+
- if this slice lands, update `docs/CHANGELOG.md`, `docs/README.md`, and any relevant `workspace-hub` docs summary so the public side-load contract reflects `entry.md` and the new indexed-search modes
Copy file name to clipboardExpand all lines: docs/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Read these in order:
49
49
-`17-mcp-install-and-health-check.md` defines the workspace-owned Codex MCP install, verify, and downgrade path.
50
50
-`18-mcp-server-catalog.md` defines the small approved MCP server catalog for v1.
51
51
-`19-mcp-authoring-rules.md` defines the quality bar for adding future tracked MCP examples.
52
-
-`20-ai-context-side-load.md` defines the concrete v1 side-load generator, provenance contract, and Workspace Hub freshness semantics for generated `cache/context/` summaries.
52
+
-`20-ai-context-side-load.md` defines the concrete v1 side-load generator, `entry.md` routing packet, provenance contract, and Workspace Hub freshness semantics for generated `cache/context/` summaries plus the thin-versus-deep search split.
53
53
-`HANDOVER.md` summarizes the current state of the workspace, current implementation batches, and the latest acceptance evidence.
54
54
-`CHANGELOG.md` records notable workspace-level changes.
55
55
@@ -79,7 +79,7 @@ Useful maintenance scripts:
79
79
-`tools/scripts/install-mcp-profile.sh` generates and optionally applies the managed Codex Workspace MCP block for a named profile.
80
80
-`tools/scripts/check-mcp-health.sh` verifies the managed MCP block, expected active servers, tracked examples, and wrapper-based browser runtime assumptions.
81
81
-`tools/scripts/init-agent-job-bundle.sh` previews or creates a local cache/context bundle for longer-running agent jobs under `cache/context/agents/jobs/`.
82
-
-`tools/scripts/generate-context-cache.sh` previews or writes workspace and repo side-load summaries under `cache/context/workspace/` and `cache/context/repos/`.
82
+
-`tools/scripts/generate-context-cache.sh` previews or writes workspace and repo side-load summaries under `cache/context/workspace/` and `cache/context/repos/`, including the generated `entry.md` packet that now acts as the default Hub handoff surface.
83
83
-`tools/scripts/release-readiness.sh` runs the stable release gate: workspace doctors, `workspace-hub` test/lint/build, skill-sync dry run, and placeholder-surface checks.
84
84
-`tools/scripts/run-with-workspace-env.sh` runs a command with the shared workspace environment, including the shared Playwright browser cache path.
85
85
-`tools/scripts/setup-workspace-profile.sh` provides a guided, non-destructive profile check for `core`, `hub`, `mixed-stack`, `wordpress`, `agent-enhanced`, `workflow-state`, `spec-driven`, and `ui-previews`.
Copy file name to clipboardExpand all lines: repos/workspace-hub/README.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ Workspace Hub is a local control plane for people who manage many standalone rep
41
41
- applies tracked repo-local agent presets for Codex baseline, OMX-ready, OpenCode, or an all-in-one setup directly from the details panel
42
42
- exports the shared workspace Playwright browser cache to repo install and runtime commands by default, so Playwright-based smoke runs can reuse one Chromium download
43
43
- streams live runtime, install, cover, and activity updates from the local API
44
-
- indexes repo metadata, manifests, recent logs, failure reports, and local agent-job artifacts for server-side search
45
-
- reads generated repo side-load summaries on repo-detail hydration so operators can inspect context-cache freshness and open the generated summary files without paying for that metadata on every base summary refresh
44
+
- indexes repo metadata, manifests, side-load summaries, recent logs, failure reports, and local agent-job artifacts for server-side search, with a fast default `thin` mode plus an opt-in `deep` mode for heavier repo content
45
+
- reads generated repo side-load summaries on repo-detail hydration so operators can inspect context-cache freshness and open the generated `entry.md`, `abstract.md`, `overview.md`, and provenance files without paying for that metadata on every base summary refresh
46
46
- exposes a dedicated Workspace memory surface for MemPalace service state, target selection, in-app retrieval search, target-scoped graph builds, and safe wrapper actions
47
47
- builds target-scoped MemPalace graph artifacts from normalized sidecars and nearby markdown instead of introducing a second ingestion engine
48
48
- stores lightweight per-repo metadata and recent activity locally
The UI now prefers base summary for frequent refreshes and hydrates full diagnostics when needed.
250
253
The capability panel now also reads a dedicated read-only capability snapshot so operators can inspect installed, enabled, and reference-only counts without inferring them from the broader workspace summary.
251
254
Repo details now also read optional side-load metadata for the selected repo only, so the `Context cache` block can show `missing`, `fresh`, or `stale` generated summary state without slowing the discovery-first list path.
255
+
The `Context cache` block now treats generated `entry.md` as the default operator handoff packet and can still open the deeper side-load files when needed.
256
+
Indexed search now defaults to `thin` mode so repo discovery, manifest signals, and side-load summaries remain cheap to query, with `deep` mode available when you explicitly want heavier repo-local content included.
252
257
Observability now includes cache hit or miss counters, diagnostics cache behavior, eager repo-details request timing, and summary request reasons to support tuning.
253
258
`/api/workspace/observability` now exposes a versioned schema (`observabilityVersion: 2`) with grouped sections (`discovery`, `diagnostics`, `repoDetails`, `summary`); current top-level counters remain as compatibility aliases for existing consumers.
254
259
@@ -407,3 +412,5 @@ Current layout note:
407
412
Add deeper per-capability state such as post-install command health or last update output if operators need more than the current read-only snapshot and action feedback.
408
413
- Batch 3: Repo intake polish.
409
414
Tighten intake output so new repos get clearer runtime notes, explicit optional ability dependency guidance when relevant, and better first-run defaults.
415
+
Each generated side-load bundle now includes an `entry.md` routing packet alongside the deeper summaries and provenance files.
416
+
The repo-details panel opens that packet first, and indexed search uses the lighter side-load material by default unless you explicitly switch to `deep` mode.
Copy file name to clipboardExpand all lines: repos/workspace-hub/docs/discovery.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Repo Discovery currently supports:
21
21
-`External repos`
22
22
- repo-type filters such as `vite`, `wordpress`, or `static`
23
23
24
-
Search matches repo metadata plus archive file names and paths.
24
+
Search defaults to thin indexed metadata plus repo side-load summaries. Deep mode is explicit and expands into debug-only docs, logs, and local artifacts when those sources are available.
"notes": "Local-first dashboard for managing mixed-stack repo workspaces."
113
119
}
@@ -127,6 +133,7 @@ Unknown preserved keys are appended after the known keys.
127
133
- Prefer `direct` for Vite, Three.js, and similar frontend repos unless a repo explicitly needs something else.
128
134
- Prefer `external` for WordPress repos already managed by Local or another app.
129
135
- Use `servbayPath` or `servbaySubdomain` only when mapped-host routing is stable and tested (field names are stable JSON keys).
136
+
- Use `entryDocs` for the small set of canonical files the operator should open before scanning the repo broadly.
130
137
- Keep manifests explicit and readable; do not turn them into a dump of every inferred value unless the repo benefits from that clarity.
131
138
- Keep local-only values in `project.local.json` when they should not ship with the repo.
132
139
- If the repo needs a workspace ability for operator workflows, mention the install command in repo docs instead of trying to encode that dependency implicitly in the manifest.
0 commit comments