Skip to content

Commit 92b759b

Browse files
Release v1.2.0 with Memory Graph Phase 1 and MCP v1 rollout
1 parent 0453055 commit 92b759b

27 files changed

Lines changed: 2071 additions & 25 deletions

.github/CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Thanks for contributing to Codex Workspace. The repo has one concrete app surfac
1212

1313
Start with the public contribution map in [docs/13-contributor-roadmap.md](../docs/13-contributor-roadmap.md) if you want current help-wanted areas or ready-to-open starter issue briefs.
1414

15+
Use [docs/14-git-and-github-workflow.md](../docs/14-git-and-github-workflow.md) as the default issue, discussion, branch, and PR baseline when a repo does not already document a clearer local collaboration path.
16+
1517
## Small Contributions
1618

1719
- README and docs fixes.
@@ -22,13 +24,15 @@ Start with the public contribution map in [docs/13-contributor-roadmap.md](../do
2224

2325
## Larger Changes
2426

25-
Open or comment on an issue before starting:
27+
Open or comment on an issue before starting work in a GitHub-backed repo when the change is:
2628

2729
- broad structural changes
2830
- major runtime-policy changes
2931
- large UI shifts in Workspace Hub
3032
- changes that affect workspace conventions across multiple surfaces
3133

34+
For local-only or git-only repos, record the same scope in tracked local docs such as `README.md`, `HANDOVER.md`, or `Next Batches` instead of forcing a GitHub issue queue.
35+
3236
## Lightweight PR Path
3337

3438
1. Comment on an issue or explain the focused problem in the PR.
@@ -76,6 +80,7 @@ pnpm build
7680

7781
- Review [README.md](../README.md)
7882
- Review [docs/13-contributor-roadmap.md](../docs/13-contributor-roadmap.md)
83+
- Review [docs/14-git-and-github-workflow.md](../docs/14-git-and-github-workflow.md)
7984
- Start with [docs/README.md](../docs/README.md)
8085
- Use [GitHub Discussions Q&A](https://github.com/RichardGeorgeDavis/Codex-Workspace/discussions/categories/q-a) for setup or usage questions
8186
- Open an issue if the intended change affects workspace conventions

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ contact_links:
66
- name: Contributor roadmap
77
url: https://github.com/RichardGeorgeDavis/Codex-Workspace/blob/main/docs/13-contributor-roadmap.md
88
about: See what is stable now, what is evolving next, and which contribution areas are currently in scope.
9+
- name: Git and GitHub workflow baseline
10+
url: https://github.com/RichardGeorgeDavis/Codex-Workspace/blob/main/docs/14-git-and-github-workflow.md
11+
about: Use this when you need the default local-docs versus Discussions, Issues, and Pull Requests path.
912
- name: Ask a question in Discussions
1013
url: https://github.com/RichardGeorgeDavis/Codex-Workspace/discussions/categories/q-a
1114
about: Use Discussions Q&A for setup help, usage questions, and workflow discussion.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ tools/ref/
2626
tools/local/
2727
.cognetivy/
2828
.agents/
29+
cache/*
30+
!cache/.gitignore
2931
cache/context/
3032
cache/design-md/
3133
cache/playwright-browsers/

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ The practical model is:
200200
- local-only memory and MCP config kept separate from tracked repo content
201201
- a small official MCP v1 profile set for Codex, installed through workspace-owned scripts instead of ad hoc one-off setup
202202

203+
The current MCP v1 support set is intentionally small: OpenAI Docs, Context7, Playwright, Chrome DevTools, and GitHub.
204+
203205
This keeps context easier to inspect, reason about, and adapt across tools while keeping each repo independently runnable.
204206

205207
Tracked repo knowledge belongs in public docs, manifests, and portable skills. Local operator memory belongs in ignored local files until it becomes stable enough to promote into tracked project guidance.

cache/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

docs/09-new-repo-baseline.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ When useful, add small explicit metadata instead of hidden assumptions:
4545
- `.agents/skills/` only when the repo also wants a tracked compatibility mirror for workspace-native agent tooling
4646
- a repo-local `Next Batches` section in `README.md`, `HANDOVER.md`, or tracked `openspec/changes/.../tasks.md` when the work is large enough to need end-to-end implementation batches
4747

48+
## Default collaboration workflow
49+
50+
If a repo does not already define a clearer collaboration path in `README.md`, `CONTRIBUTING.md`, `AGENTS.md`, or `HANDOVER.md`, use the workspace baseline in `docs/14-git-and-github-workflow.md`.
51+
52+
For repo intake, keep only the repo-specific implications here:
53+
54+
- identify whether the repo is local-only, git-only, GitHub-backed, or a fork-plus-upstream case
55+
- prefer recording any repo-specific issue, PR, or discussion path in repo-local docs instead of restating the workspace baseline
56+
- do not make GitHub Projects, a uniform label taxonomy, or `gh auth login` mandatory just because a repo lives inside this workspace
57+
4858
For public site reference copies, also prefer a short acquisition note in `README.md` or `HANDOVER.md` that records:
4959

5060
- source URL
@@ -179,6 +189,8 @@ For a repo to feel workspace-ready, it should ideally have:
179189
4. a repo-local cover image path in the README, even if it begins as a placeholder
180190
5. enough docs that another person can resume work without guessing
181191

192+
For GitHub-backed repos, that usually means enough repo-local docs to explain setup plus a readable issue and PR path. For local-only or git-only repos, it means the tracked local docs carry the same resumable context without pretending GitHub is required.
193+
182194
## Override rule
183195

184196
If a repo has its own `AGENTS.md` or clearer local docs, those should refine this baseline rather than duplicate it.

docs/11-core-memory-and-reference-promotion.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,15 @@ These wrappers should own workspace-specific path wiring and environment setup s
192192

193193
Current wrapper coverage includes:
194194

195+
- `workspace-memory build-graph`
195196
- `workspace-memory export-codex`
196197
- `workspace-memory mine-docs`
197198
- `workspace-memory mine-repo`
198199
- `workspace-memory mine-convos`
199200
- `workspace-memory split-convos`
200201
- `workspace-memory mine-codex`
201202
- `workspace-memory mine-codex-current`
203+
- `workspace-memory search`
202204
- `workspace-memory save-repo`
203205
- `workspace-memory save-workspace`
204206

@@ -235,6 +237,41 @@ The page should show:
235237
- last ingest and last sync metadata
236238
- links to config and docs
237239

240+
### Graph view
241+
242+
Workspace Hub now includes a Phase 1 graph visualization flow for the selected memory target.
243+
244+
Design rules:
245+
246+
- MemPalace remains the source of truth for memory
247+
- graph artifacts are derived views, not canonical records
248+
- the first implementation normalizes MemPalace sidecars plus nearby markdown into a graph-ready export instead of assuming MemPalace already emits a rich graph
249+
- graph output should stay target-scoped for `workspace-docs`, `current-repo`, or a chosen repo
250+
- rebuildable graph artifacts should live under `cache/mempalace/<user>/graphs/`
251+
- do not introduce automatic agent-hook or `AGENTS.md` mutation as part of graph rendering
252+
253+
Current wrapper command shape:
254+
255+
```bash
256+
tools/bin/workspace-memory build-graph workspace-docs
257+
tools/bin/workspace-memory build-graph repo repos/workspace-hub
258+
```
259+
260+
Current Hub actions are:
261+
262+
- `Build graph`
263+
- `Rebuild graph`
264+
- `Open graph`
265+
- `Open graph folder`
266+
267+
Current artifacts:
268+
269+
- `graph.json`
270+
- `graph.html`
271+
- `graph-report.md`
272+
273+
The repo-local design note for Workspace Hub lives at `repos/workspace-hub/docs/memory-graph.md`.
274+
238275
## Search and retrieval
239276

240277
MemPalace should support workspace retrieval, but it must not replace canonical tracked docs.

docs/13-contributor-roadmap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The main concrete contributor surface today is [`repos/workspace-hub/`](../repos
88

99
- Read [../README.md](../README.md) for the short public overview.
1010
- Read [../.github/CONTRIBUTING.md](../.github/CONTRIBUTING.md) for the lightweight PR path and guardrails.
11+
- Read [14-git-and-github-workflow.md](14-git-and-github-workflow.md) when you need the default issue, discussion, branch, and PR path for a repo that does not already document its own workflow.
1112
- Browse current [`help wanted`](https://github.com/RichardGeorgeDavis/Codex-Workspace/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22help%20wanted%22) and [`good first issue`](https://github.com/RichardGeorgeDavis/Codex-Workspace/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22) issues.
1213
- Use [GitHub Discussions Q&A](https://github.com/RichardGeorgeDavis/Codex-Workspace/discussions/categories/q-a) for setup or usage questions.
1314

docs/14-git-and-github-workflow.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# 14-git-and-github-workflow
2+
3+
## Purpose
4+
5+
This note defines the default collaboration workflow for repositories inside Codex Workspace.
6+
7+
If a repo has clearer local guidance in `README.md`, `CONTRIBUTING.md`, `AGENTS.md`, or `HANDOVER.md`, follow that repo-local guidance first.
8+
9+
This is an advisory baseline, not a requirement to give every repo the same GitHub setup.
10+
11+
## Baseline rule
12+
13+
Use the lightest collaboration surface that still keeps the work understandable and resumable.
14+
15+
- Local docs are the default fallback for repos that are local-only or do not need a public collaboration queue.
16+
- GitHub Issues and Pull Requests are the default path for non-trivial work in repos that actually use GitHub.
17+
- GitHub Discussions are useful for questions and open-ended discussion when that repo has Discussions enabled.
18+
- `gh` is recommended convenience tooling, not a workspace requirement.
19+
- `gh auth login` is optional maintainer setup, not part of the clean-clone baseline.
20+
21+
## Repo states
22+
23+
### Local-only
24+
25+
Use this when a repo is not meant to be shared through GitHub or when the work is still purely local.
26+
27+
- Track meaningful work in `README.md`, `HANDOVER.md`, or a `Next Batches` section.
28+
- Use a local branch when the change is risky, long-running, or easier to review as a separate slice.
29+
- Do not force issues or PRs where a tracked local handover is enough.
30+
31+
### Git-only
32+
33+
Use this when the repo is under Git but has no GitHub remote that matters for the current work.
34+
35+
- Keep the same local tracking path as `local-only`: `README.md`, `HANDOVER.md`, or `Next Batches`.
36+
- Prefer small focused branches for non-trivial work.
37+
- Treat Git history as the reviewable surface unless the repo later adopts a GitHub queue.
38+
39+
### GitHub-backed
40+
41+
Use this when the repo has a GitHub remote and real collaboration happens there.
42+
43+
- Use GitHub Discussions for setup questions, usage questions, policy questions, and open-ended design discussion when that repo has Discussions enabled.
44+
- If Discussions is not enabled, use Issues for actionable work and keep broader local context in tracked docs until the repo defines a better question flow.
45+
- Use GitHub Issues for actionable bugs, focused enhancements, docs work, and tracked follow-up tasks.
46+
- Use Pull Requests for non-trivial code, docs, or workflow changes that should be reviewed as a unit.
47+
- A tiny obvious change can still go straight to a focused PR, but non-trivial work should usually have an issue or clear written problem statement first.
48+
49+
### Fork and upstream
50+
51+
Use this when the repo has both a writable fork and a separate upstream remote.
52+
53+
- Keep your working branch on the writable remote.
54+
- Reference upstream issues when the work is really for upstream rather than only for the fork.
55+
- Open the PR against the repo that should actually receive the change.
56+
- Only use closing keywords when the PR targets the same repo that owns the issue. Otherwise use a non-closing reference such as `Refs #123`.
57+
58+
## Default flow for non-trivial work
59+
60+
1. Check whether repo-local docs override this workspace baseline.
61+
2. Choose the tracking surface:
62+
- local docs for local-only or git-only work
63+
- Discussions for open-ended questions or policy discussion when the repo has Discussions enabled
64+
- Issues for scoped actionable work
65+
3. Create a focused branch when the work is more than a tiny direct fix.
66+
4. Make the change, run the narrowest useful verification, and record what was checked.
67+
5. Close out on the matching surface:
68+
- update `README.md`, `HANDOVER.md`, or `Next Batches` for local-only or git-only repos
69+
- open or update a PR for GitHub-backed repos
70+
71+
## Branch guidance
72+
73+
These names are guidance, not enforcement.
74+
75+
- Prefer short descriptive prefixes such as `docs/`, `fix/`, `feat/`, or `chore/`.
76+
- If there is an issue number, include it when helpful, for example `fix/123-preview-routing`.
77+
- Keep one branch focused on one reviewable outcome.
78+
79+
## Issue, PR, and closeout guidance
80+
81+
- Link the issue, discussion, or brief problem statement in the PR description.
82+
- Use closing keywords such as `Closes #123` only when merging that PR should close the issue in the same target repo.
83+
- Use non-closing references such as `Refs #123` when the issue lives in another repo, when the PR targets a fork first, or when more work remains.
84+
- Close the issue when the accepted change actually lands, not when a branch merely exists.
85+
- For local-only or git-only repos, record equivalent closeout context in tracked docs instead of inventing a fake issue queue.
86+
87+
## What this baseline does not require
88+
89+
- GitHub Projects
90+
- a uniform label set across every repo
91+
- repository rulesets beyond what an individual repo wants
92+
- a PR-only workflow for local-only repos
93+
- `gh auth login` on every machine
94+
95+
## Common workspace scenarios
96+
97+
### Codex Workspace root repo
98+
99+
- Use the root issue templates, contributor guide, and PR template.
100+
- Route setup and usage questions toward Discussions Q&A.
101+
- Use issues and PRs for non-trivial workspace docs, tooling, and `workspace-hub` changes.
102+
103+
### Normal GitHub-backed sibling repo
104+
105+
- Use the repo's own docs first.
106+
- If it has no clearer collaboration doc, use this baseline: issue for scoped work, branch for implementation, PR for reviewable change, and Discussions only when that repo has them enabled.
107+
108+
### Fork with upstream
109+
110+
- Keep the fork writable and upstream clean.
111+
- Track upstream-facing work against the upstream issue when relevant.
112+
- Avoid accidental upstream auto-close language from fork-only PRs.
113+
114+
### Local-only git repo
115+
116+
- Keep the queue in tracked local docs.
117+
- Use branches and commits as the review surface.
118+
- Promote the repo to a GitHub-backed workflow only when that actually helps collaboration.

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2026-04-10
44

5+
- Bumped the workspace baseline release to `v1.2.0` and updated `repos/workspace-hub` to `1.2.0` to capture the finished MemPalace search flow, onboarding alignment, Memory Graph Phase 1, and the managed MCP v1 rollout.
56
- Hardened the managed Playwright and Chrome DevTools wrappers against bad host environments where `HOME=/`, by falling back to workspace-owned runtime and npm-cache paths under `cache/` and forcing Playwright into isolated mode with a stable output directory.
67
- Added the MCP v1 operating-model pack as `docs/15-mcp-profiles-and-trust-levels.md` through `docs/19-mcp-authoring-rules.md`, preserving the existing `10` through `14` docs and turning the older generic MCP note into a concrete support boundary.
78
- Added tracked MCP profile and server examples under `tools/templates/mcp/`, plus repo-safe `workspace-hub` examples under `repos/workspace-hub/.workspace/mcp/`.

0 commit comments

Comments
 (0)