Skip to content

Commit 16bafb2

Browse files
committed
docs/ci: Append COAMS Developer Guide chapter and patch CI matrices
1 parent dbd17e3 commit 16bafb2

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/workflows/coams-verification.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
env:
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
16+
1417
jobs:
1518
# Pillar 1: Fuzzing the Ignorant Engine (Fail Fast)
1619
agent-index-fuzzing:
@@ -42,7 +45,7 @@ jobs:
4245
uses: actions/setup-go@v5
4346
with:
4447
go-version: '1.22'
45-
cache: true
48+
cache: false
4649

4750
- name: Run Publish Saga Suite
4851
# Standard go test with race detector enabled for concurrent saga checks

docs/DEVELOPER_GUIDE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,26 @@ GERP utilizes mathematically reproducible cloud infrastructure and secure contai
4343
GERP exposes FAANG-grade capabilities autonomously to outside LLMs via standard JSON-RPC STDIO built off the Model Context Protocol.
4444

4545
The `cmd/mcp` Server binds to AI agents running on Cursor IDE, Claude Desktop, or centralized orchestration engines via `.cursor/mcp.json`. Agents inherently use the physical tools (`gerp_status`, `gerp_create_order`, `gerp_audit_view`) to mechanically command the Spanner databases and trigger automated Temporal subroutines strictly adhering to the `internal/cli` environmental scope bindings.
46+
47+
## 8. COAMS (Content Operating and Management System)
48+
49+
COAMS represents the eighth primary domain of GERP, specifically architected as a Markdown-Native, AI-First content platform. Traditional headless CMS patterns relying on complex graphical JSON/ASTs have been discarded in favor of raw Markdown, natively optimizing it for AI integration.
50+
51+
### Core Architecture & The "Ignorant Engine"
52+
- **Isolated AlloyDB Sharding:** Unlike
53+
the core Spanner nodes, COAMS stores vector embeddings via AlloyDB using PostgreSQL's `pgvector` paired with Declarative Partitioning (`PARTITION BY LIST`). Data is physically separated by `channel_id` (e.g., engineering, hr) ensuring Zero-Leak Architecture.
54+
- **Microsecond Graph Linking:** The `doc:uuid` pointers are validated mathematically before writing by the **Agent-Index**. The system outright rejects writes if an internal link points to a non-existent or unauthorized document.
55+
56+
### System Integration & The Publish Saga
57+
The COAMS ingestion logic lives entirely within the temporal queues (`internal/pipeline/coams_publish_saga.go`). Executing `gerp coams sync ./docs` triggers:
58+
1. Pure Go Goldmark AST markdown parsing.
59+
2. Link Integrity Verification.
60+
3. Vertex AI Vector Embeddings generation.
61+
4. Partitioned AlloyDB storage.
62+
5. Dynamic broadcast update of the GraphQL schema ensuring immediate downstream synchronization.
63+
64+
### Bootstrapping the QuanuX Knowledge Vector
65+
By design, COAMS is self-documenting. To understand the operational footprint of the system, any AI agent or Operator can directly consult the embedded `SKILL.md` file:
66+
[Consult the COAMS SKILL.md Here](file:///Users/Duncan/GERP/internal/coams/docs/SKILL.md)
67+
68+
Additionally, COAMS autonomously generates manual pages for CLI execution utilizing the `gerp coams gen-man` control hook. This fundamentally ensures that agents never suffer from blank-page syndrome when learning how to navigate the repository layer.

internal/coams/repository_integration_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
package coams_test
44

55
import (
6-
"context"
76
"os"
87
"testing"
98
)

0 commit comments

Comments
 (0)