Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ workspace_root="$(cd "$repo_root/.." && pwd)"
if [ -z "${REPOGRAPH_BOUNDARY_ARTIFACT_FILE:-}" ]; then
shopt -s nullglob
for candidate in \
"$workspace_root"/PrivateManifest/dist/boundary_disclosure_artifact.json \
"$workspace_root"/*/dist/boundary_disclosure_artifact.json \
"$workspace_root"/*/policy/boundary_disclosure_artifact.json
do
Expand All @@ -22,7 +21,7 @@ fi

if [ -z "${REPOGRAPH_BOUNDARY_ARTIFACT_FILE:-}" ] || [ ! -f "$REPOGRAPH_BOUNDARY_ARTIFACT_FILE" ]; then
echo "[custodian-pre-push] missing REPOGRAPH_BOUNDARY_ARTIFACT_FILE; failing closed"
echo " Generate artifact from PrivateManifest first:"
echo " Generate artifact from your private-manifest repo first:"
echo " python -m private_manifest.export_boundary_artifact --graph-root graph --out dist/boundary_disclosure_artifact.json"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Do not edit `.console/.context` directly — it is regenerated at each launch.

## Cognition Lifecycle

OC uses [ContextLifecycle](https://github.com/ProtocolWarden/ContextLifecycle) for bounded, resumable agent sessions. **Cognition is hosted by the anchoring manifest** — OC carries no `.context/` of its own. Per P3 of `PlatformDeployment/docs/architecture/adr/0002-work-order-manifest-cognition.md`, every Claude Code session targeting OC must first run `eval $(cl session start PlatformManifest)` (or `PrivateManifest` for private work). All capsules, checkpoints, and handoffs land under the anchor's `.context/sessions/<CL_SESSION_ID>/` subtree.
OC uses [ContextLifecycle](https://github.com/ProtocolWarden/ContextLifecycle) for bounded, resumable agent sessions. **Cognition is hosted by the anchoring manifest** — OC carries no `.context/` of its own. Per P3 of `PlatformDeployment/docs/architecture/adr/0002-work-order-manifest-cognition.md`, every Claude Code session targeting OC must first run `eval $(cl session start PlatformManifest)` (or your private-manifest repo for private work). All capsules, checkpoints, and handoffs land under the anchor's `.context/sessions/<CL_SESSION_ID>/` subtree.

| Surface | Purpose |
|----------------------------------------|----------------------------------------------------------------------|
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Local planning, execution, policy, and evidence service for the coding platform.
- CoreRunner — runtime mechanics (subprocess/manual/HTTP) live there
- CxRP / RxP — canonical contracts live there; OC consumes them via `cxrp_mapper.py`
- PlatformDeployment — service compose, Dockerfiles, lifecycle scripts live there
- RepoGraph / PlatformManifest / PrivateManifest — canonical graph semantics and graph truth live there
- RepoGraph / PlatformManifest / the private-manifest repo — canonical graph semantics and graph truth live there
- A scheduler, queue system, or model host

## Primary Operator Model
Expand Down
10 changes: 5 additions & 5 deletions config/operations_center.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ report_root: tools/report/execution_plane
# OC consumes a merged EffectiveRepoGraph from PlatformManifest's
# `load_effective_graph(base, private, project/work_scope, local)`. The
# platform base is always the bundled `platform_manifest.yaml` (public
# topology). A PrivateManifest layer adds private platform truth; a
# topology). A private-manifest layer adds private platform truth; a
# project/work-scope layer adds project-scoped overlays; a local layer annotates existing nodes with allowlisted
# fields (local_path, local_port, env_file, endpoint_override,
# cache_path, gpu_required, runtime_hints).
Expand All @@ -197,10 +197,10 @@ report_root: tools/report/execution_plane
# Defaults: enabled=true, all paths None → platform-only graph.
# Set false to skip composition entirely.
#
# PrivateManifest discovery: when `private_manifest_path` is unset and
# Private-manifest discovery: when `private_manifest_path` is unset and
# `project_slug` is known, OC looks for
# `/home/dev/Documents/GitHub/PrivateManifest/manifests/<project_slug>/private_manifest.yaml`
# (or sibling `PrivateManifest/` from the provided repo_root).
# `<private-manifest-repo>/manifests/<project_slug>/private_manifest.yaml`
# (or a sibling private-manifest repo from the provided repo_root).
#
# v0.3+ supports ONE project manifest per OC instance — to switch projects,
# update the paths or run OC from inside that project's repo (cwd
Expand All @@ -212,7 +212,7 @@ report_root: tools/report/execution_plane
# platform_manifest:
# enabled: true
# project_slug: <managed-repo> # for PlatformDeployment LocalManifest discovery
# private_manifest_path: /home/dev/Documents/GitHub/PrivateManifest/manifests/<project-slug>/private_manifest.yaml
# private_manifest_path: <private-manifest-repo>/manifests/<project-slug>/private_manifest.yaml
# project_manifest_path: /home/dev/Documents/GitHub/<managed-repo>/topology/project_manifest.yaml
# local_manifest_path: /home/dev/Documents/GitHub/<managed-repo>/topology/local_manifest.yaml

Expand Down
4 changes: 2 additions & 2 deletions docs/architecture/contracts/platform_manifest_consumption.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PlatformManifest Consumption

OperationsCenter consumes RepoGraph-backed PlatformManifest and PrivateManifest
OperationsCenter consumes RepoGraph-backed PlatformManifest and private-manifest
data as topology and visibility metadata. It does not own canonical graph
semantics, and it does not redefine public/private disclosure policy.

Expand All @@ -9,7 +9,7 @@ semantics, and it does not redefine public/private disclosure policy.
```text
RepoGraph owns what exists and what may be disclosed.
PlatformManifest publishes the public graph instance.
PrivateManifest publishes the private graph instance and boundary artifact.
The private-manifest repo publishes the private graph instance and boundary artifact.
CxRP owns execution/routing contract semantics.
RxP owns runtime invocation semantics.
OperationsCenter owns governance and orchestration implementation.
Expand Down
2 changes: 1 addition & 1 deletion scripts/reset-training-branches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
CONFIG="$REPO_ROOT/config/operations_center.local.yaml"
TRAINING_BRANCH="operations-center-testing-branch"
BOUNDARY_ARTIFACT="/home/dev/Documents/GitHub/PrivateManifest/dist/boundary_disclosure_artifact.json"
BOUNDARY_ARTIFACT="${BOUNDARY_ARTIFACT:-<private-manifest-repo>/dist/boundary_disclosure_artifact.json}"
DRY_RUN=0

[[ "${1:-}" == "--dry-run" ]] && DRY_RUN=1
Expand Down
Loading