Chapters
On this page
DOC-04 / Technical reference · Chapter 10
Catalogue of Synedre OS facades & entrypoints
This chapter lists all executable entry points of the Synedre OS agentic harness, specifying for each one its family, role and invocation method, in order to enable quick onboarding with the `synedre-os` repository.
Catalogue of Facades and Entry Points — Synedre OS
Objective: to inventory the executable entry points of the agentic harness, providing for each one its family, its role in a single line, and its typical invocation mode (cron / CLI / skill / hook / lib), so that an engineer picking up the repository can quickly identify which component does what without having to read through hundreds of files.
Architectural principle: the email, scan, and deployment facades are declared mandatory single facades in the orchestrator usage doctrine. Any call to these functions must go through the corresponding facade — never through direct access to the internal layers.
Scope, Method and Catalogue Coverage
This chapter documents all components that make up the Synedre operating system: Python facades, tooling scripts, behavior hooks, and automated scheduling entries. It is maintained under continuous mirror regeneration: at each pass, the catalogue is mechanically compared against the actual list of files present in the repository, and any discrepancy is flagged as a documentation drift (code-newer) or as a dead reference.
Covered vs. actual count
| Category | Actual total in repository | Covered in this catalogue |
|---|---|---|
| Main Python facades | 991 (last verification) | All detailed below (filename × chapter text cross-check: 0 missing) |
| Tooling directory entries (scripts, subdirectories included) | 152 entries (last verification) | All top-level scripts detailed, along with subdirectories dedicated to the automated browser and the shared library; only the bytecode cache and SQL migrations remain undocumented individually |
| Behavior hooks | 235 hook-* scripts |
All listed in the Hooks and Guards section |
Recount history — totals have evolved week over week across successive workstreams: 391 Python facades (July 2026) → 720 (mid-September) → 774 → 831 → 864 → 880 → 901 → 917 → 926 → 930 → 938 → 949 → 963 → 975 → 985 → 991. Do not cite earlier totals as current facts; only the most recent figure is authoritative.
Extraction method
The descriptions below are extracted programmatically from the leading documentation block of each file. They were not invented. When a file contains only a license header with no functional description, the role was retrieved further down in the file — this retrieval is not systematic: some facades still carry the license header in first position, in which case the role was read from the following line. The role remains accurate, but the extraction is not uniformly sourced from the very first line.
For each facade, the following information was verified prior to authoring:
- The leading documentation block and the actual structure (functions, command-line arguments, referenced SQL tables).
- The presence or absence of an entry in the automated task scheduler.
- Any wiring defined in the hooks configuration file.
- For facades flagged code-newer, the commit or commits postdating the last documentation revision.
Drift signals and dead references
The documentation monitoring system produces two types of signals:
code-newer: a file cited in the documentation was modified after the date of the last regeneration pass. The current pass realigns the affected entry with the actual behavior.- Dead reference: a path cited in the documentation no longer exists in the repository. These references are retained for historical traceability and explicitly marked as deleted or merged — they are never presented as live components. At the last count, 69 dead references are documented as such and excluded from the drift calculation.
Note on dead references — the majority originate from the zombie script purge carried out during the dead-code cleanup workstream (62 deletions in a single pass). Two of them were subsequently identified as false positives from the scanner: they were invoked via dynamic path from the nightly maintenance loop and were therefore invisible to static analysis. They were marked "erroneously deleted" rather than with the generic note.
Anomalies recorded without immediate correction
Continuous cataloguing has surfaced several categories of anomalies that pertain to the code itself rather than to the documentation. They are recorded here without being corrected in this pass:
- Around ten file documentation blocks or scheduler comments describing outdated behavior.
- Around fifteen facades designed to run on a scheduled basis but with no active scheduler entry at the time of verification.
- A few scripts in which the target host or execution container is hardcoded in the source file.
- Two scripts identified as non-functional (reference to a non-existent path or to an ambiguous identifier).
"Invocation" legend
| Code | Meaning |
|---|---|
cron |
Launched automatically by the task scheduler, typically via a duration-control and logging wrapper. |
CLI |
Invoked manually from the command line. |
skill |
Facade exposed behind a skill declared in the agent's skill directory. |
hook |
Agent behavior hook, triggered on a lifecycle event (session start, prompt submission, before tool use, after tool use, shutdown). Python hooks are declared in the agent's local configuration; a second set of shell wrapper hooks is declared in the shared configuration. |
lib |
Module imported by other facades, with no standalone entry point. |
worker |
Daemon or processing loop draining a job queue from the database. |
Component families and overall flow
The mother-ship architecture is organised into functional families that hand off to one another along a defined flow: reception, classification, orchestration, execution, then persistence. The diagram below shows the sequence.
┌──────────────────────────────────────────┐
inbound email ──►│ Email reception & synchronisation │
└───────────────┬──────────────────────────┘
│ intent classification
▼
┌──────────────────────────────────────────┐
/hub, CLI ───► │ Orchestration (spawn, reflexes, QA) │
└───────┬───────────────┬──────────────────┘
│ │
worksites │ │ brainstorming
│ │
▼ ▼
┌─────────────────────────────────────────────────────┐
│ Agent execution │
└───────┬─────────────────────────────────────────────┘
│
┌────────────┼──────────────┬─────────────┬───────────────┐
▼ ▼ ▼ ▼ ▼
audits blog/SEO finance browser deployment
│ │ │ │ │
└────────────┴──────────────┴─────────────┴───────────────┘
│
▼
PostgreSQL persistence
(centralised access facade)
Description of families
- Email reception — synchronises the inbound mailbox and extracts the metadata required for classification.
- Orchestration — main entry point (web interface and command line). It triggers agents, drives automatic reflexes, routes requests to a worksite or a brainstorming session, and supervises quality (QA).
- Agent execution — cross-cutting layer that receives tasks from the orchestrator and dispatches them to the specialised families.
- Audits — analyses and reports on the technical state of client sites.
- Blog / SEO — produces and publishes editorial content.
- Finance — generates and tracks billing documents.
- Browser — drives a headless browser for web automation tasks.
-
Deployment — manages the production release of worksites via the public commands
./deployand./ship.
Data model — key points
The entire system relies on a single PostgreSQL database, accessible to all families through a centralised Python facade. This facade is the sole legitimate entry point for any read or write operation; no component interacts directly with the database without going through it.
Environment configuration is likewise centralised: a dedicated module loads variables at startup and distributes them to the components that require them. Secrets (AI-provider API keys, database password, third-party service tokens…) reside in environment files excluded from version control — they are never transmitted in plain text in the code or in the logs.
Facade uniqueness principle: every interaction with the database must go through the centralised access layer. This design choice guarantees connection consistency, uniform error handling, and request traceability across families.
Common Foundation — Shared Libraries and Cross-Cutting Facades
This section inventories the components shared by all automation scripts: persistence layer, AI facade, logging, secrets governance, SQL transport, and write-target resolution. Each component is identified by its functional role; no internal technical identifiers are exposed.
Persistence and Connection Pool
The PostgreSQL persistence facade is the single entry point for automation scripts into the database. A persistent connection pool complements it by replacing direct database engine calls with reusable connections featuring transparent OID type casting, guaranteeing byte-identical result fidelity.
An output format contract accompanies this pool: it formally verifies that the transport layer produces exactly the same bytes as the historical reference command — a safeguard against silent corruption introduced by driver upgrades.
A separate minimal fail-fast connector is reserved for low-level hooks; it loads environment variables and immediately opens a connection, without a pool, for contexts where minimal footprint is critical.
Environment Variable Loading
A module centralizes environment variable loading for all automation scripts. It constitutes the single access point for configuration parameters, preventing resolution logic from being scattered across individual scripts.
Structured Logging
A mandatory structured logging module is used by all automation scripts. It guarantees trace uniformity and their exploitability by analysis tools.
Scheduled Automation Watchdog
An autonomous watchdog wraps all cron-triggered automation scripts. It enforces a default timeout of 300 seconds, with per-script declared overrides for long-running processes:
- The nightly maintenance loop has an override of 12,600 seconds, with compaction of up to 30 LLM transcripts.
- The memory consolidation process is capped at 3,600 seconds.
- The nightly recipe for a client AI assistant has an override of 3,600 seconds: 32 questions, with a 10-second pause between each case to respect the provider's rate limit. The measured duration is 384 seconds; the theoretical worst case (32 × 100 s) reaches 3,200 seconds. A 300-second timeout had caused a premature termination during a nightly run before this override was added.
Supervised Cron Heartbeat
The cron silence detector relies on a heartbeat mechanism: each scheduled automation emits a signal in the database after it has actually executed (not merely been launched). This signal is consumed by the silence detection component (see silence detector below).
At least eighteen modules emit this heartbeat, including instant messaging, mailbox management, pruning, quota, and orbit test supervision automations.
Historical note: the consumer of these heartbeats was created on 13 August 2026 — a previous version of this documentation incorrectly attributed its creation to a later commit dated 9 September 2026, which was merely a modification.
Agnostic AI Facade
The AI facade unifies calls to all language model providers under a common interface. Supported providers are: Claude (Anthropic), Mistral, OpenAI, DeepSeek, Gemini, and a CLI subscription access.
Gemini Providers
- CLI subscription access: the call goes through a dedicated command-line tool, in read-only mode, in an isolated temporary directory (created then deleted after the call). The default model is
gemini-3.8-flash-medium. The marginal cost is zero within the subscription. This access is preferred for autoblog writing. - Direct API access: queries the Google GenAI API. The default model is
gemini-2.5-flash. The API key is read from environment variables; if no valid key is present, the system automatically falls back to CLI access.
CLI Working Directory Isolation
The Gemini CLI tool is executed in an empty temporary directory, created on the fly and deleted after the call. This isolation prevents spurious files from being written into the caller's repository, a behaviour observed before this guard was put in place.
⚠️ To be confirmed: the exact wiring of automation routing to the CLI subscription access for autoblog has not been reviewed in its entirety.
Agent Invocation from an Automation Script
A component allows any automation script to invoke an agent from the Synedre network. It supports several execution harnesses:
- Claude — default harness.
- Codex — ephemeral read-only execution, JSON output.
- Antigravity — execution in a neutral temporary directory, read-only, with an explicit instruction not to use tools (otherwise the agent attempts commands and returns an empty response).
- Muse (added October 2026) — dedicated client, consumed quota recorded locally; outbound traffic routed through a dedicated egress relay exclusive to this harness.
The harness is selected by explicit parameter, by environment variable, or defaults to Claude. An unknown value causes an immediate error. All harnesses operate in read-only mode: an agent call produces text and writes nothing. The cost of each call is recorded in the agent log with the harness used as the provider identifier.
The agent log records the agent's codename (drawn from the internal registry) even if the caller passes a different display name.
Agent Persona and Cognitive Framework
A component loads an agent's persona from the central registry along with its cognitive framework, and makes them available to any automation script invoking that agent.
Embedding Facade
The embedding facade produces vector representations of products used notably for reinforcing the internal search engine (L1 boost).
Event Stream Persistence
A component persists event streams in JSON format into the agent logging table, for subsequent consultation and audit.
Per-Client LLM Configuration
A module reads the LLM configuration specific to each client (provider, model, BYOK key) from the central configuration table and passes it to the AI facade. It is the exact Python counterpart of the TypeScript helper serving the same role.
Isolated Git Commit
A utility performs isolated commits scoped by file set, under a global lock, to prevent collisions on the shared Git index across multiple parallel sessions.
Persistent Per-Client Worktrees
The wt command manages persistent Git worktrees, one per client. Each client has its own Git index, its own branch, and its own files, allowing multiple terminals to work simultaneously on distinct clients without collisions on the shared trunk.
An automatic merge-back (post-commit hook) reintegrates each client branch into the staging branch without conflicts.
Lane Confinement Guard
A Git hook verifies, before each commit, that the modified files belong to the current client's lane. Historically, this guard only recognised the standard tenant path format. It was extended to also recognise so-called "legacy" clients using a different path format; previously, these clients failed open silently and cross-lane commits could pass through undetected.
Worktree Garbage Collection (wt gc)
The unused worktree cleanup command was corrected to:
- Recognise tmux sessions belonging to the Codex and Antigravity harnesses (their prefix differed from the expected one, causing their worktrees to be deleted out from under them).
- Normalise the
(deleted)suffix in process symbolic links, preventing a worktree recreated at the same path from remaining eligible for sweeping.
Robust Merge-Back
A git merge --abort may be refused if the index is held by a sibling session. The merge-back replays the abort as long as the merge state is active, bounded by a configurable maximum number of attempts (default: 20, with 0.5 s between retries). This fix followed an incident where the trunk remained in a partial merge state for 25 minutes, with 24 files showing conflict markers, including a hook that paralysed all concurrent sessions.
Fan-Out
A fan-out candidate holds its own branch and is excluded from the automatic merge-back.
Tool Result Capping
A component bounds what the language model sees in tool results, without truncating the full log on disk. Analysis had established that 72% of LLM cost originated from unbounded accumulation of tool results in context (approximately 108 out of 360 automations producing raw JSON serialisations without limits). This component is wired upstream of tool execution and imported directly by several automations for their own outputs.
Personal Data Purge
A filter removes personally identifiable information (PII) before scar traces are sent to the LLM pipeline.
Decentralised Reflex Engine
The reflex facade reads an incoming tool event in JSON format, consults rules in the database, and returns a traced deny / warn / allow decision recorded in the audit log.
It covers the following operation families: file writes, file reads, agent invocations, web retrieval and search. An asymmetry law governs its extension: every new reflex tightens a permission, sensitive areas are fail-closed — no reflex may ever broaden an existing permission.
Idempotent initialisation scripts populate the base rules in the database. An extended script, referenced in earlier versions, was deleted during a rubbish-collection operation (July 2026) after confirming it was referenced nowhere (crontab, hooks, imports, deployment scripts).
Agent Log
The agent logging facade writes daily summaries to PostgreSQL (atomic upsert via CTE), activities, item resolutions, and heartbeats. It is best-effort by contract: it never raises an exception. It was restored in August 2026 after accidental deletion during a MariaDB fossil cleanup.
Artifact Visual Charter
A component defines the canonical visual charter for artifacts produced by the system: self-contained embedded CSS (Courier Prime font, dark mode by default, light mode toggle, no external CDN, strict CSP compatible) and a wrapping function that applies the standard shell (sticky top bar, tentacle identifier, version, link, theme toggle button).
Assisted Ephemeral Command
An AI session can record a command intended for the human operator in the database, rather than asking them to copy it manually from the conversation. The Hub then displays it as a button in its footer. Available modes are: record, associate with a tmux session, list, execute, and acknowledge.
Single-Line Command Verifier
A utility verifies that a command intended for the operator can be copied in a single gesture: a single line (no \ continuation), within the configured terminal width (80 columns by default), with no hidden destructive verb, and no risk of confusion with another worktree lane. It rewrites nothing — it only reports.
Session Startup Context
A component provides an identical startup context to all harnesses:
- For Codex (which has no native memory), it prints the memory index at session startup.
- For CLI subscription access, it triggers memory producers, scar traces, and the session summary on the first conversation event, then injects them into the conversation.
This component is fail-open: an injection failure does not block the session.
Skill Partition Reading
A pure module (no database, disk, or network access) reads the Partition section of a skill file — a YAML block of typed cues serving as a source for a conduct. In the absence of a partition, it returns None; a dubious partition raises an explicit error. The cue vocabulary belongs to the conduct layer.
CLI Vision Facade
This facade submits an image and a prompt to a vision model, selecting the harness from a dedicated routing table. If no route is configured, the call fails closed (no implicit fallback). The error message indicates the return code, the received JSON output, and the end of stderr — this level of detail was added after an incident where two clients suffered silent failures in the visual judge. The Muse harness is supported in read-only mode.
Canonical Harness Contract
A component defines the canonical event and decision schema produced by all harnesses, with no business policy. It translates native payloads from Claude Code, Codex, Antigravity, Muse, ZCode (Z.ai / GLM), and DeepSeek into stable, normalised capabilities.
Normalised lifecycle events are: session start, prompt submission, before/after/failed tool, agent delegation, and run stop.
Re-encoding a canonical decision can never broaden host permissions. Antigravity requires an explicit decision (ask by default, allow only if the operator has already selected yolo mode).
DeepSeek Support (DSH)
The DeepSeek harness has its own tool capability table, built from the official package schemas. Tools with no effect on disk, shell, or network are listed explicitly; any unclassified tool outside this list is refused before effect (fail-closed). This guard was added after an editing tool fell into the "unknown" category and bypassed write guards.
Portable Guard Dispatcher
A dispatcher routes tool events to security guards for all harnesses. It normalises the incoming event, applies the guards, and re-encodes the decision in the native format of the calling harness.
Three guard families are applied:
- Floor guards (P0): fail-closed. Any unexpected output, timeout, or missing guard produces a denial.
- Scar guards: rules derived from documented experience reports (e.g., refusal of recursive searches within harness state, following an incident that consumed 580% CPU and 3.9 GB of memory from an uncontrolled search).
- Derived guards: for Codex, Antigravity, and Muse only (Claude applies them natively), rules from the Claude configuration file are replayed in parallel on these harnesses.
A denial names its rule: rule identifier, rule file, and denial path. No byte from the payload or hook message enters this label — preventing an agent from exploring its own state to circumvent the denial.
After tool execution, the P0 floor is skipped; only post-tool derived guards are applied.
Sub-Agent Context Cap
A hook measures the context size of the last message produced by a sub-agent (bounded tail-read of the transcript) and refuses any new tool call beyond a configurable threshold (default: 80,000 tokens), forcing the sub-agent to conclude.
This component is absolutely fail-open and has a kill-switch via environment variable. It was rewired upstream of tool execution after a wiring bug downstream had allowed 5,620 unenfored denials across 202 sub-agents (up to 114 ignored denials for a single sub-agent).
Mandatory Adversarial Review (VIP Projects)
For projects designated as sensitive, any email send to their domains or any deployment to their targets is blocked until every required review angle carries a GO verdict rendered by a distinct reviewer (never the author) on the exact fingerprint of what is being sent — body, subject, recipients, attachment bytes, Git trees of the affected paths. A single character change invalidates the fingerprint and requires a new review. The last verdict on an angle is authoritative; a single NO-GO blocks the operation.
Canonical Skill Guide Reading
A utility reads canonical skill guides from the database on demand, with no fallback copy. The fingerprint identifies the bytes read during the same query — it does not certify that the commands described are compatible with the installed tools. The catalogue does not preload bodies: each read queries the database.
Cron Silence and Failure Detector
This component monitors scheduled automations on two distinct probes:
- Silence: if the gap between now and the last heartbeat (or the registration date for a cron that has never emitted one) exceeds the configured threshold, an incident is opened. Each silence episode alerts only once (anti-spam).
- Installed failure: if the last heartbeat has carried a failure status for at least the duration of one expected interval (i.e., two consecutive error passes), a distinct incident is opened.
Incidents are opened, incremented, and closed without any recourse to an LLM. When a cron resumes normal heartbeating (silence resolved) or a successful heartbeat (failure resolved), the incident is closed with a dated reason. An incident can trigger escalation to the orchestrator (one run per episode). If the database is unreachable, the pass is silently skipped without a fatal error.
This component emits its own heartbeat after each effective pass, thereby subjecting itself to its own monitoring.
# Invocation — dry-run to inspect without writing
python3 -m <détecteur-de-silence> --dry-run --json
Schedule: every 5 minutes. Maximum silence tolerated before alert: 15 minutes.
Credentials Registry
The encrypted credentials registry is the single source of truth. Environment files (.env*) are derived from it, according to a five-level doctrine ranging from the vault (level 0, never derived) down to runtime files on client VPS instances.
Registry → Environment File Synchronisation
A rewrite worker decrypts credentials from the registry and writes them into the environment files at the declared level, automatically purging cross-file duplicates. Available modes are: single credential synchronisation, global synchronisation, job queue processing, and continuous loop.
The registry also stores web accounts (kind='web_account', level 0 only): these entries are never derived into an environment file and are only accessible through the dedicated facade.
⚠️ No live crontab line triggers this worker directly; it is enqueued by the credential update API endpoint.
AES-256-GCM Encryption
The encryption module implements AES-256-GCM, bit-for-bit compatible with its TypeScript equivalents. The master key is read from environment variables; no value is ever recorded in logs. A self-test mode (--selftest) verifies the encryption/decryption round trip.
Atomic Environment File Editing
All writes to .env* files go through an atomic editing component (write to a temporary file then atomic replacement, permissions preserved). Available operations are: variable insertion/update, deletion, value reading, and cross-level uniqueness verification. No external text substitution tool is used on secrets.
Setting Variables on a Client VPS Without Plaintext Exposure
A utility allows variables to be set in a client's runtime environment file on their VPS without the value transiting through a conversation message, a command argument, or standard output. The target is resolved from the client's deployment configuration. Secret values are entered in masked mode; non-secret values are passed as named arguments. The server-side write is performed by a Python script passed as an argument (decoupled from the value input channel — isolation documented as a scar), without text substitution tools. A timestamped backup is created at mode 0600. The change takes effect on the next restart of the application process.
The utility refuses to run without a controlling terminal (explicit detection) to avoid unexpected termination by EOFError.
Environment File Drift Monitor
This component detects inconsistency situations between environment files: duplicate keys with differing values across levels, effective load order by the container engine (the last declared file wins), and uninterpolated variables. It can block a write that would introduce a divergence. Internal documentation mentioned a cron trigger, but no corresponding crontab line was found.
Third-Party Web Account Facade
This facade is the single entry point for managing third-party web service accounts. It enforces the following invariants:
- The password is born within the process (cryptographic generator), encrypted immediately, and only leaves via the autofill method.
- No option receives the password in plaintext; no
--revealmode exists. - The record is registered in pending state before input.
- Rotation retains the old encrypted value until explicit confirmation.
- Revocation dates the account and empties its blobs.
- Every operation produces an audit line with no value or hash.
- Autofill refuses a host that differs from the registered URL.
Available operations are: create, autofill, display (masked), rotate, confirm, revoke, and fingerprint refresh. A --set mode was added for sites whose only entry point is their database (PrestaShop families with no accessible administration interface).
Third-Party Account Password Fingerprinter
A component maintains a local fingerprint of active passwords, derived from the master key via HKDF-SHA256. This fingerprint is used by a guard hook to detect any entry of a known password in plaintext in an unintended context. The fingerprint file (mode 0600) never contains a plaintext value and allows no offline verification without the master key.
Migration to the Unified Registry
A one-shot utility classifies rows in the historical registry by nature (web account, technical credential, already migrated, unclassified) and moves the corresponding metadata — never the encrypted blobs. A YAML configuration file declares the classification of each row. The mandated order is: inventory → backup → verification → dry-run → apply → count remaining. Rollback from the backup file is possible.
Third-Party Account Consistency Monitor
A read-only monitor (never in an LLM cron) verifies four invariants: fingerprints match usable blobs, revoked accounts have their blobs properly emptied, every account has a creation and revocation audit line, the fingerprinter is no older than the last write. Output: one OK/ALERT/ABSENT line per invariant, exit code 0 or 1, zero-discrepancy threshold.
Collection of Secrets Born on Client Servers
A collector automatically pulls secrets generated server-side on client machines back into the registry. Each fleet row declares where its secrets live (file, non-secret literal value, registry as source of truth, or sudo access). The collector reads these values via SSH (in memory, never displayed), encrypts them, and records them at registry level 3 only if the value has changed, then triggers rewrite of the derived file. A Unix password rotation mode is available. Initial enrolment of a declared secret absent from the registry is possible if it exists in only one source file.
Schedule: every 15 minutes (active crontab line).
MCP Protocol — Batch SEO, Token Issuance, and Tool Server
Three components are built around the MCP (Model Context Protocol):
MCP Token Issuance
This component issues an MCP token for a given client (12-character public prefix + 32 bytes in base64url, SHA-256 hash stored in the database, plaintext stored in a gitignored environment file). The token is never written to standard output. Parameters are: client identifier, scope, label, target file, and dry-run mode.
Common-Tools MCP stdio Server
An MCP stdio server (JSON-RPC 2.0, implemented without external libraries) exposes the house gestures to the three harnesses. It implements the initialize, tools/list, tools/call, and ping methods. Currently, a single read tool is exposed in production: project adherence measurement.
⚠️ To be confirmed: no MCP configuration file in the repository declares this server; only its unit test references it.
HTTP MCP Bridge for Batch SEO
This bridge allows SEO optimisation automations to write category metadata via the client's HTTP MCP API (tool optimize_category_seo), never via direct SQL. The authentication token is required (noisy failure if absent); the site token takes priority over the client token. The URL is resolved from the client VPS registry.
SQL Transport and Target Resolution
Multi-Query SQL Reader
A read facade allows multiple SQL queries to be executed in a single call, within a read-only transaction, with labelled and row-count-bounded results. A SELECT-role-only connection mode is available: if this role is absent on the target, the call fails without falling back to the owner role.
SQL Transport to a Fleet Target
The single SQL transport routes queries (passed via stdin, never as command arguments) to a named fleet target. It makes no decision regarding the environment (production or dump) — that responsibility belongs to the calling components.
Point-in-Time SQL Write Under Guard
Symmetric to the read component, this component executes point-in-time writes under several guards: mandatory attested dump, dry-run by rollback by default, RETURNING clause required on any modification or deletion, and DDL statement refusal.
Tenant Resolution, Session Scope, and Write Target
The single source of truth for everything related to client resolution is the client VPS registry (main table and associated container table). No codename or IP address is ever hardcoded.
Single Tenant Resolver
This component is the canonical entry point for identifying a fleet client. It reads the client VPS registry, is fail-closed in case of ambiguity (a token designating multiple clients is never resolved arbitrarily), and supports precondition verification (database accessible, Nuxt started, PrestaShop operational, etc.).
python3 -m <résolveur-tenant> <nom-client> [--needs db,nuxt,prestashop]
Session Tenant Scope
This component answers the question "which client is driving this session?". It reads the scope in the following priority order: session environment variable, per-session scope file, then absence of scope. It exposes the subcommands show, set, resolve, clear, list, and preview.
Tenant Write Target
This component answers the question "which machine are we writing to?". It resolves from the VPS registry a complete structure (SSH connection, container, database, Nitro port, domain) and returns one of the following states: ok, unknown, db_down, ambiguous. It can execute SQL queries directly on the resolved target. A default-target mechanism survives a database outage.
MCP Partitioning by Tentacle
This component ensures that each session only loads the MCP servers belonging to the client it is driving. It produces the strict MCP configuration and required environment variables for a given client, from the VPS registry. The repository's MCP configuration file is left empty; the effective configuration is generated dynamically.
Client VPS SSH Resolution
This component resolves the SSH connection parameters of a client VPS from the registry (address, user, private key path, domain). It was created following an incident where a hardcoded SSH key caused two nights of false diagnosis on an unrelated issue.
Orchestration family — inbound email pipeline and agent control
This family encompasses all components that receive inbound emails, classify their intent, delegate execution to an agent via a controlled invocation, and then manage the complete run lifecycle: timeout, loop prevention, escalation, and reconciliation.
Invocation doctrine: every programmatic agent spawn must go through the spawn bridge via
node-pty. Direct command-line invocation is forbidden. This contract is materialised by the headless launcher described below.
Main components
| Component | Role | Invocation mode |
|---|---|---|
| Email mailbox collector | Polls the inbox every minute. DKIM validation is delegated to a trusted verifier: only the first Authentication-Results header set by the trusted mail server is examined; the signing domain must be aligned with the From: field (fail-closed control). The actual frequency is one minute; the comment in the script still reads "5 min" and is outdated. |
Cron every minute |
| Intent classification engine | Classifies each inbound email into one of the following intents: run (lightweight or plan), question, noise, negociation, conseil. The chantier intent has been removed from automatic classification: a run of complexity plan now covers this case; manual promotion to chantier remains possible if the run turns out to be non-testable or irreversible. |
Library / CLI |
| Classifier calibration tool | Monthly calibration of the classification engine. No active cron entry: the script is present on disk but is not triggered by any scheduler or live import. Manual launch only. | CLI (manual launch) |
| Agent spawn orchestrator (level 2) | Launches an agent in headless mode to process classified emails. Key parameters: 40-minute timeout (progressively raised); loop prevention: if the result event is lost on stream flush, the run falls back to re-reading the stream journal; maximum 3 spawns per cycle; default model sonnet. |
Worker |
| Attachment extraction and analysis | Extracts email attachments and submits them to antivirus analysis before any processing. | Library |
| Secure email sender | Sends email replies with triple anti-impersonation control. | CLI |
| Post-send monitor | Deleted — moved to trash during a cleanup campaign (no run detected over 30 days, no active reference). Recoverable for 30 days, then permanently purged by the Pruner. | — |
| Consolidated health report | Deleted — same reason as the previous component. | — |
| Client response composer (step 3) | Composes the "work completed" email for the manager with, in an editable delimited block, the proposed client message. Modification extraction is deterministic (fixed delimiter tags). Tone is adapted to the client's communication profile. | CLI |
| Client response sender (step 1) | Sends the reply to the client only after explicit validation, with triple control (sender whitelist + thread identifier + single-use token valid for 24 h). QA proof and an annotated screenshot are attached. | CLI |
| Client response dispatcher (step 4) | Routes an inbound email (forwarded) to the correct process step based on a subject marker and database status. The decision is a testable pure function; execution is separate. | CLI |
| Per-task ReAct cycle | Executes the standard reasoning-action cycle for each task, in accordance with the chantier-v2 doctrine. | Worker |
| Automatic scar recorder | Automatically records scars from ReAct patterns. No cron: triggered event-driven by the task worker on every non-zero exit code of a task execution. | Library (event-driven) |
| Task worker (main daemon) |
Main task execution loop. Key points:
|
Worker (daemon) |
| Task unblocking plan | The Atlas agent drafts an unblocking plan for a blocked task. | CLI |
| Automatic blockage detector | Detects blocked tasks and automatically triggers an Atlas spawn. | Cron |
| Runaway detector |
Monitors and pauses runaway tasks and fleet. Monitored signatures:
|
Cron (every 15 min) |
| Questions console chat | Console conversation turn for Questions mode (Atlas). | CLI |
| Scoped runs console chat | Console conversation turn scoped to runs. The negotiation guardrail redirects any appointment scheduling to the manager's sovereign link. | CLI |
| Statement of work formalisation worker | Hosts the formalisation process for a statement of work (Conseil mode). | Worker |
| Daily ReAct summary | Cron line disabled: commented out since a quota was exhausted. Manual CLI launch only until re-armed. | CLI (cron disarmed) |
| Daily summary prompt and few-shot | Prompt library for the daily summary. | Library |
Interactive terminal control daemon
This local HTTP daemon executes commands in multiplexed terminal sessions on behalf of the application layer. Isolation is provided by the chain: container → network gateway → host daemon → multiplexer. Authentication relies on a constant-time token comparison, supplemented by a defensive blocklist filtering destructive patterns.
Multi-profile: supported profiles are claude, glm, codex, antigravity, muse, and zcode. Each profile selects a dedicated terminal session and its associated binary. The list of authorised profiles is imported from the profile registry (single source of truth) and validated before any shell execution.
Exposed routes: /status, /capture, /start, /send-keys, /switch-camp, /switch-model, as well as read-only endpoints for host system health, resumption handoffs, Antigravity harness models, and proxies to other internal modules.
"Release" lifecycle: shutting down a tentacle can be soft (keep: true) — the terminal session is closed but the isolated working directory and transcripts are preserved, the close date remains null — or definitive (full cleanup).
Harness switch: when switching to or from a native CLI harness (Codex, Antigravity…), a fresh handoff is emitted before the soft shutdown, with a bounded wait within the switch's client budget.
Version diagnostic: a module measures whether the code loaded in memory is still the code present on disk — content fingerprint comparison, not modification date. A value of 0.0 means "age unknown", never "up to date".
Freeze detection thread: a snapshot every 60 seconds captures each active terminal pane and detects whether a tentacle is working without making progress (stable fingerprint for 15 minutes despite an ongoing turn). No automatic action: the human decides.
Usage gauge: a single facade reads agentive CLI transcripts, deduplicates messages (up to ×11 duplicates measured), and returns the anchored 5-hour window as well as the last 7 days, broken down by camp (west / east). The producer (--refresh) and the reader (--cache-only) are separate to avoid a block if the scan exceeds the daemon timeout.
Headless launcher and bridge scripts
| Component | Role |
|---|---|
| Spawn bridge (node-pty) | Launches the agent in headless mode via node-pty and reads the output stream. Flushes the stream before the process closes to prevent pipe truncation (a result event was losing its last line on partial flush). SIGKILL timeout correctly cleaned up. |
| Post-deployment QA | Two-level verification after each deployment. |
| Live spawn dashboard | Real-time CLI dashboard of spawn activity. |
| Multi-profile terminal wrapper |
Selects the terminal session and binary according to the profile:
--continue) is ignored across incompatible harnesses: switching to Codex or Antigravity is always a new conversation. Current ceiling: 60 simultaneous tentacles. The terminal server is started via the user service manager to avoid inheriting the sandbox of the calling daemon.
|
| Tentacle opener | Opens a tentacle (Claude session) from a script, via the spawn button route on the hub. The only route that writes the session record. Waits for the active prompt (120 s max) then sends the mission. Can also close an existing tentacle. |
| Native Codex launcher |
Launches the official Codex CLI. Refuses to start if the binary resolves to the old legacy wrapper. Before exec, injects in fail-open mode an agent brief (configuration file generated from the session record, agent definition, and pool) so that a Codex tentacle does not launch without a persona. If the tentacle is the leader of a live pool, Codex's native sub-agents are disabled.
Security guard: refusal if the binary does not respond to --version as expected, if authentication fails, if the working directory is outside the approved root, or if the hooks file differs from trunk.
|
| Tentacle system scope | Launches a pane CLI in a named, capped user systemd scope, placed in a dedicated slice. Cause: an OOM incident took down the terminal server when uncapped panes saturated memory. Per-tentacle and per-slice caps are configurable; the throttle cap is disabled by default (throttling was freezing all tentacles). Fail-open if the scoping system is unavailable. |
| Tentacle freeze detector | Determines that a tentacle is "working" without making progress. Pure functions: detection of an ongoing turn ("esc to interrupt" visible or active timer), pane fingerprint (digits and spinner glyphs only), pending messages. A pane is frozen if its fingerprint has not changed for 15 minutes during a turn. No automatic action. |
| Per-tenant launch wrapper | Connects the tenant's MCP servers, adds --strict-mcp-config to scoped tentacles, then hands off to the profile binary. Full fail-open. |
| Muse hooks prefix | Muse only forwards a whitelist of environment variables to its hooks; internal variables were disappearing, preventing Muse tentacles from restarting. This script restores the missing variables from the ancestor process carrying the Muse harness, without eval and without overwriting existing values. |
Human commands and automatic responses
A mechanism allows a tentacle to post a command intended to be executed by a human: the command appears as a button in the cockpit. It can be declared explicitly or detected automatically in the last code block of the agent's response. A tentacle can also post a command intended for another tentacle, with target profile control and a guard against closed tentacles.
An automatic response mechanism allows one of the predefined responses from the "Buttons" modal to be typed into a tentacle every N minutes, up to P turns without human input. Guards: never during an active turn (two verification captures), never a destructive confirmation (closed list of forbidden patterns), always signed with a distinctive prefix. Configurable cap in turns.
Agentive CLI consumption measurement
A single measurement facade reads local agentive CLI transcripts, deduplicates messages (measured duplication ratio up to ×11), and returns two windows: anchored 5 hours and 7 days, broken down by camp. A model absent from the pricing catalogue appears in a dedicated list, never counted as zero. The quota for alternative harnesses (Codex, Muse, Z Code) is reported separately; the live read is never triggered on a schedule (no planned LLM call), only on demand.
Host system health
A system metrics module lives in the terminal daemon (not in the containerised application layer, which is blind to host processes). It measures: available RAM (MemAvailable metric), memory/CPU/IO PSI pressure (distress signal before swap or OOM killer), per-core CPU, load, disk, and RSS + CPU of each active terminal session (to identify who is consuming). A thread-based sampler every 10 seconds feeds an in-memory ring buffer of 6 hours; no database, no cron.
Sub-family — CLI → real-time cockpit bridge
Pipeline added to connect an interactive session to the real-time control interface: the session declares the chantier it is driving; four modules, two scripts, and two hooks then animate the cockpit via the event table. A kill-switch allows the bridge to be disabled without affecting the session. The bridge does not interfere if no binding is active.
| Component | Role | Invocation |
|---|---|---|
| Bridge piece 1/3 — binding declaration | Declares or revokes the binding between a session and a chantier in a temporary state file. | Library / CLI |
| Bridge piece 2/3 — event hook | Invoked on PostToolUse: reads the JSON input, synthesises an event, and pushes it to the event table if a binding is active. |
Hook |
| Bridge piece 3/3 — surface lifecycle | Turns cockpit surfaces on and off according to execution state: pulses running on the execution table, doing/done card on task status, polls every 5 seconds. |
Library |
| Cockpit fragment emitter | Emits on demand a fragment of type message (💬) or thinking (💭) in the cockpit timeline, under the binding's persona. | CLI / library |
| Negotiation journal | Emits semantic events in the negotiation timeline: note, strategy, decision, objection, next step… Never raw tool calls. | CLI / library |
| Bridge diagnostic | Checks the state of the binding, hooks, kill-switch, and last emitted event. Read-only, no side effects. | CLI |
| Bridge smoke-test | Isolates the binding on a temporary file, validates event synthesis and anti-leak masking in pure Python, without writing to the database. | CLI (test) |
| Console run worker | Detached Python worker that executes a scheduled run via the spawn bridge, persists each event, then updates the run status. Refuses to spawn if the cost cap is zero; pre-flight token cap check. | Worker (background) / CLI |
Sub-family — multi-LLM AgentRunner
Provider-agnostic agentive execution architecture: a common AgentRunner contract and N backends routed by job. All events feed the cockpit; costs are tracked in the accounting tables (zero hardcoded prices). Available backends: the native CLI backend (node-pty, unchanged), and direct API backends for several LLM providers via an OpenAI-compatible adapter.
| Component | Role | Invocation |
|---|---|---|
| AgentRunner contract | Defines the common contract and the CLI backend (wraps the spawn bridge without touching the task worker). Exposes backend resolution and cost registration functions. | Library |
| Multi-LLM FinOps foundation | Calculates the cost per (provider, model) pair from the pricing catalogue, aggregates by chantier with per-brand breakdown. | Library / CLI |
| New LLM model watcher | Lists the models actually served by each provider, inserts into the pricing catalogue any missing models (aligning the price on the last known model from the same provider and tier, marked "unverified"), and disables disappeared models under three guards: the model is properly dated, has not been billed over 30 days, and the disappearance does not affect more than half of the provider's models (anti-hiccup). A backup of modified rows is produced before writing. | Daily cron / CLI |
| Per-job backend router | Reads the backend field of the job and dispatches to the named backend, with fallback to the CLI backend on resolution error. | Library / CLI |
| Third-party provider backends | In-house agentive loop for several LLM providers via OpenAI-compatible format. Reuses the run result, event persistence, and cost calculation. | Library |
| Premium replay cron | Probes the primary quota (1 token) and replays tasks marked replay_on_reset that had been switched to a fallback harness during a cap event. Does nothing if the quota is still exhausted or if there is nothing to replay. |
Cron |
Sub-family — tentacle pool (fan-out)
A team of tentacles can be spawned in one action from the terminal hub. Each pool carries a shared envelope with two distinct bounds: a maximum turn count (one turn = one structured message) and a real cost cap in euros — neither replaces the other. Messages between tentacles in the same pool are typed and stored in the database; only short fields travel in the payload, large data goes through an artefact reference.
The fan-out refuses to create a pool if the estimated bootstrap exceeds the cap. A real consumption counter measures euros and turns after the first turn and freezes the pool (without killing any session) when either cap is reached.
| Component | Role | Invocation |
|---|---|---|
| Pool messaging |
Typed messages between tentacles in a pool, addressed by session and stored in the database. Sub-commands: send, inbox, ack. Before any insertion, a deterministic filter (under one millisecond, zero tokens) checks the geometric invariants of the payload — a message outside the floor is neither inserted nor forwarded to an LLM agent.
Mandate routing: a task can carry a result recipient ( chef by default, or juge) — with juge, the member's result is recorded at the leader then a relay is sent to the judge; the leader is only woken by the verdict.
The candidate is a SHA: on result submission, the facade reads the producer's git tree (clean tracked tree ⇒ HEAD SHA; dirty ⇒ refusal). The judge's GO opens the pre-production entry. |
CLI / library |
| Pool opening from a tentacle | A tentacle opens a pool itself in an arm from a conduit, without reimplementing the guards (empty arm, one live pool per arm, envelope within limits, live personas). One harness per member: the profile of a conduit cue is validated and carried on the member (some members under Codex, others under Claude). Opening a pool does not delegate any human gate. | CLI (tentacle) |
| Tentacle secondary missions | Manages a tentacle's secondary missions from the command line: list, add, close. A pool leader and its members can carry them. The primary mission always takes precedence. The pool stop criterion closes a secondary even if primary ones remain open. A secondary closes, never deletes. | CLI (agent) |
| Session worktree key | Single source of truth for a tentacle's isolated working directory key (Python side). A key recorded in the database takes priority over the recomputed key; a key foreign to the slug is rejected rather than silently accepted as a fallback. | Library |
| Tentacle skill scope | Determines which skills a tentacle sees in full. For a tentacle carrying an agent: skills in the agent's scope or the base are active; any other project skill displays only its name (masking without removal); external platform skills are cut off. Without an agent or without a base: nothing, launch unchanged. Kill-switch available. | Library / CLI |
| Automatic fallback on exhausted quota | Automatically switches pool tentacles to a fallback harness when the current harness quota is exhausted. Detection relies on specific structured error codes (hourly limit, insufficient balance) — a generic 429 or a network failure triggers nothing. Scope: open records, GLM or Z Code profile, pool currently running. The switch goes through the camp-switch route, with worktree key pinning. | Cron every minute / CLI |
| Pool leader detection | Determines whether the current tentacle is the leader of a live pool. Result as exit code (0 = leader, 1 = not). Fail-open if the database is unreachable. | CLI / library |
| Open tentacle harness switch | Changes the harness or model of open tentacles without closing them. Two routes: same brand, other model → model switch (thread preserved); other brand → camp switch (CLI restarted, thread lost, tentacle restarts from its objective). | CLI (skill) |
| Tentacle lane diff | Returns the diff between the lane base and the current HEAD (session commits and tracked uncommitted; untracked files and environment files are never shown). Beyond a byte threshold, only the file index is returned. | Library (daemon) + CLI |
| Pool budget counter |
Measures real consumption (tokens, turns, marginal API euros) against the cap. Rules:
|
Library / CLI |
| Session split thresholds | Single source of truth for split thresholds by harness × model × pool (dedicated table). Thresholds are lower in a pool (a tentacle re-reads its full context on each wake). Matching: identical model, then family (substring), then default value. Fail-open on silent database. | CLI / library |
| Codex context policy | Selects the Codex model and compaction budget, without network access. Re-reads the last model used in the transcript (the journal is the live source of truth); resolves the model cold (CLI, override, hub environment, resumption, profile, user config). Returns compaction thresholds from the session threshold table. | Library |
| DeepSeek models and environment | Source of available DeepSeek models (deepseek-flash, deepseek-v4-pro), isolated environment, and split thresholds. The API key is read from the environment or the environment file, never copied into command arguments. --check validates without writing. |
Library / CLI |
| DeepSeek balance and consumption | Queries the official DeepSeek balance with cache (TTL 60 s, stale beyond 300 s) and locally tracked consumption. Schema strictly validated; no quota estimation. | Library |
| Local delegation (confined counsel) | Opt-in confined counsel for a pool leader. The child agent has no tool, no MCP, no pool address, and no database access. Context is limited to tracked repository files (sensitive files rejected), output is bounded. Fails closed if database or identity are missing. | CLI (pool leader) |
| Inter-pool messaging | Messaging facade between different pools. Message types: observation, alert, question, response, acknowledgement. A message is an observation, never a task. | Skill / CLI |
| Tentacle spawn from a tentacle | Opens a tentacle in the calling tentacle's chosen arm, with persisted objective. Refusal: unknown caller, arm incompatible with mode, slug already live, arm at capacity. | CLI / skill |
| Tentacle automatic responses | Automatically types a predefined response into the "Buttons" modal every N minutes, up to P turns without human input. Strict guards: never during an active turn, never a destructive confirmation, always signed, capped in turns. No LLM. | Cron every minute / CLI |
| Pool stop criterion | Closed list of criterion lines (green/red/in-progress/to-confirm status) stored in the database. Only the judge can write. A line can carry a deadline; a deadline already past at write time is rejected. The pool is only reopened after the judge rewrites the criterion. | CLI / library |
| Pool heartbeat | For each pool that is in progress but unfinished and within budget, wakes the pool leader. The heartbeat sleeps if the pool is only waiting for a criterion deadline. Wait alert at 72 hours, escalation at 168 hours. A pool whose criterion is met is automatically closed. A commit by the producer counts as proof of work (the heartbeat does not restart the leader while they are committing). Zero LLM. | Cron every 5 minutes / skill |
| Native DeepSeek console |
Native DeepSeek console (DSH): one run per turn, conversation persisted by session identifier in the tentacle's folder. The session identifier belongs to DSH (the first turn starts without an identifier; the console re-reads it from the stream and replays it).
Secrets level: parity with Claude Code — full sandbox isolation (trunk read-only, working directory the sole write root), sensitive files masked by empty 000-mode files, secret directories mounted as empty tmpfs, system tool shims carrying the canonical guard at the head of PATH. Hooks bridge: trunk hooks are projected; PreToolUse is fail-closed; a tentacle refused without a bridge does not start. |
CLI (launched in the pane by the terminal daemon) |
| Bounded DeepSeek launcher | Launches the native DeepSeek console. The model and permission mode come from the hub via the tmux environment, validated on the Python side, never interpolated into a shell command. The API key does not transit through the script. | CLI (deepseek tentacle pane) |
| Pool producer commit status | A commit by a pool producer posts a status event on its open tasks. Fixes the blind spot where the heartbeat declared "idle" a producer who was committing without posting a status update. Silent outside a pool, never blocking. | Hook (post-commit) |
| Pool merge guard | A pool producer's commit only enters the pre-production branch after the judge's GO on its SHA. Three operations: hold (post-commit, sets a sentinel), target (called during merge-back if the sentinel exists), trigger (called after a GO, restarts the merge-back of held lanes). A subsequent NO-GO cancels the GO. | Hook (post-commit) / merge utility |
| Pool yield | Measures what a pool cost per admitted milestone (a judge admission verdict). Indicators: cost and messages per admitted milestone, leader wakeups, judged share. Read-only. | CLI |
| Pool recruitment | The leader of a live pool recruits an agent into its arm. A bootstrap of €0.25 is reserved from the envelope, returned if the spawn fails. Refusal: pool frozen or closed, agent already a member, arm full, out of budget. | CLI (leader session) / skill |
| Session and pool reconciliation |
Closes in the database what reality has already closed. Two passes:
|
Cron (four times per hour) |
| System 1 deterministic filter | Extracts geometric invariants from a pool message by regex and checks them in under one millisecond, without LLM tokens, before any dispatch. Also contains a pool loop/stagnation detector and a formal grammar compiler. | Library |
| Messaging wake dispatcher | Listens for PostgreSQL notifications from the inter-tentacle messaging system on multiple tables; sends the wake prompt only if the pane is ready (two confirmations), with exponential backoff capped. | Worker (system service) |
| Inter-tentacle messaging | Inbox and message sending between tentacles. All six profiles are recognised. Z Code handles a special case: a wake absorbed by input is detected and resubmitted once more without typing additional text. | Session start hook / library |
| Tentacle restoration after reboot | On machine startup, replays tentacles that remained open in the database: restores them in desktop order and relaunches each with resumption if the working directory is isolated. Stops at the first cap refusal. | Worker (system service, oneshot at boot) |
| Tentacle sovereign page | Manages a tentacle's public page: publication registration, URL reminder on startup, re-notification at commit and deployment milestones (with a 30-minute silence between re-notifications). Fail-open. | Library (PostToolUse + SessionStart hook) |
| Pre-switch handoff | If no filled and recent handoff is eligible before a switch, asks the outgoing session to write its own, then waits, bounded by the switch's client budget. Fail-open, never blocks the switch. | Library (daemon, before soft shutdown) |
| Session token counter | Incremental transcript read for the status bar: deduplicates by message identifier, resets to zero on /clear. Silent on error. |
CLI (status bar) / library (daemon) |
Sub-family — Codex harness (transport, sessions, brief, context guard)
Codex harness adapters: a transport module (JSON-RPC over stdio) feeds a session registry, itself exposed by the terminal daemon. A brief generator and a context guard are wired at launch and via hook.
| Component | Role | Invocation |
|---|---|---|
| Codex JSON-RPC transport | Manages the process lifecycle and JSON-RPC protocol over stdio. Does not decide on mission, profile, or tools. | Library |
| Codex session registry | Lifecycle registry for Codex sessions: one process per tentacle, one associated thread, turns, events, approvals, shutdowns. Validates session, model, approval policy, and sandbox. Experimental path; the multiplexed terminal remains the default runtime. | Library |
| Agent brief adapter | Generates the agent configuration file in the tentacle's directory, from the session record, agent definition, and pool (persona, mission, pool). Absolute fail-open (exit 0, no file if the database is unreachable). No secrets in the generated file. | CLI (called before Codex launch) |
| Codex context guard | Reads the tail of the rollout journal and, beyond a configurable threshold (80,000 tokens by default), refuses any new tool to force a compaction. Fail-open on any error. 6-second timeout. | Hook (PreToolUse, universal matcher) |
Sub-family — portable meta-harness
Profile registry, transportable skill package, hook relay to other harnesses, and session sentinel for those harnesses. The package and the registry are transport and discovery artefacts, never activation commands; installation remains a separate action.
| Component | Role | Invocation |
|---|---|---|
| Harness profile registry | Portable technical registry of harnesses (identifier, provider, runtime, camp, transport). The public manifest contains no command, no path, no secret. Available harnesses: claude, codex, glm, antigravity, muse, zcode, deepseek (native console since 22/10). Discovery and UX source, not a bypass of allow-lists. |
Library / CLI |
| Skill package builder | Builds or validates a portable skill package: profiles from the registry and skills read from the database, with control of absolute paths, directory traversal, and secret patterns. SHA-256 fingerprint included. Never an activation. | Library / CLI |
| Agent session sentinel | Monitors active sessions: kills search tools (grep, rg, find…) descending from an agent CLI beyond a duration threshold, flags CLI processes consuming excessive RAM. A retention pass truncates and purges Antigravity task journals. | Cron (every 5 min for the sentinel, daily for retention) |
| Hook relay to alternative harnesses | Relays Stop, UserPromptSubmit, and SessionStart hooks to Codex, Antigravity, and Muse. The payload is projected to the standard contract, the native transcript is converted, hooks execute in parallel with their timeout. Fail-open. |
Hook (Codex, Antigravity, Muse) |
Sub-family — Muse Code (5th native harness, Meta)
Muse Code (Meta, Muse Spark 1.3, Power subscription) joins the other harnesses as a tentacle CLI. Meta rejects datacenter IP addresses: any call without a residential network interface goes through a dedicated relay (local HTTP CONNECT proxy → SOCKS tunnel → residential interface). P0 hooks are projected to the Muse configuration file by the meta-harness generator.
| Component | Role | Invocation |
|---|---|---|
| Bounded Muse Code launcher | Launches Muse Code with hub values validated by regex before being passed as arguments (never eval). Enforces --trust-workspace (otherwise Muse does not load its hooks), disables automatic updates, forces the configured model. Rejects any contributor model. All traffic is routed through the local relay. |
Worker (launched by the terminal wrapper with the muse profile) |
| Muse HTTP egress proxy | Local HTTP CONNECT proxy in front of the SOCKS tunnel. Guards: listens on local address only, CONNECT method only, port 443 only, Meta hosts only. Tunnel absent → 502 (never falls back to direct egress). | System service |
| Egress service installation | Idempotently installs the two Muse egress services (SOCKS tunnel and HTTP relay), then verifies residential egress and rejection of out-of-list hosts. | CLI (manual action) |
| Muse turn via application server | Executes a Muse Code turn via the application server's JSON-RPC over stdio protocol. Reads quota and tokens from usage events. Does not decide on prompt or policy: the caller provides the model, sandbox flags, and environment. | Library |
Sub-family — In-Situ cockpit tentacle binding
The cockpit embedded in a client site is connected to the mothership: a request typed in the cockpit is delivered to the tenant's tentacle, which processes it and replies. The mothership opens an outbound SSE connection to each client site (no public port open) and replies via HMAC-SHA256-signed POSTs. The signing secret is configured on the tenant side and is never displayed. No LLM in the transport.
A request whose delivery fails is not lost: the database record indicates whether the request was received but not forwarded. A unique identifier per (tenant, request) pair guarantees that a replayed request is delivered only once.
Attachments are processed with the following guards: 3 images maximum, 700 KB, type verified on raw bytes (PNG/JPEG/WebP), SHA-256 fingerprint compared, antivirus analysis — nothing passes without a verdict.
A publicDemo flag set by the client site is stored and exported as an environment variable: paid tools are then disabled for that request by a
Family chantiers — seven-step workflow
The official facade for creating a chantier from an incoming email is the chantier creation script (steps 0a→4, under constraints). This same mechanism is exposed via the /chantier skill.
Main components
| Component | Role | Invocation mode |
|---|---|---|
| Chantier creation from email | Creates a client chantier from an incoming email | CLI / skill |
| Live monitoring (CLI) | Displays agent events on a chantier in real time | CLI |
| Mission letter generator | Produces a draft mission letter for a chantier | Library |
| Team manager | Manages teams recruited per chantier | Library |
| Session Active Record | Persistence layer for chantier sessions | Library |
| Discovery explosion pipeline | LLM pipeline: automatically transforms a discovery phase into implementation tasks | Worker |
| Post-explosion Atlas audit | Audits the Atlas map after a chantier explosion | CLI |
| Relevance audit | Evaluates the relevance of active chantiers | CLI (cron disarmed — see note below) |
| Drift detector | Detects chantier status drift and triggers the N0→N1→N2 cascade | Daily cron at 09:15 |
| Chantier observer (CLI) | Tracks autonomous chantiers in the terminal — filters ~95% of event noise to display only the useful signal | CLI / skill /monitoring-live |
| Negotiation starter | Initiates the work associated with a negotiation | CLI |
| Negotiation event enricher | Asynchronous worker: enriches negotiation events not yet processed | Worker |
| Negotiation reclassifier | Moves a miscategorized negotiation to the correct category | CLI |
| Lead scanner | Scans incoming leads from Calendly bookings | Cron / skills /malt and /inbox |
| Work QA engine | Validates a work item by its team; dynamically resolves the repository root from the active worktree (realigned) | Worker |
| Token estimator | Estimates the token count and recommends a model for a given task | Library |
| Token estimator prompt | Provides the system prompt and few-shot examples to the token estimator | Library (restored after false-positive purge) |
| Recurring pattern detector | Detects recurring patterns in task iterations | Cron |
| Pre-existing bug detector | Identifies bugs present before an agent run executes | Library |
| Lock cleanup (TTL cron) | Purges expired chantier locks | Cron |
| Cascade resolution E2E tests | End-to-end tests for cascade resolution | CLI (test) |
| Multi-terminal parallelism E2E tests | End-to-end tests for multi-terminal parallelism | CLI (test) |
| Outcome KPI refresh | Updates outcome indicators for chantiers carrying an outcome KPI | Daily cron at 17:00 |
| Chantier auto-arming | Automatically arms priority chantiers, gated by the relevance audit | Nightly cron (reconnected, see note) |
| Readiness audit | Evaluates chantier completeness for autonomy; consumed as a hard gate by auto-arming | Cron every 20 min / CLI / skill /chantier-audit |
| Equivalent API cost per chantier | Aggregates the equivalent API cost per chantier and feeds financial dashboards | CLI / Library |
| Billing mode toggle | Arms or disarms the flat-rate↔API toggle per chantier, with a cost ceiling | CLI |
| Chantier completion notifier | Sends a notification email when an autonomous chantier has completed all its tasks | CLI (event-driven, idempotent) |
| Work-to-tasks decomposer | Decomposes an existing work item into atomic tasks without creating sibling work items | Library |
| Oversized task decomposer | Fragments a task that is too large (repeated timeout) into 3 to 6 micro-tasks | Library (called by the task worker) |
| Test plan linter | Verifies that a pre-production test plan is executable (visual / SQL / code axes) and targeting the correct instance | Library |
| Test plan population | Generates machine-executable test plans for chantiers in the test phase | CLI |
| Autonomy window driver | Configures the autonomy time range per day of the week; source of truth read by the tick and the worker | Skill /fenetre-autonomie / Library |
| Chantier regime classifier | Classifies the regime and autonomy eligibility at request intake; result cached idempotently | Library (called by email-based creation) |
| Regime classifier prompt | Provides the prompt and few-shot examples for the classifier, editable independently of the network layer | Library |
| Run snapshot gate | Takes a snapshot of the repository state before a plan-mode run, executes a non-regression test, and automatically restores if the test fails | Library (imported by the task worker) |
| Regime reclassification (backfill) | Reclassifies active chantiers predating the classifier via the classification function; dry-run by default | CLI (imported by the readiness audit) |
| Chantier zone inference | Infers the code zones of a chantier with no zones from commit messages referencing it, to pull it out of the N2 dead-end in the drift detector | CLI |
| Objective-to-chantiers decomposer | Decomposes an objective into one or more autonomous chantiers via the regime classifier; triggers no execution | Library (called by the objective tick, cron every 10 min) / CLI |
| Page section probe | Counts pages with no section in a remote client's pre-production database; proves the seed wrote data without verifying content fidelity | CLI (launched as an outcome probe) |
| QA SQL executor | Executes the SQL axis of a QA proof against the real resolved target database; fails loudly on unknown target | Library (called by the QA engine) / CLI |
| Legal and solvency qualification | Queries public registries (SIRENE, BODACC, Pappers optionally) to legally and financially qualify a prospect; produces a solvency index and a structured deliverable | CLI / Library |
| Negotiation Active Record | Provides the full context of a negotiation (events, contacts, linked chantier, qualification) and structures the file with its deliverables; facade of the /negociation skill |
Library / CLI |
| Run Active Record | Provides the full context of a run and its resolved scope; facade of the "run = default path" doctrine | Library / CLI |
Important operational notes
Relevance audit — cron disarmed. The automatic scheduling line that ran the chantier relevance audit with apply mode and without LLM is currently commented out, following quota exhaustion. The component therefore runs only on demand, in manual CLI mode, until explicitly re-armed.
Drift detector — blind spot closed. A chantier can remain in planning status for weeks while the code in its zones has evolved elsewhere — in a concurrent run, another chantier, or through direct modification — or while it is dead without having been archived. The drift detector (daily cron at 09:15, with apply mode) corrects this bias: status no longer lies, and the backlog no longer displays as "in progress" what is no longer active.
Auto-arming — reconnected. The auto-arming component has been active since its re-arming. It now covers all priorities P0 through P3: the limiting factor is no longer priority but the weekly quota budget, bounded by the nightly pool and the off-peak window. References to a suspended state in older versions of this documentation described an intermediate state that has since been corrected.
Readiness audit — cron reactivated. The every-twenty-minute scheduling line (with apply mode, without LLM enrichment) is active again. Without this cron, readiness verdicts expired at 48 h and auto-arming stopped arming any candidates. Apply-only mode triggers no LLM calls.
Token estimator prompt — restored after false positive. This component had been placed in the trash by mistake during an automatic purge of inactive scripts, even though it is statically imported by the token estimator. It was restored the following day. Its deletion caused token estimation to crash.
Deleted components. Several scripts were placed in the trash during the inactive-script purge: the acceptance QA module for a specific chantier, the negotiation proposal backfill, the token feed from JSONL sessions, the run and question entity backfill, and the 80% budget alert. These components showed zero executions over thirty days and were referenced by no entry point (cron, hooks, skills, imports, system services). They remain recoverable for thirty days via the trash, after which they are permanently purged by the pruning process.
Sub-family QA orbit — automatic chantier closure
This sub-family implements the automatic validation loop that allows a chantier to transition from test status to completed status without manual intervention, provided all QA axes are green.
| Component | Role | Invocation mode |
|---|---|---|
| Chantier QA scanner (T1 — Turing agent) | Scans chantiers in the test phase with no recent verdict, triggers the QA orbit (T2), persists the verdict, and applies the test→completed transition only if QA is green and the chantier is auto-closeable. A safeguard checks site by site whether automatic shipping is authorized. Anti-spam: if QA is green but shipping is not automated, a single notification is sent. Cron heartbeat registered in the cron supervisor. | Cron every 30 min |
| QA orbit executor (T2 — Lovelace agent) | Actually executes the three axes of the pre-production test plan: visual (public and authenticated capture), code (test suite if present), SQL (SELECT-only blocks from the plan). Fail-closed aggregation: a required axis that cannot be executed or a plan that cannot be verified produces an incomplete result, never a false green. | CLI / Library (called by T1) |
| Anti-false-completed probe | Executes the probe command of a task, calibrates the reference value, and compares the baseline against the current value to prevent an intermediate task from transitioning to completed without the real-world state having actually changed. | Library (consumed by the task worker and the task decomposer) |
Sub-family auto-optimisation post-chantier
This loop closes the cycle on chantiers for which automatic analysis is enabled (default behavior since mid-2026). Upon chantier closure, the engine re-reads the entire event stream and feeds an aggregated, cross-chantier backlog. A second component, never triggered automatically, transforms a line from that backlog into a correction chantier.
| Component | Role | Invocation mode |
|---|---|---|
| Workflow analysis engine | Upon closure of a chantier with automatic analysis enabled, re-reads its event stream and runs, detects workflow friction points, and feeds the aggregated cross-chantier backlog — one line per pattern, prioritized by impact score. | Cron every 15 min (reconciliation mode) |
| Optimisation-to-chantier converter | Takes a line from the optimisation backlog and creates a correction chantier with its initial skeleton, then marks the optimisation as processed. Never automatic: explicit action only. Dry-run by default. | CLI (--optim <id> [--live]) |
Brainstorm Family
This family groups the components responsible for the idea lifecycle: from initial incubation through to promotion as an operational project, or conversely demotion back to idea status. The idea-processing engine relies on a dedicated job queue, drained continuously by a long-running worker. A safety net in the form of a single-pass scheduled task takes over in the event of instability in the main daemon.
| Component | Role | Invocation mode |
|---|---|---|
| Brainstorm queue worker | Drains the job queue of ideas awaiting processing; runs in loop or single-pass mode depending on the invocation mode. | Long-running worker / single-pass scheduled task |
| Incubation conversation with Atlas | Conducts phase 1 of the brainstorm: a structured dialogue with the Atlas agent to surface and refine an idea. | Command-line interface |
| Sequential challenger | Submits an idea to critical challenge by the high orbit — a step-by-step adversarial review. | Worker |
| Narrative summary generator | Produces a synthetic narrative summary of an idea upon completion of its processing. | Library (imported by other components) |
| Brainstorm → project promotion bridge | Advances a validated idea to the rank of operational project; also handles idea abandonment. Exposed via the /idee skill. |
Command-line interface / skill |
| Project → brainstorm demotion bridge | Mirror operation of the promotion bridge: demotes a project back to brainstorm idea status. | Command-line interface |
| Corpus qualification gateway |
Applies a three-stage check to any collection corpus submitted as a source:
The component lists the exclusion criteria that prohibit the use of a corpus as a source. It rejects non-conforming corpora without attempting to repair them. Exposed via the |
Library (imported by the forum article generator) / skills |
| Forum article extractor |
From a structured forum dialogue thread, extracts the thesis, speaking turns, jury, and validation seal, then proposes a publication destination for the client. Verifies that every factual paragraph in the article carries an anchor pointing to an existing turn in the dialogue. Writes and publishes nothing; no LLM calls. Available options: extraction, claim mapping, run selection, destination selection, JSON output. Exposed via the |
Command-line interface / skill |
Note on the safety net. The long-running brainstorm queue worker may exhibit instabilities in daemon mode. A single-pass scheduled task (--once) acts as the fallback: it processes pending jobs without maintaining a persistent process, ensuring the queue does not stall in the event of daemon failure.
Family: audits / quality / security
This family groups all automated tools dedicated to continuous fleet monitoring: data integrity, SEO coverage, security, accessibility, schema compliance, and rendering quality. Some run on a permanent cron schedule; others are strictly read-only or manually invoked.
| Tool | Role | Invocation |
|---|---|---|
| Global nightly fleet audit | Nightly pass over all fleet automations; produces a consolidated status report. | cron |
| Nightly multi-agent audit (read-only) | Multi-agent audit without automatic correction. ⚠️ Disabled: marked active in the registry but absent from the system scheduler — manual launch only. | manual |
| Fleet CMS tree watchdog | Detects CMS sections whose declared parent no longer exists (orphaned sections). These sections fall out of the navigation tree along with their descendants, causing 404 errors and a dead sitemap. Read-only; scans all fleet targets (--tenant to restrict to one client). Returns exit code 1 if orphaned sections are found. |
daily cron at 06:25; email alert on failure; CLI --tenant |
| Daily database schema audit | Verifies that the DB schema conforms to naming conventions. ⚠️ Disabled: absent from the system scheduler — only a schedule comment remains with no executable line. | manual |
| Drizzle ↔ DB schema drift detector | Detects discrepancies between TypeScript schema definitions (Drizzle) and the actual database state. Includes the pre-production demo target as a distinct target, so its drift never contaminates the main demo database. ⚠️ Absent from both the automation registry and the scheduler — manual launch only. | manual |
| Daily backup monitoring | Checks every night for the presence and freshness of DB backups on remote object storage. The retention policy (90 active days, then long-term archiving at 365 days) is set in configuration and re-read each night. Also monitors the nightly backup of a client's PrestaShop site hosted outside the main server. | cron |
| Monthly restore test | Performs an actual restore from the PostgreSQL dump stored in object storage to prove that the backup is usable. | monthly cron |
| Blog duplicate SEO radar | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days via the traceable trash, then permanently destroyed by the entropy detector. | — |
| npm and pip dependency security audit | Scans front-end and Python dependencies for known vulnerabilities. ⚠️ Disabled: absent from the system scheduler — only a schedule comment remains with no executable line. | manual |
| Non-intrusive reconnaissance orchestrator (Mitnick) | Runs a non-intrusive reconnaissance pass against every active domain in the fleet. Targets are read from the central registry (no hard-coded client identifiers). Replaces a previously deleted tool. | weekly cron (Sunday at 03:00) with overlap-prevention lock; Mitnick agent CLI |
| Redis / shared-cache guardrail | Detects the "PM2 restart with bare environment" scenario: on reboot, a worker may start without its Redis URL variable and silently fall back to the in-memory driver. In a cluster, this fallback causes a split-brain (two different renders for the same URL) and cache purges with no effect. Distinct from static PM2 configuration verification: this sentinel probes actual cache behaviour. | cron every hour (at minute 17) |
| Fleet pentest email alert | Reads new open findings of priority P0 or P1 that have never been alerted and sends a grouped email per client, only when such findings exist. | cron; CLI |
| Ephemeral security runner | Launches a single-use security container, discarded after each pass — no permanent attack surface. The image is built on demand. | CLI; lib |
| Hub endpoint leak probe | Performs unauthenticated GET requests against all hub paths of each tenant in production. A leak is characterised by a 200 status code and a Content-Type: application/json (a genuine hub endpoint always responds with JSON; a 200 in text/html is a neutral SPA catch-all, discarded as a false positive). A correctly locked endpoint returns 401 or 403. Email alert if a leak is detected. |
daily cron at 05:00 |
| WCAG 2.2 AA accessibility audit (static analysis) | Static accessibility analysis. ✅ Active — restored after nearly being destroyed by the entropy detector; actively maintained since its restoration. | CLI |
| Multi-agent blog post audit | Submits a blog post to a multi-agent review (editorial quality, SEO, consistency). | CLI |
| Public page quality audit and automatic resolution | Checks the quality of a public page and attempts automatic resolution of detected anomalies. | CLI |
| Agent data audit via API | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days via the traceable trash, then permanently destroyed. | — |
| Nuxt integration checklist verification | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days, then permanently destroyed. | — |
| Sitemap health audit | Checks sitemap health and alerts the Otlet agent. ⚠️ Disabled: absent from the system scheduler — only a schedule comment remains with no executable line. | manual |
| SEO internal linking and 404 audit | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days, then permanently destroyed. | — |
| Client site HTTP monitoring | Monitors the HTTP availability of client sites in production. ⚠️ Disabled: absent from the system scheduler. | manual |
| Full JSON monitoring report | Produces a complete monitoring report in JSON format, incorporating data from the system health agent. | cron; skill /status |
| Anti-hallucination automation | Fact-checking library imported by other automations to validate assertions before they are emitted. | lib |
| Lovelace heuristic QA review | Produces a GO / GO_WITH_WARNINGS / NO_GO verdict on a deliverable, according to a heuristic grid. | CLI |
| QA runner facade (pre-production test plan) | Orchestrates the execution of a structured pre-production test plan. | CLI |
| Nuxt front end-to-end tests for a client | End-to-end test harness for the Nuxt front-end of a reference tenant. | CLI (test) |
| Unified infrastructure audit | Infrastructure audit covering the main host and all tenants. | CLI; skill /host <target> infra |
| Unified security audit | Security audit covering the main host and all tenants. | CLI; skill /host <target> secu |
| Active Python automation classifier | Inspects running Python automations and classifies them by category. | CLI |
| Persona drift scanner | Detects discrepancies between declared personas and the production stack. | CLI; skill /persona |
| OSS-safety audit (tenant lexicon) | Verifies that the project core and public examples contain no client identifiers. | CLI |
| OSS readiness scan | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days, then permanently destroyed. | — |
| Route-health canary by page type | Monitors the 404 rate per page type (blog, category, product, detail page…) with zero tolerance per type. An entire section returning 404s may not breach the global SEO sentinel threshold; this canary alerts immediately when any single type exceeds its own threshold. | cron every 5 minutes |
| Multi-tenant smoke test |
Performs HTTP requests against fleet sites and fails if the response code is ≥ 500. Since July 2026, adds an asset integrity pass: on the home page and the login page, extracts up to 6 JavaScript/CSS assets referenced in the SSR HTML and verifies that they respond with 2xx — a valid page HTTP code does not prove that JavaScript is being served.
|
CLI |
| Hub route smoke YAML generator | Generates a YAML smoke-test file covering the hub routes. | CLI |
| Playwright runner POC (pre-production test plan) | Prototype Playwright runner for the structured pre-production test plan. | CLI |
| Lovelace QA gate | Shell script that submits a deliverable to the Lovelace review and blocks the ship on NO_GO. | CLI |
| Per-tenant Lovelace configuration | Defines for each tenant the table of authorised ships and quality thresholds, read by the Lovelace gate. | lib (config) |
| Post-ship health check with automatic rollback | Checks site health after a ship and triggers an automatic rollback if probes fail. | CLI (post-ship) |
| PM2 post-deployment guardrail | Verifies that a remote PM2 process has its full environment after deployment. | CLI |
| Local backup freshness and integrity check | Verifies the freshness and integrity of local backups. | CLI; skill /host <target> backups |
| Multimodal visual QA (火眼金睛 — Huoyan) |
Captures a page via a headless browser and submits the render to a multimodal LLM judge for a verdict on visual intent. Exposes three modes:
Since October 2026, HTTP authentication for protected pre-production environments is armed automatically before any capture — a 401 lock can no longer be judged as a broken render and reopen a delivered task. |
CLI; lib |
| Per-tenant post-deploy visual smoke | Performs a visual smoke pass after each deployment, based on a per-tenant verification catalogue. Non-blocking; returns exit code 2 if at least one check fails. | CLI |
| 3-axis QA proof assembler |
Produces the mandatory QA proof across three axes:
The client mail delivery facade refuses any delivery email without a complete proof on all three axes. Since October 2026, a tenant's QA account renews its expired session before any axis, eliminating false 401s. |
CLI |
| Authenticated visual axis QA (back-office pages) | Provides the visual axis of the 3-axis QA for back-office pages inaccessible to an unauthenticated headless browser. Drives the browser in read-only mode (navigation + screenshot), without manipulating any credentials. Returns exit code 3 if the back-office session is absent — never a false visual. | CLI |
| Lexical registry linter | Checks the consistency of the declared lexical registry: missing entries, divergent enumerations, forbidden synonyms. Strictly read-only (dry-run). | CLI; skill /audit-lexicon |
| Multi-tenant i18n SEO coverage audit | For each enrolled tenant and each active language, checks SEO metadata coverage (meta, slug, title, description). Ignores unpublished locale slots. | cron |
| Entropy detector (The Pruner) |
Detects orphaned scripts (absent from all dispatchers and from the scheduler) and registers them in quarantine before taking any action. Since July 2026, the role has been extended: the Pruner actually deletes, but never without a safety net:
|
cron three entries: 05:30 (scan + auto-trash); 05:45 (actual purge, arming required); 06:00 (report) |
| Traceable trash | Makes every deletion reversible: deleted files and records are moved to a traceable quarantine space before destruction. Restoration returns the object to its exact original location. Permanent destruction is disabled by default and requires an explicit authorisation marker. | lib (imported by the entropy detector) |
| Raw SQL ↔ Drizzle schema gate (pre-commit) | Refuses to commit a column referenced in a raw SQL query but never declared in the Drizzle schema. Analyses only modified and staged files. Returns exit code 0 if clean, 1 if a violation is found. | CLI (pre-commit gate) |
| Post-SEO-fix re-indexing tracker for a tenant | ⚠️ Deleted — no execution in 30 days, no active reference. Recoverable for 30 days, then permanently destroyed. | — |
| Static invariant "every lead is forwarded to Google Ads" | Refuses the commit if a leads table is not wired to the conversion upload tool. | CLI; hook (pre-commit gate) |
| Static invariant "every model in use is priced" | Cross-references (provider, model) pairs actually seen in cost logs and the default models of automations against the active pricing reference. If a model is used without a price entry, the calculated cost is silently zero — the corresponding scar revealed apparently free runs. Read-only; returns exit code 1 if an unpriced model is found. | CLI (manual — no cron or hook detected) |
| Fleet hardening gate | Alerts if a tenant production machine does not have the three expected protection locks against brute-force attacks. | daily cron at 12:10 |
| Silent-failure hook sentinel | Detects a wired hook that queries an unreachable database and fails silently in fail-open mode. | daily cron at 13:35 |
| Leads/conversions divergence monitor (runtime) | Detects at runtime situations where incoming leads are not captured on the Google Ads side. Complementary guardrail to the static pre-commit gate. | daily cron at 08:30 |
| P0/P1 scars without guardrail audit | Produces a weekly digest of high-priority scars whose associated guardrail is still in a "to do" state. | weekly cron (Monday at 15:25) |
| Static browser isolation invariant audit | Statically verifies isolation rules between the different actors that drive the browser (autonomous agent, founder, cross-session). Read-only. | CLI --scan; hook (pre-commit gate) |
| Pre-ship tracking e2e gate | Refuses the ship for a client if a tracking workstream targeting that client has not proven a green end-to-end chain. | CLI (gate) |
| Module system drift sentinel | Monitors the consistency of the module system (community / enterprise / core). Strictly read-only (dry-run). | daily cron at 22:25; skill /audit-modules |
| gclid → Google Ads e2e verification harness | Verifies server-side the complete transmission chain of the Google Ads click parameter through to the advertising interface. | CLI (test) |
| Doctrine ↔ enforcement integrity audit |
Cross-references declared doctrines with hooks actually present on disk and their effective wiring. Anomaly classes:
Read-only. |
daily cron at 10:40; skill /audit-doctrine |
| Lying comment detector | Detects and corrects code comments containing falsifiable assertions ("handled by X", "wired in cron") that have not been mechanically verified against live code. | CLI |
| Degraded header-shell cron sentinel | Detects under low concurrency a header-shell that is degrading; detective safety net over the fail-closed fix from a previous incident. | daily cron at 06:45 |
| DB-live invariant for agent code names | Verifies that every agent code name written to the database is a valid technical name and not a display alias. Monitors the relevant columns across all tables that reference this field. | daily cron at 12:20 |
| Anti-LLM-drain cron sentinel |
Complementary detection layer to the blocking session hook: the hook only filters crontab installations made within an agent session; this sentinel scans the live crontab (installations outside the session: direct SSH, manual editing, system repositories). The detection engine is shared between the hook and the sentinel — a single detection logic for both guards. The detector recognises any direct LLM invocation from a cron, regardless of the CLI used (violation marker naming the CLI actually called). |
CLI; ⚠️ no confirmed active cron line |
| "LLM script in cron" detection engine | Single library that enforces the no LLM in cron doctrine. Shared between the blocking installation hook and the sentinel that inspects the live state. A model consuming LLM registered in crontab silently drains the quota until the weekly cap. The exclusion rule filters out commands that only read a quota counter without making an inference call. | lib |
| Docstring debt sensor | Non-blocking mirror of the session hook: the hook filters at the critical boundary via a conservative regular expression; this tool measures in batch, by exact AST analysis, the docstring coverage of the entire Python codebase. | CLI; skill /audit-doc |
| Automation billing mode classifier | Statically analyses (without LLM, grep only) the code of each automation to detect whether it consumes LLM via a flat-rate plan or via direct API, and populates the corresponding column in the registry. ⚠️ Disabled: the cron line is commented with an explicit marker — manual CLI only. | manual |
| Scheduler ↔ automation registry sync | Synchronises the automation registry with the actual system crontab. Without this synchronisation, the scheduling column drifts and displays false "missing cron" entries in the dashboard. Non-LLM, parsing + SQL. | cron every ~7 minutes (0,7,14,21,28,35,42,49,56) |
| WCAG 2.2 AA accessibility audit (headless render) | Level 2 of the accessibility audit: headless browser + axe-core engine on rendered public pages, WCAG 2.2 AA violations on real HTML. Complements the static analysis. ⚠️ The module's own documentation cited an outdated file path — corrected. | lib (launched by the page auditor, level "Braille N2"); CLI |
| Common notification channel policy | Shared library used by all notifying sentinels: manages send rights, backoffs (15 / 30 / 60 min, capped at 2h), and distinguishes "problem detected" (warning) from "notification failed" (error). Born from an incident where 2,927 sends were silently lost. | lib |
| API 500 error watchdog | Probes all declared API paths across all active Nuxt sites in the fleet (~470 probes per pass), aggregates results, and sends an email alert per site. Incorporates the backoff from the common notification policy. Born from a silent 500 that went undetected for three months. | cron every 30 minutes (at minute 7 and minute 37) |
| Google Ads destination ingestion | Queries the Google Ads API to retrieve the actual destinations of active ads and stores them in the destination registry, so that the tag watchdog can probe them. The sync timestamp is only updated if the API responded. | daily cron at 06:15 |
| PrestaShop docroot integrity monitoring | Computes an MD5 fingerprint of PHP files in the PrestaShop docroot, compares it to a recorded baseline, and sends an email alert if the drift has changed since the last acceptance. ⚠️ No cron line on the main host — likely running on the relevant client VPS. | CLI |
| Per-session tool-call volume measurement | Calculates the median number of tool calls per session over 7 days and produces a verdict (regression / gain / ok) against target thresholds. Read-only. | lib (included in the global nightly audit, cron at 03:00); CLI |
| Tool-call measured taxonomy | Classifies volume, repetitions, and tool-call sequences from transcripts, without writing to the database or making LLM calls. | CLI; lib |
| Project tree audit | Compares the actual project tree to its declared map; --apply materialises the missing skeleton. Inert without the activated version marker. ⚠️ No active cron line. |
CLI |
| Pipeline canonical format sentinel | Non-blocking mirror of the session hook: verifies the conformity of declared pipelines (disk surface and database). Sends an email alert on drift. ⚠️ No active cron line. | skill /audit-conduite; CLI |
| Static invariant "the Constitution only references existing artefacts" | Extracts paths referenced in the Constitution articles and returns exit code 1 if any of them does not resolve in the repository. Born from an incident where three articles relied on an unfound file. | pre-commit hook (blocks git commit); CLI |
| Derivable field confrontation | Confronts declared computable fields with their actual recomputed values. Covers several invariants (MRR statuses, forum counters, tag counters…). Born from an erroneous MRR status of €1,500/month. Read-only. ⚠️ No active cron line. | CLI |
| "Waiting" disabled guardrail detector | Detects scripts disabled by the cron wrapper and commented cron lines carrying a reactivation condition, and replays that condition. Does not re-enable anything on its own. Email alert on critical cases. | weekly cron (Monday at 11:20) |
| Tenant e-commerce foundation audit | Verifies that a tenant intended for selling has all the non-negotiable PrestaShop tables in place. Born from a cloning incident from a showcase site. --vitrine mode for presentation sites. |
CLI; lib (imported by the operational smoke verifier) |
| Custom SQL escape watchdog | Detects unjustified double backslashes on a PostgreSQL target (blocking) as well as two ratchet debts (custom escape functions, interpolated values). Cold counterpart of the SQL escape hook. | daily cron at 14:45; skill /audit-sql-escape |
| Semantic cluster internal linking audit | Read-only check of the internal linking within category semantic clusters: ascending JSON-LD breadcrumb, descending sub-categories, cross-sibling links, orphaned default category (blocking), dead 301 category redirect (blocking). | skill /cocon-linkmap-audit |
| Human approval recording before client content writing | Records explicit human approval before any client content is written. Refuses to run if an autonomous agent is currently executing — an agent cannot self-approve. | CLI (outside a run, by a human) |
| Facet census for a product section | Takes an encrypted fingerprint of facets before any attribute normalisation (snapshot), then compares and refuses if the discrepancy exceeds the declared tolerance. | CLI |
| Fleet uniqueness contract watchdog | Verifies that the uniqueness constraints the code requires (ON CONFLICT) actually exist on all fleet databases, regardless of index name. Read-only. ⚠️ No confirmed cron line. |
CLI |
| Skill showcase publication gate | Mechanically decides whether a skill may be published on the public showcase. Forbidden terms (client identifiers, internal names) are read at each call from live sources — no hard-coded terms. When in doubt, the skill remains private. Recalculated at each skill indexing. | lib; CLI (report, read-only) |
| Measurement tag presence watchdog | For each tenant with an analytics configuration, verifies that every public page (sample by render mode and language, plus advertising destinations) carries the tenant's tag and serves its own configuration. Alerts if a tag is missing or if another tenant's configuration is being served. | daily cron at 19:45 |
| Canonical viewport breakpoint registry | Central library of screen-width breakpoints and associated Tailwind bands, including touch emulations. Eliminates duplicated breakpoint lists copied into each visual QA tool. | lib |
Sub-family: per-tenant QA system account
This sub-family sets up an authenticated, read-only QA session per fleet instance, without ever going through the founder's personal profile. It covers three back-office families: CodeMyShop hub (A), PrestaShop (B), and sites without a client back-office (C).
The registry holds only names and metadata; passwords live in the secure vault and leave it only within the process that needs them. An account is considered active only on live proof of a compliant 403. The sequence of operations is as follows:
- Automatic detection of the "to create" state.
- Account creation by an external action, under the founder's written approval.
- Password setting via the dedicated tool (
--poser). - Live proof of the read-only lock (
--vps).
| Tool | Role | Invocation |
|---|---|---|
| Tenant → QA account registry (read-only) | Provides for each active instance the back-office family, the administration URL, the creation mechanism, and the state of the associated QA account. Resolving an active account raises a typed exception if no account exists — never falls back to the founder's personal profile. | CLI --inventaire / --show <vps_name>; lib |
| QA account entry guard and watchdog | The "to create" state is deduced automatically (family A or B instance without an active account). The guard is called at each instance provisioning; any instance created without a QA account is born as a paused task (never picked up by the worker automatically). | CLI --vigie / --exiger <vps_name> / --creer-taches |
| QA account password setter |
Sets the password for a QA account in a single process, without going through the account's mailbox:
No password, token, or hash appears on standard output, in logs, or in command arguments. |
CLI --poser <vps_name> |
| Read-only lock live proof | Performs a POST request with an empty body against an administration endpoint and verifies that the response is a 403 carrying the read-only middleware message — a generic role 403 does not constitute proof. Returns exit code 0 if proven, 1 if not proven, 2 if the session is absent. | CLI --vps <vps_name> |
| Staging client account (pre-production) | A single client account per pre-production store, reused by all order-tunnel captures. Without this shared account, each capture triggered a registration and a welcome email. The password lives in the vault and leaves it only within the capture process. Production instances are refused. | CLI --poser <vps_name> / --verifier <vps_name>; lib (Playwright login) |
Sub-family: mockup ↔ render measurement (iso-Figma)
Deterministic tools that replace the prose verdict of the multimodal judge with repeatable measurements: vertical rhythm, whitespace, overlay contrast, structural DOM assertions, CMS section type catalogue. These tools bound the measurements; the multimodal judge qualifies them.
| Tool | Role | Invocation |
|---|---|---|
| Quantified Figma mockup ↔ render delta | Calculates the discrepancy between a mockup and a render in a content-invariant manner: vertical rhythm, horizontal grid, colour palette, DCT perceptual hash comparison between two PNGs or between a captured URL and a mockup. | skills /figma, /integration-maquette, /page-iso-figma; lib |
| Deterministic route-by-route comparison material | Produces the captures needed for the mockup ↔ render comparison for each route in the plan: capture with anti-lazy-load scrolling, maximum 2 parallel captures, JSON index and batch splitting. A partial re-capture (--route) replaces only the entries for its routes in the index, without erasing the rest of the corpus. |
skill /integrer-maquettes-restantes |
| Page whitespace locator (DOM) | On the rendered DOM, locates "ink boxes", scans top to bottom, and names the element that opens or closes each whitespace with its computed paddings and margins. Complements pixel-level measurement by providing the precise DOM address of each breathing space. | skill /rythme-vertical |
| Vertical rhythm in figures (image-based) | From images, measures the total, count, and distribution of whitespace (uniform bands). With two images, compares the alignment of mockup ↔ render bands (unmatched bands are named). | skill /rythme-vertical |
| Contrast overlay calculator | Calculates the overlay opacity needed to read text over a photo, by checking WCAG contrast at the lightest pixel after the overlay is applied. An overlay cannot be transposed from one photo to another. | skill /page-iso-figma |
| Repeatable structural page assertions | Checks structural rules declared in a JSON file: H1 uniqueness, images without src, forbidden links, breadcrumb presence or absence, maximum H1 height, touch targets, gutters, multi-breakpoint viewports. | skills /page-iso-figma, /integrer-maquettes-restantes, /qa-responsive; lib |
| Live CMS section type catalogue | Automatically derives the list of CMS page section types from the sources (render switch and database schema), distinguishing master and translatable tiers. An internal verification option fails loudly if text-based parsing becomes silent. | skill /page-iso-figma |
| Local browser for ISO-Figma captures | Provides a local browsing session for pre-production captures, independent of the remote driving box. Born from an incident where the remote box timing out produced "incomplete" results indistinguishable from a genuine result — 119 cases out of 648 passes. | lib |
| Corpus reference drift watchdog | Detects reference frames (Figma frames) that have changed after a conformity decision has been recorded. Complements the corpus watchdog for cases lagging behind Figma: here, it is the reference itself that has moved beneath our decisions. | CLI |
| Section image actual dimension survey |
Measures on the actual render the dimensions of images for each section type, since Figma mockups carry no per-node dimensions. The content builder thereby informs the editor of the expected size for each image field. Supports multiple pages in the same session ( The publication verdict is based on the consistency ratio of measured dimensions (10% tolerance, minimum 80% share, at least 2 occurrences). |
CLI |
Memory, Scars and Learning
This family groups the components that form the system's long-term memory: harvesting and qualifying past incidents (called scars), injecting that knowledge into the context of each session, vector semantic recall, nightly consolidation and lifecycle management of acquired knowledge.
Main components
| Component | Role | Invocation mode |
|---|---|---|
| Scar collector (removed) | Automatically harvested scars from the version history. Removed during a cleanup operation: no execution detected in the preceding 30 days, no active reference found. Recoverable for 30 days before permanent purge. | — |
| Scar feedback loop | Drives an agent's feedback loop on a given scar. | Internal library |
| Scar LLM requalifier / classifier | Batch-requalifies and classifies scars via a language model. Supports --limit, --id and --dry-run options. No active cron schedule. |
Command-line interface: |
| Active memory injector (session start) | Reconnects active memory at each session open (SessionStart event). |
Hook |
| Memory injector — agent event | Injects relevant scars before calling a sub-agent (PreToolUse:Agent). |
Hook |
| Memory injector — edit and read | Injects relevant scars before any filesystem operation (PreToolUse:Bash|Edit|Write). |
Hook |
| Scope checker | Inventories the scars that concern files touched by a workstream (the "candidate scope"). Addresses a blind spot: the producer received scars via injection, but nothing verified that it had acted on them. Matching is established from the file's relative path and its name without extension (generic or too-short names are not searched alone). Read-only — an empty output means no scar names those files. Supports --diff BASE..HEAD, --files and --json; feeds the "scope scars respected" criterion of the pool judge. |
Command-line interface (pool judge) |
| Scar KPI refresher | Refreshes the materialised view of scar indicators on a daily basis. | Cron |
| Retroactive deduplication — auto-detected scars | One-shot correction of a blind spot: the automatic task-reaction component was rewriting duplicates via a recurring pattern (shell trial-and-error, PID lock bug, runaway loops) because the former 24-hour idempotency had a variable signature. Retroactively merges those historical duplicates. | Command-line interface (one-shot) |
| Retroactive deduplication — non-auto scars | Continuation of the deduplication: handles scars not triggered automatically (task_failed, runaway, autonomie). The execution engine now stamps a canonical signature at nine sites; this script retroactively merges duplicates predating that fix. |
Command-line interface (one-shot) |
| Recurrence detector | Detects cases where a relevant scar existed but was not served, and where the error recurred. Prerequisite for bounding the injected context: context injection cannot be safely reduced without this sensor being operational. Scheduled daily (schedule corrected during an adversarial review). | Cron |
| Scar report generator | Produces a Markdown report and a post-verdict email draft. | Command-line interface |
| Scar generation shell script | Produces the same Markdown report and email draft; also used by the /apprendre skill. |
Command-line interface / skill |
| LLM learning engine | Produces improvement suggestions for scars qualified as learnable. | Internal library |
| Post-workstream lesson writer | Drafts a pedagogical lesson at the end of a workstream (Montessori retrospective). Used by the /apprendre skill. |
Command-line interface / skill |
| Nightly memory consolidation | Consolidates session memory during the nightly phase (up to 30 transcripts per run, with an overall timeout raised to 3,600 s). Currently disabled in the crontab (LLM quota exhausted): the scheduled line is commented out. | Cron (suspended) |
| Vector semantic recall | Performs semantic recall via vector search (pgvector). Lexical recall relies on a GIN index on a stored text vector, reducing query time from several seconds to under 200 ms. Used by the /memoire skill. |
Command-line interface / skill |
| User model loader | Loads a fragment of the user profile from the corresponding reference table. | Internal library |
| Semantic embedding synchroniser | Keeps the semantic memory vector store up to date. | Cron |
| Knowledge base indexer (Zettelkasten) | Indexes the internal knowledge base notes into the dedicated table. | Cron |
| Knowledge base synchroniser | Performs a bidirectional sync between the local knowledge base and its remote repository every 30 minutes: fetches notes written on the workstation (via Obsidian Git) and pushes outputs produced by agents (nightly consolidation, hooks). | Cron |
| Session indexer | Indexes work sessions (.jsonl files) into the dedicated table. |
Cron |
| Skill indexer | Indexes skill sheets into the reference table, then drives five independent gated passes after each update:
--help triggered a full run including deletions). |
Cron (every 15 minutes) |
| Automatic skill proposal generator | Automatically generates skill sheet proposals at the end of a win. | Worker |
| Skill proposal detector | Autonomously created skill sheets (Hermes pattern). Abandoned (explicit decision, crontab line commented with a dedicated marker) — no active entry. | — |
| Skill proposal monitor | Alerts the founder when skill proposals are awaiting validation. | Cron |
| Skill sheet template | Automatically generates the template for a skill sheet from a win pattern. | Internal library |
| Memory metrics collector | Collects active memory metrics daily and updates the corresponding summary document. | Cron |
| Priority reflex ranker (hotset) | Deterministic ranker (hit_count × exp(-age/τ)) that regenerates the "daily reflexes" section of the active memory document from recall telemetry. This document is a cache recalculated on each call, capped in size; its eviction was previously manual. Absolute-priority levels (P0 hard-floor) remain manual and intact. A new telemetry table records the consultation counter and last recall date; the semantic recall engine updates this counter on each served query. |
Cron (daily, with --apply option) |
| Context budget estimator | Estimates the context budget consumed in session. Used by the /context-status skill. |
Internal library / skill |
| Automatic context tracking hook | Automatically tracks context consumption after each operation (PostToolUse). |
Hook |
| Context tracking shell wrapper | Shell variant of the preceding hook, dispatching by tool type to the Python tracking component. Present on disk; wiring in configuration to be confirmed (the Python version is the active one). | Hook (wiring to be confirmed) |
| Context hard-floor manager | Loads and validates the manifest of immutable context blocks (P0 hard-floor). Used by the /audit-hard-floor skill. |
Internal library / skill |
| Declarative context loader | Selects relevant memory blocks according to the declared task type (task_type). Second layer above the P0 hard-floor, with a safe fallback (SAFE fallback). |
Internal library |
| Startup context size logger | Records the estimated size of injected context at the opening of each session in the task execution table. Fail-open. | Hook (SessionStart) |
| Automatic detection layer | Central library of the system's automatic detections. | Internal library |
| Session startup checks | Performs phase-0 checks at session launch. Not wired as a hook — invoked via command line only. | Command-line interface |
| Session shutdown checks | Performs session-close checks. Not wired as a hook; a stale reference in the configuration points to an old path (migration artefact, no effect). The real git safeguard on the Stop event is handled by a dedicated script. |
Command-line interface (not wired) |
| Context-threshold session splitter | Reduces the quadratic cost of long sessions by measuring the actual context (the message.usage field of the last response) and the turn count, then triggers a persistent handoff beyond the threshold (130,000 tokens). A native backstop mechanism at 150,000 tokens supplements this locally. Wired on three distinct events:
--emit-now) allows the agent itself to place the handoff stub during a harness switch, a case where the normal Stop hook is not triggered. A third threshold criterion monitors the memory of the tentacle (sum of RAM and swap of the control group containing the hook); configurable via environment variable, disableable at zero. |
Hook (Stop + PostToolUse --tick + PreCompact --precompact) |
| Last-handoff auto-recall at startup | Automatically reinjects the most recent handoff at the opening of a new session (start, clear or resume). Closes the split→resume loop, with anti-noise and anti-loop filters (24-hour window). A slug-based identification mechanism prevents a worker from picking up another worker's handoff when they share the same working directory in the same pool — including during harness switches (claude ↔ codex ↔ antigravity). | Hook (SessionStart) |
| Session restart signal manager | Drives the restart of a saturated session with strict separation of concerns. emit() declares a restart sentinel without interrupting anything; autorisee() decides in testable Python (sliding cap, anti-loop, filled handoff, TTL); consume() claims the sentinel in a critical section (one winning consumer). Primary guard: if the context is that of a worker (child session), no signal is emitted — the worker manages its own restart. Total kill-switch available. |
Internal library / command-line interface (--check) |
| Session supervisor (pane companion) | Companion script living in the same terminal pane as the interactive CLI, direct parent of the process. The Stop hook cannot itself trigger a restart (/clear is a client command, out of the agent's reach); this supervisor is the external executor that bridges the gap between the written handoff and the next SessionStart. It queries the restart manager, adds no local policy, and respects three strict rules: respawn only if it itself terminated the child process on a consumed sentinel; never respawn if the child stopped on its own (/exit, crash, SIGHUP); if the supervisor itself is terminated, it forwards the signal to the child, waits and exits without an orphan respawn. Successive optimisations: the "tool in progress" probe counts only direct children born after the sentinel; at rest, no probe process is launched; poll waiting is done via event notification rather than an active polling loop. |
Command-line interface (launched in the pane, companion of the interactive CLI) |
| Agent training engine | Spartan exercise engine for agent training. | Command-line interface |
| Shop AI assistant watchdog | Monitors the AI assistant logs for each shop: reads new lines since the last pass and sends a grouped email to the founder when no-reply, nothing-found or unavailable cases are detected. ok and question-engine statuses are only counted. The internal recipe is isolated from the visitor queue: cases matching a recipe scenario are removed from the visitor section and covered in a separate nightly report. No LLM; no automatic correction. Supports --dry-run and --status. |
Cron (hourly; daily nightly recipe) |
| AI assistant log dated purge | Mechanically enforces the data-retention policy for the shop AI assistant (legal condition: a written duration without an enforcement mechanism protects no one). Each night, per shop: texts (question, answer, cited sheets) erased after 90 days; conversations deleted 90 days after the last message (except those having captured an email or phone number); technical rows deleted after 13 months. One transactional SQL statement per shop. No LLM. Supports --dry-run. |
Cron (daily) |
| Appointment slot availability watchdog | Checks what a visitor actually sees when clicking "Book an appointment": does the site redirect to the booking page? Are slots available within the next 14 days? Below the threshold (3 slots), an alert is sent internally to the founder — never to the tenant's customer. Silence is not success. Supports --dry-run. |
Cron (daily) |
| Fiscal core major-version guard | Verifies that any change touching the register, chaining, closings, archiving or export constitutes a major version requiring a new attestation. The fingerprint of the files carrying these conditions is sealed. Sub-commands check (compare current fingerprint vs sealed), seal (recompute and increment covered version) and digest (write root and fingerprint into the attestation register). Pre-commit wiring to be confirmed. |
Command-line interface / guard |
| Portrait prompt generator | Generates prompts for Harcourt-style portraits. | Command-line interface |
| Nightly health report | Produces a health report across five dimensions (proprioception, coverage, debt, learning, automata) and records it in the dedicated tables. Returns exit 0/1/2 according to the health level (ok / warning / critical). | Cron / command-line interface |
| Semantic recall evaluation harness | Evaluates semantic recall quality (recall@k, MRR@10, top-1 vs frozen baseline comparison). Returns a non-zero exit code on regression. | Command-line interface |
| Scar publisher (staging) | Prepares and publishes public scars to the public site database after sanitisation and human gate (--activate). Currently suspended (LLM quota exhausted): the crontab line is commented out. Manual invocation remains possible. |
Cron (suspended) / command-line interface |
| Scar injector at agent spawn | Addresses a harness asymmetry: the Agent tool receives the synchronised cognitive framework from the database, but not the scars. This component performs a vector query on the embedding store, joins qualified scars (similarity threshold 0.45) and produces a Markdown "Previously learned pitfalls" block ready to insert into the spawn prompt. | Internal library |
| Scar pruning engine | Manages the scar lifecycle (Article 25): context link drift (--backfill), promotion of resolved scars applied 50 or more times (--acquired), archiving of dead contexts (--dead, never on an unknown signal). Dry-run by default; --apply, --all, --report. |
Internal library / command-line interface |
| Periodic pruning review | Drives pruning in --apply mode, escalates to the founder (backlog) the unresolved scars recalled 50 or more times, and emits a monitoring heartbeat. Deterministic, no LLM. Supports --report and --dry-run. |
Cron (daily, evening) |
| Standing instruction gleaner | Collects from local session transcripts the preferences and usage instructions that neither scars nor the knowledge base have captured. 100% deterministic, no LLM. Supports --jours, --sortie, --resume-seul. Note drafting happens in session, never in cron. |
Command-line interface / internal library |
| Knowledge graph (experimental) | Bounded knowledge graph experiment linking safeguards, scars, doctrines and files, extracted deterministically (regex, JSON, columns — never LLM). Sub-commands build [--apply], query, eval and shadow-report. Lazily imported (in shadow mode) by the pre-edit scar injection hook. |
Command-line interface / internal library |
| Active memory document canonical form | Defines and validates the canonical form of the active memory document (zones, per-zone budgets, markers). Protects the distribution across zones, not just the total — two successive incidents motivated this hardening. Dependencies kept intentionally thin (standard library only) as this is on the critical path of a hook. | Internal library (hook PreToolUse, hotset tool, consolidation script) |
| Client state surveyor | Surveys everything carrying a client's state: workstreams (via the three possible attachments), memory notes and knowledge base; verifies each cited reference against the live source. Read-only by default; --ecrire --bloc --marqueur allows placing a block in a workstream. Supports --tenant, --json, --seulement-suspects, --avec-mentions. |
Skill /notes-tenant |
| Instant handoff displayer | Immediately displays, without a model call, the card of the last handoff in the current directory. Addresses a blind spot: the CLI does not show the SessionStart hook banner right after a /clear. Options --all (lifts the directory filter) and --long (shows the full body). CLI counterpart of the /handoff skill. |
Command-line interface |
Automatic Documentation Maintenance Loop
This sub-family handles the autonomous maintenance of the public documentation: drift detection, mechanical repair, deep LLM-assisted regeneration, gated publication and synchronisation to the public site.
12-step pipeline (daily orchestrator)
The maintenance orchestrator chains the twelve steps below every night, under an exclusive lock, in order. A kill-switch in the database allows the entire loop to be suspended. Return codes 1 and 2 from sub-steps are informational statuses (drift present, critical health) — the orchestrator only exits non-zero on an actual crash. The complete loop transforms internal Markdown files into HTML chapters published on the public site, without ever touching the application code.
Resolved breakage (2026-08-13): a prior cleanup operation had erroneously deleted three components called by path as sub-processes (invisible to static analysis). The three files were restored more than a month before the last adversarial review; the corresponding steps have been executing at rc=0 since then.
| # | Step | Component | Timeout |
|---|---|---|---|
| 1 | Perceive | Proprioception mirror: detects drifts (code newer than docs, dead references, stale publication). Read-only. | 900 s |
| 2 | Coverage | Documentation blind-spot detector. Read-only. | 180 s |
| 3 | Anatomy | Organ status proprioception: compares the declared status to the actual state of the automaton. Reversible auto-correction downward only (asymmetry law); proposes without ever automatically elevating. | 120 s |
| 4 | Organ graph | Computes and seeds inter-organ edges idempotently. Read-only (derived upsert). | 30 s |
| 5 | Repair | Mechanical resolution of dead references by base filename, followed by a reversible commit. | 180 s |
| 6 | Regenerate | Deep regeneration: a headless agent rewrites the internal Markdown chapter, produces the public HTML, commits reversibly, passes the anti-leak gate (Mitnick check). If clean: automatic publication; if leak detected: block and founder alert. | Configurable budget + 1,800 s |
| 7 | Propose | Restaging of remaining derived chapters and synthesis email draft for the founder. | 1,800 s |
| 8 | Publish-doc | Staging of fresh drift then auto-activation of chapters passing all machine gates (leak, anti-guru, drift). The script self-terminates before the external limit so that the remainder is picked up on the next tick. | 3,600 s (external wall) / 3,000 s (internal bound) |
| 9 | Publish-organs | Synchronisation of organs from the mothership to the public site (UPSERT / inactive INSERT; anti-leak gates). | 60 s |
| 10 | Re-perceive | Second pass of the proprioception mirror after regeneration and publication. Without this re-scan, the health snapshot pushed to the public site would be the pre-regeneration one. | 900 s |
| 11 | Assess | Five-dimension health report computed on the final state (post-regeneration and post-publication). | 240 s |
| 12 | Publish | Synchronisation of the health/drift snapshot to the public site's live terminal. Best-effort (return code 2 if the public VPS is unreachable). | 60 s |
Maintenance loop components
| Component | Role | Invocation mode |
|---|---|---|
| Proprioception mirror | Detects drifts (newer code, dead references, stale publication) and populates the drift table and backlog. Read-only on code and documentation. | Cron (nightly) / command-line interface |
| Mechanical self-repair | Handles three classes of reversible, gated drifts: (1) dead table references resolved by unique base filename, (2) broken Markdown links resolved by unique base filename, (3) missing EN stub in the database when the FR chapter is published. Each class is gated separately (failure of one does not affect the others). --live option required to write and commit. Runs independently of the orchestrator. |
Cron (every 6 hours) / command-line interface |
| Mechanical dead-reference resolver | For each dead path cited in internal Markdown files, attempts resolution by base filename: 1 unique match → deterministic rewrite and commit; 0 or N matches → report and email to the founder, no rewrite. Exit 0 = all resolved, 1 = some references remain unresolvable. | Cron (via orchestrator, step 5) / command-line interface (--dry-run / --live [--commit]) |
| Regeneration cycle driver | Manages restaging of derived chapters, applies the Mitnick anti-leak gate and prepares the deep-regeneration brief and the synthesis email draft. | Cron (via orchestrator, step 7) / command-line interface |
| Autonomous deep regenerator | Launches a headless agent that rewrites a chapter, commits reversibly and publishes after Mitnick gate validation. Dry-run by default; --live required to write. |
Cron / command-line interface (--live) |
| Documentation publisher | Sanitises and stages internal Markdown files into the public database staging table. --activate = deliberate human gesture; --auto-activate = staging of fresh drift and automatic activation of chapters passing all machine gates, with a founder email on block. The dedicated crontab line is suspended (LLM quota exhausted); only the call chained from the orchestrator remains active. |
Via orchestrator (step 8) / command-line interface |
| Maintenance dial synchroniser | Synchronises the sanitised health and drift snapshot from the mothership database (read-only) to the public VPS database, feeding the site's live terminal. One snapshot per day (UPSERT); no writes to the mothership; best-effort (return code 2 if the VPS is unreachable). | Cron (via orchestrator, step 12) / command-line interface (--dry-run) |
| External review processor | Dequeues reviews submitted by the human centaur, evaluates them via a sandboxed agent with anti-injection protection (explicit delimiters, selective JSON field parsing — any out-of-spec field is ignored, any detected injection is logged without action). If the review is valid, the component signals regeneration to the orchestrator without triggering it itself. Cap of one review per run; exclusive lock; database kill-switch. Currently suspended (LLM quota exhausted); manual invocation remains possible. | Cron (suspended) / command-line interface (--once, --dry-run) |
| Documentation blind-spot detector | Compares the component inventory (scripts and database tables) against the names cited in the internal documentation, produces an idempotent snapshot of orphans. Read-only — inventories without creating chapters. | Cron / command-line interface |
| Post-regeneration critique sorter | After staging a chapter, re-evaluates the valid points of an external review against the new HTML content. Three classes: documentation drift (resolved by regeneration — autonomous); code gap (surviving — backlog escalation and founder digest email); scope confusion (multi-tenant expectations projected onto the mono-base harness — neither regeneration nor escalation, boundary signal). Anti-churn deduplication; cap of one review per run. | Internal library (called by deep regenerator) / command-line interface (--slug, --dry-run) |
| Organ status proprioception | Compares the declared status of each organ against its actual state in the automata table. Reversible auto-correction if an automaton is inactive but declared built (downgrade to partial); proposal only if the reverse (never automatic elevation). Exit 0 = OK, 1 = drifts detected. | Cron (via orchestrator, "anatomy" step) / command-line interface |
| Inter-organ edge computation | Derives edges idempotently (deterministic SQL, updated labels) and seeds manual edges once (INSERT if absent). Label taxonomy validated in the database: flux / compose / gouverne / veille / contraint / declenche. Safeguards: writes limited to the mothership database; rejection of labels implying volition or control; blocked forbidden edges in the database; kill-switch via environment variable; idempotency test (two consecutive runs = identical state). Asymmetry law: harden, never widen. |
Cron (via orchestrator, "organ-graph" step) / command-line interface |
| Organ publisher to public site | Synchronises organs from the mothership to the public site: UPSERT on existing slugs (editorial fields preserved), inactive INSERT for absent slugs. Anti-leak gates applied before any write. | Cron (via orchestrator, "publish-organs" step) / command-line interface |
| Automata schedule synchroniser | Computes the automata activity schedule (active hours, filtered on confirmed cron entries) and pushes a snapshot to the public site database. A label that fails the anti-leak scan is counted without being named. Same pattern as the maintenance dial synchroniser. Supports --dry-run and --json. |
Cron (daily) |
| Skill rename reconciler | Detects skill sheet renames via version history and persists the old slug → new mapping in the dedicated table (idempotent) so that the invocation history view remains consistent after a rename. Never touches the history table itself. Supports --dry-run, --json, --depuis. |
Command-line interface |
| Public skill synchroniser | Pushes publishable skills to the public VPS (name, pitch, size, date — never the sheet body). Dumps the target before writing, replaces in a single transaction, refuses if the source is empty while the target is not. Feeds the /skills page of the public site. |
Cron (every 15 minutes) / command-line interface (--dry-run) |
| Safeguard inventory (multi-harness) | Inventories safeguards from all active harnesses into the database: reads the wiring files, locates the file behind each command, extracts the rationale (the why) and updates the mirror table (SHA-256 fingerprint detects any drift). Supports --apply, --json, --parity, --require-parity, --require-p0-parity. Covers all active harnesses, including the most recent ones. |
Command-line interface |
| Public safeguard synchroniser | Pushes publishable safeguards to the public VPS (relative file, organ, event, matcher, blocking nature, FR/EN reason, incidents — never the command or absolute path). Same dump + single-transaction pattern as the skill synchroniser. Feeds the anatomy page of the public site. | Cron (daily) / command-line interface (--dry-run) |
| Editorial content re-snapshot | Copies editorial content from the mothership to the founder's local VPS database: reference tables (agents, automata, dictionary, pipelines, exercises…) and filtered translations. Backup before write, column parity checked, single transaction. Refuses to sync tables written by visitors or public mirrors. Supports --check (parity) and --run. |
Cron (daily) / command-line interface |
Adaptive Immunity
This sub-family detects recurring scars, derives proposals for enforceable reflexes from them, and submits those proposals for human validation before any arming. The P0 security model is strict: no proposal arms itself — the staging table has no activation column, and the reflex engine never reads from it.
Point of attention: the reflex template dictionary marks two templates (doctrine violation, missing tool in environment) as enforceable on shell commands, while the reflex engine is not wired to that event in the configuration. A reflex armed with this matcher would remain unevaluated in practice despite its enforceable status — a drift between the (stale) header comment and the template dictionary in the same file, to be confirmed.
| Component | Role | Invocation mode |
|---|---|---|
| Recurring scar detector | Applies a density-based clustering algorithm (DBSCAN cosine, parameters eps=0.06, min_samples=3) on the embedding store joined to qualified scars, in order to detect recurring patterns. The tight threshold prevents the formation of one large cluster. No cron schedule; supports --dry, --json, --eps, --min-samples, --min-purity. |
Command-line interface |
| Reflex proposal assembler | From the detected clusters, assembles proposals for enforceable reflexes and places them in inert staging via the safety contract. Also provides a daily digest section imported by the pruning component. No dedicated cron schedule; supports --generate and --section. |
Internal library / command-line interface |
| P0 safety contract | Validates each proposal before staging: action limited to deny or warn, validated arming level, anti-ReDoS pattern checked, mandatory proof. Never writes to the active reflexes table. |
Internal library |
| End-of-turn error detector | Hook triggered at each end of turn: reads the session transcript, isolates the current-turn delta, filters benign signals. Two branches: (A) a delivery command actually executed and blocked by the corresponding safeguard → behavioural lesson on the error output, exit code 2 and audit trace; (B) any other error signal (traceback, genuine error) → reflex proposal in inert staging via the safety contract. Safeguards: kill-switch via environment variable, anti-recursion protection, worker context detection, per-session anti-loop marker, full graceful degradation (exit 0 by default). | Hook Stop (first in the chain, 15 s timeout) |
Deliberation Organ (phronesis)
The deliberation component pitted several agents against diverging cognitive frameworks on a flagged decision, and surfaced a disagreement map for the founder. By design, the organ never decided — deciding remains a human prerogative (asymmetry law). This component was removed during the cleanup operation: no execution detected in the preceding 30 days, no active reference. Recoverable for 30 days before permanent purge.
Family "personas / agents" — maintenance
This group of scripts manages the lifecycle of agent profiles: synchronisation between the canonical repository and satellite components, regeneration of LLM configuration cards, and cognitive-weight monitoring for each profile.
| Script / tool | Role | Invocation |
|---|---|---|
| Canonical agent synchroniser | Propagates agents and their cognitive framework from the central canonical repository to the satellite component. Design doctrine: agents exposed in the satellite are not locally invented personas — they are the actual system agents, carrying their canonical cognitive framework. | Weekly cron (Monday evening), via the scheduled task manager. Review note (2026-09-14): a previous version scheduled this cron on Monday morning — the correct value is Monday evening. |
| Persona refresher | Regenerates an agent's configuration card via an LLM, applies a three-way diff, and submits the result for human review. | CLI or conversational skill: /persona <codename> --fix |
| Agent profile reader | Displays the full profile of an agent: reference data and the associated active rule corpus. | CLI |
| Cue sequence reader | Displays the behavioural cue sequence associated with an agent. | CLI |
| LLM card regenerator (main implementation) | Regenerates agent configuration cards for the LLM engine from the canonical repository. | CLI (repository root) |
| LLM card regenerator (cron shim) | Blind spot addressed on 2026-07-25: the scheduled task manager only resolves scripts located within its working directory; the main implementation lives at the repository root and is not directly eligible. This shim delegates to the actual implementation without duplicating logic. | Weekly cron (Monday evening, 0 23 * * 1), via the scheduled task manager. Review note (2026-09-14): a previous version cited Monday at 4 a.m. — the correct value is 23:00. |
| Portrait synchroniser | Copies each agent's visual portrait files (.webp) to their distribution destination. |
CLI |
| Personas test suite (Phase C) | Unit tests covering persona refresh, developed as part of the dedicated work stream. | CLI (test mode) |
| Selective auto-mode validator |
⚠️ DELETED — moved to trash (2026-07-17): no run detected over 30 days, no active references (scheduler, hooks, skills, imports, satellite modules, system services, LLM configuration). Recoverable within 30 days via the trash restore function, then permanently purged by the Pruner. |
— |
| Cognitive weight auditor |
Measures the cognitive weight of each agent profile at spawn time: profile size (capped + active rule corpus for the agent), compared against a warning threshold and a monitoring threshold. Reports orphaned rules (active rules attached to an agent absent from the canonical repository). Performs no trimming — the Pruner's role remains separate. Options: --json, --threshold, --warn. Returns exit code 1 if a profile exceeds the critical threshold. Blind spot addressed 2026-09-27; present on disk since 2026-08-09.
|
CLI — ⚠️ no active cron entry |
Points of attention
- Synchronisation doctrine: agents exposed in satellite components must always be derived from the central canonical repository, never created locally. Any divergence is treated as an anomaly.
- Measurement / trimming separation: the cognitive weight auditor measures and alerts; it never deletes content. The decision to trim belongs to the human review process and to the Pruner.
- Cron shim: the pattern of "a script delegating to an implementation outside the scheduler's working directory" is a deliberate architectural solution to avoid logic duplication while remaining compatible with cron manager constraints.
- Scripts in trash: the 30-day grace period following a move to trash allows manual recovery before permanent purge by the Pruner.
Family client messaging
Fundamental rule: no client email is sent directly by the AI. Every message goes through the dedicated sending façade, in two mandatory steps: draft creation (
--draft) then explicit sending (--send). A permanent guard blocks any direct SMTP sending attempt outside the façade. Credentials for mail server connections (user, host, incoming and outgoing password) are stored in host machine environment variables — never in plain text in the code.
GDPR Art. 21 guard: the façade refuses to create a draft as soon as the recipient address or its domain appears in the opt-out register (table retained indefinitely, never purged). Fail-closed behaviour: if the database is unavailable, the draft is refused by default. Any tracking link inserted in a scheduled draft must be covered by a valid note identifier; without this, scheduling is rejected — a manually pasted link previously bypassed this check.
Client message never scheduled: the façade causes any attempt to schedule (
--schedule) a reply in an already open thread or to a recipient identified as a client (by address, domain, or site, across all categories) to fail. Only a first contact with an unknown recipient may be scheduled (outreach); any message to an existing client is sent manually, after explicit validation by the founder. Fail-closed behaviour if the database is unreachable.
Sending façade and associated guards
| Component | Role | Invocation mode |
|---|---|---|
| Client email sending façade |
Full workflow: draft, review, send, archiving. Several guards are integrated:
Recent updates: "is now available" arms the delivery detection; any external announcement carries a delivery-type indication ( |
CLI (single façade) / client reply skills |
| Email façade guard | PreToolUse hook: makes the sending façade mandatory, blocks any direct SMTP send. | Hook |
| Incoming mailbox sync | IMAP polling of the main mailbox into the incoming emails table. | Cron |
| Direct IMAP connection (fallback) | Direct IMAP connection to the mail server — emergency fallback mode, merged into the unified /inbox skill. |
CLI / /inbox skill (fallback mode 1) |
| Email search by criteria (fallback) | Retrieves an email by sender or timestamp — ergonomic fallback mode, merged into the unified /inbox skill. |
CLI / /inbox skill (fallback mode 2) |
| Secondary mailbox reader (read-only) | Read-only façade on a second email mailbox. | CLI |
| Attachment antivirus scan | Antivirus façade on incoming attachments (Mitnick agent). | CLI / /scan-attachment skill |
| Static ZIP archive inspection | Bounded inspection of ZIP files after antivirus scan: no extraction, no execution. Limits: 256 entries, 64 MB, decompression ratio 200. Alert flags: dangerous path, duplicate, special file, encryption, ratio exceeded, executable, nested archive, macro, active PDF, active Office content, size inconsistency, unreadable. Any encrypted, nested, booby-trapped, or uninspectable file is flagged as suspicious. | Library (/scan-attachment skill) |
| Calendly booking sync |
Calendly bookings (new, modified, cancelled) are detected in the incoming mailbox by sender and subject; the UUID extracted from the event link serves as a stable key. Schedules are written in UTC; unknown timezone → Paris with warning. Idempotency by message identifier: a reschedule moves, a cancellation cancels, no appointment is invented. Sends no email. Options: --apply (default: simulation), --since, --jours N, --liste.
|
Cron / CLI |
| Exportable client file | Generates a Markdown document readable by a human and by an LLM, provided to the client on request. Permitted content: title, status, deadline, last update of the client's projects and work items; emails received from their domains and identified contacts; emails sent where they are a recipient or in copy (no drafts, no validation copies). A sanitisation function automatically removes secrets, internal paths, and references to other clients. Communication register, profile sheet, costs, and recurring revenue are never included. | CLI --client <codename> [--depuis YYYY-MM-DD] --out <file> / /dossier-client skill |
| Writing tone resolution | Resolves the communication register to use per client team member: the façade reads the tone recorded by individual address before that of the company. Whoever uses informal address is addressed informally and called by first name — not their entire team. | Library |
| Client context detector | UserPromptSubmit hook: detects whether a known client is mentioned in the founder's message and injects tone instructions along with a multi-source file (emails, commits, cron, logs, code). Only activates in the presence of a communication verb or object (draft, reply, contact, send…). The client reference is loaded dynamically from the database; a lead is recognised only by their full name or codename, never by an isolated word from their company name. First-name aliases allow recognition of regular contacts, with varying confidence levels. Kill-switches available to disable the detector or the client file. Inactive in nightly workers. | UserPromptSubmit hook |
| Backup failure email alert | Sends an immediate alert on backup failure. | Cron (callback) |
| Founder notification on cockpit events | Pushes an email to the founder on dashboard events (idempotent). Goes through the email façade. | CLI / library |
| SRE alerts | Email alerts on rollback failures and critical incidents. | Cron |
| AI API budget alert | Checks the monthly cumulative AI API consumption against the allocated budget. | Cron |
| Google Business reviews sync | Synchronises Google Business Profile reviews. | Cron |
| Malt automation | Login automation for the Malt platform (freelance account). | CLI / /malt skill |
| Attachment extraction | Extracts attachments from an email before antivirus scanning. | CLI |
| One-time-secret secure vault | Sovereign vault façade (self-hosted PrivateBin instance): deposits secrets as single-use URLs and can read an incoming deposit to decode it. Two directions: outbound (deposit, returns the URL only) and inbound (read, decrypts, verifies that the link points to the canonical vault; a "destroy after reading" deposit dies on that read). Zero third-party service, zero plaintext password in an email. | CLI / library |
| Founder morning digest | Email sent at 07:30 (Paris time, summer and winter). Aggregates overnight signals (emails, backlog, ongoing projects, crashes) and routes them with a pre-computed label (run, chantier, draft, noise) together with a one-line justification — the objective is to make morning triage a decision act, not a re-read. Carries the summary of alerts retained by the façade. The "to deploy" indicator is computed against the build reference actually served on the mothership VPS; if that reference is absent or corrupted, the digest writes "pre-production deployment not verified" rather than a false zero. | Cron |
| Client thread loop guardian (Nightingale) |
Detects two leaks on active client contact threads: (A) email received without an acknowledgement after an hour threshold; (B) thread resolved internally but never notified to the client. Sliding window to avoid noise from historical data. Modes: --draft, --send-digest, --json.
|
Cron / CLI / /boucles-client skill |
| Scheduled follow-ups (automated) |
Follow-up cadence at defined intervals (D+7, D+10, D+15, D+20, D+30), on verbatim pre-validated texts — the AI does not improvise. Goes through the email façade. Only the --dry flag lists due notices without sending. Cron line permanently cut (founder's order): follow-up is a relationship gesture, not a mechanism. A hook blocks any launch in send mode; only --dry is a compliant path. An actual follow-up goes through a draft shown to the founder.
|
CLI (cron permanently cut) |
| Sent folder thread reconciliation | Reconciles the Sent folder with the incoming emails table: a sent reply closes the "processed" flag on the corresponding incoming message. Temporal guard: the incoming message must have been visible in the database before the reply was sent — a delayed IMAP sync no longer marks as "read" an email nobody had seen. | Cron |
| Client email truth point | Cross-checks each incoming email from a client (and their team) against our sends, using the same thread engine as reconciliation (union-find on message identifiers). Returns a proven verdict per incoming message: settled with reply, probably settled, open, closed without reply, up to date without thread link, up to date. The database status proves nothing — the Sent folder is the truth. Read-only by default; manual closure is capped and logged. | CLI / /point-emails-client skill |
| Project tracking ↔ task sync | Bidirectional synchronisation between client requests and system tasks (last-write-wins reconciliation). | Cron |
| Loyalty balance mutation |
Client data mutation façade (loyalty balance) under traced authorisation doctrine: refuses to write without --authorized-by (explicit authorisation, never an invented value), logs the before and after state, executes the actual flow via the host infrastructure.
|
CLI |
| Screenshot annotation |
Annotates an already-captured PNG for a client reply: box with caption, numbered badge, legend title. Options --box, --from-json, --max-width, --legend-title. A box outside the frame is an error (--slack allows a bounded overflow). Captures nothing.
|
/reponse-client-annotee skill / CLI |
| IMAP Sent archiving |
Deposits an RFC822 copy in the IMAP Sent folder and confirms success only after an explicit OK response from the server. Tries available candidate folders; creates the folder if none exists. No dedicated entry point.
|
Library (imported by the email façade) |
| Contact coordinate collection (leads) |
Sourced collection of coordinates published on prospect websites. Never writes directly to the contacts reference: proposes pending observations with source URL and fingerprint, without email address inference, rejected if present in the opt-out register. Options --limit, --client, --apply.
|
CLI (simulation by default) |
| Site technology probe (leads) |
Cautious probe (GET only, 4 workers) of technologies and CMS on prospect sites. Adds an observation without ever modifying the main client record. Options --limit, --apply.
|
CLI (simulation by default) |
| Unhandled request escalation |
Escalating follow-up of unhandled client requests through to internal transfer (configurable age thresholds, daily send cap, persisted state). Internal follow-up only — never to the client, no LLM. Modes --scan, --run, --dry-run, --status.
|
Cron / CLI |
| CRM enrichment (one-shot) | One-shot script: attaches fiscal identifiers (SIRET/SIREN) to CRM accounts from the pipeline, then completes address and city via the French public company API. | CLI (one-shot) |
| Atlas → Founder sole channel | Sole messaging channel between the Atlas orchestrator and the founder. The email is sent from the canonical mailbox with a reply-to pointing to the Atlas mailbox, so the reply returns to the Atlas poll. Returns the real Message-ID read from the draft after sending — never a pre-fabricated identifier. Never raises an exception. | Library |
| Validation copy deduplication | Pure module (no network, no database): guarantees a single "To validate" copy per draft. Computes the replacement key (same recipient, same subject, same sender, same processing = same rewritten message) and identifies replaceable drafts. Imported by the email façade. | Library (email façade) |
Sub-family outreach / measurement note
Outreach writes a verified technical fact for a specific prospect (speed, flaw, vulnerability…), freezes the text validated by the founder, chooses a plausible delivery time on the recipient's side, then measures the return. Four distinct façades, none of which contacts the client alone. The GDPR Art. 21 opt-out register is checked by the sending façade itself — not by a hook.
| Component | Role | Invocation mode |
|---|---|---|
| Measurement note manager |
Builds a measurement note from proven probes (speed, technologies, SERP) and manages its lifecycle: --rendre previews, --valider seals (with mention of the validation author), --publier is a separate explicit gesture, --retirer invalidates a sent link with a traced reason, --purger applies automatic GDPR retention (notes older than 30 days, consultations older than 12 months, sends without reply older than 3 years). Never renders, seals, or publishes autonomously; no LLM, no paid API call during the outreach freeze. Publication and withdrawal are propagated synchronously to the tenant site; a propagation failure is reported with code 2 ("publication not propagated to site"). The note is written in correct French: official platform names, decimal commas, months in full, thousands with narrow non-breaking space. GDPR retention runs as a daily cron.
|
CLI (--purger as daily cron) |
| DataForSEO client | DataForSEO API client: balance, domain probe, backlinks, competitors (with marking of competitors declared by the client), ranked keywords, suggestions (with search intent), volumes, SERP. Cost is returned on each call. A guard blocks any paid call if the dedicated environment variable is active. Consumed by the note manager, the content generator, and the request analyser. | CLI / library |
| Outreach scheduler | Decides when a validated outreach is allowed to leave — pure function, no side effects (no SMTP, no writes). Window 07:00–08:00 (Paris time), Monday–Friday, daily cap (direct sends + B4/B5 delegation), cap per pass. Sealing computes a SHA-256 fingerprint of the validated body: if the text changes by one character after validation, the seal no longer matches and the message does not leave. | Library |
| Outreach sender (cron) | Dispatches already validated and sealed outreach messages via the single sending façade. Drafts nothing, no LLM, no network call outside the façade SMTP. Records each send in the tracking register at departure, without waiting for the ROI monitor. | Cron (window 07:00–08:00, Monday–Friday) |
| Outreach ROI monitor | Reconciles what outreach messages return, message by message: cross-references sends, incoming replies, clients, and DataForSEO spend. Groups by note or group of notes, detects consultation anomalies. Produces a weekly digest for the founder. Writes to no prospect — read-only. Distinguishes first contact and follow-up in reports (follow-ups have their own line in the register, without reply or appointment metrics). | Cron (3 times per day on weekdays + weekly report on Friday) / /demarchage skill |
| Appointment preparation monitor |
Detects Calendly appointments resulting from an outreach and sends the founder alone a preparation PDF to spec (never to the prospect). Matches Calendly notifications to a departed outreach, builds the PDF (discovery questions, offer without figures, pitfalls), sends via the email façade. Idempotency by message identifier. Company profile and solvency drawn from public facts only; a section without a source says so explicitly. Options --rendre (PDF without writing), --ignorer --motif. No LLM.
|
Cron / CLI / dedicated skill |
| Pre-appointment reminder |
Sends the founder an email one hour before each appointment, no LLM. Two sources: Calendly notifications in the incoming mailbox and the sovereign calendar (bookings from the scheduling page and appointments set by email). Sole recipient: the founder's mailbox — never the guest. One reminder per appointment, state persisted locally. Option --ajouter to manually register an appointment in the sovereign calendar.
|
Cron / CLI |
| Acquisition perimeter guard |
Checks on demand the "no client competitor" rule: returns the list of occupied sectors and refuses to return it if incomplete (--check). Never classifies an unknown domain.
|
/demarchage, /pagespeed, /prospect-qualifier, /prospect-ecrire skills / CLI |
| Online sales probe | Proves that a site sells online (PrestaShop, Shopify, WooCommerce): GET of the homepage then at most two public URLs. Verdicts: sells, catalogue, closed, platform without proof, out of scope, silent. Read-only. | /demarchage, /prospect-qualifier, /prospect-ecrire skills |
| Measurement note propagation | Pushes published notes to the tenant site by projection from the mothership database: replaces the tenant table in a single transaction and retrieves consultations idempotently. Called synchronously by the note façade on publication and withdrawal, and by cron every five minutes. | Cron / library |
| Email-based outreach agreement |
Allows the founder to validate an outreach by replying to the validation copy with "valide <token>". This reply schedules the draft (never sends it immediately). The seal and caps remain the sole arbiters of departure. A Re: reply is never filed as noise.
|
Library (Atlas IMAP poll) |
| Lead-to-client promotion |
Promotes a won organisation from lead to client: consolidates the record and its already-attested links, requires a won negotiation (--negociation <id>). Simulation by default, --apply to write. Does not build the technical infrastructure (VPS, domain, secrets).
|
CLI / /promouvoir-client skill |
Known blind spot: the speed and technology probes (consumed by the measurement note manager) do not yet have their own entry in this catalogue — noted rather than passed over in silence.
Sub-family native acquisition channels
Centralisation of acquisition channels with a per-channel dashboard. Database model: channels table (status, native/connected) and signals table for native channels; a view also projects connected channels (outreach, public tenders, Malt, forums) without duplicating them. All collectors are deterministic, no LLM, no writes to third parties: a signal exits in "spotted" status and only progresses through the existing qualification circuit.
| Component | Role | Invocation mode |
|---|---|---|
| Acquisition signal manager |
Sole write path into the acquisition signals table. Manages state transitions: spotted → qualified → contacted → appointment, no backward movement, "discarded" state is terminal. GDPR guard: nominative keys forbidden in data, fiscal identifiers and URLs validated, purge beyond the retention period (365 days by default). Options --canaux, --kpi, --purge, --json.
|
CLI / library (collectors) |
| BODACC collector (transfers) |
Collector of business sale and transfer announcements (open source). Retains the acquiring legal entity with fiscal identifier, filters B2B online SMEs (active SMEs, excluding consumer-facing sectors, textual online sales signal in the deed). Integrated perimeter guard (competitor of a protected client discarded, reason written). Options --jours, --apply (without: simulation), --json.
|
CLI |
| France Travail collector (job postings) |
Collector via the official job postings API (OAuth2 authentication, credentials in environment variables — never in plain text). Targets B2B SMEs whose posting mentions a web profile. Discards anonymous postings and employers whose business is recruitment or digital services. Options --jours, --apply, --acces, --json.
|
CLI |
| Electronic invoicing collector |
Collector based on four public observables: active and diffusible company, legal entity, SME category (mandatory issuance deadline on 1 September 2027), B2B invoicing flow visible on the public site (URL retained as proof). A mere mention of electronic invoicing on a site is documentary, never a filter. Options --offset, --limite, --apply, --json.
|
CLI |
| Invoicing channel measurement (read-only) | Measurement before any template send: legal size of targeted companies (within scope of the reform, excluding sole traders, non-diffusible, closed companies) and public signal on already-prospected sites. JSON result with 95% Wilson interval. | CLI |
| Prospect discovery worker (per tenant) | Bounded prospect discovery for a given tenant: cost known before the call, no email, no direct import. Candidates are persisted in the tenant database only. Claim before any network call; an interrupted job expires as failed and never replays a paid call. The search operator is quoted before transmission to the provider. | Cron (per tenant, with lock and timeout) |
Sub-family acquisition and communication delegations
The only two exceptions to the "zero automatic communication" rule on the prospect side and social network page. A delegations table (one row per bureau, inactive by default) and an append-only log (triggered by trigger). Activation belongs exclusively to the founder — no module command activates a delegation. Deactivation is open to all. Emergency kill-switches available per bureau.
| Component | Role | Invocation mode |
|---|---|---|
| Acquisition Delegation (bureau 5) |
What Atlas decides on behalf of the founder on the Acquisition arm. Four fail-closed gates:
statut, sceller --draft-id --geste, digest [--dry-run], oppositions [--dry-run], desactiver --motif.
|
CLI / cron (daily 18:00 digest) |
| Social network page Communication Delegation (bureau 8) | Second sealing regime for replying to comments on the social network page (public comments only, not private messaging or groups). Limits: 3 replies per day, veto right the day before, 800 characters maximum, no links, domains, emails, at-signs, phone numbers, or codes. Injection detection. Mandatory AI disclosure (validated by the founder). Refuses any content directed at existing clients, client competitors, amounts, promises, or time slots. A detected platform restriction suspends the channel for 30 days. | Library (page publication) / CLI |
Sub-family suction-cup email processing
An already-open suction cup replies to its client's emails without a new session: single batch per client, draft presented to the founder, departure only on "valide <token>". Sending remains under explicit validation — not an additional exception to the "zero automatic communication" doctrine. Chain: watch → thread and rules analysis → draft
--traitement N→ agreement → send → proof via the Sent folder.
| Component | Role | Invocation mode |
|---|---|---|
| Suction-cup processing watch | Watches unhandled emails from the team of the relevant suction-cup client, opens a numbered processing for the entire batch. States: open → (question ⇄ open) → draft → validated → sent → closed | abandoned. A single live processing per client at a time. Scenarios in database (bug, modification, administrative, question, information: instruction + QA proof requirement). Guards: the suction cup never sends without a consumed token, text refused if non-compliant, daily and per-suction-cup cap, single reminder to the founder if delay exceeds 2 hours. Kill-switch available. Audit of each processing via a dedicated view. No LLM in cron. | Cron (every minute, with lock) / CLI from the suction cup |
| Processing agreement | The founder's reply to a processing: "valide <token>" in reply to the draft copy (the email leaves immediately, settling the entire batch) or reply to a question posed in the suction-cup panel. Fail-closed: sender verified against whitelist and DKIM aligned. Plugged into the IMAP poll before the outreach agreement. | Library (IMAP poll) |
| Thread context for the suction cup | What the suction cup needs to know about the thread before writing: drafting rules common to all scenarios (verify before asserting, diagnose, commit to nothing, next action, distinguish "committed" from "delivered", a restored state requires a finding, requested video call accepted…), thread history (sent replies and prior emails), open promises. Our last reply is displayed in full; others are cut to 900 characters (signatures removed). Only the new portion is examined for repetition rules. | Library (suction cup, simulation, email façade) |
| Processing simulation (blank replay) |
Blank replay of processings — actually sent replies are reconstructed, the suction cup drafts blind (a case is only shown after the preceding ones have been rendered), then mechanical comparison and two separate judges. Speaks to nobody: no token, no copy, no send, no write to the processings table or the mailbox. Modes: --preparer, --voir K, --rendre K, --comparer, --dossier, --juger K, --bilan, --rejouer, --corpus, --taux, --effacer.
|
CLI |
| Processing validation tracking |
Measures how many drafts from a suction cup the founder validates as-is, per client: a processing sent after a single "To validate" copy is considered as-is, after multiple copies it was revised (the seal prevents sending a text different from the validated copy). Options --client, --depuis, --detail, --rapport.
|
Cron (weekly report) / CLI |
| Deal thread alert |
Mechanical alert: a new email on a deal thread notifies its associated suction cups (subject, identifier, sender, date — never the body). Read-only on the incoming emails table, no LLM, idempotent. Options --fil, --expediteur, --ignorer, --to, --dry-run, --test.
|
Cron every 5 minutes (one row per monitored deal) |
Sub-family professional WhatsApp
The draft → review → send triptych applied to the WhatsApp Cloud API (Meta) channel. A hook blocks any send without a previously validated draft.
| Component | Role | Invocation mode |
|---|---|---|
| WhatsApp sending façade | Draft → review → send triptych, modelled on the client email façade. | CLI (single façade) |
| WhatsApp reply composition | Composition of the reply draft for an incoming message. | CLI |
| WhatsApp incoming media retrieval | Retrieves and scans incoming media (the webhook inserts the message with the media identifier but does not download the binary). | Cron (every minute) |
| WhatsApp-to-mobile-interface relay | Relays each incoming client message to the founder's mobile interface. | Cron (every minute) |
| Email alert on incoming WhatsApp |
Email alert on incoming WhatsApp message, at most one alert per hour. Two mechanisms: idempotency (a notified message is never notified again) and hourly floor (60-minute minimum between two alerts). At most 12 detailed messages, 140-character preview. Options --dry-run, --force.
|
Cron every 5 minutes |
Sub-family PrestaShop community
Monitoring and public replies to merchants (PrestaShop forum, social network groups, social network page, LinkedIn comments). Publication is never triggered by cron: a guard checks who validated before any publication. Forum monitoring covers all European communities (multiple languages) with French translation for review. Under B8 delegation, the assistant replies to page comments alone.
| Component | Role | Invocation mode |
|---|---|---|
| GDPR purge of third-party messages |
GDPR erasure at 12 months of third-party data (excerpt, author, title) on handled topics. Retains decision, status, dates, seals, and our reply. Simulation by default, --apply to erase. No LLM.
|
Weekly cron |
| Community reply publication |
Publishes a reply to the PrestaShop forum, WooCommerce forum, Shopify Community, or a social network group under seal: --valider freezes the SHA-256 fingerprint of the text, --publier recomputes it before opening the browser (5 conditions checked including kill-switch). --lire-groupe in read-only. --reperer ID: QA without seal, verifies the presence of the form without writing or clicking. One channel per forum (5 replies per day, 60-minute gap). Guards before publication: thread status re-read live (closed, deleted, or already replied = refusal); no Markdown in a reply; refusal noted for the dashboard if publication is refused (never on an already-published topic). Direct publication after drafting, with a reactive cadence of 10 to 20 minutes and priority to fresh topics.
|
CLI / /communautes skill (never by cron) |
| Per-forum publication queue | One queue per forum. Scheduling sets a slot: quiet forum and active hours → immediate departure; otherwise last send plus random gap between minimum and maximum (never a regular step). Outside the time window (Paris) → deferred to morning at a randomly drawn minute; daily cap reached → next day. On each pass: at most one elapsed topic, published via the publication façade. Rhythm refusal → new slot; other refusal → exits the queue. The sole scheduled entry point that publishes a validated reply. | Cron every 5 minutes |
| Community watch | Monitors merchants asking for help publicly: PrestaShop forum RSS feed, Reddit and Stack Overflow Atom feeds (flagged only — the platform prohibits AI-generated replies), WooCommerce and Shopify Community forums. Only topics without a reply are retained. Also detects activity signals from the social network page. Ranked by whole words. Publishes nothing, no LLM. Target of 3 replies per day, including Sundays. | Cron every 30 minutes (07:00–22:00) / /communautes skill |
| Post-publication thread tracking |
Tracks threads where a reply has been published (less than 14 days). Shopify and WooCommerce via public HTTP GET; PrestaShop forum via read-only browser (the site returns a 403 error outside a browser). Options --dry-run, --jours, --sans-navigateur.
|
Library (watch) + CLI |
| Switch and cap per social network channel |
Manages the switch, cap, and circuit breaker per social network channel (public comments, groups, Messenger excluded). A detected platform restriction suspends the channel for 30 days. Options --etat, --suspendre.
|
Library (publication) / CLI |
| Social network page reader | Reads the founder's page via the Graph API (GET only, page token): Messenger topics (24-hour window) and page feed comments. Feeds the community watch. Replaces aggregated social network notification emails. | Library (community watch) |
| Social network page publisher |
Publishes the validated reply for a page topic via the Graph API: comments → reply to comment; Messenger → reply in thread (2000 characters maximum). Same seal as the forum publication façade, no browser. All gates checked before the first API call (seal, channel, kill-switch, B8 delegation). A Meta restriction code will suspend the channel. Options --publier ID_SUJET, --publier-valides, --dry-run.
|
CLI / /communautes skill (never by cron) |
| Social network page draft management |
Drafts replies for page topics and sends a daily validation email to the founder. --rediger (LLM, on demand, form guards) then --envoyer. Reply reading and publication live in the Atlas dispatcher. Drafting loops until guards pass; reecrire(topic_id, reason) rewrites the draft when the dashboard signals a form refusal.
|
Cron (drafting and sending, two passes per hour, 07:00–22:00, with lock) |
| Social network page validation dispatcher | Processes the founder's reply to the validation email, plugged into the IMAP poll before the client dispatcher. Only processes an email if it replies to a piloting validation email or carries its subject. Required proofs: sender on whitelist, DKIM aligned, matching message identifier. | Library (Atlas IMAP poll) |
| LinkedIn comment retrieval |
Retrieves comments under the founder's LinkedIn posts, via read-only browser (no official read API for a profile). One visit per post, one pass per day. The author is never named: pseudonym generated by HMAC (no name, function, or employer). Detects already-published replies under a comment and closes the corresponding topic. Options --dry-run, --post ID, --jours N.
|
CLI / /communautes skill / daily cron (20:50) |
| Graph API OAuth consent |
Manages Graph API access to a founder page: --lien builds the Meta consent link (HMAC-SHA256 signed state, valid 30 minutes); --verifier checks and renews the stored page token.
|
CLI (once per consent) |
Sub-family adult protection — Montesquieu mailbox
Protection file for an adult in a siloed schema hosted alone: 100% deterministic IMAP ingestion (no LLM, fail-closed on whitelist), attachment antivirus guard, then on-demand processing under the rule "the LLM proposes, the founder decides, the tool writes and traces".
| Component | Role | Invocation mode |
|---|---|---|
| Montesquieu mailbox IMAP poll |
Polls the dedicated mailbox into the siloed schema messages table (encrypted content). Whitelist in database, fail-closed: unknown sender not downloaded, not marked read. Idempotent insertion then "seen" marking. Process lock, heartbeat in cron register. Options --dry-run, --max.
|
Cron every 5 minutes |
| File attachment antivirus guard | In-memory extraction, generated name, antivirus scan, registration with fingerprint and verdict. The message is marked "safe attachments" only if all attachments are clean. Opens, classifies, and deletes nothing. CLI options to scan, import, label, categorise. | Library (IMAP poll) / CLI |
| File processing (on demand) |
On-demand processing (three-hands rule): --messages (read, traced in the access log), --classer (facts + transition to classified state in a single transaction), --ignorer --motif, --maj-demarche (update of a procedure, refuses unverified URLs), --pieces-message, --recevabilite. Never by cron.
|
/protection-majeur skill (never by cron) |
Sub-family AI telephone answering service
Telephone answering service for a tradesperson: the guard component and the audio bridge are held in a single process for structural fail-closed. The agent produces the call record; only the report component has the right to import the email façade. On failed pickup, the OVH voicemail is retrieved by IMAP.
| Component | Role | Invocation mode | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OVH telephony façade |
Manages the configuration of the answering service number
Blog, SEO and Content FamilyThis family groups the automations responsible for publishing, SEO optimization, blog article management, social distribution and internal linking. Each component operates in CLI mode, as a scheduled task or as a shared library; none contains hard-coded secrets. Publication Engine and SEO Optimization
SEO Sentinel and Audit
URL, Slug and Taxonomy Optimization
Sub-family — Site Mesh: SEO, Performance and Security PolesEach site in the fleet is scored on three poles (/100) in the central dashboard, each linked to a target goal /10. Everything is measured without LLM: scheduled tasks are permitted. The proof of a goal and the pole score share a single data source.
Sub-family — Google Search Console (GSC)JavaScript components run in the rendering container (GSC API access only, secrets decrypted from the environment). Python orchestrators invoke this container and perform database insertions. No secret appears on stdout, in logs or in the database.
Blog Content and Articles
Pre-Crawl Opening Audit
Sub-family — i18n Translations
Sub-family — Autoblog (drafting, relay, seeding and blog queue restocking)Daily chain: seeding → drafting (06:30) → scenes (06:45) → publication by the tenant worker → relay (09:xx, cover) → queue watchdog. Tasks that call an LLM carry explicit authorization in the LLM cron whitelist file.
Sub-family — Blog Article FAQsThree tools around the FAQ tables of a tenant's CMS articles. None has its own scheduler line.
Sub-family — Category CoversThe deposit target is read from the tenant configuration, never hard-coded.
Sub-family — Blog Covers (covergen)Article covers in photo-realistic style (via the Gemini image model), destination read from the tenant configuration.
Sub-family — Agent Dialogue ForumChain "no thread goes out without its text": the topic generator fills the queue (no LLM), the resolver proposes the source, the framer frames under a gate, the player plays and publishes, the scanner filters leaks. No cron; drawing remains an on-demand action.
Sub-family — Wave-Based IndexingA new domain does not deliver everything at once: the wave indexing table (tenant base) keeps thin pages in
Sub-family — Internal LinkingLinking is measured on Search Console data rather than estimated. Targets are read (sitemap, GSC data); an ambiguous candidate is dropped; each target is verified via HTTP before use.
Sub-family — i18n Glossary and Catalog Translation PilotA three-link chain for re-translating EN/DE product names in a catalog, backed by a domain glossary in the database. The linter acts as the gate; no write before link 3.
Sub-family — NetlinkingBacklink tracking and link request campaign. The Semrush scan requires an interactive session; the campaign runs by substitution in a validated template, never drafted by a model in cron.
Sub-family — SEO Optimization for Auto Parts Catalog TenantActual demand (Search Console, DataForSEO) is stored in a demand table then attached to pages; it drives SEO queue enqueuing and model selection by value tier.
Sub-family — Automated Social DistributionLinkedIn, Facebook and X posts drawn from four sources only: blog article, tip drawn from an article, delivery (week's commits), already-published forum reply. For short-form videos (shorts), the source is declared explicitly (mythology, AI influence, blog). As of 30 September 2026, nothing goes out without a validation click in the distribution queue. Drafting deposits in
Sub-family — Demand SEO, Monthly Report and Rank Tracking
Browser agent familyThis family groups all components that drive a real browser on behalf of the system — screenshots, shopping, ISO quality, video, jukebox, remote machine control. IP reputation protection is provided by a residential SOCKS5 proxy; Cloudflare reputation is not a concern here, as these agents run in full browser mode (headful) from a machine with a residential address, not from the mothership VPS. Playwright automation with residential egressThe base engine exposes Playwright behind a residential SOCKS5 proxy tunnel. It is used as a library by most agents in this family. A derived worker runs in full browser mode on the fleet's Windows machine. A command-line interface consumes the browser job queue: it dequeues pending jobs and dispatches them to the appropriate worker. ScreenshotThe screenshot component exposes two strategies:
The full-page capture engine can also photograph a panel that only appears on hover. The hover function targets an element by its text label. In case of ambiguity (multiple visible duplicates), a third disambiguation criterion applies: only the element within the frame of the photographed window is retained; if multiple duplicates remain within the frame, an exception is raised rather than making an arbitrary choice. This mechanism resolves the case of a megamenu where a navigation link shares the same label as a content link located much further down the page. Generic browser façadeThe generic browser façade centralises all CDP (Chrome DevTools Protocol) access to the various Chrome profiles in the fleet. It maintains a profile registry: the mothership's main profile, the shopping assistant profile, and a series of quality-recipe profiles, each associated with a distinct CDP port and launched on demand. Isolation rules are strict:
Profiles outside the OMEN machine (Mac, Windows box) have an honest CDP transport to the residential boxA low-level transport component establishes the CDP tunnel between the mothership and the OMEN machine (desktop box). It serves as a reusable foundation for any browser automation that requires the machine's residential IP or GPU. Residential box availability snapshotA read-only component retrieves the box state in a single round-trip: reachability, state of the two controllable Chrome profiles (CDP active and at least one controllable tab), and hardware metrics (uptime, RAM, disk, GPU). It attempts no restart or self-repair — that responsibility belongs to the watchdog component described below. Its output feeds the box availability dial in the hub. Chrome availability watchdogAn hourly monitoring component verifies that both controllable Chrome profiles (main CDP port + assistant profile port) are actually reachable and have at least one active tab. On failure, it attempts a restart of the corresponding system service and only sends an alert if several consecutive failures occur. Asserting the canonical launch flags ( Tab hygiene and flag assertionA weekly cleanup script ( Soulseek networkA single façade exposes the Soulseek capability of the residential box. It drives the headless Soulseek daemon via its local REST API, through the same SSH tunnel as the CDP transport, with no additional secret. It covers search, download triggering, and retrieval of completed files to the mothership. Hard limits apply: no file is shared without an explicit operator decision (sharing folder is empty at provisioning, never touched by this script), downloading only executes on explicit instruction (never in an autonomous cron), and the daemon API key is systematically masked in output. The download path is bounded (path-traversal protection). The façade is accessible via GET/POST routes of the hub command daemon. Adaptive shopping — engine, agent and web readerThree components cover the reading of merchant sites:
Shopping worker — assistant household pivotThis component runs as a system daemon on the mothership. It consumes the job queue and dispatches to the residential box for actions tied to the assistant household's shopping identity. It accepts three job types:
Any job type outside the whitelist is rejected without execution. The daemon runs in a tight loop (2-second interval) rather than a minute cron, to remain responsive in an interactive chat context. Deterministic e-commerce adaptersFive adapters cover the main merchant CMSs. Each exposes read operations (catalogue, product page, cart) and, where applicable, login and registration. None implements a payment selector.
Payment hand-off to the humanThis component is the final link in the shopping chain: the assistant builds the cart, payment remains a human action. It generates a cart-recreation link (Shopify, WooCommerce, without a session token) or product-page links as a fallback (Magento, PrestaShop, generic — the form token is not transferable). It never shares household credentials or the residential browser session. Operator Mac controlA computer-use façade allows the mothership to control the operator's Mac over native SSH: screenshots, clicks, and keystrokes. It is exposed under the Automatic Mac file sortingA script organises the Mac's downloads, desktop and documents by year then by type. It runs on the Mac itself (BSD stat, bash 3.2). By default it produces a preview; the apply option moves files without ever deleting or overwriting (numeric suffix on conflict). It is idempotent. An orchestrator script on the mothership triggers it every Sunday evening: it launches the sort in detached mode via the SSH façade, waits 90 seconds, then retrieves the report. If the Mac is absent (machine off), the pass is simply skipped and logged. Residential box RAM memoryA façade remotely drives the box's volatile memory store: it deposits and reads observations with TTL and quotas, triggers garbage collection, and queries statistics — without storing anything locally on the mothership. Options: Residential box system healthA monitoring component (daily cron) collects the box's full system state in a single SSH round-trip: loaded GPU module version vs userspace version (source of a past incident), kernel and pending reboot, memory, swap, disk, thermals. It exits with standard codes: 0 (OK), 1 (WARN), 2 (CRIT). It complements the Chrome watchdog, which monitors only the CDP layer. Ads pipeline synthetic canaryA test component drives the box browser in read-only mode to validate the tracking cookie → form link in the pipeline. It is non-destructive and replayable. Postal mail — preparation up to cartA façade prepares a postal letter on the Merci Facteur online service up to the summary step (PDF, recipient, registered/tracked/standard mode) via a browser session. It stops systematically before any payment button (coded protection: refusal of any payment label). Payment remains the operator's action. Options: Password vault lookupA façade reads the operator's password vault (spreadsheet read via the residential box Chrome): values are never displayed without an explicit option — only metadata is returned by default. The vault identifier resides in an environment file outside the repository. It also searches the web account registry (values always masked). Options: Expired web session recoveryA façade detects expired web sessions tied to the box's Chrome profiles and offers to resume them. It probes whether the session is truly expired ( Video generation — Flow façadeA façade drives the AI video generation service (Veo) on the residential box via CDP Playwright and the persistent Chrome profile. It exposes:
9:16 (short) format shots must comply with the editorial guidelines and carry at least one reference image, unless the Shorts bible and editorial guidelinesThis component is the editorial source of truth for short video production. It stores in the database the production foundation (technical rules, voice-over), characters, sets and props, validated references, scene-by-scene breakdown, frozen prompts and takes. Its main functions:
Shorts editingThe editing engine assembles a short from the selected takes of each scene, in script order. It rejects any spoken shot lacking a canonical voice. It cuts each shot at its speech window, chains shots with short cross-fades, applies global loudness normalisation, and adds verbatim subtitles scene by scene proportional to duration. A closing card and editorial invariants are applied: Courier Prime font, normalised margins, measured black and white, 1080×1920 format, duration ≤ 60 seconds. In A v2 of the editing engine adds per-shot options: duration of image alone before speech ( Voice dubbingThis component replaces the voice of a take with the character's official voice, preserving exact timing. The pipeline processes in sequence:
Conversion runs through a closed loop on a melody estimator: octave-aberrant frames are folded, the curve is smoothed by a 150 ms sliding median, then deviations are compressed by a gain toward the target pitch. The Short rhythm measurementThis component measures the rhythm of a completed short, shot by shot, to feed the hub's retouching panel. For each shot it produces: speech islands, silences, qualified speech rate, scanning stress points, melodic contour (F0), and editorial compliance checks. Stress points are linked to syllables by proportional alignment (the transcription service does not provide word-level timestamps) and marked as estimated. Per-shot settings are persisted to the database. "Replay" button — versioned re-editThis component re-reads the rhythm settings from the database and produces a new numbered version of the short ( Performance presetsThis component collects performance presets from the Retouch view: a preset is the performance text (in English, as the video generation service receives it) of a shot whose take has been kept. The registry is segmented according to the shot's position in the editorial alternation (opening, punchline, moral, other). The component is idempotent: an already-collected scene has its text refreshed; a scene that is no longer kept is removed from the active presets. Video generation workerThis worker drains the video job queue ( Timestamped YouTube transcriptionThis component produces a transcription with verifiable time references. Subtitles are retrieved from the residential box (residential IP required to bypass restrictions). The GLM AI service quota reportThis component reads the Z.ai AI service dashboard by scraping in the residential box browser, parses quota labels (5-hour limit, weekly limit, reset time) in both English and French, and writes a local state file. On failure (expired session), no file is written. It feeds the consumption tracking and GLM model call throttling components. Peritas sub-family — fleet Windows box
Windows box controlThe control façade operates at four levels, from most to least reliable:
A Windows SSH session cannot see the graphical desktop. Levels 3 and 4 therefore go through a session agent running in the user's graphical session: the façade deposits a request and waits for the agent's response. Sub-commands also cover chain diagnostics, session agent installation, and Chrome restart. Quality recipe under WindowsThis component validates the appearance of a page as a Windows visitor would see it. It launches Chrome then Edge at several zoom levels (100%, 125%, 150%) and in high-contrast mode, then measures the page from within:
The same pass is replayed under Linux to isolate what is specific to Windows. Options: Provisioning, jukebox, film library and editing sub-family — residential box
Box maintenanceA maintenance script intended to run directly on the box (interactive sudo) exposes sub-commands: read-only pre-flight check ( Lyrics alignment provisioningThis script installs on the box the word-level lyrics alignment environment for the karaoke jukebox. It installs ffmpeg without root privileges and creates a dedicated Python environment with explicit CPU PyTorch (the GPU driver was faulty at the time of initial deployment). Options: Karaoke v2 provisioningThis script installs the high-quality audio separation environment (bs_roformer model, ONNX Runtime GPU, PyTorch cu126 for the box's Pascal card). It refuses to overwrite an existing environment. WhisperX is deferred to a later phase. Options: Remote RAM memory provisioningThis script provisions the volatile memory store on the box (tmpfs Soulseek daemon provisioningThis script installs the headless Soulseek daemon (self-contained binary, Spotify capture workerThis box-side worker captures the audio stream from the official Spotify client via the MPRIS interface ( Karaoke reference snapshotThis script takes a read-only snapshot of the karaoke (median CTC score, percentage of weak segments, cache counts, instrumentals/vocals/sync) to drive the karaoke v2 quality workstream. It writes a timestamped JSON file to the state folder. Options: Karaoke completion tickThis script (hourly cron) completes the karaoke for freshly acquired tracks, in bounded batches (default 3), in order: word-level alignment, cache synchronisation, instrumental/vocal separation, vocal curve calibration, punch, library index refresh. It triggers no download. Jukebox deploymentThis script deploys the jukebox on the box (library server + karaoke builder, systemd service) and then on the living-room Samsung TV (repackaged Tizen application, signed, reinstalled via Samsung developer tools from the box). Options: Film library ingestionThis script remuxes MKV video files to MP4 (video stream copied, AAC audio at 192 kbit/s,
Network mount watchdog toward the boxThis component monitors network filesystem mounts toward the box (jukebox, film library). If a mount becomes unreadable after a threshold of consecutive failed attempts, it cleanly unmounts it; if the mount is missing while the box is reachable, it restarts the corresponding service. This prevents deployment failures caused by a stale network mount. The Box-side network watchdogThis component runs on the box itself (root timer every 5 minutes). It detects the case where the Tailscale tunnel is half-dead — discovery ping OK but ICMP/SSH blocked — without the box noticing (a past network incident). The service and timer are versioned in the repository as the source of truth; they must never be edited in place without porting the change back here. Network configuration — USB interface exclusionA NetworkManager configuration file, versioned as the source of truth, prevents the box from considering any network arriving over USB. Context: a phone sharing a USB connection was advertising itself as a network card, becoming the priority default route (metric 100 vs 600 for Wi-Fi) and cutting all traffic including Tailscale. The box has no legitimate Ethernet; ADB is not affected by this rule. Passwordless reboot authorisationA sudoers file, versioned as the source of truth, allows the system agent to reboot the box without entering a password. The scope is deliberately minimal: a single command, with no arguments (the empty argument prevents variants with the Box systemd unitsThe repository contains the source-of-truth systemd units deployed on the box:
The launch flags ( X server availability waitThis script waits for the X graphical server to be both reachable and authorised before launching a CDP Chrome. Context: the Android phone declutter (ADB)This one-shot script disables pre-installed entertainment and promotional applications on a Pixel connected via ADB to the box, using Figma sub-family — ISO mock-up quality control
Pre-check without LLMBefore any language-model ISO conformance check, this component validates the prerequisites for each route in the batch (marked MAJ, NEW or INT in the metadata): presence of the PNG in the corpus, correct extraction of the cropped mock-up, and accessibility of the route in pre-production. It exits with a non-zero code if any route is unmeasurable. Options: Figma comment readerThis component reads, via the residential box browser, the comments posted by the designer on their mock-up. It detects mock-ups declared as unfinished. It can prepare a draft reply or a new thread; actual sending requires explicit operator approval. Options: PNG corpus freshness watcherThis component (daily cron) compares the last-modified date of the Figma file online to the state of the local PNG corpus. It raises an alert if the corpus has fallen behind, without ever writing the cursor or retrieving any file. Exit codes: 0 up to date, 1 behind, 2 unreachable. Route × workstream cross-referenceThis component identifies which mock-up is carried by which workstream, per route, based on rules declared in configuration files and statuses read from the database — no LLM or browser involved. It detects mock-ups without a carrying workstream, prefixes spanning multiple workstreams, and ghost workstreams. Options: ISO gap partitioningThis component sorts the ISO conformance gaps from a batch into two categories — baseline gaps (repeated across multiple pages, detected by Jaccard similarity) and page-specific gaps (unique) — from the JSON verdicts of an existing check. It calls no model and makes no ruling. Options: Figma fill matchingThis component finds the source photo of a mock-up element among the fills in the Figma file (still-open endpoint) by visual similarity. It refuses to conclude without a retrieved witness — without this guard, the method would be declared blind. Options: PNG filename migrationThis Node script performs a one-off migration: it renames mock-up PNGs already on disk according to their full route slug, and synchronously updates the corpus metadata and the archive directory. A timestamped reverse migration map is written before any file is moved. Options: Figma Presentation mode captureThis component re-exports mock-ups via Figma's Presentation mode in the residential box Chrome, as an anonymous visitor, without any API or logged-in account: a full-frame capture with no Figma UI visible. Not to be confused with capture from the Figma editor. It detects content fallbacks and embedded screenshots. Options: Bank, Invoicing and Finance FamilyThis family groups the automation agents and command-line tools that cover the entire financial cycle: bank statement import, categorisation, reconciliation, recurring invoicing, overdue payment reminders, vendor expense tracking, tax indicators and cost-quota monitoring. Component overview
Main component detailsBank statement importerThis component parses a text file exported from the bank account. Several edge cases are handled at read time:
The script operates in read-only mode by default: it produces a diff file listing new transactions compared to those already recorded. Actual database writes only occur with the New transactions are distinguished from duplicates according to two criteria: an exact match already present, or an approximate match requiring manual validation. Each inserted transaction receives a unique external identifier composed of a prefix, the date, and the amount in cents, with an incremental numeric suffix in the event of a collision. Typical invocation:
Transaction categoriserThe categoriser applies a declarative rule set that maps each normalised vendor to a canonical category. The vocabulary is unified to avoid semantic duplicates (for example: food and groceries map to a single category, hosting and infrastructure to a single category, social contributions and their abbreviation to a single category). By default, only uncategorised transactions are processed. The European hosting vendors (several cloud-operator registries) are classified with their applicable VAT regime (reverse charge for providers established outside France within the European Union). Typical invocation:
Bank reconciliation engineThe reconciliation engine automatically matches each unreconciled revenue transaction to open invoices by exact amount and client identity. The resolution rules are as follows:
The
One-off invoicing and quote CLIThis component handles on-demand creation of invoices and quotes. PDF rendering is delegated to a specialised internal builder. Quotes follow a strict document charter:
The validation function raises a Overdue payment remindersThe reminder component detects clients with at least two invoices overdue by more than thirty days. The grouped reminder is prepared by the accounting agent, which generates a validation code (challenge). No email is sent without explicit confirmation of the code by the human operator. Available command-line options cover: code confirmation (
Tax indicator engine (FinOps)This engine computes, exclusively in read-only mode, the indicators for the micro-BNC regime: revenue collected into the business account, social contribution amounts due, provisions held, personal transfers, legal thresholds (VAT exemption, liberatory payment, micro ceiling), and liberatory-payment status.
The associated alert automation sends a summary every Monday morning and point-in-time alerts (D-3 before a contribution deadline, crossing 90% of a legal threshold, liberatory-payment deadline). A sentinel system using temporary files ensures that a given alert is sent only once. Transferable balance calculationThis component determines the amount that can reasonably be transferred from the business account to the personal account, by subtracting from the gross balance:
The component outputs an amount and a breakdown of provisions. It triggers no transfer. Archived components (decommissioned)Three components were removed during a cleanup of inactive scripts. They had recorded no executions over the preceding thirty days and were not referenced in any active entry point (scheduler, hooks, skills, imports). They are temporarily retained in a recoverable trash for thirty days before permanent deletion by the automated pruning process.
FinOps sub-family — budgets, caps and call mapThis sub-family measures the actual cost of language-model calls by querying the cost-traceability database. It never estimates expenditure: every indicator is based on recorded data. Quota monitoring components
Vendor expenses sub-familyThese components form the accounting counterpart of invoices received from vendors. None of them run as an active cron; they are invoked manually or imported by other components.
Household sub-family — personal accountingAn explicit boundary separates the professional scope (managed in Synedre) from the personal scope (managed in a dedicated household system). This separation ensures that personal flows do not contaminate the professional accounts.
GLM budget and throughput sub-familyThese components monitor and regulate consumption of the Z.ai model quota. The budget cycle is weekly (reset every Thursday morning). Measurement covers input tokens, output tokens, cache-read tokens and cache-write tokens recorded in the cost-traceability database.
Brand monitoring and market intelligence familyThis family groups the bots and tools dedicated to technology, competitive, and market intelligence, brand reputation monitoring, public tender tracking, and branding research (naming, logo, visual identity). Active scripts run on a cron schedule or are invoked on demand via skills; several entries are now archived or deleted. Active intelligence botsThe technology and competitive intelligence agent (codename Marco Polo) continuously monitors market trends, competitive moves, and technology developments relevant to Synedre OS and CodeMyShop. It feeds a shared intelligence database organised around four observation axes. Its cron entry has been removed; it remains manually invocable. Two complementary competitive intelligence bots — one focused on SERP monitoring of proprietary inventions, the other on benchmarking Synedre OS against multi-agent frameworks on the market — are present and functional, but their cron trigger is an inactive remnant: no command is associated with them in the scheduler. They remain invocable from the command line. Visual identity quality controlA visual identity compliance checker evaluates visual outputs against a scoring rubric structured into seven categories:
Invocation modes cover analysis of a local HTML file, a remote URL, and a gate mode that returns an error code if a blocking criterion is violated — enabling integration into pre-deployment pipelines. This script was deleted during a cleanup operation targeting inactive scripts (no run detected over 30 days) and remains recoverable for 30 days before permanent purge. Public tender monitoring (BOAMP)A tender watcher queries the public BOAMP API (OpenDataSoft, no key required) to detect relevant notices across four angles:
It also monitors published award notices to extract successful tenderers (SIREN number validated by the Luhn algorithm). Each retained notice is recorded idempotently in the market intelligence table; an alert is sent on first detection. No message is sent to any buyer or supplier. The script runs on a cron schedule on business days in the morning. The BOAMP chain comprises three complementary modules:
Malt presence monitoring and managementA set of bots manages monitoring of Malt conversation threads (freelancing platform): detection of new messages, structured extraction, generation of a reply draft in the desired tone, email alert with a one-click action link, and weekly availability re-confirmation. The cron orchestrator chains these steps automatically on weekdays.
Legal entity trackingA legal entity watcher monitors BODACC publications (official legal notices) and the administrative status of an entity via the public Advertising conversion uploadAn offline conversion uploader transmits order data to Google Ads via the Data Manager API, matching each conversion with the click identifier ( An OAuth token generation module allows, in a single invocation, the creation of a Google OAuth refresh token with the scope required for the Data Manager API. Google Ads conversion trackingAn advertising conversion watcher checks the visibility of conversions (sales and quotes) in the Google Ads interface after upload and reconciliation. Its cron trigger was disabled once both conversion types were confirmed visible; it remains usable in read-only mode ( Community publicationsA kill-switch and rate-limiter protects the community publication channel (forums, networks) against flooding: hard rate-limit per creator on a sliding window persisted in the database, activatable from scripts that trigger publications. Two static audits verify public responses (forums, Facebook): the first checks that the monitoring component has no write path; the second verifies that human validation is called before any browser action in the publication function. They run as a hook on any modification of a sensitive file. Sub-family: brand name research and logo generationFour tools published simultaneously cover branding research for a client: naming, availability checking, trademark prior art, logo generation. These tools propose; no filing or purchase is automated. Brand name availability checkThe domain availability checker queries the RDAP protocol (free, no API key) for each candidate Trademark prior art checking (TMview, EUIPO, INPI FR, IPI Switzerland) is driven via a dedicated browser session from the A search variant generator produces the terms to query in TMview for a candidate name: de-leetification, homophones, removal of sector-specific descriptive affixes. Because the TMview API searches in contains mode, variants shorter than the full name are never returned — this behaviour is documented. Pure string computation, no network call. Brand reportThe brand report generator assembles an A4 PDF summarising domain availability and pricing, the TMview prior art verdict, and filing costs by territory and Nice class. The fee schedule must be verified before any actual filing. AI logo generationThe logo skill capture layer drives an authenticated browser session to submit logo generation prompts based on design principles (restraint, legibility at distance) and retrieves each produced image as a clean asset (blob → base64 → 1024 px PNG), without resorting to a lossy screenshot. Two technical fixes have been applied:
Logo reportThe logo skill deliverable layer assembles a two-page A4 PDF: brand context (market, competition, target audience) and a 2×2 board of the four generated logos, with typographic and colour direction, a squint-test reduction, and the QA verdict from the specialist agent if available. WCAG contrast measurement and design token derivationA WCAG 2.2 contrast measurement tool computes the contrast ratio between two colours and proposes the closest compliant hue (by darkening or lightening at constant hue and saturation) up to the target threshold (AA 4.5 by default). It supports batch processing via a pairs file. A design token deriver analyses a supplied logo to extract dominant colours by pixel counting, measures their respective roles (primary, secondary), adjusts the primary colour for AA compliance, and produces the colour configuration block for the design system. It also generates an HTML visualisation board of the design tokens. This script precedes the Sub-family: logo vectorisationA raster-to-SVG vectorisation tool converts a sketch or bitmap logo into a single-colour, smooth-curve SVG. It is distinct from the branding research tools: it operates on an already selected asset, with no name search or AI generation. Vectorisation pipelineProcessing chains the following steps:
A quality loop (4 iterations maximum) evaluates each result:
The sub-agent is invoked as follows:
Score computed, not requested from the LLMThe quality score is computed deterministically from the sub-agent verdict, which classifies six defect axes on a closed scale:
A penalty schedule derives a 0–100 score from these classifications. An
Polarity and stroke weight correctionsPolarity: the script samples the four edges of the image to detect whether the logo is light-coloured on a dark background, in which case the binary mask is inverted before vectorisation. Without this detection, a light-ink logo on a dark background produced a white-on-white SVG, invisible. Stroke weight: a morphological adjustment distinct from noise cleanup (binary dilation / erosion) allows the stroke to be thickened or thinned according to Deployment, shipping, and infrastructureGeneral delivery principlesThe system distinguishes two production release gestures:
An unattended ship (nightly tick) additionally requires a validated quality proof. Before any deployment, the working tree must be committed: uncommitted changes would be discarded by the process. Shared deployment libraryAll deployment scripts rely on a shared function library that orchestrates the following phases:
Trunk guardA guard sourced by the shipping and deployment scripts systematically verifies that the command is launched from the root of the main repository and that an explicit target is provided. Without a target, the script stops immediately. If the current directory does not match the trunk, execution is refused before any repository operation. Secret scanner for build artifactsA dedicated tool inspects artifacts produced by the Nuxt build for secret values. It loads environment configuration files into memory, retains only variables whose name resembles a secret and whose value exceeds a minimum length threshold, and excludes booleans and numbers. Compressed files are ignored when their uncompressed original is present. The output lists only the variable name and the path of the affected file — never the value. Exit codes distinguish: no secret found, frozen secret, configuration error. Delivery logEach successful deployment or ship leaves a record in the delivery tracking table. This log, previously populated only by the hub button, is now also written by command-line scripts. It answers the question "since when has this commit been live?" and feeds the dating rules for automated processing. Writes are best-effort: a deployment never fails because of its log entry. The "oven" — remote build on M1The remote build machine exposes exactly three verbs via an SSH key restricted to a single authorized script:
The build machine never receives a complete secrets file and can neither reach nor push to the main machine. The oven setup script is idempotent: it creates a dedicated user with no elevated privileges, places the wrapper under root ownership, restricts the SSH key to the main machine's IP address, and forbids any file transfer or interactive terminal. The installed Node version exactly matches the main machine's. Pre-deployment checks
Infrastructure tooling
Backups and restore (S3 / Scaleway)
Main machine monitoring and hygiene
Main machine switchoverA set of specialized tools assists the cold migration of a main machine to a new one:
Legacy external site integrationA subset of tools manages a PrestaShop site hosted on an external server (third-party Plesk infrastructure, accessed via SSH and rsync). Production is only written on explicit action.
OVH facades (DNS, domains, email, API rights)All OVH facades rely on a shared API client that automatically handles transient errors (rate limiting, gateway errors) with two retries and re-signing on each attempt. Idempotent methods (reads, updates, deletions) are retried; creations are never retried, to prevent duplicates.
Access security and secret rotation
PrestaShop staging toolingA command-line facade orchestrates a disposable PrestaShop staging shop environment. It exposes the verbs Two significant fixes have been applied:
Founders' private space provisioningA tool provisions and validates the founders' private space without displaying or versioning any secret. It creates a dedicated PostgreSQL role, backs up the perimeter before any write, applies migrations in order (governance, dashboard, visual profiles), and stores the secret in a vault ignored by the repository. Without the Mobile vault and photo archivingA tool performs incremental nightly vaulting of photos from a mobile phone to archive storage. The phone being absent is a normal state (exit code 0, log entry), not an error. The source is read-only — nothing is deleted from the phone. OSS Family, Synchronization and MigrationsThis family brings together the tools that maintain consistency between the private monolith and the public OSS repository, drive schema migrations, and ensure data integrity across the tenant fleet. OSS Synchronization and Refactoring Tools
Schema Migration Tools
DropXL / vidaXL Supplier Catalog ConnectorsThis sub-family covers the feeding and maintenance of the product catalog from the DropXL and vidaXL dropshipping suppliers, as well as the migration of images to sovereign object storage.
Auto Parts Catalog Scraping and ETLIdempotent sitemap-driven pipeline to a remote e-commerce staging environment: scraper → images → injection. Scope: approximately 32,000 product listings (turbos, injectors, high-pressure pumps, additives). Cloudflare anti-ban protection; incremental cron with overlap-prevention lock. The HTTP foundation (session, backoff, anti-ban, throttle) is extracted into a shared module reused by multiple scrapers.
WooCommerce Catalog ImportTransfer of a WooCommerce store's public catalog to CodeMyShop: read-only access to the public Store API, no database writes, no deployment.
Competitor Price ComparatorFeeds a PrestaShop back-office module that displays, alongside each product's native price, the price recorded at competitor sites. Distinct from the catalog import pipeline: this comparator compares prices, it imports no product listing. Reuses the shared HTTP scraping foundation. One competitor is processed per night (scraping a competitor takes 3 to 5 hours at a rate of 4 s per request); competitor activation is read from the database at each execution — the crontab says when, the database says whether.
Demo Seeds
Loyalty Redirect BatchThree tools form a single batch: prepare the TSV file, back up the redirect table before writing, then load the batch into a temporary table (dry run, then apply). None writes to production without the
Auto Parts Catalog — AutoKUR TenantScripts that build and maintain the AutoKUR tenant store (catalog, FAQ, images, emails, prices). Common convention: dry-run by default,
Grouping Variants into CombinationsChain: plan (dry-run) → independent audit → application → "no URL lost" QA → section-by-section deployment. The write option requires explicit confirmation.
ERP Supplier Connector (sovereign connector project)Three complementary components: the transporter retrieves data from the supplier ERP, the orchestrator controls the synchronization cadence, the sink writes to the database. No live cron line at this time.
Color Combination Grouping (sun lounger section pilot)Pilot for grouping product listings of the same family (colors) into combinations on a parent. Three stages: plan (dry-run, JSON) → application (transactional SQL, explicit gate) → post-execution audit on the live database.
PrestaShop 9 MigrationFour tools that support the migration of a legacy PrestaShop 1.6/1.7 site to a PrestaShop 9 staging environment with an enf Obsolescence monitoring and test harnessesThis family groups the monitoring tools, obsolescence detection tools, and peripheral test harnesses that complement the Synedre OS automation infrastructure.
3D Workshop — end-to-end bespoke configuratorThis sub-family covers the complete 3D production chain: from the client moodboard through to factory-ready drawings, including modelling, geometric QA, and delivery to the client site.
3D volume generation and publishing
3D production chain — intermediate plates and control gatesBetween the text prompt and the final quad cage, production relies on a complete chain of intermediate plates and automated control gates.
Semantic segmentation and facial landmark detection
Likeness QA and dimension control
Adult protection file
Automaton governance — crontab ↔ database synchronisationFour tools that derive an automaton's state from the code and crontab (docstring, dependencies, duplicates, zombies) instead of guessing it or entering it manually.
Jukebox and karaokeLyrics and artwork pipeline for the jukebox: word-level alignment, periodic scan, fallback artwork, and artist portraits.
Supervision watchdogs — alert correlation and escalation
Inventory of automation harness hooks
Hooks in the local configuration file (main facades)This first file wires the fundamental session guards and immediate write guards:
Hooks in the main configuration file (shell orchestration layer)An entire orchestration subsystem — distinct from the main facade catalog — lives in a shell script folder. These scripts frame, filter, and route agent actions before and after each tool call. Since both configuration files execute sequentially, the total number of active hooks at session start is nine (3 + 6), not eight. Session start (6 hooks)
User prompt submitted (7 hooks)
Before Read tool call (2 hooks)
Before Bash tool call — 1st group (80 hooks as of 2026-09-27)This group constitutes the longest guard chain in the harness. Blocking guards (exit 2) are flagged; all others are nudges or fail-open guards.
Before Bash tool call — 2nd separate group (4 hooks)
Before Bash tool call — 3rd separate group (1 hook)
Before Edit or Write tool call (31 hooks)
Before Edit, Write, MultiEdit, or Notebook tool call (14 hooks)This trigger covers two additional tools compared to the previous one (MultiEdit and NotebookEdit). Both chains execute in parallel on a simple edit or write call.
Before Bash or MultiEdit tool call (1 hook)
Before Bash, Write, Edit, or MultiEdit tool call (1 hook)
Before Bash, Write, or Edit tool call (excluding Notebook) (1 hook)
Before Write, Edit, or MultiEdit tool call (1 hook)
Before Agent tool call (6 hooks)
Before Web tool call (2 hooks)
Before Skill tool call (2 hooks)
Before user question (2 hooks)
After Bash tool call — 1st group (6 hooks)
After Bash tool call — 2nd separate group (5 hooks)
After Agent tool call (3 hooks)
After Edit or Write tool call (all types) — 12 hooks
After any tool call (broad matcher) — 2 hooks
After Write or Bash tool call (3 hooks)
After Write or Edit tool call (3 hooks)
End of turn — 1st group (16 hooks)
End of turn — 2nd separate group (1 hook)
Before context compaction (1 hook)
Before MCP tool call (1 hook)
Universal guard — before any tool call (1 hook)
Guards present on disk but not wired in the configurationA cross-reference between the guard files present on disk and the commands actually wired in the two configuration files reveals a set of guards active through other vectors: the native git pre-commit hook (which chains most pre-commit guards), the post-commit hook (which triggers preprod consolidation), and the portable multi-harness dispatcher (which dispatches portable Claude / Codex / Antigravity guards).
Reliability NotesThis section records the conditions under which each documentation wave was produced, the acknowledged limitations of each pass, and the anomalies observed that could not be corrected in the code itself. It constitutes a traceability register intended for the teams that rely on this catalogue. General PrincipleThe catalogue is maintained by a drift-detection mechanism: when a component in the repository is more recent than its last documented entry, an alert triggers a targeted realignment pass. Each pass is deliberately scoped to its signal: only the files affected by the drift are re-read line by line; all other sections retain the state left by previous adversarial reviews. Adversarial reviews are direct verification passes — reading the actual code, the active scheduling table, and the hooks configuration file — that correct discrepancies without modifying the source code itself. Realignment Pass HistoryOctober 2026
September–October 2026 (early October)
September 2026
July–September 2026 (before mid-September)
Cross-Cutting Structural Observations
|