The Process Graph is the mechanism. Time on Graph is the moat. The architecture works for any enterprise because the pattern doesn't know about any vendor — and the customer journey compounds the moat with every hour on platform.
class ConnectorBase(ABC):
mode: Literal["monitor", "advise", "operate"]
@abstractmethod
def _discover_schema(self) -> VendorSchema: ...
def read(self, entity_type: str) -> ToolResponse:
# In monitor mode, only reads
# Writes raise ModeNotAuthorizedError
return self._do_read(entity_type)
Vendor schema (cached per tenant), canonical entities, timestamps, provenance metadata (source_system + source_record_id on every row), signals derived from observations.
@dataclass(frozen=True)
class CanonicalOpportunity:
id: UUID
tenant_id: UUID
account: CanonicalAccount
amount: Decimal
stage: str
close_date: date
properties: dict # vendor-specific preserved here
source_system: str # "salesforce" | "xactly" | ...
source_record_id: str
Tenant-scoped queries are scoped by SET LOCAL app.current_tenant_id as the FIRST DB operation. Before history loading, before skill loading, before tool execution. For tables under the canonical triple this is enforced by the database, not by convention: with no tenant context set, the policy matches nothing and the read returns no rows.
Every hour a tenant runs on Compp, the graph gets denser in ways specific to that tenant. Seasonal patterns surface. Territory conflicts resolve and stay resolved. Comp plan edge cases get canonicalized. Signal-to-incident correlations calibrate. This is not data lock-in — it is reasoning lock-in. A new vendor shows up on day one. Compp shows up already knowing.
The Monitor → Advise → Operate progression is only viable because of the moat. A customer can't jump to Operate on day one — they need graph depth first. Monitor mode's purpose is to accrue the reasoning asset that makes Advise credible, then Operate possible. The moat generates the expansion path.
What accumulates: every canonical entity mapped, every unmapped field preserved in JSONB, every signal observed, every dimension score calibrated, every incident resolved, every comp plan parsed, every Ask Compp conversation logged with reasoning_steps, every Tell Compp submission graded and turned into a contract. The graph remembers all of it, with provenance intact, scoped per tenant under RLS.
A rip-and-replace vendor can't reason about this tenant's July vs November pipeline pattern, because the pattern only emerges from observed history. Compp carries it forward. A new vendor starts at zero density, every time.
The Akamai shape. Bot Manager's moat is not signatures — it is twelve years of signatures observed across trillions of requests. Bot Manager's go-to-market is not the product — it is the Monitor → Mitigate → Block progression that lets enterprises adopt safely, then commit deeply. Compp is the same shape, applied to enterprise revenue operations. Mechanism copyable. Time and customer journey not.
class ExplainScoreChange(Skill):
tier = "T3"
claim_type = "computed"
requires_graph = True # architectural enforcement
def execute(self, ctx: SkillExecutionContext):
# Must have graph reference
# Reasons over tenant's signal history
# Returns ToolResponse with reasoning_steps
First month: skill returns generic explanations. Third month: skill has observed enough score deltas per dimension to cite this tenant's specific precursors. Sixth month: skill references resolved-and-recurring incident patterns. The code doesn't change — the graph does.
Two moats, one pattern. Process Graph compounds on customer data — per tenant, per hour. The Defense Registry compounds on production failures — each bug class captured, each class checked on every PR. Both Akamai-shaped. Both monotonic. Both irreversible. Mechanism copyable. Volume not.