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 ./deploy and ./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:

  1. Floor guards (P0): fail-closed. Any unexpected output, timeout, or missing guard produces a denial.
  2. 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).
  3. 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 --reveal mode 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:
  • Parallelism: up to 4 chantiers in parallel.
  • Anti-zombie bail: duration raised to 240 minutes to avoid killing still-active runs; the bail must mechanically exceed twice the maximum spawn budget (invariant verified by an automated test).
  • Spawn timeout: capped at 7,200 seconds. This value was raised after a series of runs was interrupted just as they were committing their work, generating costs with no useful output.
  • Enriched context: injected for every chained run, not just the first one in the cycle, to prevent loss of discovery context.
  • Session resumption: by key (task identifier, agent) — a retry resumes the session, a new task starts with a fresh injected context.
  • QA log window: head + tail (not a simple head truncation), to prevent a QA from describing its own truncation.
  • Per-run harness: the effective harness is the one set on the task, otherwise the agent's, with a safe fallback. Available harnesses: claude, codex, antigravity, muse. For non-Claude harnesses, a generic harness launcher translates the stream to the standard format. The plan and audit templates remain on Claude.
  • Run environment: the worker's environment is forwarded without the tentacle variable, to prevent an agent launched from a tentacle from republishing that tentacle's page.
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:
  • S1: global cost beyond a configurable threshold.
  • S2: loop; S3: respawn; S4: creation explosion (chantier freeze only if the control variable is enabled).
  • S5: orphan blocker; S6: zombie chantier.
  • S7/S8: tentacle pool envelope and sum (alert only).
  • S9: consecutive failure series on an alternative harness — alert when a configurable number of consecutive runs fail on the same harness within a 48-hour window. These harnesses being flat-rate, an exhausted quota costs nothing but causes runs to fail silently.
Frequency: every 15 minutes. Kill-switch available.
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:
  • claude → session synedre-claude, Claude Code binary.
  • glm → session synedre-glm, local GLM proxy, never the direct API.
  • codex → session synedre-codex, native Codex CLI.
  • antigravity → session synedre-antigravity, Antigravity CLI (Gemini).
  • muse → session synedre-muse, Muse Code CLI (Meta).
  • zcode → session synedre-zcode, Z Code CLI (Z.ai).
Session resumption (--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:
  • On a flat-rate plan, the equivalent euro is an indicator only; freeze triggers on the tightest of turns and marginal API euros.
  • Automatic thaw once per pool, up to twice the initial cap, with configurable absolute margins and hard limits.
  • Pause at 90% of the flat-rate quota.
Imported by the runaway detector as an additional findings class, with fleet alert over 24 hours.
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:
  1. Any open session record whose terminal session is no longer active receives a close date (with a 30-minute grace period).
  2. Any in-progress pool that pass 1 leaves with no live member is closed.
Guards: a harness switch is not treated as a death; a second look after 60 seconds confirms before closing; silent inventory on second look ⇒ no closing. Does not stop any pane, does not touch any working directory.
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:

  1. Formal check — verifies the provenance and formal structure of the document.
  2. Attribution and sorting check — distinguishes asserted content from reported content, and verifies commensurability between thesis and rebuttal.
  3. Adversarial jury — produces a corpus score via an independent adversarial review.

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 /sources-ouvrage and /meta-forum-source skills.

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 /forum-article skill.

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.

Note on the all loop: the all mode covers only 5 named tenants; other fleet tenants can only be tested by name. The built-in help message in the script is outdated and does not reflect the current exhaustive list.

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:

  • Single URL mode: capture + verdict against a declared intent.
  • Comparison mode (--compare): confronts two URLs in clone, translation, or generic mode.
  • Mockup mode (--maquette): confronts the render with a PNG/JPG file from the designer. A hover over an element (--hover) is performed before capture; an impossible hover returns an indeterminate result (pass=None), never a false defect.

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:

  1. CODE — the flow actually executed.
  2. VISUAL — verdict from the multimodal judge.
  3. SQL — database state verified after the action.

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:

  • --scan: detection + automatic dispatch to trash.
  • --purge --apply: permanent destruction of items whose grace period has elapsed (disabled by default).
  • --digest --send: daily entropy report including immunities and a weekly questioning ritual.
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:

  • Hard (exit 1 + email): missing link, missing file, not wired, inconsistent event, dangling thread, absent skill nudge.
  • Soft: critical doctrine without a guardrail (counted only in --strict mode).

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:

  1. Automatic detection of the "to create" state.
  2. Account creation by an external action, under the founder's written approval.
  3. Password setting via the dedicated tool (--poser).
  4. 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:

  • Family A (hub): retrieves credentials from the vault, verifies the employee profile, generates an ephemeral token (32 bytes, only the SHA-1 is transmitted, lifetime 1h), performs the proof login, confirms, then erases the token.
  • Family B (PrestaShop): writes the password hash after verifying that the profile is read-only; a refused login resets the profile to its initial state.

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 (--page repeatable), a TypeScript mode for direct publication into the canonical dimensions table, and per-variant dimensions (the system reads the most precise one available).

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:
python3 -m <scar-qualify-module>
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:
  • Publication gate: recalculated at each run for all skills — a newly signed client automatically removes from the showcase any sheets that mentioned them, with no file modification.
  • Listing mode: projects the exposure decisions from configuration, avoiding silent truncation beyond the context budget.
  • Orchestration: projects the ordered links of a meta-skill; a missing child is never inserted (an incomplete chain is preferable to a dead link in the showcase).
  • Tags and editorial descriptions FR/EN: re-evaluated separately by the same filter — an English pitch that names a client is rejected alone, without affecting the French sheet.
  • Partitions: projects into the pipeline the skills that declare a partition section.
Skills that have disappeared from disk (orphans) are removed from the table only on the main branch — a working directory that is behind lists its orphans without touching them. Hardened during a correction session: orphan deletion is restricted to the trunk, and any CLI argument displays help instead of triggering a full sync (before this fix, --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:
  • Stop — splitting at end of session;
  • PostToolUse (--tick option, 8 s timeout, mid-turn measurement, limited to once per 60 s);
  • PreCompact (--precompact option, 8 s timeout, measurement just before a native compaction).
Improvements made during a refactor:
  • Crossing the threshold sets a state in the database (dedicated table, pending status) rather than an ASCII banner, monitored by the web cockpit; an independent kill-switch can disable this producer alone without disabling splitting.
  • The turn counter is reset at each compaction detected in the transcript, preventing an immediate re-crossing of the threshold after compaction.
  • Pool workers re-declare the restart at each end-of-turn rather than on a single sentinel liable to expire.
  • A sidecar file identifies the author of a handoff, preventing a worker from picking up another worker's handoff when they share the same working directory in the same pool.
  • The model actually used is realigned in the session sheet at each Stop.
  • The handoff header is timestamped in Paris time.
A fourth entry point not wired as a hook (--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:

  • Delivery detection: the delivery detection engine excludes phrasings describing a use case ("designed for") and negations before a corrected state, so as not to block valid outreach.
  • Scheduled client message prohibition: any draft in an existing client thread or to a client recipient fails at scheduling.
  • Validation copy settlement: on sending, the façade closes its own accumulated "To validate" and "Sent by…" copies in the inbox; a pure function builds the copy subject to prevent any drift between two writes. Copies used to pile up and bury real requests.
  • Bounded thread settlement: incoming emails inserted into the database after the draft was composed are excluded from settlement — a message no author could have read is never falsely closed.
  • Façade-enforced signature: the draft is refused (and sending an inherited draft is also refused) if the body itself carries a signature line or a marker of the canonical signature. A closing courtesy formula remains permitted.
  • Mandatory HTML body: all sends are formatted in HTML (the logo appears in the canonical signature). Plain-text mode is disabled.
  • IMAP "Sent" archiving: a copy is deposited in the Sent folder after explicit server confirmation; an archiving failure is reported as a warning, never blocking once the SMTP message has left.
  • Mandatory annotated pre-production guide: any send announcing a pre-production delivery to an external recipient requires an annotated screenshot (PNG, JPG, or PDF) attached to the draft. An attachment from an incoming email cannot serve as a screenshot — only a genuine browser screenshot is accepted.
  • QA gate on quotations: the quality gate no longer reads text quoted by the correspondent as a delivery announcement — only the non-quoted portion is examined.

Recent updates: "is now available" arms the delivery detection; any external announcement carries a delivery-type indication (--delivery-kind interface|non-interface); the interface type requires an annotated screenshot at send time (--interface-proof); any reply to a thread includes a quotation, unless explicitly disabled for acknowledgements or deferrals.

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:
  1. The delegation row must be active, read at sealing AND at departure.
  2. Money forbidden: price, quote, discount, commitment, proposed slot — fixed list of markers, no LLM; the text remains a draft awaiting the founder's "valide".
  3. Controlled recipient: never an existing client, never a GDPR opt-out; reply or follow-up only within an open negotiation or on our own outreach.
  4. Veto right: each send announced the day before (18:00 digest, minimum 12-hour delay); "stop <token>" cancels it.
Permitted gestures: first contact, follow-up, prospect reply, negotiation. A measurement note is only accepted if already published. Mandatory opt-out mention "reply STOP" at sealing and at departure. Cap of 15 sends per day. The seal logs its gesture in the register at departure. Sub-commands: 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 Family

This 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

  • DB-First Publication Engine — publishes content from the database; invocable from the command line or via the /publish skill.
  • Per-Page Multilingual SEO Engine — optimizes meta tags, descriptions, FAQs and internal linking for each page of a tenant. SEO status is recorded in a dedicated tracking table, snapshots in a backup table. This engine is the single entry point for SEO optimizations; it is invocable via CLI. The three periodic check modes (--check, --check-titles, --check-descriptions) are currently disabled in the scheduler; the engine therefore operates exclusively on demand.
    • URL identifier naming validation excludes documented exceptions loaded from a dedicated table.
    • An editorial barrier prevents certain content types from appearing in contexts incompatible with the brand guidelines.
    • Canonical product attributes are always read in the reference language (FR), regardless of the target language, to prevent cache corruption.
    • The reference-language FAQ is generated via a configured model routing, followed by transactional title remediation for blank records.
    • On the food vertical, a numeric format not justified by the product name is omitted from EN/DE metadata.
  • Internal Link Checker for Product Descriptions — for each href link in a description, verifies that the target page returns HTTP 200 in the description's language. If it responds in the default language only, the link is adjusted. In case of a 404/410 response in both languages, the link is removed but the anchor text is preserved. Server errors, timeouts, query parameters and external links remain unchanged. Requires the --tenant parameter; dry-run by default.
  • SEO Summary Corrector — detects short descriptions that have erroneously overflowed from the long description field and corrects them. Backs up before any modification, rollback possible. Invocable via CLI.

SEO Sentinel and Audit

  • Multi-Tenant Technical SEO Sentinel — monitors SEO indicators across the entire fleet and alerts on regressions. Reads sitemaps from robots.txt (including nested sitemap indexes and CDATA-wrapped <loc> tags). Integrates a readability survey by shopping assistants (ChatGPT, Gemini, Perplexity): a sample of product records is analyzed and the result is merged into the global verdict. Search Console account secrets transit through the process environment, never as command arguments.
  • Agent Readability Evaluator — answers the question "is this site readable by a shopping assistant?" in three tiers: being found (robots, Merchant feed, sitemaps), being retained (product record JSON-LD), being purchasable (outside automated survey). It reports without judging; the per-record verdict is produced by a core application rule.
  • Record Judgment Bridge — Node module (via npx tsx) that applies the agent readability rule to JSON-LD product records received on stdin and returns verdicts on stdout. Tenant-agnostic, no database.
  • Source SEO Coverage Watchdog — detects categories without a meta_description or description in the reference language, a blind spot not covered by the usual tracking which only monitors translations. Produces a combined digest with Sentry alerts.
  • Traffic-Bearing URL Guard — replays the measured URLs from a reference file and rejects four states: dead URL, redirect chain, landing on the home page (soft-404), destination drift. Exit code 1 if at least one URL is in fault.
  • Language Drift Watchdog — compares for each sitemap URL the <html lang> tag, the URL prefix and the detected language of the visible text (function words, no LLM). Persists results and alerts beyond a threshold.
  • Hreflang Audit — read-only; for each hreflang alternate link in a sitemap, verifies HTTP 200, presence of a <title>, a meta description and a body above a minimum length threshold.
  • HTTP Error Watchdog — analyzes nginx access logs (read-only via SSH), classifies URLs as scanner/asset/page, persists results and alerts if "page"-type 404s exceed the 7-day baseline.
  • Orphan URL Watchdog — re-reads URLs seen by Google in Search Console data, follows redirects and flags those that do not end in 200 or a 301 to a 200. Each run leaves a trace even with zero faults. Read-only.
  • Automated Monthly SEO Audit Watchdog — on the 1st of each month, opens an SEO audit task for each monitored tenant. The cron opens the job only; the audit itself is conducted in a session with an LLM. Tenants that already have an edition in the database additionally receive a differential report preparation step.

URL, Slug and Taxonomy Optimization

  • Category Slug Optimizer — shortens URLs by removing tokens redundant with ancestors and FR/EN connecting words; applies systematic 301 redirects. Verification mode in cron, application via CLI.
  • Blog Article Slug Repairer — forces the URL identifier to comply with the <category-prefix>--<final-segment> convention, symmetrical with the back-office editor. Idempotent, SEO-safe.
  • Product Slug Optimizer — differentiates URL identifiers shared by multiple records by enriching the name and slug with dimensions and weight. Dry-run by default, writes in a single transaction with comparative re-read.
  • Redirect Target Refresher — HTTP-probes the targets of aged 301 redirects, only accepts a new target if it ends in 200 on the same host and in the same language. Produces an SQL retargeting file without writing directly to the database.
  • Trailing Slash Corrector in Redirects — aligns category redirect targets with the canonical form declared by the site (read via <link rel=canonical>).
  • Supplier Taxonomy Reconciler — resolves duplicates, redundant nodes and excessive depth in the category tree.
  • Taxonomy Sentinel — enforces the optimized tree: bounded depth, zero spurious nodes. Operates in verification mode (cron) and as a deployment gate.
  • Category Merger — merges a source category into a target category: re-parents children, moves products, deactivates the source, performs a full rebuild of the nested-set tree.
  • Category URL Hierarchizer — switches internal links from the flat slug /{child}/ to the nested path /{head}/{child}/ reconstructed from the tree, and applies the corresponding 301 redirects.
  • Megamenu Completer — ensures that a section with products has a root entry in the megamenu and refreshes stale links after slug optimization.
  • Category Deduplicator — removes duplicate categories from a tenant.
  • Feature Value Deduplicator — cleans up duplicate values of categorical attributes (color, shape, style).
  • Canonical Attribute Projector — projects LLM-canonicalized attributes into the faceted navigation table, in fill-gaps mode only.
  • Feed-First Re-Categorizer — assigns to each product the category derived from the supplier source taxonomy, taking precedence over internal classification.
  • Supplier Mapping Table Refresher — ⚠️ deleted (trash, recoverable for 30 days, then permanently purged).
  • Taxonomy Depth Decider — selects the optimal depth of a category tree based on measured demand (Search Console, DataForSEO), without LLM. Read-only.

Sub-family — Site Mesh: SEO, Performance and Security Poles

Each 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.

Component Role Invocation Mode
Daily Performance and Security Probe Measures TTFB (median of 3 requests), http→https redirect, security headers (HSTS, CSP, X-Frame-Options, etc.), exposed sensitive paths, disclosed server version and intrusion-protection jail status. Writes results to the database. Daily cron
Page Speed Snapshot For each monitored site, measures the home page and the most-clicked pages in Search Console (mobile, PageSpeed Insights: field and lab separately). A partial score is reported as incomplete. Daily cron
Pole Goal Creator Creates missing goals (one per site × pole) without ever recreating an already existing goal, even a cancelled one. Daily cron
Pole Goal Proof Reads the pole score via the dashboard API and produces a JSON contract {ok, score/10, gaps, measured_pct}. A goal is only validated if the score reaches the target AND if the pole is measured on at least half of its scoring scale. CLI
On-Demand Goal Measurer Runs the proof command for a goal and records the result in the measurements table. Never writes to the goals table itself. CLI / dashboard
On-Demand Site Auditor Runs measurements for all three poles, freezes scores and generates a PDF per pole as well as a complete report. An audit blocked for more than 45 minutes is declared dead. Cron (drain) / CLI
Frozen Audit Report Generator Produces the PDF document for an audit: three poles scored /100 with layers and goals, following the monthly SEO report template. Each figure carries its source and date. Internal library

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.

  • Reusable GSC Probe — organic traffic for a property over two 28-day windows; JSON on stdout, no secrets in output.
  • GSC Property Lister — lists the Search Console properties visible to the service account; used as a connectivity check.
  • Multi-Site Dimensional GSC Import — retrieves Search Console data (date, query, page dimensions) for each site in the fleet, in day-by-day slices, and inserts them idempotently into the database. Handles backfill of empty days. Secrets transit exclusively through the process environment, never as command arguments. Supports multiple candidate decryption keys and retains the one that actually opens the credentials blob.
  • Product Popularity Synchronizer — copies Google demand from a store into its own database: calculates a per-product score (clicks + impressions) from GSC data, then updates the store's popularity table. A single transaction; if the signal is empty, nothing is deleted.
  • Monthly GSC Probe — month-by-month aggregate for rank tracking; flags truncated months (row cap reached) as non-comparable.
  • Monthly GSC Trend Probe — traffic aggregated by month over 16 months (date dimension only, to capture anonymized queries) + raw daily series. Used to date CTR shift events.
  • GSC Coverage Watchdog — tracks the weekly volume of the Search Console Coverage report and alerts on variations, not on the absolute level.
  • Orphan URL Repairer via Redirects — for orphaned URLs (404 or 301 to 404), sets a 301 redirect whose target is verified with HTTP 200 before writing. Never redirects to the home page or to a redirect chain.
  • GSC Property Probe — queries the rendering container API to enumerate open Search Console properties rather than guessing their form. Exit code 1 if the domain does not appear anywhere.
  • Google URL Inspection Replay — read-only: batch replay of the URL Inspection API on a provided list. Quota 2,000/day/property; a 429 stops everything. A URL already inspected without error is never replayed. Classifies discrepancies by cause (noindex, not indexed, unknown, canonical elsewhere).
  • Search Console Property Verifier — verifies a Search Console property on behalf of the service account when the probe does not see it: generates a verification token, then submits the property with delegated owners. For a domain-type property, the token is a DNS TXT record.
  • Submitted Sitemap Lister — read-only counterpart of the sitemap submitter: lists the sitemaps submitted to GSC for a given property.
  • Search Console Interface Read Facade — reads via a browser session the data not available through the API (Coverage report in particular): --coverage, --urls, --performance.
  • Demand-Based Tree Depth Decider — calculates, from Search Console data, the own demand of each node (queries bearing its label and none of its children's labels) and returns a verdict per level. Read-only.
  • URL Inspector (Node module) — receives a list of URLs as JSON on stdin, inspects them via the URL Inspection API and returns one JSON line per URL. Runs in the rendering container.

Blog Content and Articles

  • Blog Article Cleaner — removes duplicates and empty pages. Currently without an active scheduler line.
  • Similarity Library — computes similarity between articles; shared by the publication engine.
  • Native Article Write Facade — writes a blog article into the tenant's database, coexisting with the publication engine until the migration milestone to the native blog. Refuses to create a category, rename a segment or write to a production site without an explicit mandate.
  • Article Internal Link Checker — extracts internal links from an article and verifies that they return HTTP 200. Imported by the page auditor and the publication engine.
  • Localized CMS Slug Manager — renames the URL identifiers of CMS categories in one language, sets 301 redirects for the entire subtree, with two mechanical HTTP checkpoints and cache purge.
  • Blog i18n Coverage Audit — counts missing bodies and missing FAQs language by language. Presence only, not quality; read-only.

Pre-Crawl Opening Audit

  • Crawlability Auditor — read-only scan of the entire sitemap before opening to crawl: 200 status without redirect, noindex, canonical, reciprocal hreflang, <html lang>, title and H1. Bounded throughput. Exit 0 with no blocking faults, 1 with faults, 2 if sitemap is unreadable.

Sub-family — i18n Translations

  • Hub Interface Label Translator (FR → EN) — translates rows in the hub translation table.
  • DB-First EN Content Completer — completes missing English editorial fields.
  • Product Translator (FR → EN) — translates product fields in the product language table.
  • JSON Payload Field Translator — translates content fields in JSON format.
  • YAML Translation Seeder to Database — injects YAML translation files into the database. Connection secrets are masked in logs before any write. Distinguishes a missing language from a connection failure. Returns 1 as soon as one file has a connection error.
  • i18n Route Segment Generator — reads level-2 categories and tenant meta labels, produces a JSON file of route segments consumed at build time. Non-blocking if the database is unreachable (fallback to the static file).
  • Corrupted EN Slug Regenerator — recalculates English URL identifiers from the English product name; deterministic, no LLM.
  • EN Product Name Re-translator (French Residuals) — detects English product names containing French diacritics and re-translates them via the translation model. name field only, slug intact.
  • Food FAQ Translator (FR → EN) — translates Q&As and food records via the sovereign EU translation model.
  • EN Product Description Translator — re-translates HTML descriptions from the canonical French, with a safeguard rejecting any description where FR quantities disappear or where the HTML structure changes.
  • Builder Content Re-translator — identifies EN rows that still equal FR or NULL and re-translates them in JSON batches.
  • Language Pack Parity Checker — every translation key in the codebase must exist in every locale file. Verification mode (exit 1 if missing) and completion mode (via the Anthropic API, on demand, never in cron).
  • Article Body Translation Engine — translates CMS article meta-titles, meta-descriptions and bodies into any language served by the tenant. As of 30 September 2026: the blog is no longer translated but generated natively for the target market.
  • Article FAQ Translator — translates blog article Q&As into any tenant language. Writes by appending a row, never replaces.
  • i18n Go-to-Market Pilot — manages the state of a locale in pre-production: draft (invisible to search engines) or open (after a GO verdict and explicit decision). Subcommands with tenant, locale, country, verdict and data fingerprint parameters.
  • Localized CMS Internal Link Rewriter — rewrites internal links in a translated CMS body from routes provided at launch. Refuses a link without an attested destination. Targeted dump before any production write.
  • CMS Slug Switcher with Redirects — applies a TSV map cms_id,old_slug,new_slug provided at launch, backs up both affected tables and updates slug and redirect in the same transaction.
  • Database i18n Auditor — multi-scope audit of a tenant's internationalization: active languages, volume balance by language, actual translation rate. Read-only.
  • Locale-Copy Detector — measures by table and column the equality rate between the target locale and the reference language. The guard reads attested glossary terms from the database, detects source-language residuals inside translations and ignores empty source cells. Exit 1 beyond the threshold.
  • FR → Locale Equality Registry — exhaustive registry by (table, column, locale): total, equal, breakdown (empty / attested invariant / cognate / localizable). Produces a JSON registry file and a residual CSV.
  • Locale Invariant Module — pure detection rule for invariants: reduces an editorial value equal to the pivot language to its invariant components token by token (manufacturer, reference, attested glossary terms). Knows no terms in advance; they are injected from the database.
  • i18n Product Record Integrity Auditor — compares product records language by language against the reference language (name, slug, metas, active redirects). Born from records duplicated in the back-office whose slugs and metas did not follow.
  • Page-by-Page i18n SEO Proof — reads the served HTML of a reproducible FR/EN sample and requires a series of criteria: HTTP, lang, canonical, hreflang, title, description, H1, JSON-LD, breadcrumb, indexability. Read-only, at least 3 seconds between requests. Exit 1 on any failure.

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.

  • Article Writer from Central Platform — drafts articles for a tenant from central credit and deposits them in the tenant's publication queue in provided mode. Refuses any model provider not on the authorized list (gemini, antigravity). Also describes 1 infographic + 2 photos attached to the article body, deposited as visual briefs.
  • Post-Publication Temporal Relay — an article that has just been published is re-sent with its cover and FAQ. The blog has not been translated since 30 September 2026; articles are generated natively for the target market.
  • Automatic Drafting Queue Reseeder — reseeds the queue as soon as it drops below 5 articles: reads stock, refreshes demand if too old, requests a batch via the topic generator, passes it through QA (brand brief, title template, similarity 0.70) then seeds.
  • Drafting Queue Watchdog — refuses queue silence: two verdicts (runway in days, queue full but nothing going out). Takes into account publication days configured per tenant. Also flags excessive cadence (more than 3 articles per week).
  • Topic Seeder — for each topic in a validated file, resolves the CMS category by slug and enqueues a pending job in the publication queue. Supplements the brief with real queries to cover (up to 6 questions) and a floor of 1,500 words. Supports avatars (B2B personas).
  • Gemini SEO Writer — writes SEO texts (categories, product records: H1, meta, summary, long description, FAQ) via Gemini only (antigravity provider). Each generation is sealed with an HMAC-SHA256: the database write verifies the signature, provider and model before any deposit. The slug is never modified. Includes a meta_title duplicate validator across all open records.
  • Thin Record Detector — identifies product records to be drafted as a priority and verifies the health of a batch before writing. The thinness criterion is re-read from the database at each batch. A batch is rejected if two records from the same section share an entire sentence (template betrayed). No LLM, no writes.
  • Topic Generator from Measured Demand — proposes a batch of blog topics from Search Console and DataForSEO demand (informational filtering, grouping by question family, deduplication against published content and the queue).
  • Topic Generator for Showcase Sites (Avatars) — topic profile for a B2B site with no catalog and no Search Console history, driven by personas defined in the database. Each topic carries the avatar slug, which will be resolved to an identifier in the publication queue.
  • Topic Generator from Linking Orphans — converts demand-bearing paths with no page into blog topics, catching what grouping by question family misses.
  • Fleet Restocking Orchestrator — perpetual restocking of autoblog queues across the entire fleet: discovers tenants, regenerates the minimum stock from demand, DataForSEO cap ≤ $1 USD, deposits only pending jobs. An inactive policy writes nothing.
  • Editorial Eligibility Rules — pure functions: rejects non-informational intent, named vehicles, company names, brand brief forbidden terms, stale demand, inactive languages. Deduplication by slug and title similarity (threshold 0.70).
  • Authority Source Finder — for each pending article without a source: the agent formulates 2–3 queries → searches the first Google page → mechanical filter (rejected domains, fleet domains) → reads candidate pages → the agent selects at most one source with an extract → code-level check (the extract appears word-for-word in the read text). One incident per job is isolated; exit code 2 signals that at least one job failed.
  • Article Visual Contract — defines pure validation rules for visuals (attachment to body, number of photos, scene format). Each article carries 1 infographic + 2 photos in addition to its cover. The infographic shows only figures present in the text.
  • Nightly Visual Generator — produces body visuals: generation via the image model, review by a vision judge distinct from the generator, infographic transcription and comparison, upload to the tenant's VPS. On the 3rd rejection, the visual is marked abandoned and the article is published without it, with an alert.
  • Autoblog Visual Cron Entry Point — orchestrates the nightly generator per tenant from a closed list, with a per-tenant deadman heartbeat. First sets any missing visual briefs before generating.
  • Synedre Product Article Review — weekly review of articles describing our features, against the source code (the editorial judge scores form, not factual accuracy). Actions: open the task (Monday cron, no LLM), export articles to review, retain an article where a feature is broken, apply targeted corrections then validate.

Sub-family — Blog Article FAQs

Three tools around the FAQ tables of a tenant's CMS articles. None has its own scheduler line.

  • French FAQ Catch-Up — completes up to 15 Q&As for published articles without a FAQ, without overwriting existing content. Launched as a subprocess by the publication relay.
  • FAQ Regenerator — regenerates the FR FAQ of articles already live on a refreshed catalog grounding. Only replaces the old FAQ if the new one reaches the configured quality threshold.
  • Inline FAQ Purger — removes from an article body the inline FAQ block it carries as a duplicate when the database already holds the FAQ for that language. Only touches languages where the database is complete.

Sub-family — Category Covers

The deposit target is read from the tenant configuration, never hard-coded.

  • Cover Target Resolver — resolves where to deposit and where to write a tenant's cover, from the client VPS configuration. Imported by all cover generation and publication components.
  • Category Cover Material Reader — read-only: produces for each category the material (texts, products, manufacturers) from which the model derives the image scene and alt texts per language. Precedes image generation.
  • Category Cover Publisher — sets a category's image and its alt text per language: batch validation, file deposit, dump to the tenant's VPS, guarded write, re-read. Without --apply, repetition is done via rollback.

Sub-family — Blog Covers (covergen)

Article covers in photo-realistic style (via the Gemini image model), destination read from the tenant configuration.

  • Nightly Cover Chain — generates and publishes the cover for articles with a scene and no cover (published first, then pending stock). 5 covers per night, abandoned after 3 failures. Without --apply: plan only.
  • Photo-Realistic Cover Generator — generates a cover via the image model: prompt (base + scene + register), 1200×630 crop, WebP. Supports generation without a browser via the Antigravity agent (used by default when the browser is off). Verifies spend authorization before any call on a demo account.
  • Cover Publisher — deposits the file on the tenant's VPS and writes the cover URL under the manual upload contract of the back-office. Purges the tenant's SSR cache after writing. Tenant required, no default.

Sub-family — Agent Dialogue Forum

Chain "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.

  • Forum Thread Player — plays an educational thread with agents (naive question, explanation, Socrates challenges, arbiter, recap), passes an editorial gate and a leak scan per turn then on the corpus. Writes the forum thread to the synedre.com VPS.
  • Thread Framer from URL — replaces the last human checkpoint: mechanical gate (naive question, bare angle, attribution, language) then adversarial LLM jury, a single targeted retry then motivated abandonment.
  • Autoforum Queue Manager — manages the topic queue: list, addition, source assignment, deduplication, rejection, advancing to next. Transitioning to ready requires a source URL, enforced by a database constraint.
  • Source Resolver — finds the text a thread will debate, via the web search agent, under seven mechanical guards with no partial fallback. Proposes; writes only with --apply.
  • Demand-Based Topic Generator — fills the queue from measured demand, no LLM, no spend. Topics are born in needs_source, never with an invented source.
  • Leak Scanner — mechanical detection via regular expressions: refuses internal content from going to publication (IP addresses, server paths, secret values, sensitive names). Exposed as a pure library.
  • End-to-End Autonomous Forum Launcher — spawns a headless agent session that plays the complete chain from framing to publication. Never publishes on its own, never loops, never unblocks a gate. Exit 0 = completed, 1 = abandonment/interruption, 2 = usage/lock/pre-spawn failure.

Sub-family — Wave-Based Indexing

A new domain does not deliver everything at once: the wave indexing table (tenant base) keeps thin pages in noindex until their wave. The management module is the sole writer of this table; the measurer measures the indexation rate via URL Inspection; the next wave only opens if the current wave reaches the threshold.

  • Indexing Wave Manager — calculates waves (role by depth, own/inherited demand, products by reference) and opens waves. Refuses to write on a stale pre-computation. Deterministic, zero LLM. Commands: calculate, open-v1, open-p1, open-next.
  • Flat Catalog Wave Manager — twin of the above for a catalog with few categories and very many supplier records. Ranks by demand (DataForSEO volumes + Search Console impressions) and by stock. Idempotent: inserts missing entries, opens those meeting the criterion, never closes.
  • Indexation Rate Measurer — stratified sample (role × language) from the live sitemap, 200 URLs by default. Rejects a wave with fewer than 30 successful inspections. Handles batches of 25 URLs, interrupted rendering container (rc 137) and automatic retries.
  • Google URL Inspector (Node module) — receives a list of URLs as JSON on stdin, inspects them via the URL Inspection API in the rendering container, returns one JSON line per URL. Quota 2,000/day/property.

Sub-family — Internal Linking

Linking 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.

  • Internal Link Opportunity Detector — detects internal link opportunities (query of page B, ranked according to GSC data, cited verbatim in page A which does not link to it), stores them in a dedicated table and can apply them with a log and rollback. Without arguments: nightly pass over the entire fleet, detection only, no LLM.
  • Demand Projection Bridge — projects a bounded demand aggregate (Search Console + DataForSEO) into the tenant's database, so that the link catalog ranking follows demand. Guards implemented as pure functions.
  • URL Mapping Table Builder — populates the mapping table for a new site that borrows demand from an established site. Targets read from the sitemap (language versions), matched by slug tokens, ambiguous entries dropped, activated only if the target responds HTTP 2xx.

Sub-family — i18n Glossary and Catalog Translation Pilot

A 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.

  • Translation Linter — verifies compliance with the glossary (expected/forbidden/never rules: missing term, false friend, translated brand), no LLM. Catalog and CMS surfaces.
  • Translation Pilot — link 1: read-only; resolves the target category subtree, checks EN/DE names against the linter, emits the baseline and groups records to be re-translated by family in batches with the glossary for the prompt.
  • Translation Generator — link 2: reads the pilot output, regenerates EN/DE names in batches and loops until the linter passes. No database writes; produces JSON, SQL and diff artifacts.
  • Translation Applicator — link 3: disciplined application of the patch behind five guards (rollback captured before write, 100% coverage verified, comparative re-read, pre-production parity before any production write).
  • Post-Translation Slug Corrector — realigns EN/DE URL identifiers with the already-corrected names, retaining only false friends that can be challenged by the linter. Dump before write, comparative re-read.

Sub-family — Netlinking

Backlink 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.

  • Netlinking Tracking Facade — source-agnostic: persists and compares backlink sets, manages prospects and targets.
  • Netlinking Contact Finder — the web search agent feeds the prospect pool with contact addresses via a strictly validated JSON return. The angle is composed from fixed forms, never a free sentence.
  • Domain Qualification Filter — pure filter (no database, no network): rejects link resellers, free hosting, generic directories and detected networks.
  • Link Request Sender — sends requests to qualified prospects by substitution in the configured pitch template. Four locks: validated template, monthly quota, contact and angle present, --apply required.
  • Freshness Supervisor — verifies that each target has been scanned within the configured interval and alerts only beyond 2× the interval.

Sub-family — SEO Optimization for Auto Parts Catalog Tenant

Actual 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.

  • SEO Demand Mapper — aggregates Search Console data, attaches each query to a page, classifies intent, writes the demand table. Unattachable queries are marked without a target.
  • DataForSEO Demand Module — retrieves English (UK) and German search volumes via DataForSEO, with a budget envelope re-read before each call.
  • Food Catalog DataForSEO Demand Module — same logic for French demand on a grocery catalog, seeds drawn from the catalog tree.
  • DataForSEO Demand Module for Avatar Showcase Sites — French demand for a site without a catalog, seeded by personas defined in the database. Capped budget, re-read before each call.
  • Demand-to-Category Attacher — attaches demand to the tenant's actually existing categories (pillar, brand, model, generation, engine). Never "nearest match": if tokens are not all absorbed, the query is marked without a target.
  • Demand-to-Category-Page Attacher — attaches to each category page the Search Console queries it must serve, for a tenant without its own Search Console (reference property read from the database).
  • Residual Demand Sorter — classifies untargeted demand into readable buckets (competitors, catalog-missing parts, matching failures). Read-only.
  • SEO Pillar Guard — pure functions: an SEO text may only name the product family of its page and in its language. Detects tokens from another family or another language.
  • SEO Queue Throttle — enqueues pages into the SEO queue in order of value to gain (impressions × CTR deficit × conversion × basket), under daily and total caps. Generates no content.
  • LLM Routing by Value Tier Watchdog — probes two metrics: the share of paths the SEO engine can reconstruct, and the promised model versus actual usage. Alerts if the verdict degrades.
  • Real Cost per SEO Field Probe — compares the real cost per SEO field (from model usage logs) to the frozen projection after plan switch. Exit 1 if a field exceeds the 30% threshold.
  • European Technical SEO Watchdog — daily watchdog and replayable probe: robots.txt, sitemaps, strict language scope, indexability, canonicals, hreflangs, visible language, technical health (0 404 / 0 5xx), Search Console observability. Read-only.

Sub-family — Automated Social Distribution

LinkedIn, 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 to_validate; the click freezes the seen text and marks the post due; the publisher re-verifies seal and validation. A failure is never automatically retried.

  • Pure Distribution Core — no I/O at import. Editorial guards (leaks, AI markers, link in body, tu/vous mix, overly long hook), article selection (new first, recycling, pillar alternation), source distribution, slot assignment under the "one voice" guard (same source: 48 h delay between two networks, 14 days on the same network), text seal, click validation, publication eligibility check.
  • Post Writer — selects the source and articles, applies the configured mix, passes the guards then a fidelity judge (second LLM call), assigns slots and deposits in to_validate. The --fill mode only drafts what is missing for two batches ahead.
  • Post Publisher — publishes due and validated posts via browser session, no LLM. Re-verifies seal, validation, network switch, kill-switch, status, due date and daily cap (3 per network). Single attempt; failure → failed status, screenshot, alert. Handles mandatory AI labels on YouTube and TikTok (fail closed: not found or not re-read = abandonment). Includes a recovery mechanism for apparently unpublished X posts (reads the profile to verify the post actually went out before declaring failure).
  • Distribution Phone — publishes Instagram and TikTok from a mobile device controlled via ADB. Core rule: read, tap or capture the screen only after verifying that the expected application is in the foreground. Verifies video integrity on the phone before publishing. Pure testable functions without a physical device.
  • Short-Form Video Enqueuer — enters a finished short-form video (folder containing the video, caption per network and declared source) into the validation queue. Each caption passes the guards. Nothing goes out from this module.
  • Distribution Queue Watchdog — reads to_validate, ready, failed, blocked statuses and flags: low queue, nothing ready, due but not sent for more than 2 h, failure pending, blocked post. Email only if there is a finding.
  • Post Retoucher — retouches a sentence in a post without rewriting it: exact replacements, guards and judge replayed. Logs the old text. A blocked post that has been retouched reverts to to_validate.
  • LinkedIn Carousel Generator — renders a LinkedIn carousel as a PDF (1080×1350 per slide). The LLM only writes the text JSON; the layout is a fixed template. Refuses text that is too long rather than truncating it.
  • Audience Tracker — measures audience of published posts via browser session and nginx logs. Read-only. Milestones D+1/D+3/D+7/D+30; a missed milestone is not caught up.
  • Instagram Scene Photo — from plan to validation queue: image generation (Gemini model via agent, 4:5 crop), judgment, enqueuing in to_validate with a 12:30 slot. One scene per day, agent rotation over 7 days, single Paris location per day.
  • Instagram Statistics Collector — reads Instagram post statistics on the distribution phone. Read-only by design: only five types of tap authorized. A login page stops everything.
  • Hashtag Size Collector — measures the number of publications per hashtag on the phone (no API available). Read-only, on-demand in session, never in cron. Cap of 30 distinct hashtags over a 7-day rolling window.
  • Hashtag Explore/Exploit Ranker — measures the gain of a post against the baseline of the previous 56 days, attributes the gain to the post's hashtags via Bayesian ridge regression, then recommends via Thompson sampling (exploitation) and drawing from the top candidates (exploration). Pure functions, no writes, advisory only.

Sub-family — Demand SEO, Monthly Report and Rank Tracking

  • Bi-Weekly SEO Digest — delivery layer on the existing SEO sentinel. Reads SEO health history and granular Search Console data; sends a summary by email. Dry-run, test and send modes.
  • Monthly SEO Report — branded report for a tenant: loading a JSON edition into the database, PDF rendering, differential with the previous month. Each measurement carries a confidence index A/B/C/D; a contradicted measurement (D) does not enter the rendering.
  • Second Google Rank Source (SerpBear) — independent self-hosted Google rank source. Tracks queries for a tenant labeled competition-panel. Weekly collection. Feeds the monthly SEO report.
  • Monthly Rank Tracking — monthly average position per keyword from Search Console, feeds the SEO dashboard.
  • Manual SEO Status Synchronizer — pushes the SEO status set on the dashboard side to the central repository. Batch writes, one instance at a time.
  • SEO Bulk Queue Worker — drains the SEO queue (per tenant, local base) and launches the SEO engine. 5-minute interval.
  • Product SEO Grind — differentiated meta/H1/slug + canonical enrichment, with attribute cache. No longer marks a record "optimized" where nothing was written.
  • Deterministic Product SEO Templater — pure functions with no database or LLM dependency. Handles clean title truncation (no orphaned connecting word), the category clause and the natural phrasing per language for food attributes.
  • Lightweight Product Validators — lightweight mirror of the heavy validators in the publication engine.

Browser agent family

This 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 egress

The 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.

Screenshot

The screenshot component exposes two strategies:

  • Full-page stitching (main engine): exceeds the browser texture limit (16,384 px) by slicing the page into segments during real scrolling, stitching each segment at the position actually reached, hiding sticky elements after the first segment, and reporting truncation beyond a configurable maximum height. This approach replaces earlier attempts at giant viewports or full-page capture flags that were silently ignored.
  • Visible area only (--viewport-only): captures only the visible window via the Chromium command-line binary.
  • Real Chrome from the residential box (--bucephale): delegates to the persistent Chrome profile on the OMEN machine.

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çade

The 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:

  • A quality-recipe profile is accessible only to its own caller.
  • A recipe caller can never reach a personal profile or a recipe profile belonging to a different scope.
  • The allowed_domains list restricts each profile to the hosts of its own back-office only; an entry prefixed with an equals sign designates an exact host without its subdomains.

Profiles outside the OMEN machine (Mac, Windows box) have an honest --check mode that no longer probes a non-existent local Chrome. The Windows box exposes its own CDP-controllable Chrome from the mothership via the /windows skill.

CDP transport to the residential box

A 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 snapshot

A 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 watchdog

An 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 (--restore-last-session=false, --profile-directory=) is not this component's responsibility but that of a separate weekly cleanup script.

Tab hygiene and flag assertion

A weekly cleanup script (cron on Monday morning) mechanically ensures that each Chrome instance on the box runs with its canonical flags and that profiles remain properly isolated. It is this component — not the hourly watchdog — that detects a Chrome opened on the wrong profile (an incident where the assistant profile opened the user's personal session).

Soulseek network

A 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 reader

Three components cover the reading of merchant sites:

  • Product selection engine: browses a site in read-only mode, extracts real products filtered by the requested criteria, and returns structured cards for the assistant's chat.
  • Adaptive shopping agent: operates without site-specific hardcoded selectors — usable on any online shop.
  • Web reader and CMS router: detects the site's CMS (Shopify, WooCommerce, PrestaShop, Magento, or generic) via a database cache indexed by domain, and always reads the catalogue from the residential box browser — a direct HTTP request from the mothership's datacenter IP would trigger an anti-bot block. P0 hard limit: read-only, no payment or purchase selector.

Shopping worker — assistant household pivot

This 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:

  1. Shelving: product search and add-to-cart via the relevant site adapter — no order confirmation ever.
  2. Account creation: attempts login first, then registration if no account exists — the operator no longer needs to create the account manually.
  3. WhatsApp send: sends a message on the professional line via a dedicated dispatcher with a rate limit recorded in the database. For a contact with no previously captured inbound message (missing webhook or first exchange), the component infers the destination number from the external reference and creates a synthetic inbound message in the database before proceeding — it no longer fails on the absence of an inbound message.

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 adapters

Five 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.

  • Custom adapter (specific ASP.NET site): covers login and registration on a single authentication page with toggle between the two panels.
  • Generic Magento/Luma adapter: parameterised by base URL, serves any shop on a standard Luma theme.
  • Generic PrestaShop 1.7/8 adapter: reads via native Classic theme DOM tiles (no public product webservice).
  • Generic Shopify adapter: reads via native cross-theme JSON APIs (/collections/<handle>/products.json), more reliable than DOM scraping.
  • Generic WooCommerce adapter: reads products and cart via the public Store REST API (/wp-json/wc/store/v1/), theme-independent.

Payment hand-off to the human

This 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 control

A 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 /mac skill.

Automatic Mac file sorting

A 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 memory

A 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: --stat, --gc, --ns combined with --put, --list, --latest, --policy, --drop, --json.

Residential box system health

A 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 canary

A 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 cart

A 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: --recap-only, --purge.

Password vault lookup

A 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: --list, --write-env, --reveal.

Expired web session recovery

A 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 (--probe), reads the registration path from the message database (--voie), then clicks the SSO path and stops before any password field or verification code (--reconnect --via).

Video generation — Flow façade

A façade drives the AI video generation service (Veo) on the residential box via CDP Playwright and the persistent Chrome profile. It exposes:

  • Service access verification.
  • Generation of a take from a prompt, with choice of model, ratio, and reference images.
  • Extension of a take in the editor (with a scouting mode that does not spend credits).

9:16 (short) format shots must comply with the editorial guidelines and carry at least one reference image, unless the --hors-charte option is set. Guards cover: agent refusal, block detection, image rejected by the model, ratio not confirmed, measured dimensions. A take in the queue is no longer interrupted after 120 seconds, and each take retains its Flow tracking URL.

Shorts bible and editorial guidelines

This 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:

  • Consistency gates: an incomplete record or an entity without a validated reference does not pass to shooting; a 9:16 shot not compliant with the guidelines is rejected by the Flow façade (unless --hors-charte); the rhythm/voice-over alternation is verified.
  • Iteration by identifier: --rush N --refaire (new take, parent = N), --garder-rush, --deriver-setup, reference validation and rejection.
  • Single canonical setup: only one setup runs at a time (canonical derivative); tourner rejects an inactive setup.
  • Silent shot: an "off" shot with no line generates a "Silent shot" prompt (scene sound only, no music or subtitles).
  • Per-take starting image: --image-depart prepends a take-specific image to the bible references; a take re-shot on the same prompt does not overwrite the previous one (suffix -2, -3…).

Shorts editing

The 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 --brouillon mode, scenes without a selected take use the last available take as a duplicate, with a warning.

A v2 of the editing engine adds per-shot options: duration of image alone before speech (avant=), hold after speech (apres=), and target silence between two shots (silence=, the tail of the preceding shot is lengthened or shortened within its take bounds). The editing plan persists these options so that the next re-edit picks them up automatically.

Voice dubbing

This component replaces the voice of a take with the character's official voice, preserving exact timing. The pipeline processes in sequence:

  1. Voice/sound-effects separation on the residential box (GPU).
  2. Timbre conversion to the official voice at identical duration (voice synthesis on the box).
  3. Local pitch correction (audio processing on the mothership).
  4. Final mix: dubbed voice + original sound effects laid over the original image.

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 --melodie DT option enforces the target melody as measured by the judge. The new take is marked as canonical voice, a prerequisite for the editing engine.

Short rhythm measurement

This 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-edit

This component re-reads the rhythm settings from the database and produces a new numbered version of the short (short-v(N+1).mp4) without ever overwriting the reference version or feeding a publication queue. It refuses to launch if a shot needs to be re-filmed or if a selected take has no canonical voice. TTS voice is regenerated if the lines in the database no longer match the recorded voice or if a voice tempo has changed. Progress state is exposed in a status file read by the hub view.

Performance presets

This 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 worker

This worker drains the video job queue (SKIP LOCKED to prevent duplicates). A job without a scene generates a free clip via the Flow façade with the requested ratio. A job with a scene identifier goes through the shorts bible: the prompt is wrapped from the database, frozen, and validated references are attached; an incomplete record produces a readable error. Generated files are deposited in a shared data folder, a take entry is created in the database, and a notification is sent to the hub's video studio discussion thread.

Timestamped YouTube transcription

This component produces a transcription with verifiable time references. Subtitles are retrieved from the residential box (residential IP required to bypass restrictions). The chercher() function returns the timestamp of the segment carrying a given phrase; attribuer returns speaker attribution with its status (established / inferred). It feeds the transcription and LinkedIn post reply skills.

GLM AI service quota report

This 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

Peritas (Windows 11) is controlled from the mothership, exclusively via SSH over the Tailscale network. The operator's personal browser sessions remain on the OMEN machine (/browser), not here.

Windows box control

The control façade operates at four levels, from most to least reliable:

  1. PowerShell command over SSH: sending commands, retrieving files, launching processes.
  2. Web: delegated to the generic browser façade with the Windows profile (skill /peritas-web).
  3. Windows via UI Automation: targeted by window name — list, tree, activation, reading and writing values, focus.
  4. Screen, last resort: screenshot, click, keystroke, key sequences.

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 Windows

This 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:

  • Horizontal overflow (scrollbar ~17 px vs 100vw).
  • Fonts actually rendered (Arial/Segoe UI fallbacks).
  • Clipped or truncated buttons.
  • Broken or blurry images at 125–150%.
  • Console errors.

The same pass is replayed under Linux to isolate what is specific to Windows. Options: --navigateurs, --out, --sans-linux.


Provisioning, jukebox, film library and editing sub-family — residential box

These scripts use the residential OMEN machine via Tailscale. Provisioning scripts are idempotent and require no root privileges (systemd --user units, isolated Python environment). --check-only displays current state; --dry-run simulates without making changes.

Box maintenance

A maintenance script intended to run directly on the box (interactive sudo) exposes sub-commands: read-only pre-flight check (preflight), system update (install), audio service management (audio-off / audio-on, reversible), post-maintenance check (postcheck: RAM, CUDA, temperatures), and thermal cooldown proof (thermal). Idempotent.

Lyrics alignment provisioning

This 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: --check-only, --dry-run.

Karaoke v2 provisioning

This 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: --check-only, --dry-run.

Remote RAM memory provisioning

This script provisions the volatile memory store on the box (tmpfs /dev/shm), deploys the remote Python store and the garbage-collection unit (timer every 30 seconds), then validates the installation with a real test (write, read, delete). Idempotent, no privileged installation. Options: --check-only, --dry-run.

Soulseek daemon provisioning

This script installs the headless Soulseek daemon (self-contained binary, systemd --user unit, API on local port, peer listening on a dedicated port). The daemon API key is generated if absent and never displayed. The sharing folder is empty at provisioning. It refuses to overwrite an existing installation and validates the health endpoint before exiting. Options: --check-only, --dry-run.

Spotify capture worker

This box-side worker captures the audio stream from the official Spotify client via the MPRIS interface (OpenUri + Next discovery) and records each track as a 320 kbit/s MP3 via ffmpeg on the audio sink monitor. It receives a JSON job on stdin (album_uri, out_dir, dry_run) and emits one JSON event per line on stdout. Private copy; no DRM is circumvented.

Karaoke reference snapshot

This 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: --track (A/B pilot), --out.

Karaoke completion tick

This 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 deployment

This 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: --app, --serveur.

Film library ingestion

This script remuxes MKV video files to MP4 (video stream copied, AAC audio at 192 kbit/s, +faststart) for playback in the browser from the hub film library page. No arguments.

⚠️ No caller of this script is currently recorded in the repository.

Network mount watchdog toward the box

This 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 WATCHDOG_DRY_RUN=1 variable is available. Triggered every minute by a system timer.

Box-side network watchdog

This 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 exclusion

A 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 authorisation

A 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 --force option).

Box systemd units

The repository contains the source-of-truth systemd units deployed on the box:

  • Main CDP Chrome profile (mothership) and Chrome per assistant household (with a template for subsequent households).
  • Network watchdog.

The launch flags (ExecStart) embody the anti-GPU-baking doctrine, asserted by the provisioning façade. These files are deployed by the household provisioning script (--install-core). Never edit in place without porting the change back here.

X server availability wait

This script waits for the X graphical server to be both reachable and authorised before launching a CDP Chrome. Context: the After=graphical-session.target dependency in systemd guarantees neither that X is listening on its socket nor that the graphical authorisation variable is propagated into user sessions — which caused two failures at boot before a third successful attempt. This script is used as ExecStartPre in the Chrome units.

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 pm disable-user (reversible, nothing is deleted). It does not reorganise the home screen, whose layout is stored in a private launcher database inaccessible without root.


Figma sub-family — ISO mock-up quality control

The paid Figma REST API being subject to strict rate limits, captures are performed via the residential box browser. The PNG mock-up corpus and its associated metadata constitute the reference source for ISO conformance checks.

Pre-check without LLM

Before 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: --marqueur, --exclure, --json.

Figma comment reader

This 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: --nouveaux, --cache, --page, --motif, --repondre, --nouveau-fil, --envoyer.

PNG corpus freshness watcher

This 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-reference

This 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: --statut, --json.

ISO gap partitioning

This 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: --verdicts, --seuil (default 3), --recouvrement (default 0.5), --json.

Figma fill matching

This 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: --cible, --rafraichir, --json.

PNG filename migration

This 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: --apply, --rollback.

Figma Presentation mode capture

This 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: --frame, --tous, --lister, --verifier.

Bank, Invoicing and Finance Family

This 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

Component Role Invocation mode
Bank cron entry point Scheduled entry point for the banking domain; triggers downstream steps. Cron / skill /bank
Bank statement importer Parses the statement dump, deduplicates transactions, inserts new movements after explicit confirmation. CLI / skill /compta (import step)
Transaction categoriser Automatically assigns a canonical category to each uncategorised transaction, based on a vendor-to-category rule set. CLI / skill /compta (categorisation step)
Bank reconciliation engine Matches revenue transactions to open invoices by exact amount and client; automatically closes certain invoices, and submits ambiguous cases for manual validation. CLI / skill /compta (reconciliation step)
One-off invoicing CLI Interactive interface for creating invoices and quotes; delegates PDF rendering to a dedicated builder; applies the document charter (issuer, legal notices, mandatory contractual annexes). CLI
Recurring invoicing Generates scheduled periodic invoices on a daily basis. Cron
Overdue payment reminders Detects clients with at least two invoices overdue by 30+ days, prepares a grouped reminder, and submits it for validation via a challenge code before any sending occurs. CLI / skill relance
SIRENE address backfill Enriches client records where the SIRET is known but the address is missing, by querying the SIRENE reference database. CLI (backfill)
Tax indicator engine (FinOps) Computes, in read-only mode, the tax indicators for the micro-BNC regime: collected revenue, social contributions due, provisions, legal thresholds, and liberatory-payment status. Makes no tax decisions and writes nothing to the database. CLI / lib
FinOps alert automation Sends weekly summaries and point-in-time alerts (contribution deadlines, thresholds exceeded at 90%, liberatory-payment deadline). A sentinel mechanism prevents duplicate sends. Cron
Per-account bank movement collection Isolates and associates the movements of each bank account over a given period; pure typing, no tax computation. CLI / lib
Social contribution calculation Applies the three rates of the micro-BNC regime (main contribution, vocational training, liberatory payment); pure function with no database writes. CLI / lib
Transferable balance calculation Determines the amount that can be transferred from the business account to the personal account, after deducting contribution provisions, the liberatory payment, VAT due, and a configurable safety buffer. Triggers no transfer. CLI
Commercial proposal generator Produces chartered proposals (colour palette, typefaces, logo, structured blocks, signature panel) from a JSON specification; renders to HTML then PDF. Supports a method-free mode for sensitive prospects. Skill /livrable-charte
Cost-cache metadata backfill Retroactively assigns cache indicators (read/write) to legacy run-cost records, using preserved flow logs. CLI
Nursery invoice collection Retrieves monthly nursery invoices from the mailbox after antivirus analysis; deduplicates by billed month; produces an inventory with no database writes. CLI
Tax threshold monitoring Monitors the three self-employed thresholds (VAT exemption, liberatory payment, micro ceiling); sends one email per threshold per crossed tier; persists state to prevent duplicates. Cron (weekly)
OVH invoice collection Retrieves OVH vendor invoices via the official API, downloads signed PDFs, archives them outside the repository, and creates an expense line. Idempotent on the vendor + invoice number pair. CLI
Quote response watchdog Detects quotes that remain in "sent" status when a client response is available; creates a backlog item per affected quote and closes it as soon as the status changes. Cron (daily) / CLI
Creative credit top-up facade Manages credit purchases from the graphic-asset vendor; checks the automatic-payment authorisation in the database before any click; maintains a double journal in the database. CLI (gated by an authorisation hook)

Main component details

Bank statement importer

This component parses a text file exported from the bank account. Several edge cases are handled at read time:

  • Amounts using the narrow no-break space (U+202F) as a thousands separator are recognised correctly.
  • Secondary lines indicating an amount in a foreign currency are ignored.
  • Blocks corresponding to a rejection or a failed direct debit (no actual movement of funds) are discarded.

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 --apply flag. The database content is systematically exported before any write (pre-write backup rule).

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:

python3 -m <statement-importer> <dump-file> [--apply]

Transaction categoriser

The 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 --normalize flag also rewrites existing categories that do not conform to the canonical reference. The --apply flag enables writes; without it, the script is read-only.

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:

python3 -m <transaction-categoriser> [--apply] [--normalize] [--account <N>]

Bank reconciliation engine

The reconciliation engine automatically matches each unreconciled revenue transaction to open invoices by exact amount and client identity. The resolution rules are as follows:

  • If a single candidate invoice matches: automatically marked as paid.
  • If multiple candidate invoices share the same amount and client: the tie-break is applied by chronological due date (FIFO on due date — the oldest is settled first).
  • If multiple candidates share the exact same due date: the case is submitted for manual validation.

The --apply flag enables writes; without it, the script lists detected matches without modifying the database.

python3 -m <bank-reconciliation> [--apply] [--account <N>]

One-off invoicing and quote CLI

This component handles on-demand creation of invoices and quotes. PDF rendering is delegated to a specialised internal builder.

Quotes follow a strict document charter:

  • Page 1 — the signed document: issuer, client, subject, work packages and pricing, total, payment schedule, legal notices, "Approved" panel citing its annexes, payment terms.
  • Mandatory annexes A through D: billing and termination conditions specific to each quote. Annex templates are stored in the database and completed per quote. A monthly retainer carries no upfront deposit; a new client is invoiced upon receipt; personal-data clauses appear in annex C.

The validation function raises a DevisIncomplet exception and blocks printing if an annex is missing. The VAT exemption notice is displayed only when the VAT rate is zero; as soon as a positive rate applies, the intra-community identification number appears instead.

Overdue payment reminders

The 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 (--confirm CODE), cancellation (--cancel CODE), listing pending challenges (--list), notification (--notify), polling the inbox to detect an incoming confirmation (--poll), and dry-run mode (--dry).

Note: Although references to reminders at D+7, D+15 and D+30 appear as comments in the scheduled configuration, no active line was detected in the task scheduler at the time of the last audit.

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.

Important: This component makes no tax decisions and writes nothing to the database. The figures produced are provisional indicators to be validated with a chartered accountant.

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 calculation

This component determines the amount that can reasonably be transferred from the business account to the personal account, by subtracting from the gross balance:

  • The current month's social contributions,
  • The liberatory-payment provision (if the option is active),
  • VAT due (parameter, computation can be enabled),
  • A configurable safety buffer (default value: €500).

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.

  • The former combined reminder and reconciliation cron (replaced by the distinct components described above).
  • The one-shot historical import tool from a legacy accounting application.
  • The production client P0 patch-tracking tool.

FinOps sub-family — budgets, caps and call map

This 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

Component Role Invocation mode
Claude Max quota gauge Measures token consumption over a rolling 5-hour window from cost records. Returns a graded exit code: below alert (0), in alert (1), saturated (2). Always underestimates actual consumption because interactive sessions are not traced. Lib / CLI
API budget daily cap Compares billed expenditure against the daily cap configured per scope. If the cap is reached, disarms automatic delegation. Options: --day, --scope, --set-cap, --enforce. Lib / CLI
Call emitter map Measures a floor of groupable calls per emitter, distinguishes splittable calls from indeterminate ones, and charges errors rejected by permission hooks. Proposes no fixes and writes nothing to the database. CLI

Note: The actual triggering of the cutoff by the daily cap (option --enforce) was not detected in the scheduler configuration at the time of the last audit.

Vendor expenses sub-family

These 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.

Component Role Invocation mode
Expense management CLI Command-line facade for creating, listing, viewing and attaching a PDF receipt to a vendor expense. Each PDF is archived outside the repository; a cryptographic hash is recorded in the database to guarantee integrity. CLI
Vendor invoice collection by email Parses incoming emails and creates an expense line according to declarative per-vendor rules. No inference or LLM extraction: an email not covered by a rule is listed as a candidate for reference-set enrichment. Idempotent on the vendor + invoice number pair. CLI
Receipt integrity sentinel Verifies that each expense declaring a PDF receipt can locate its file with the expected hash. Exit 0 if everything is consistent, exit 1 if a file is missing or modified. Born from a migration incident that caused the loss of archived PDFs. CLI
Vendor expense reconciliation Matches each recorded vendor expense against the corresponding bank debits. Writes only on certain matches: amount within ±€0.01, same vendor, consistent date window, single candidate, mutual exclusivity on both sides. Foreign-currency transactions without a known conversion rate are never reconciled to the cent. CLI

Household sub-family — personal accounting

An 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.

Component Role Invocation mode
Household accounting Records documents (received invoices), expenses, and monthly budgets for the household by closed category. Never categorises autonomously: the category must be supplied by the caller. Skill /compta-perso, /budget-foyer / CLI / lib
Benefits and entitlements inventory Catalogues potential household benefits and entitlements, with a mandatory verified source and verification date. Any status other than "to verify" must be accompanied by a reasoned verdict. Writes to no external body. Skill /aides-foyer / CLI
Energy bill monitoring Monitors the gas contract by listening to network responses from the customer portal (SPA interface) rather than replaying an API. Records payments in the household database and alerts on deviation: consumption more than 20% above the previous year, monthly instalment change, new invoice, insufficient provision. Operates in read-only mode by default (--dry-run); --force to trigger an immediate check. Cron (weekly)

GLM budget and throughput sub-family

These 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.

Component Role Invocation mode
GLM budget gauge Sums consumption for the current cycle (all token categories), breaks it down between peak and off-peak hours, and projects end-of-cycle. Progressive alerts at 70% (soft) and 90% (hard). Exit 0 / 1 / 2 according to level. Displays "NOT CALIBRATED" if no reference quota is known. Skill /chantier-live / CLI / lib
GLM autonomy heartbeat Combines the budget verdict (borrowed from the GLM gauge) with a liveness and throughput check of the automatic-arming mechanism. No LLM calls, no database writes. Sends an email alert on a real failure, at most once per day. Cron (daily)
5-hour quota throughput regulator Produces a GO / SLOW / STOP verdict by combining two sources: scraped quota data (freshness ≤ 15 minutes) and detection of the last saturation error code in the GLM proxy log (reset time read in the vendor's local timezone). The --sense option persists these saturation events in the database for retrospective analysis. Lib / CLI

Note: The scheduled line for the throughput regulator's --sense option was present as a comment in the scheduler configuration but inactive at the time of the last audit.

Brand monitoring and market intelligence family

This 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 bots

The 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 control

A visual identity compliance checker evaluates visual outputs against a scoring rubric structured into seven categories:

  • C — Contrast: WCAG 1.4.3 and 1.4.11 compliance (text and non-text components).
  • F — Visible focus: WCAG 2.4.7 and 2.4.11 compliance.
  • T — Target size (WCAG 2.5.8): declared in the rubric, not implemented.
  • S — Semantic structure: WCAG 1.3.1, 1.1.1, 1.4.1.
  • M — Motion: compliance with prefers-reduced-motion (WCAG 2.3.3).
  • A — ARIA live regions: non-blocking evaluation.
  • H: declared in the rubric, not implemented.

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:

  • e-commerce: whole keywords in the notice subject.
  • direct response: exact phrase in the full notice text.
  • bid support: exact phrase in the full notice text, supplies category.
  • excluded: notices identified as out of scope.

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:

  • A notice qualifier that analyses the full text of each detected notice against nine GO / conditional GO / NO-GO criteria (legal framework, tax standing, operational capacity), then produces a pre-filled feasibility dossier (requirements / baseline matrix, architecture, financial scoping, demonstrator plan). P0 safeguards: zero contact with the buyer, zero account creation or CAPTCHA bypass, mandatory antivirus scan before opening any attachment.
  • A candidacy document generator that produces documents ready for review and signature (letter of candidacy, declarations, technical memorandum, feasibility dossier PDF). Each document includes a signature anchor to allow automated digital signature placement. No automatic submission or upload to any buyer portal.
  • An email validation module that processes the human validation response: it verifies the sender (whitelist), DKIM alignment (fail-closed), the integrity of the attached PDF (SHA-256 digest), the freshness of the validation token (under 72 hours), and that the token has not been previously consumed. On approval: submission is triggered via an internal orchestrator. On rejection: the notice is discarded with an acknowledgement.

Malt presence monitoring and management

A 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.

  • The account compliance checker reads, in read-only mode, the status of compliance steps (payment eligibility) and returns OK, PENDING, or BLOCKED, with no write operations.
  • The contact importer synchronises counterparts from active and archived threads into the internal client repository (idempotent), in preview mode by default (--apply required to write). No writes to Malt.
  • The website detector extracts URLs mentioned in incoming messages and records them as technology observations, without modifying the client's website field.
  • The session reconnection module restarts the persistent Malt session (dedicated browser profile, Chrome CDP), with support for 2FA codes read from the mailbox. It is called automatically on a 403 error during monitoring.
  • Malt reply sending can only be triggered after traced validation: a token carries the SHA-256 digest of the draft; sending recomputes this digest and refuses on any discrepancy. A global kill-switch allows sending to be disabled. Deduplication is handled by timestamp.
  • Account safeguards constrain bot behaviour: environment kill-switch, hard rate-limit per creator on a sliding window persisted in the database, static audit verifying that no unvalidated write path exists.

Legal entity tracking

A legal entity watcher monitors BODACC publications (official legal notices) and the administrative status of an entity via the public recherche-entreprises API. It computes a diff of new notices (categories: collective proceedings, RCS registrations…) and sends an email alert on each change. It runs on a daily morning cron schedule and supports --dry-run, --init (baseline without alert), and --force (test alert) modes.

Advertising conversion upload

An offline conversion uploader transmits order data to Google Ads via the Data Manager API, matching each conversion with the click identifier (gclid) captured at landing on the site. It runs on a daily cron schedule in the early morning, with a 90-day sliding window.

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 tracking

An 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 (--status) by other system scripts. It can be re-armed via --reset and re-registration in the cron schedule.

Community publications

A 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 generation

Four 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 check

The domain availability checker queries the RDAP protocol (free, no API key) for each candidate <name>.<extension> and returns a FREE / TAKEN / UNKNOWN status together with a purchase recommendation (core or defensive). This is the deterministic, replayable half of the naming workflow.

Trademark prior art checking (TMview, EUIPO, INPI FR, IPI Switzerland) is driven via a dedicated browser session from the /marque skill: TMview API access is blocked from a server IP and requires a residential IP.

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 report

The 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 generation

The 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:

  • Multi-line prompt submission: the Enter key triggers submission in the target interface. The script now injects the entire prompt in a single JavaScript call into the page, verifies reception line by line, and falls back to line-by-line insertion with Shift+Enter if the editor has not received the full text. The previous character-by-character approach took several minutes for a long prompt over a network tunnel.
  • Surface-based generated image detection: detection no longer requires each side to exceed a fixed threshold; it evaluates total surface area and the short side separately — a row strip (e.g. 1024 × 343 px) was previously not recognised as a valid image.

Logo report

The 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 derivation

A 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 /charte skill in the branding workflow.


A 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 pipeline

Processing chains the following steps:

  1. Image pre-processing: composite of the alpha channel onto a white background, conversion to greyscale, resizing.
  2. Thresholding: Otsu's method implemented in NumPy (no OpenCV dependency), preceded by a Gaussian blur for noise reduction.
  3. Morphological cleanup: binary closing and opening to eliminate residual noise.
  4. Vector tracing: writing a native PBM file passed to potrace --svg.
  5. XML cleanup: addition of a responsive viewBox, application of the target colour, removal of metadata.

A quality loop (4 iterations maximum) evaluates each result:

  • The SVG is rendered to PNG via rsvg-convert.
  • A sub-agent visually analyses the render and returns a structured JSON verdict (sees, defects, issues, action). If the sub-agent fails, the loop continues without blocking (fail-open).
  • Potrace and morphological cleanup parameters are adjusted according to the returned action.

The sub-agent is invoked as follows:

claude -p <vectorisation-critique-prompt> --output-format json

Score computed, not requested from the LLM

The quality score is computed deterministically from the sub-agent verdict, which classifies six defect axes on a closed scale:

Axis Description Levels
angularityCorners too angularnone / minor / major
over-smoothingCurves too round, detail lostnone / minor / major
noiseSpurious artefactsnone / minor / major
detail lossFine elements missingnone / minor / major
stroke too thinStroke thinned by thresholdingnone / minor / major
stroke too thickStroke bloatednone / minor / major

A penalty schedule derives a 0–100 score from these classifications. An accept returned by the sub-agent is overridden if the computed score remains below the target — ensuring that the selected deliverable is the iteration with the best objective score, not the last evaluated iteration.

Why not request a numeric score from the LLM? A raw score produced by an LLM has no stable scale across independent calls: the same render may receive 66, 61, or 58 depending on the inference run. The score therefore cannot serve as a selection criterion across iterations. Classification by axes on a closed scale is stable and replayable.

Polarity and stroke weight corrections

Polarity: 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 bolder / thinner actions from the sub-agent. Previously, these actions had no effect on a stroke thinned by thresholding.

Deployment, shipping, and infrastructure

General delivery principles

The system distinguishes two production release gestures:

  • Deployment (./deploy <target>) is always initiated by the agent, without exception. On the main platform, it rebuilds the application in place.
  • Shipping (./ship <target>) targets production and follows a per-tenant governance rule: each site declares in the database whether it allows autonomous shipping by the agent. This column is the single source of truth — the agent reads it before any action. One specific strategic tenant always remains blocked from autonomous shipping, without exception, as an independent defense-in-depth measure separate from the database.

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 library

All deployment scripts rely on a shared function library that orchestrates the following phases:

  • Schema drift detection: before any build, the system compares the schema declared in the code against the actual database schema. In strict mode (default), any discrepancy blocks the deployment. In corrective mode, missing idempotent migrations (column additions, table creations) are applied automatically — deletions are never performed.
  • i18n route generation: a generator produces the JSON file of localized route segments before the Nuxt build, in a non-blocking manner.
  • Build cache isolation: each build writes its target into a marker file. If the existing cache originates from a different target (e.g. preprod vs prod), the cache is fully purged before the build, preventing hybrid outputs that caused 500 errors on JavaScript resources.
  • Translation seed alerting: the translation seed step remains non-blocking but becomes visible. On failure, a warning banner is displayed and an entry is opened in the daily tracking board, automatically closed on the next successful seed.
  • Remote build: the Nuxt build can be delegated to a dedicated M1 machine (the "oven"). By default, all tenants are eligible, except those whose configuration freezes a secret at build time — those build locally. If the machine is unavailable or the produced archive is in doubt, the system automatically falls back to a local build.
  • Secret guard on artifacts: a scanner inspects the Nuxt output directory and blocks deployment if a secret value appears in it. Public variables with known prefixes (NUXT_PUBLIC_, VITE_, etc.) are explicitly excluded. Archives containing a symlink pointing outside the directory are rejected.
  • Build lock: only one Nuxt build at a time is allowed on the main machine; requests are served in arrival order (FIFO).
  • SSR cache warm-up: after the swap, a detached process slowly crawls blog and category URLs from the sitemap to prevent the first visitor from bearing the cost of a heavy render. This process can be disabled and never affects the main deployment flow.

Trunk guard

A 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 artifacts

A 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 log

Each 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 M1

The remote build machine exposes exactly three verbs via an SSH key restricted to a single authorized script:

  • Build: receives sources and the build-time-frozen environment configuration via stdin, runs the Nuxt build, returns the exit code.
  • Fetch: transmits the output artifact.
  • Check: confirms that the machine is available.

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

  • Dependency lock health: verifies that the minimum required versions of certain critical dependencies (CSS minification tool, Nuxt framework) are met in the lock files. Blocking if non-compliant.
  • Git tree cleanliness: ensures no uncommitted changes are present before deployment.
  • Schema lag: delegates to the migration tool in dry-run mode to determine whether the target database has a schema lag. Returns an exit code readable by deployment hooks.
  • i18n navigation without redirects: after deployment, a guard verifies that no navigation link on a multilingual site produces a 301 redirect. It loads languages from hreflang tags, collects internal links from each localized home page, and probes each URL without following redirects. A cache-buster parameter allows targeting the new build's render without waiting for SSR cache expiry.

Infrastructure tooling

Tool Role Usage
Tenant initialization Bootstrap of a new tenant from a declarative template One-shot CLI
VPS provisioning Automated cloud server provisioning for CodeMyShop clients CLI
Declarative seed Initializes a tenant from a YAML configuration file CLI
Admin accounts Creates or updates hub access accounts for a tenant; idempotent CLI
Automatic design system Derives the visual identity from the logo, generates CSS variables and database values CLI
Visual identity application Applies the visual identity from the configuration file or the database, regenerates the CSS variable block via the same generator as the application core (zero divergence), validates WCAG contrast, and preserves the manual zone (navigation, fonts, logo) CLI / skill /charte
CSS variable generator Directly invokes the generation function of the application core; implements no logic of its own — guarantees zero divergence between the hub and the scripts Lib (invoked as subprocess)
Shop information pre-fill Pre-fills the hub information section of a tenant from already-known client data; idempotent CLI
Playbook seed Universal cross-tenant seed of hub playbooks, conditioned by edition Cron / CLI
Quote questionnaire generator Produces idempotent SQL for a multi-step questionnaire from a tenant YAML One-shot CLI
Per-tenant nginx configuration Pushes a tenant's nginx configuration to its server. Two topologies: host mode (legacy) and container mode (greenfield). Idempotent — reloads only if the configuration has changed. CLI
Secure entry slug rotation Regenerates the slug of the hub's confidential entry point, updates the configuration, and propagates via the nginx tool CLI
Schema registry synchronization Keeps the database schema registry up to date for the agent Cron / CLI
System updates Applies APT updates on the main machine and client servers, unattended CLI / skill
Deploy button runner Receives deployment requests written to the database by the hub (the application server cannot restart itself), executes them against a closed list of allowed targets, and publishes a pre-flight heartbeat proof on each cycle. If the runner stops, the hub disarms the button. Service (permanent loop)
Deployment performance bench Measures cold and warm deployment times for the main platform CLI
Safe production SQL write Security wrapper for any SQL write on a critical production tenant CLI

Backups and restore (S3 / Scaleway)

Tool Role Usage
Encrypted critical file backup Encrypted backup of critical platform files CLI / cron
Tenant database backup Exports and uploads a tenant's database to object storage Cron
Local PostgreSQL backup Local PostgreSQL dump to object storage Cron
Remote PostgreSQL backup PostgreSQL dump from a remote server to object storage Cron
File backup Copies files to object storage Cron
Password vault backup Hot copy of the human password vault (SQLite database, RSA key, attachments) into an AES-256 encrypted archive in object storage. Distinct exit codes per failed phase. Cron (03:20 UTC)
Vault restore test Downloads the day's archive, decrypts it, starts an isolated throwaway instance, checks availability, and compares user, secret, and folder counts against the live vault. Never touches the live vault. CLI
PostgreSQL restore Restores a database from object storage CLI
PostgreSQL restore test Performs a monthly test restore from object storage Cron (monthly)
S3 lifecycle configuration Configures the retention policy on object storage One-shot CLI
Backup log rotation Rotates backup logs and acts as a generic safety net across all logs: any file older than 30 days is deleted, any log file exceeding 50 MB is truncated to its last 10 MB Cron

Main machine monitoring and hygiene

Tool Role Usage
Main machine system health Checks disk, memory, pending reboots, packages, available space for nightly dumps, accumulated git worktrees, CPU load, system pressure (PSI), process creation rate, temporary space, and orphaned dead-session processes Cron (4 times/day) with alert
System doctor Inspects the main machine and autonomously remedies two categories of issues from a closed list: (1) dead-session orphans, using SIGTERM then a grace period — never a live agent; (2) stale entries in temporary space — never a database dump. Every action is logged. Anything beyond the threshold or outside the list is escalated without intervention. Can be disabled via environment variable. Cron (every 15 min)
Fleet machine watchdog Keeps the last-seen timestamp for each machine up to date in the database. Sources: private network presence, TCP response on a declared port, public IP. The timestamp never goes backward. Cron (every 5 min)
Container image canon audit Verifies that the entire fleet uses the reference PostgreSQL image. Reads actual state via SSH to each server; respects exceptions declared in the database. Read-only. CLI / skill
Temporary workspace purge Removes working directories from terminated agent sessions (dual criterion: age AND no active process holding the directory). Preview by default; --apply to delete. Cron (02:00)
Root temporary space large-object purge Collects large objects left at the root of temporary space by terminated processes. Four cumulative conditions: owned by the current user, neither a socket nor a symlink, not a known live process name, older than the configured threshold, above the minimum size, and held by no process. Dry-run by default. Cron (02:40 and 14:40)
Working directory hygiene Purges ephemeral working directories (session workspaces, merged and clean worktrees, disarmed transcripts), with safety guards (maximum depth, symlinks ignored) Cron (06:20)
Agent transcript rotation Reduces the size of old transcripts by compaction: retains the head and tail of each tool result block and inserts an elision marker. No deletion or compression is ever performed. Cron (01:30)
Orphaned image cache purge Inventories and moves to a timestamped trash any image cache entries whose associated product no longer exists in the database. Never deletes directly; requires a confirmation buffer before applying. CLI (--apply)
Targeted SSR cache purge Invalidates specific entries in a tenant's SSR cache (a 200→404 fix would otherwise never propagate). Supports purge by path or global purge. CLI / imported lib
Container role synchronization Replays each night the declarative configuration rows for fleet containers from the reference columns, without duplicating any rule. Guards: empty fleet, maximum number of removals per run. Dry-run by default. Cron (04:40)
Initial JavaScript counter Probes the SSR HTML of a URL and counts preloaded modules and module scripts, measures their raw and compressed weight. Read-only. CLI
Nuxt asset disk fallback Configures nginx to serve Nuxt static assets from disk only on application server 404 — Nitro remains the nominal service. The transformation is tested locally; the server receives the validated result, with automatic backup and rollback on failure. CLI
Nginx vhost drift detector Compares versioned nginx configurations against the configurations actually active on the server. Read-only; can pull the active configuration back to the repository, never the reverse. CLI
TLS certificate watchdog Checks the expiry date of certificates across the entire fleet. Silence is treated as an alert. The source of truth is in the database, synchronized from server declarations. Cron (06:05)
Main site content parity Compares the row counts of several content tables between the hub and the main site's live database. Returns the number of discrepancies. Read-only. CLI
Post-migration health gate Verifies after a migration or restore that the application server responds, that critical endpoints return 200, and that no missing database relation appears in recent logs. CLI

Main machine switchover

A set of specialized tools assists the cold migration of a main machine to a new one:

  • Installed tooling audit: compares the actual state of the machine against the declarative registry of required tools. Can compare two machines and produce a remediation plan without applying it. Blocking if a priority capability is missing.
  • Base system build: sets up the base system of a new machine in a single idempotent gesture — system user, SSH hardening (key only), firewall — without private network authentication or TLS certificate configuration.
  • Application proxy transport: copies the code, configuration (the secret is never displayed; only the fingerprint is compared), and system service of the proxy from the old machine. Read-only on the source.
  • Database integrity proof: verifies that no table on the new machine contains fewer rows than the old one (exact count across ~460 tables), and that sequences have not reset to 1. A table present only on the old machine is flagged as missing.
  • System service parity: compares active services between the two machines and flags anything running on the old machine but not on the new one.

Legacy external site integration

A 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.

  • Production deployment: rsync-based swap with a bypass guard — the content being pushed must already match staging, otherwise the deployment is refused. Any explicit bypass is logged. Includes backup, integrity check, health verification, and rollback.
  • Three-way drift detector: compares files read-only between staging, production, and the repository. Classifies each file into six cases, including a bypass case (direct production modification without going through staging). Sends an email alert for anything other than repository advances.
  • Staging database refresh: imports the production database into staging (production remains read-only), then rewrites URLs, disables payment modules, anonymizes data, and purges the template cache.
  • Tiered pricing watchdog: detects and corrects tiered pricing inconsistencies after any price change. Measures first, then corrects. Suspends and alerts if the number of discrepancies exceeds a configured threshold.

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.

Tool Role Usage
DNS management Creates or updates DNS records idempotently (PUT if existing, POST otherwise) and refreshes the zone CLI / lib
Domain name ordering Orders a domain in three steps: quote, order cart generation (paid by a human — automatic payment is hard-coded to false), whois proof. Single purchase path. CLI / skill
Email aliases Manages OVH MX Plan redirects: list, idempotent creation, deletion. A permissions denial redirects to the API rights management tool. CLI
External client account facade Read-only access to a third-party client's OVH account: inventory, API path lookup, DNS zone CLI
API rights management Requests expanded rights for the OVH API key: generates the validation URL to be submitted to a human, then installs the new key while retaining the old one CLI / skill
VPS stock monitor (configurator probe) Checks actual VPS availability in France by loading the web configurator in a headless browser — the public catalog is not proof of stock. Alerts a human when stock returns, without ever contacting a client. Places no orders. Cron (hourly)
VPS stock monitor (API probe) Directly queries the OVH datacenter rules API for Linux VPS in France, much faster than the configurator probe. When stock returns, sends a single-token alert (one email only while the watch is open). On explicit authorization, can place and pay an order immediately using the account's preferred payment method, then returns a summary. Can be disabled (falls back to token alert). Cron (every 2 min, under lock)
Email authentication for our domains Audits and brings all our domains up to SPF/DKIM/DMARC standards. Target standard: SPF with -all, DMARC in reject once senders are known. Audit mode (read-only), apply mode (with confirmation), periodic watch. Cron (weekly, --vigie) / CLI
OVH client account opening Opens an OVH account on behalf of a client via the public endpoint (no password: the account holder activates it themselves). Identity cross-checked against the business directory. Places no orders and makes no payments. CLI
First access to a delivered VPS Places an SSH key on a newly delivered OVH server without viewing the initial password. Companion to initialization and application stack migration scripts between hosts. CLI / skill
DNS zone comparison Compares what two sets of DNS servers publish for the same domain, record by record. Allows validating a target zone before switching DNS servers. Proxied addresses are replaced by their real origin for comparison. Read-only. CLI / skill

Access security and secret rotation

Tool Role Usage
Hub admin password rotation Rotates the hub administration password for a site in a fixed, safe order: secret generation, encrypted write to the vault (source of truth), configuration derivation, database hash, verification via a real login. The value is never displayed. CLI / lib
Legacy database credential rotation Rotates the credentials of a MariaDB database for a legacy PrestaShop site. Safeguards: production guard without explicit override, secrets passed via stdin, rewriting of dependent files, proof via replayed backup. Only truncated fingerprints are displayed. CLI
LLM BYOK key deposit Places a client-supplied LLM key into a tenant's configuration, encrypting it on the client's server using the machine-specific master key. Re-reads and decrypts remotely to compare fingerprints. No value is ever output — masks, truncated fingerprints, and lengths only. CLI
Basic Auth on staging Generates or renews the nginx Basic Auth protection for a staging environment. Resolves the server, detects the existing password file, writes the new credentials with the password via stdin, and reloads nginx. CLI / skill
Shopify token rotation Regenerates the Shopify Admin API token (24-hour lifetime) and writes it to the vault in restricted mode. The secret is never printed: presence and length only. CLI / skill
Cron line add or remove Adds, lists, or removes a crontab line without overwriting others, with a prior backup and re-read after writing. Idempotent by named marker. CLI / skill

PrestaShop staging tooling

A command-line facade orchestrates a disposable PrestaShop staging shop environment. It exposes the verbs up, down, reset, status, install, uninstall, cycle, upgrade, check, remove, as well as console, SQL, and log access.

Two significant fixes have been applied:

  • Actual debug mode measurement: the status command now queries PrestaShop directly to determine its execution mode, instead of reading back the environment variable. Any discrepancy between the two is reported without being automatically corrected.
  • Correct module resolution: when installing a module, the facade identifies the main file (the one at the root of the folder, i.e. the shallowest in the directory tree). In the event of ambiguity at equal depth, it refuses to act rather than choosing arbitrarily.

Founders' private space provisioning

A 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 --apply flag, execution is a dry run. Granted permissions are minimal.

Mobile vault and photo archiving

A 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 Migrations

This 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

Tool Role Invocation mode
OSS Synchronizer Synchronizes the core, community, and examples modules from the private monolith to the public CodeMyShop repository — single squashed snapshot per release on the public side (not a commit-by-commit replay); the public repository remains canonical for existing files. CLI (OSS pipeline)
OSS Comment Stripper Removes all comments from the OSS snapshot before publication. CLI (OSS pipeline)
OSS Quarantine Manager Deletes artifacts from the OSS quarantine. CLI
Module-to-Pack Mover Moves a module to a target pack (<src> <dest>). CLI
Explicit Import Generator Generates the explicit imports for the module loader. CLI
Automaton Link Regenerator Regenerates the dependency links for automatons (agents and pipelines) on the mother-ship side. The initial TypeScript import analysis phase has been removed (no actual consumers); only the agent/pipeline regeneration, read by the automaton engine, remains. Daily cron / CLI (--dry-run, --quiet)

Schema Migration Tools

Tool Role Invocation mode
DDL Migration Applicator Idempotently applies detected DDL migrations (missing columns and tables). Never executes a DROP. CLI
Gated Module Installer Installs the DDL for modules only if the tenant declares them in its configuration (extends:) — reads the tenant config, then idempotently applies the DDL scripts (CREATE TABLE IF NOT EXISTS, never a DROP); a module absent from the tenant configuration creates no tables. The --module option restricts the operation to an enabled module. CLI
Module Table Auditor Verifies consistency between the modules declared in the tenant configuration and the tables that exist in the database — detects orphan tables (module removed) and missing tables (module present without DDL). CLI
Migration Lag Watchdog Compares the objects (tables, columns, constraints, indexes) from the repository migrations against the introspection of each fleet target. An unreadable file produces an UNPARSED status and exit code 1. Read-only, applies nothing. Supports --tenant (repeatable) and -v. Daily cron (11 tenants, with notification fallback) / lib (used by the migration application engine)
Fragile Migration Anchor Detector Detects migrations anchored on a slug identifier that another migration renames — those migrations are no longer replayable; the remedy is a dual old+new anchor. Reads the tenant configuration; exit code 1 on violation; --tenant, --json. CLI
Migration Application Engine Applies missing core migrations to a fleet target: DDL and database registration in a single transaction, with rights granted to the application role in the same transaction. Includes a target safety guard (attested dump, explicit confirmation option for production), as well as --fix-grants and --normalize-constraints options. Dry-run by default, --apply to write. Rejects migrations carrying a concurrent index (CREATE INDEX CONCURRENTLY) — the exact counterpart of the rejection of migrations carrying their own transaction — to prevent mid-execution failure inside a transactional block. CLI (referenced by the deployment hook and the pre-flight check script)
Slug Anchor Auditor Detects migrations anchored on a link_rewrite that another migration renames. Exit 1 on violation. CLI
Tenant Database Separator Gives a tenant its own database: dump of the source (never modified), creation of the target role and database, restore, password registration in the encrypted registry, switchover of the tenant configuration after backup, application server restart and verification. No secret is printed. Options --check, --run, --reload-runtime. CLI (one-off operation)
Tenant Dump Verifier Produces a full PostgreSQL dump of a tenant, proven restorable: snapshot in REPEATABLE READ isolation, per-table row count at the source, restore into a network-isolated container, comparison, verdict in a timestamped manifest. The require_valid_manifest function serves as a prerequisite for all write scripts. Options --status, --max-age-hours, --keep. CLI
Tenant Migration Applicator Applies a versioned SQL file from a tenant's migrations folder to a staging, workshop, or review environment (via SSH + container), without going through an LLM. Refuses production and any path outside the targeted tenant's folder. The --twice option proves idempotency. CLI (--tenant, --file, --twice)

DropXL / vidaXL Supplier Catalog Connectors

This 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.

Tool Role Invocation mode
DropXL API Connector Imports the DropXL catalog from the B2BWave API (products, categories, stock, prices) and performs an idempotent upsert into the tenant database. Reserved for the order transmission phase, gated by KYC. Supports OAuth2 M2M or direct Bearer authentication (pre-KYC sandbox). CLI
vidaXL Feed Importer Imports the catalog from the public vidaXL/DropXL feed files (full catalog ~1.7 GB decompressed, ~330,000 FR products, no KYC). Two capacity-deduction rules apply to the Seats & Sofas section:
  • Title rule: reads the number of seats announced in the product name (e.g. "N places", "N-seater").
  • Type rule: infers capacity from the first word of the name for reliably measured singular types (armchair, pouffe = 1 seat — consistency >99% on the supplier sheet), except before a bundle marker. This rule was added after observing that the title rule alone remained below the 30% coverage threshold across the entire sub-tree (14,698 products).
Final coverage (both rules combined across the entire sub-tree) is to be confirmed.

The --refresh-stock mode incrementally synchronizes stock and prices from the delta offer feed (~14 MB) instead of re-downloading the full catalog. The update logic respects prices manually edited in the back office (a manually adjusted price is never overwritten). If the feed access token is absent, the script exits with code 2.

After every successful live import (excluding --refresh-stock mode), the indexation tier recalculation is automatically triggered in a subprocess (timeout 1,200 s); a failure of this recalculation is logged as a warning but does not make the import fatal.

Options: --tenant, --dry-run, --live, --purge-demo, --all, --limit, --batch-size, --map-bootstrap, --refresh-stock.
CLI
Image Migrator to Sovereign Storage Migrates product images from the vidaXL CDN (transit) to the tenant's sovereign object storage (permanent): download, WebP conversion, upload with public read access, URL rewriting in the database. CLI
Image Migration Cron (covers first) Cron wrapper for migrating vidaXL cover images to sovereign storage: time-bounded execution (--max-seconds), incremental commit (--flush-every), idempotent, overlap-prevention lock. Cron every 5 minutes
Cover Variant Backfill Cron Backfills responsive variants of already-migrated covers: persistent keyset cursor on the image position, idempotent (head_object to skip already-processed ones), self-terminating, dedicated lock. Cron every 10 minutes
Gallery Variant Backfill Cron Backfills responsive variants of gallery images (position > 1) already on sovereign storage but without variants — targets the pre-cover-backfill remainder; separate cursor and lock to coexist without blocking. Cron every 15 minutes
Incremental Stock and Price Refresh Refreshes stock and prices for a tenant from the vidaXL delta offer feed (available stock, catalog prices excluding manually adjusted prices), under lock, with logging and failure notification. Cron 4×/day (05:30, 11:30, 17:30, 23:30)
Product Name Repair Tool Repairs faulty product names from vidaXL feeds ("Untranslated", leading code, attribute fragment) without an LLM: closed dictionary — any unknown term is rejected and listed. Only the name field is written (the slug remains intact, no 301 redirect). Dry-run by default, --apply to write. CLI (--tenant, --id-lang, --apply)
Dead Cover Re-checker Re-checks product covers whose supplier has purged the item on the source side (cover left blank). Two active weekly passes (Monday and Sunday at 06:15). Weekly cron (2 active lines)
Seat Capacity Backfill Writes the capacity (number of seats) for seating items whose name announces it and whose supplier sheet left it blank. Creates no characteristic value, never overwrites a declared capacity. Operation log in the database. Dry-run by default, --apply, --undo-run <id>. CLI

Auto Parts Catalog Scraping and ETL

Idempotent 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.

Tool Role Invocation mode
Shared HTTP Scraping Foundation HTTP session, exponential backoff (10/30/90 s), throttle (4 s + jitter), ban detection (3 consecutive 403 errors = clean stop), anti-bot soft-block handling (3 400 errors → cooldown, 5 cooldowns → abort). Also carries the part-type classifier (complete turbo vs. cartridge only), inferred from the anchored prefix of the commercial label, never returning None. Parses no product listing. Lib (imported by the main scraper and the price comparator)
Main mister-turbo.com Scraper Idempotent sitemap-driven scraping (~32,053 listings); parses application/ld+json structured data (name, reference, brand, price, availability, OEM references, compatible vehicles) and the HTML specification table; delegates the HTTP layer to the shared foundation; retains only site-specific parsing. Invoked via the cron wrapper. CLI (invoked by the cron wrapper)
mister-turbo Scraper Cron Wrapper Chains under a non-blocking lock: (1) scrape of a bounded batch of 500 listings, (2) injection of missing listings, (3) injection of special fields, (4) purge of the remote Smarty cache. Cron line suspended since 2026-08-06 (selective re-import in progress) — manual launch only. CLI (cron suspended)
mister-turbo Image Downloader Retrieves up to two distinct high-resolution photos per product from the scraping database (source thickbox_default, anti-placeholder filter); deduplication by numeric image identifier. CLI
Catalog Image Importer Imports the downloaded images into the e-commerce catalog (fan-out by reference across all products sharing the same reference) and fills in empty descriptions. CLI
Catalog Injection Tool (staging) Idempotent injection of the scraped catalog into a PrestaShop staging environment via SSH/MariaDB. Dry-run by default, --execute to write, --rollback to delete the inserted range, --special for special fields, --ids to restrict to a list of references, --limit for a safety cap. Deduplication against the existing catalog. CLI
Image Squaring Tool Product image cleanup: lossless square cropping. CLI
Orphan Image Inventory Read-only inventory of a tenant's image folder: an image is active if its identifier exists in the database and its path matches the site's image route. Writes the orphan manifest consumed by the purge tool. Module-level. CLI
Orphan Image Purger Reversible purge of orphan images from the manifest (mv to a timestamped trash folder, directory structure preserved, no rm); re-reads the database before each move to avoid race conditions and refuses any file whose identifier has become active again. Simulation without --apply. CLI (--apply)

WooCommerce Catalog Import

Transfer of a WooCommerce store's public catalog to CodeMyShop: read-only access to the public Store API, no database writes, no deployment.

Tool Role Invocation mode
WooCommerce Catalog Importer Reads the public WooCommerce Store API without an authentication key (paginated products, categories, variations) and outputs a JSON import file along with associated images. Normalization: decoded HTML entities, HTML tables in the long description converted to label/value pairs, brand inferred by whole-word match against a provided list (never guessed), prices in cents (0 = on request), original image named by product identifier and rank. One request per second limit. Options: --site, --out, --marques, --pause, --sans-images, --sans-declinaisons, --depuis-dossier. CLI / skill /import-woocommerce

Competitor Price Comparator

Feeds 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.

Tool Role Invocation mode
Competitor Price Collector Populates the price-recording table (on the mother-ship) from the sites listed in the competitor registry. Does not crawl the entire competitor catalog — only references already sold by the tenant, pre-filtered by reference read from the URL slug. Writes a new row only for a new price level (otherwise updates the last-recorded date). Price always compared inclusive of tax. The part-type classifier backfill command (--backfill-part-type) fills only rows without a classification — never an already-classified row. CLI (--competitor, --limit, --delay, --dry-run, --check-robots, --backfill-part-type)
Back-Office Synchronizer Synchronizes the recording table (mother-ship) to a snapshot on the PrestaShop database side, which the back-office module reads via a simple local join. References matched in normalized form (lowercase alphanumeric), then rewritten with the exact PrestaShop reference. Table fully rebuilt on each pass (idempotent). The cartridge-only part is excluded in both directions (neither compared nor used as a comparison point) — the data remains collected in the database, the exclusion is reversible in a single step. The displayed price is a clickable link to the competitor's original listing, sourced from the same record as the price. URL validation: HTTP(S) only, backslash rejected, overly long URLs rejected. CLI (--dry-run, --init-schema, --limit)
Weekly Orchestrator Chains for a given competitor: (1) price collection, (2) part-type classifier backfill, (3) synchronization to the back office. Exclusive lock per competitor to prevent overlaps. Competitor activation is re-read from the database at each execution. Weekly cron (Wednesday and Thursday at 01:00, via the cron wrapper)
Tag Format Corrector Adds compatibility tags that were incorrectly punctuated (hyphens instead of spaces) and were breaking price propagation between linked listings. Additive operation only, with JSON log. Dry-run by default, --apply, --rollback, --limit. CLI

Demo Seeds

Tool Role Invocation mode
Demo Product Importer (Python) Imports approximately 120 products from a demonstration catalog into the demo database. CLI
Demo Product Importer (Node) Populates the 28 L3 categories of the demo store from a partner's public Shopify API (permission obtained for demo use): paginated fetch, bucketing by vendor and type, cover download and resizing (4 WebP sizes), SQL generation and application (product, languages, images, categories, stock). Idempotent (skip if reference already present, reseed = delete + re-insert). CLI (one-shot)
Vertical Seed Runner Instantiates a store from a vertical pack seed file — categories, products, mega-menu, brands phases — idempotently. --apply to write. CLI (one-shot per tenant)
Reference Data Seed Seeds base reference data into a tenant's database: geographic zones, countries, carriers, payment methods. Fills the systemic gap post-migration (empty reference tables). The remote command is correctly escaped. CLI (provisioning)
Demo Reset Tool Restores the demo database from an initial seed dump. The --snapshot option creates this reference dump. CLI
Mega-Menu Dumper Exports a tenant's mega-menu (hierarchical navigation and translation tables) via SSH + PostgreSQL dump to an idempotent SQL file (deletion by client identifier then re-insertion), coordinates read from the tenant's seed file. CLI (<tenant>)
Nightly Demo Reset Watchdog Monitors the nightly reset of the demo store. The reset runs on the demo VPS (cron 21:00 UTC) without email credentials: it writes its verdict to a status file; the watchdog, on the mother-ship, reads it via SSH and alerts on any problem. Three verdicts: ok (silent), disarmed (no cron scheduled — nothing to alert), alert (cron scheduled AND status is fail, absent, too old, or SSH unavailable). Options --db, --dry-run, --max-age-h. Cron / CLI

Loyalty Redirect Batch

Three 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 --appliquer option.

Tool Role Invocation mode
Redirect Batch Preparer Converts a matching table (24 columns, outside the repository) into a 6-column UTF-8/LF TSV intended for a PostgreSQL \copy — no INSERT generated, therefore no custom escaping. Connects to no database; versioned output placed alongside the tenant migration. CLI (--in, --out)
Redirect Table Pre-Backup Dumps the redirect table of a tenant before any write (production and/or staging, depending on the --target option): schema file, data file (column-by-column INSERT), and metadata file (row counts, SHA-256 checksum). Blocking verification of the INSERT count against the database row count. No writes, replayable. CLI (prerequisite for the loader)
Redirect Batch Loader Loads the batch into a temporary table, produces the acceptance report, then commits (--appliquer) or rolls back (default behavior) — same SQL in both modes. Requires a verified dump, checks the SHA-256 checksum of the TSV after transfer, ON_ERROR_STOP=1, cleans up uploaded files. CLI (--appliquer = production action, on explicit instruction only)

Auto Parts Catalog — AutoKUR Tenant

Scripts that build and maintain the AutoKUR tenant store (catalog, FAQ, images, emails, prices). Common convention: dry-run by default, --apply to write. None is triggered directly by the live crontab.

Tool Role Invocation mode
Catalog Branch Arbitrator Measures slug collision between catalog pillars (turbo, injector, high-pressure pump) against impressions and clicks from the reference sister site. Read-only. Options --top, --json. CLI
Vehicle Application Porter Ports vehicle application facts from the raw data source to the vehicle and compatibility tables by brand, engine code, and power output; confidence levels (safe, probable, to verify), vehicle splitting by period, without human intervention. Sub-commands match (dry-run) and apply; option --tenant. CLI
Compatibility Source Cross-Matcher Automated cross-referencing of free external sources to retrieve OE numbers and applications by sold reference, without TecDoc. Sub-commands collect (respects robots.txt), parse, report, apply-aliases; --tenant before the sub-command. No LLM. CLI / lib
AutoKUR Catalog Seed Initial seed: one product per reference projected into the catalog tree at the deepest node, from compatibility data and the legacy. Price from the most recent listing, maximum stock, generated name. Dry-run by default, --apply, --limit. The --rattachements-seuls mode replays only the category projection without rewriting names, slugs, metas, prices, and stock. CLI
Category Guide Generator Deterministically generates (without LLM) the bottom-of-page category guides (FR/EN/DE): introduction, table, diagnostics, core return instructions, fitting instructions (FR only), EU compliance; real internal links. Dry-run by default; --v1, --id, --limit, --apply, --generes (regenerates all guides already placed by this generator). CLI
Core Return Page Writer Updates the core return pillar page with the amounts broken down by part type (turbo, injector, HP pump) and the core return conditions, in FR/EN/DE. Targeted UPDATE on description and metas; dry-run with self-check, --apply. Idempotent. CLI
Core Return Variation Creator Creates the core return attribute groups and binary variations per product (option A "deposit paid", option B "core first"), synchronizes stock and the default attribute cache, in FR/EN/DE. Dry-run, --test <id_product>, --apply. CLI
Volume Discount Price Generator Administers and audits volume-based tiered pricing in the catalog: relative discount grid (2 units −2%, 3 units −4%, 4 units −8%, 5 units −10%), marked by a sentinel rule, without price inversion. Compatible with the back-office volume discount management module. Options --audit, --sync, --adopt, --all-cats, --category-id, --tenant, --json. CLI
Transactional Email Template Generator Generates and injects the 7 transactional email templates (confirmation, preparation, shipping with core return slip, payment pending, welcome, password reset, admin notification) in FR/EN/DE into the template tables. Options --check (status) and --apply (injection). CLI
External Generation Integrator Integrates into the vehicle reference database the generations sourced from a third-party reference (registration API) for arbitrated models: the public segment is an ordinal, the chassis code is kept as a label. Import and ordinal-freezing functions in the database. No direct entry point. Lib (imported by the compatibility importer)
Category FAQ Template (engine level) 15 questions/answers populated from the actual page variables (pillar, brand, model, generation, engine, fuel type, power, references, prices). No LLM. Turbo FR only; injector and HP pump in FR/EN/DE; returns None otherwise. Lib (used by the SEO optimizer, the model template, the proof and replay tools)
Category FAQ Template (model level) 4 variables (brand, model, references, minimum price), nine constructors (3 languages × 3 pillars). Refuses to mention fuel type or power output. No direct entry point. Lib (imported by the engine-level template)
FAQ Template Proof on 20 Top Engines Reads the 20 most-clicked engine pages from Search Console data, resolves each target path to a live category, calls the template, and classifies as OK / DECLINE. Read-only, no LLM. CLI
Pre-Template FAQ Replayer Replaces FAQs written before the deterministic template (pages referring to the wrong part type): calls the template, replaces only if the minimum item count is reached in all 3 languages, in a single transaction. Zero LLM cost. Options --apply, --id, --sans-faq, --limit. CLI
Product Characteristic Translator Deterministically translates product characteristics FR → EN/DE (names and values) via dictionaries; brands and technical codes left unchanged. Dry-run, --apply, --test <id_product>. CLI
Part-Vehicle Compatibility Importer Extracts part ↔ vehicle compatibilities from the legacy into the vehicle reference and compatibility tables, via three trust paths (generation, model, characteristic). No description or image is transferred. Dry-run by default, --apply (prior dump required). CLI / lib
Duplicate Introductory H2 Remover Removes the duplicate opening H2 ("Présentation" / "Overview" / "Überblick") from already-written long descriptions, only if it is the first H2 and carries exactly the normalized label for its language. Idempotent; dry-run, --apply. CLI
Legacy Image Matching Measurement Measures legacy → AutoKUR image matching by reference before any import (common references, retrievable images, products without an image). Read-only, no writes. CLI
Multi-Angle Supplier Image Enricher Enriches the catalog with HD studio photos (1200×1200) from the supplier scraping database: download, squaring, injection of missing angles into the image tables. Options --limit, --offset, --id-product, --dry-run. CLI
Legacy Image Importer to AutoKUR Retrieves product images from the legacy site to AutoKUR: file first, database row second, legacy image identifiers reused, idempotent. Dry-run by default, --apply, --json. CLI
HD Image Upgrade Retrieves high-definition variants (800×800) from the legacy site, applies squaring, deploys the images in the source folder and purges the corresponding WebP cache, then verifies integrity. Option --dry-run. CLI
Supplier OEM Alias Importer Imports and consolidates OEM reference aliases from the supplier scraping database (strict normalization, batch insert without duplicates into the reference alias table). Option --dry-run. CLI
Canonical Catalog Tree Generator Generates the complete catalog tree for the AutoKUR tenant: product pillars, vehicle tree (pillar → brand → model, engine levels as facets), reference hubs. Reads the legacy in read-only mode, writes the category tables in a single idempotent transactional batch after dump (--apply, --politique-demande). Imported by several other AutoKUR-scope tools. CLI (dry-run by default) / skill /structuration
Homonymous Engine Renamer Applies a readable name in the database to homonymous engines (multiple engines of a model share the same name after tree pruning) without replaying the full generator. Only touches the name field of active engines whose name is shared with a sibling, in the same language. Idempotent; dry-run by default, --apply (dump → write → purge). CLI
Dynamic Number Injection in Category Texts Makes hardcoded numbers in category chapôs and metas dynamic (e.g. "141 KIA references") by converting them to templates whose values are recalculated by the engine at each aggregate refresh. Never touched: numbers not followed by the relevant names, and bottom-of-page guides. Options --tenant (required), --apply. CLI
Old Reversed Path Pruner Prunes paths from the old form after the model/generation tree realignment. Removes only what is absent from the current plan and belongs to the old inversion. Dry-run by default, --apply. CLI
Meta Title Disambiguator Makes unique in the database the meta-title of pages whose title is shared by another active page in the same language, by re-applying the generator's disambiguation rule without replaying it in full. Dry-run by default, --apply (dump then write). CLI
EN/DE SEO Corrector After Mass Pass Restores the English and German of vehicle pages to the generator's pattern after a mass SEO optimization pass (damaged titles, metas, H1s). Also translates the power unit (CV → PS) in names and slugs. Integrated verification oracle. Options --oracle-min, --oracle-seul, --apply. CLI
Organic Coverage Map Maps the coverage of the legacy's organic surface by the AutoKUR tree: for each legacy URL that is working, identifies the equivalent page (engine, generation, model level, or none). Writes the result with --apply; produces no redirect. CLI
Deterministic Product Description Generator Generates FR/EN/DE product descriptions by tier (--p1, --p2, --p3, --all, --id): H2 sections derived from compatibilities, vehicles, and reference aliases. DPMA rule applied in German. Core return never presented as included. --apply writes descriptions to the database; --open-tier opens the corresponding indexation tier. CLI
License Plate Matching Translates a registration API response into a vehicle reference join key, then reads compatibilities with no heuristic tolerance. Golden result frozen (--refresh to regenerate, --live to query the live database). CLI / lib (tests)
Catalog Legal Guardrail Controls three dimensions: images (no supplier-origin binary, cross-checked by SHA-256 fingerprint), texts (no literal reproduction, 8-gram sliding window), kinship with the reference site. Exit 0 if PASS, 1 if violation, 2 if unable to check. Options --check images|textes|fratrie, --json. CLI
Order Tunnel Acceptance Test Acceptance test of the order tunnel via real HTTP requests against the deployed site, re-reading the created orders from the database and verifying fiscal integrity (total with tax ≠ total without tax). Blocking precondition: no email configured in the tenant environment; test address in .invalid. Options --json, --purge. CLI
Native DE Batch Reads the residual localization file (class "localizable", locale de) and writes a TSV file of changes: one row per modification (table, identifier, field, before value, after value, rule applied). Rules: series, model classes, body styles. Writes nothing directly to the database — application is a separate static SQL file with its own rollback. CLI one-shot (--out DIR)
Native EN Batch English twin of the native batch: same principles, rules adapted to English (e.g. "Série N" → "N Series", Cabriolet → Convertible). Also covers meta-titles and slugs of CMS pages that remained in French. Application via a separate static SQL file. CLI one-shot (--out DIR)
Independent QA Crawl Read-only crawl of the AutoKUR site: GET only, minimum 3 s between requests, no redirect following. For each URL, records status, redirect destination, declared language, canonical, hreflang set, title, and noindex directive. Adds robots.txt and sitemap.xml analysis. JSON output. CLI (--base URL [--urls …])
Carrier Pricing Grid Setup Idempotently sets up the geographic zones and the weight-based carrier pricing grid (France, nearby EU, central/southern EU, northern EU, outside EU) in the zone tables, carrier/zone assignment tables, delivery tables, and weight bracket tables. Includes a read-back verification of the result. CLI
Vehicle Reference Database (Registration API) Facade for the vehicle reference database via a third-party registration API: non-billed taxonomy endpoints (brands, models, types); the plate decoding endpoint (billed) is not exposed. Rate-limit handling: 429 error raised as a typed exception (never an empty list), no failure caching, token expunged from logs. Options --credits, --marques, --modeles, --types, --cache-dir, --pas. CLI (dedicated tests)

Grouping Variants into Combinations

Chain: plan (dry-run) → independent audit → application → "no URL lost" QA → section-by-section deployment. The write option requires explicit confirmation.

Tool Role Invocation mode
Grouping Planner Read-only dry-run: identifies families of "one listing per color" products (same category, identical price, supplier reference sequence with configurable gap, distinct colors) and designates the parent listing (longest description, then smallest reference). Options --tenant, --category, --sample. CLI / lib
Grouping Plan Auditor Read-only audit of the families proposed by two independent measures: name residual after color removal, and physical template (weight/dimensions). A family is flagged as suspect if either measure denounces it. Acts as a gate before application. Options --tenant, --seuil-nom, --seuil-poids, --montrer. CLI / lib
Grouping Applicator Applies the grouping (dry-run by default): absorbs color listings into a listing with combinations, moves images, aggregates stock, deactivates absorbed listings, sets 301 redirects. No deletion. Options --essai (transaction played then rolled back), --live --je-sais-que-c-est-live, --plan, --emit-sql. CLI
Post-Grouping QA Verifies "no URL lost": checks five guarantees including "every absorbed listing now returns 301"; compares before and after states. Options --plan, --avant, --apres, --rattraper, --parallelisme, --json. CLI / lib
Section-by-Section Deployment Rolls out grouping across all sections: replays plan, pre-QA, application, post-QA for each section and stops at the first non-GO verdict. Options --etat, --plan-dir, --limite, --plafond, --inventaire, --live --je-sais-que-c-est-live. CLI

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.

Tool Role Invocation mode
ERP Connector PostgreSQL Sink Lands the entire product stream into an idempotent mirror table, matches without creating products, projects stock. Price remains unprojected. Options --migrate, --match-report, --project-stock, --apply with --dump-proof. Lib (imported by the orchestrator) / CLI
ERP Synchronization Orchestrator Delta producer (probes by modification date) and consumer of a coalescing job queue; the cursor advances only on a complete pass. Options --produce [--full], --produce-sales, --consume, --stats, --requeue-errors. CLI (no live cron)

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.

Tool Role Invocation mode
Color Merge Planner Dry-run by default: heuristically groups listings by color family (2-pass normalizer, palette, deduplication on import, representative = maximum stock); staging in the database and logged JSON plan. Actual writes require an explicit confirmation option. Options --category, --min-group, --max-group, --ssh-host. CLI
Color Merge Applicator Generates a single BEGIN…COMMIT SQL script (combinations, stock neutralization on simple listings, deactivation of non-parents, image migration), reloads values from the live database, then applies it in a single atomic transaction. Options --emit-sql first, --apply --batch-confirmed after validation. CLI
Post-Merge Audit Verifies seven invariants (A through G) on the live database: combinations persisted, correct deactivations, exclusive default attribute, simple stock neutralized, no orphan, stock sum consistent with the SQL artifact, images migrated. Exit 0 if all PASS, 1 at the first FAIL. Options --plan, --applied-sql, --ssh-host. CLI

PrestaShop 9 Migration

Four 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 harnesses

This family groups the monitoring tools, obsolescence detection tools, and peripheral test harnesses that complement the Synedre OS automation infrastructure.

Tool Role Invocation mode
Session brief Generates a session summary for the operator CLI
Entropy detector unit tests (Feature 9) Validates the behaviour of the documentary entropy detection engine CLI (test)
Selective auto mode validation Removed — no call detected in 30 days, not referenced in any active hooks, schedulers, or imports. Recoverable for 30 days, then permanently purged by the pruner process. —
Database sandbox bridge smoke test Verifies that the sandbox database bridge responds correctly CLI (test)
Annotated plate engine Overlays numbers and frames onto a bare drawing (anatomical series, image-processing pipeline) CLI
Legacy relational database façade Provides access to a legacy-generation relational database; credentials are read from host machine environment variables, never hard-coded Library
Legacy password vault extractor Opens a legacy password vault and extracts credentials by strictly distinguishing non-sensitive data (displayed) from secrets (stored) — segregation without writing any secret in plaintext CLI
PDF signature affixing Affixes a transparent PNG image signature onto a PDF; reads the signature from an out-of-repository folder never tracked by git; writes a new file, never the original; no sending CLI / signature skill
Destructive git test isolation Isolates destructive git tests in a disposable worktree, never on the main trunk CLI / pre-execution hook
Media vault thumbnail generation Generates web thumbnails for the vault film roll and backfills metadata (capture date, perceptual hash); makes HEIC and MOV formats displayable CLI
iPhone film roll indexer Indexes the iPhone film roll already stored in the remote object vault into the media database, without copying any bytes CLI
Sovereign iOS film roll extractor Extracts the film roll from an encrypted iOS backup to the remote object vault; runs on the client machine, not on the mothership CLI
Cron automaton cost recorder Uniquely logs the token and currency cost, the model used, and the duration of each out-of-workshop LLM cron automaton; fail-soft mode — never breaks a cron job over a cost-logging issue Library
Dashboard mobile DOM measurement Measures the DOM rendering of the internal dashboard at phone width; the sole question asked: does the visible content fit within the width without horizontal scrolling? Distinct from the client-site compliance scan, which has its own sitemap and ISO rules CLI (one-shot)
Python automaton classifier Classifies active Python automata for a migration wave; obsolete: reads a task directory absent from the current structure. Archival candidate, no known callers. CLI
Sovereign Android film roll extractor Vaults the film roll from a USB-connected Android phone to the remote object vault: streaming transfer with triple integrity verification (phone, received stream, object storage), replayable JSONL log. Android counterpart of the iOS extractor. CLI (wrapped by a daily cron)
Sovereign Android film roll purge Deletes from the phone only media that has already been vaulted and verified: four locks (green verification report dated after the last transfer, object storage check immediately before, hash re-read on the phone, explicit confirmation token). Never run as a cron — irreversible human action. CLI (human action)
Public artifact watchdog Daily probe verifying that each served artifact page responds HTTP 200 and carries the X-Robots-Tag: noindex header; repairs via the artifact resynchronisation mechanism, re-probes, and raises an alert on failure. --dry-run mode. No LLM. Cron (daily)
Crypto paper-trading harness Tests crypto strategies in forward-only simulation (any past tick refused), without LLM, with a negative control against buy-and-hold and reference strategies; never trades. To be deleted if no strategy survives the 90-day gate period. Cron (every 15 min, tick)
Out-of-cycle known-fix drain For each cron error whose signature has an enabled fix, replays the fix, proves its effect, and marks the error as automatically corrected. Anti-spam via cooldown delay. No LLM, --dry-run mode. Cron (every 30 min)
Agent event purge and retention Batch-purges agent events by type and age; --vacuum, --dry-run options. Cron (daily)
Portable meta-harness generator Deterministically generates, from a reference manifest, the native surfaces of the portable meta-harness: hook fragments for various agent environments (Claude Code, Codex, Muse Code, ZCode, Antigravity), agent instructions, portable skills. --check compares, --write writes. --instructions-only generates only instruction files (approximately 1 s instead of 70 s, no database access). Skills naming a tool specific to one environment receive an equivalence table as a prefix. For the DeepSeek bridge, each pre-tool hook receives a fail-closed suffix (|| exit 2) so that a dispatcher failure is interpreted as an explicit refusal. CLI
Vehicle key contract Freezes a set of plate → vehicle identifier matching cases in a shared Python/TypeScript reference file, read by both test suites; guarantees agreement between the import module, the lookup module, and the TypeScript converter. CLI / test suite
ISO mock integration milestone Measures the progress of a client site's ISO mock integration: workstreams, last dated real score, judge noise at identical code, measurement chain, mock corpus, design comments; no AI model, no writing. Skill / CLI
Quota window history recorder Relays LLM quota readings from the various agent environments to the database (retaining only the maximum value per window); cleans up residual temporary files from the status bar. --status, --backfill, --dry-run options. Cron (every 10 min)
Quota threshold watchdog Monitors active quota windows and sends a single internal alert email per window when the 95% threshold is reached; local JSON state, no database writes. --tier, --threshold, --dry-run options. Cron (every 15 min)
Reactor public projection sync Pushes a publishable projection of agent activity to the VPS database dedicated to the reactor public page: agent and action allowlist, never any summary or sensitive details. Dump before write, single transaction, refuses if the source is empty. Cron (every 5 min) / CLI (--dry-run)
Task worker sentinel Detects a dead worker (log queue), orphaned executions (status "running" with no active worker), and a frozen queue; --check (exit 0/1/2), --repair closes orphans as failed, --json. Restarts nothing. Cron (every 10 min)
Audio extraction from a streaming service Orchestrates audio extraction from the official music streaming service client to anti-tag MP3 in the jukebox library, controlling the remote player via the system media protocol. CLI
Subtitle track reconstruction from audio Reconstructs an SRT track from a film's audio: extraction, voice separation (GPU), transcription; each step resumes where it left off. CLI / subtitle skill
Subtitle track retranslation Retranslates an SRT track without touching timecodes: extraction to a working file, assembly with cardinality and timecode checks, verification, diagnostics. Does not translate itself. CLI / subtitle skill
Dashboard screenshots on fixture data Takes publishable screenshots of the internal dashboard, with all API routes served from fixtures (strict allowlist, everything else blocked); scans the rendered text for leaks (addresses, domains, real identifiers) before any write. CLI
Daily Meet probe verdict Isolates the decision logic of the daily brief presence probe, tested independently. Fixes two measured defects: the former probe concluded solely on the absence of a database row, without checking the scheduler. Library (imported by the session brief)
Nuxt build identifier extractor Extracts the server-client identifier frozen in a Nuxt build — the post-deployment guard reads the build identifier, not the core default value. Library (called by the pm2 environment checker)

3D Workshop — end-to-end bespoke configurator

This 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.

General architecture: the character and object generation façades (2D plate → mesh) feed a parametric production worker and a geometric QA tool accessible from the internal dashboard; a separate bridge synchronises the result to the client-side bespoke configurator.

3D volume generation and publishing

Tool Role Invocation mode
Character 2D → 3D mesh façade Complete chain: splitting the 4 views of a character plate → HD multi-view generation (external service) → geometric zone colorisation → compressed GLB export ready for the web viewer CLI / library
Object 2D → 3D mesh façade Same pipeline as the character façade, without colorisation or rig; produces a GLB with dimensions CLI
Parametric furniture generation Generates furniture from geometric primitives (factory-ready track), STEP and glTF export with named parts CLI
Furniture from free-text description Prospect description → multi-part parametric furniture via sovereign LLM then parametric generation CLI
Factory-ready dimensioned drawing Generates a dimensioned PDF drawing from a scaled mesh, with elevations and exact dimensions CLI
Geometric QA Geometric quality control of a mesh: watertightness, manifold, symmetry. Accepts GLB, OBJ, and Blend formats. Also carries a causal retopology topology diagnostic (valence, quad anisotropy, loops, strips) — informative only, does not affect the PASS/FAIL verdict. The --retopo flag adds these lines to the human-readable report. CLI
3D workshop production worker Drains the job queue (status "queued"): retopology, generation, colorisation, decomposition, QA, brush-annotation retouching. For a character-type project, a version produced by the worker only becomes current if it reaches the final production stage (v3). Runs as a cron every minute under an exclusive lock. Cron (every minute)
3D workshop ↔ client site bridge Delivers the finished object to the client site server and feeds client tracking Cron (every 5 min)
Manual GLB version publishing Manual publishing of a checkpoint or final version: immutable, content-addressed recording (the storage path is derived from the file's SHA-256 hash, exclusive and atomic creation, verified deduplication), thumbnail regeneration, live viewer reload. Carries the production gate contract: only a version marked at the final stage (v3) may become the current version; intermediate stages and checkpoint milestones may never be. The source plate can be traced via --source-sheet, to be omitted if the lineage is not certain. CLI
Immutable content-addressed publishing Publishing library: stores the GLB blob under a key derived from its SHA-256 hash, recomputes the SHA on the bytes actually published, verifies deduplication (loud error if an existing blob does not match its hash), exclusive atomic creation, read-only permissions. Library
Upload materialisation Materialises pending uploads (annotations, plates) to the binary store and marks each upload as consumed CLI

3D production chain — intermediate plates and control gates

Between the text prompt and the final quad cage, production relies on a complete chain of intermediate plates and automated control gates.

Tool Role Invocation mode
Documentary brief injection Injects the documentary research from the character brief (entered in the dashboard, until now stored but never read) into the plate generation prompt CLI / library
Plate recipe preservation Keeps the recipe of a plate (prompt + references) alongside the plate itself, so that a cold replay reproduces the same result CLI / library
Automated plate generation Automates the previously manual plate image generation. The reference image is attached to the prompt to preserve identity across draws. Depositing into the project is the default behaviour: each plate is stored as it comes out (streaming callback), without being validated — validation remains a human action. For the technical drawing role, the gate 2 verdict is written into the asset title; rejected plates are sorted and removed from the project according to deterministic rules. If the generation URL signals an anti-bot block, the process stops immediately without retrying. CLI / library
Four-view plate from the cockpit Assembles the front/side/top/free view plate from the cockpit in a single action, instead of a manual click-screenshot-paste per view. Volume cross-section option to see the interior. CLI
Anatomical plate rendered from the volume Anatomical plate rendered directly from the 3D volume, bypassing an image generator — resolves text, colour, and composition drift observed across 5 unsuccessful anatomical image generation attempts CLI
Dimensioned plate with metric grid Adds a grid and metric axes derived from the volume to a bare plate, turning it into a validatable technical drawing CLI
Technical plate projected from the volume Generates a technical plate directly from the volume, without an image generator — motivated by a measurement showing that only one plate in twelve passed both gates during a test campaign CLI
Gate 2 — turnaround check Verifies that a turnaround is usable by the multi-view generation engine (same proportions and level across the 3 views); rejects a cropped silhouette rather than measuring it at 0%. The neck landmark is detected as the deepest pinch point (bounded by the widest point above and below), not as the first hollow encountered — which was causing false rejections on characters with voluminous hairstyles. CLI
Measured plate check before validation MEASURED check of a technical plate before it is validated as a modelling reference — born from a scar where a plate had been validated on heights alone, a back panel 5% narrower having gone undetected CLI
Plate batch triage Sorts a batch of plates at both control gates in a single pass, rather than one by one by eye (anti-bias "prettiest first") CLI
Animation ring placement Places rings and edge-loops around the joints that animation requires, derived from muscular law zones — judged on faces, not on vertex rank CLI
Object turntable plate Generates an object turntable plate at N angles around the cage, as a single image CLI
Quad cage to OBJ export Exports the quad cage to OBJ via a headless Blender bmesh script. The cockpit → cage → Blender → GLB flow is a hard boundary in this direction only: the glTF format only knows triangles, never 4-sided faces. CLI
Producer control eye Non-binding control image (cage + smoothed surface + template overlaid, front and side) that the producer uses between actions; the binding judge remains the multimodal verification agent CLI
Gesture bench against the live API Exercises each cage operation against the live production API (transactional writes, SQL constraints) — proves that each action does what it claims and rejects what it should reject CLI (test)
Cage journal replay Replays a cage journal from empty and proves that the same state is reached — honours a promise written in a comment but never executed CLI (test)
Retopology dataset collection Collects the retopology dataset from the cage workshop journal (read-only): lists trajectories with a computed quality label, exports a complete trajectory as JSONL CLI
JSON gesture application on a cage Applies a sequence of pre-written JSON gestures to a cage, one by one, via the tool's single entry point. Knows nothing about geometry, computes and repairs nothing — any rule living here would create a second source of truth and invalidate the journal replay proof. CLI
Cage sandbox Creates or refreshes a disposable project with the same reference volume as the source (never written) to measure a simulated action. Vertex matching is done by index. --rafraichir, --appliquer, --dump options. CLI
Spline cage inspection and modelling Spline cage inspection and modelling (Michel Roger style) on GLB files via headless Blender: inspect, deform, primitive, extrude, cut, relax subcommands; glTF edges preserved. Tool of the Phidias agent. Skill / CLI
Project context for agents Exposes the full context of a 3D Workshop project to agents (project, current version, versions, uploads, jobs) Skill / CLI

Semantic segmentation and facial landmark detection

Tool Role Invocation mode
Facial landmark detector The sole module that imports the facial landmark detection library: detects the 478 landmarks on the front render and writes the 2D zone map (Voronoï). Runs in its dedicated virtual environment. CLI (launched by the segmentation orchestrator)
Semantic segmentation orchestrator Orchestrates multi-view semantic segmentation (vertex colours by anatomical zones, without cage): mesh export, front and side renders, detection, zone colour painting, control renders, then optional publishing. CLI
2D→3D facial landmark mapping for ring anchoring Maps facial points in 2D then projects them into 3D to anchor orifice rings on the generated clay: orthographic front render → landmark detection → ray-cast into the re-aligned mesh. CLI / library

Likeness QA and dimension control

Tool Role Invocation mode
GLB ↔ plate likeness QA Verifies the likeness of a GLB to its technical plate: orthographic render produced by the system itself (never self-evaluation of a third party), uniform-scale alignment (proportion error survives), verdict retained on the worst zone rather than an average. CLI
Unified dimension façade Single entry point for all 3D Workshop dimensions: computing expected dimensions from parameters, measuring a GLB, comparison, and a fail-closed conformance barrier before any client delivery. Exit 0 = conformant, 1 = discrepancy, 2 = measurement impossible. Library / CLI
Dimension static invariant Statically verifies that every dimension entered by the prospect is read via the unified dimension façade, and that no module re-spells a dimension as a hard-coded value. Fail-closed on violation, not on analysis failure. Blocks the commit on violation. Pre-commit hook / CLI
Cockpit ↔ Blender real-time bridge protocol Closed contract of the real-time relay: validates the initialisation message (role, project, token) and commands against a consultative allowlist (snapshot request, preview capture, viewport focus, selection definition); no Python code, Blender operator, or file path transported. Library
Cockpit ↔ Blender WebSocket relay Private WebSocket relay, behind tunnel only, between the Blender add-on and the 3D Workshop cockpit; gated by a dedicated access token, never saves, exports, or interprets any Blender code. CLI (WebSocket daemon)

Adult protection file

Health and asset data of a third party subject to Article 9 of the GDPR. Exports are produced outside the main repository, with restrictive permissions. No document is sent without explicit human validation.

Tool Role Invocation mode
File document generator Generates a markdown document outside the repository: numbered document index (only those whose scan is clean, with hash and size re-verified), chronology of facts, Cerfa form pre-fill (with explicit markers "TO BE COMPLETED BY THE APPLICANT"). Refuses to declare itself complete — completeness is recomputed from the official notice's list. CLI
Cerfa pre-fill Pre-fills the Cerfa form by writing over the PDF (no AcroForm fields): each value is anchored to the printed label read from the PDF; an ambiguous or missing anchor causes a refusal. Flat printable output, or editable mode (AcroForm widgets constructed, never an official filing document). Sends and files nothing. CLI
Sibling summary Deterministic template summary (zero LLM, descriptions taken verbatim): calls the email module in draft mode and stops there — no direct sending path, attested by mutation test. Logged in the access journal. Skill / CLI
Dedicated encryption vault AES-256-GCM vault of the schema dedicated to adult protection: DEDICATED master key read from host machine environment variables, refuses to start if absent or identical to a standard application key, distinct derivation salt, decryption that raises an exception instead of returning an empty string. --selftest option. Library / CLI (--selftest)
Facts and proceedings writer Writes file material outside email: facts (encrypted description) and proceedings (mandatory HTTPS source URL with verification date). Payload read from a JSON file to be deleted after use. Read-back via --list. Library / CLI

Automaton governance — crontab ↔ database synchronisation

Four tools that derive an automaton's state from the code and crontab (docstring, dependencies, duplicates, zombies) instead of guessing it or entering it manually.

Tool Role Invocation mode
Zombie automaton watchdog LLM-free, read-only watchdog: compares the active state of automata in the database against their actual presence in the crontab; reports ZOMBIES (active in the database, absent from the cron) and ORPHANS (active in the cron, inactive or unknown in the database). Alerts only, never activates or deactivates. --json option. Cron (every 30 min)
Automaton dependency graph Derives the execution order of automata from the code: if automaton A writes a table that automaton B reads, B depends on A (proof = the shared table); out-of-database dependencies are declared manually and never overwritten. Dry-run by default, --apply writes the dependencies, --json. CLI
Docstring synchronisation Makes an automaton's docstring its official documentation: reads the docstring of each automaton in the crontab and writes the name and description to the database, without overwriting a manual entry (--force to refresh, --reprendre-tronquees). Dry-run by default, --apply. CLI
Cron staggering proposer Proposes staggering crons towards off-peak hours, never applies it: reports violations (automaton scheduled before what it reads, missed deadline) and proposes a diff respecting declared dependencies. Refuses to move alert automata, consumers with a deadline, and multi-tenant writers. --violations-only, --avec-alertants options. CLI

Jukebox and karaoke

Lyrics and artwork pipeline for the jukebox: word-level alignment, periodic scan, fallback artwork, and artist portraits.

Tool Role Invocation mode
Word-level lyrics alignment Façade for word-level karaoke lyrics alignment via forced alignment: audio is sent to the compute machine, the remote worker performs the alignment, words without a reliable timestamp are omitted, the result is cached per track. --check (smoke test), --transcribe, --json options. CPU-only by deliberate choice. CLI / library
Automatic lyrics scan Scans the music library, looks for synchronised lyrics (online service), and launches alignment for unprocessed tracks; falls back to automatic transcription when the service does not know the track. Bounded per run, per-track state in a local state folder. Cron (every 30 min)
Jukebox metadata — artwork and artist context Retrieves the fallback artwork (album archive service) and artist context (facts, country, period, genres, links — no licensed biography) without an API key, at one request per second. Results are cached locally and read by dashboard routes. Exit 1 = nothing found, 2 = network. CLI
Harcourt portrait generator Generates a black-and-white Harcourt-style portrait (black background, Rembrandt lighting) via a multimodal image-to-image model, from a reference photo of the artist and a canonical prompt. PNG/JPG output to be pushed to the playback machine afterwards. CLI

Supervision watchdogs — alert correlation and escalation

Six components present on disk since August 2026 and never catalogued until now. The watchdogs write by email to the internal supervision mailbox; the collector ingests, the correlation engine groups into incidents (stable key <tag>:<entity>), the digest renders the view to the operator, and escalation hands off to the Atlas agent. No LLM, no action taken by the supervision system itself.

Tool Role Invocation mode
Supervision mailbox collector IMAP poll of the internal supervision mailbox: trust verification (anti-loop, allowlist, DKIM alignment), finding derivation, ingestion under lock by key, triggering on new or reopened incidents, marking the message as processed only after successful database write. Retains no email body except for unrecognised messages. Cron (every 5 min)
Incident correlation engine Correlates watchdog alerts into incidents: finding derivation (stable key without timestamp), ingestion, triggering, closure, and automatic resolution sweep (closes incidents whose cause has disappeared). Born from 232 "SRE Alert" emails in 7 days for a single recurring issue. --list, --sweep, --raise, --close options. Cron (hourly, sweep) / CLI
Supervision channel trust model Fail-closed trust model: an unauthenticated message is ingested and logged, never triggering. DKIM is read from the first authentication header only, the authentication server identifier must be ours, and the signing domain must be aligned with the From field. Library / CLI (--diagnose, --show)
Daily supervision digest Daily digest sent to the operator: aggregates incidents in SQL (compressing a large number of alerts into a few lines), sent even when empty (absence becomes a signal again), no LLM, closes nothing. --dry-run, --json options. Cron (daily, 07:30)
Escalation to Atlas For each triggered incident awaiting action, hands off to the Atlas agent via a dossier email (keys, dates, headers, commands to act — not the message body); avoids duplicates via a claim mechanism, cap per cycle, exclusive lock, kill-switch, no LLM or judgement. --dry-run, --json, --max options. Cron (every 10 min)
Supervision collector watchdog Monitors the modification date of the IMAP collector lock and, after more than 30 minutes without activity, opens a stable incident of type "silent supervision collector" (with the PID of the lock holder if the lock is held) instead of writing a simple log entry. Cron (every 15 min)

Inventory of automation harness hooks

The guards and automatic triggers ("hooks") of the harness live in two distinct configuration files, each carrying a different set of rules. Both execute sequentially at every session start — do not confuse them.

Hooks in the local configuration file (main facades)

This first file wires the fundamental session guards and immediate write guards:

  • Session start (3 hooks): context tracking reset, session brief, scar log injection.
  • Before any Bash tool call (2 hooks): production write safeguard, email send safeguard via the facade.
  • Before any Bash tool call, edit, or write (1 hook): contextual scar injection.
  • Before any Agent tool call (1 hook): scar injection into the sub-agent context.
  • After each tool call (1 hook): context logging.
  • User prompt submitted: no hook wired to this trigger in this file (confirmed empty list).

The UserPromptSubmit trigger carries no hook in this local configuration file. Per-client tone detection and prompt context injection are found exclusively in the second file (see below). Additionally, the incoming message synchronization component is not a session hook: it runs as a scheduled task (every minute for the inbox, twice a day for sent messages), wrapped by a recurring task monitoring component.

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)

  • Session context logging (timeout 8 s).
  • Resume of the last session handoff produced at the previous close — closes the split → resume loop (timeout 5 s).
  • Inbox injection at startup (timeout 6 s).
  • Resolved client scope injection (timeout 6 s).
  • Active tentacle tracking page initialization.
  • Routing to the dedicated session worktree (timeout 3 s).

User prompt submitted (7 hooks)

  • Database schema synchronization.
  • Per-client writing tone detection and subject folder assembly (emails, commits, tasks, logs, code) — timeout 25 s.
  • Inbox injection on each prompt.
  • Resolved client scope injection (same component as session start).
  • Injection of a short reminder of shared memory across tentacles before each agent response (native session histories remain private to each tentacle).
  • "Worktree first" routing when the prompt targets a client scope from the shared trunk.
  • SEO routing guard by URL.

Before Read tool call (2 hooks)

  • Attachment opening guard (antivirus verdict required).
  • Decentralized reflex engine (timeout 10 s).

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.

  • Attachment opening guard — blocks any attachment read without a clean antivirus verdict.
  • Client deployment blocking guard (./ship) — blocks any AI-initiated ./ship call (asymmetric boundary: internal deployment vs. client deployment).
  • Product URL in emails guard — blocks flat product URLs in emails.
  • Git commit isolation guard — BLOCKING: refuses mass-staging (git add -A, --all, -u, dot, git commit -a, --all, -am) and, since July 2025, a bare commit without pathspec or -a option on the main checkout (git-dir == git-common-dir). A commit launched without naming files picks up the entire shared index at time T, including whatever another session has just staged. Allows the safe commit script and any commit in an isolated worktree with a clean index. Invariant mechanically verified by a dedicated test suite.
    python3 -m <reflex-engine> --mode pre-bash
    # Example of a blocked command:
    #   git add -A   → BLOCKED (mass-stage)
    #   git commit --all -m "fix"  → BLOCKED
    # Example allowed through:
    #   bin/git-commit-safe.sh "fix: description" file1.py file2.py
  • Generated artifact guard — BLOCKING: refuses a git add / git commit carrying a generated artifact listed in the .gitignore file.
  • Destructive worktree guard — controls destructive operations on worktrees.
  • Rebase on shared branch guard — BLOCKING: refuses a git rebase on a shared branch (preprod/main); enforces pull --no-rebase.
  • Database mutation detector — monitors potentially destructive SQL commands.
  • Inline secret paste guard — blocks insertion of a secret value in plaintext in a command.
  • Scheduled task installation guard — BLOCKING, dispatcher merging two sub-guards: (1) refuses a scheduled task entry using a relative path or relative environment sourcing (cause of silent failure before log redirection); (2) forbids installing a script calling a language model as a scheduled task (silent quota drain).
  • Secret file print guard — BLOCKING: blocks display of a secret file's contents to standard output.
  • Pre-deployment and auto-commit guard.
  • Worksite skeleton routing.
  • Pre-commit transcript scan (timeout 10 s).
  • Pre-commit conversion audit coverage.
  • Worksite archiving guard.
  • Pre-worksite memory recall (timeout 30 s).
  • Documentation linking routing.
  • Pre-deployment SEO titles.
  • Taxonomy depth guard (timeout 30 s).
  • URL deletion without redirect guard — BLOCKING (timeout 15 s): refuses deletion of a published URL without an associated 301 redirect.
  • Docker cp on folder guard — BLOCKING: docker cp of a folder corrupts files; only single-file or archive transfer is allowed.
  • SEO writing routing via dedicated engine.
  • Pre-client-send QA reminder — non-blocking nudge: reminds of the three-axis QA proof requirement before any send with the --send option (the hard lock lives in the email facade).
  • Client channel guard — BLOCKING: on a real invocation of the client send facade, scans the command and message body and blocks any phrasing proposing a phone call. Passes contextual mentions and written CTAs.
  • Loyalty adjustment guard — BLOCKING: blocks loyalty point adjustments without explicit authorization and nudges on direct SQL writes to loyalty tables.
  • WhatsApp send guard — BLOCKING: WhatsApp send is refused if the draft does not have validated status (fail-open if payload is unreadable or database unreachable).
  • Nightly loop guard — BLOCKING: safeguards for the time window (19:00–04:00), armed worksite, and budget during the autonomous nightly loop.
  • Unverified state assertion guard — BLOCKING: refuses an unverified state assertion against the live source.
  • Mandatory root-cause on fixes guard — BLOCKING: refuses a "fixed" message that does not carry a Root-cause / explicit guard block.
  • Tool result bounding net — bounds what the model sees without touching the full on-disk log (updatedInput).
  • SSH test isolation guard — BLOCKING: a negative SSH authentication test targeting a specific key is skewed if the global SSH config file is still read (-i adds the identity, it does not replace those in the Host block). Blocks this combination without explicit isolation (-F /dev/null or dedicated file).
  • PHP command execution without web user guard — BLOCKING: refuses PHP / console / composer execution in a container without the -u www-data option, including via remote SSH. Reason: without this option the process runs as root and recreates the template cache as root:root, making the site unreachable. Deliberate override available via a dedicated comment marker.
  • Third-party host burst guard — BLOCKING: refuses an untimed loop toward an external host (looped fetch, literal list exceeding the threshold, xargs -P on downloads, loop over the browser facade). The correct response to a web application firewall is never to disguise requests, but to ask for less, more slowly, or to use the official API.
  • … as well as 46 additional guards inventoried on this same trigger (audit in progress, roles to be confirmed one by one in a future pass), including: tmux session guard with open pool tasks, merge-back guard, Malt proposal send guard, public sync from a worktree guard, Docker volume deletion guard, core default branch guard, netlinking scope guard, and several client communication and community publication guards.

Before Bash tool call — 2nd separate group (4 hooks)

  • Client copy in email guard.
  • Scheduled email prohibition guard.
  • Sealed community publication guard (shared with the post-write trigger).
  • 3D shape without render guard — BLOCKING on publication of a sovereign page asserting the nature of a volumetric shape without any volume render trace in the session transcript. Born from a scar where a volume described as "dressed" from handoff to handoff had never been rendered. Fail-open if transcript is unavailable.

Before Bash tool call — 3rd separate group (1 hook)

  • Tentacle email scope lock — BLOCKING (timeout 3 s): the source of truth is the declared objective of the active tentacle. Email addresses explicitly cited in that objective become the only contacts a tentacle may consult or reach. Refuses any email access without a tentacle identity, objective, and declared address — prevents a "last global email" from becoming an action in the wrong thread.

Before Edit or Write tool call (31 hooks)

  • Decentralized reflex engine (timeout 10 s).
  • Code quality guard (style and structure audit).
  • Mandatory docstring guard — BLOCKING: refuses any Python function definition or module without a docstring, according to a configurable progressive rollout threshold.
  • Bounded CLI output guard — BLOCKING: triggers only on creation of a new Python facade file containing an ArgumentParser declaration. Evaluates the unbounded output risk and blocks above the threshold; existing debt on already-deployed facades remains out of scope.
  • Household shop scope guard — BLOCKING: requires the presence of the household identifier in any SQL query on shop account tables, and forbids the tool input schema from declaring that identifier (sole source: server-side resolved context).
  • Media vault guard — BLOCKING: enforces the media vault invariant — refuses an edit of a TypeScript file or Python facade touching the vault that introduces object deletion (deleting a memory is a human decision outside code) or a signed URL without an explicit expiry and audit log.
  • Hardcoded browser profile guard — BLOCKING: forbids a hardcoded profile literal outside the profile registry; requires derivation from the household identifier.
  • PrestaShop web service call guard — BLOCKING: forbids calling the PrestaShop webservice from the Nuxt core or a tenant (direct DB access only).
  • Out-of-armed-worksite scope guard — BLOCKING: refuses any edit or write outside the declared scope of the armed worksite.
  • SQL escaping guard — BLOCKING: refuses reintroduction of a backslash doubling in an entity write helper.
  • Mass-stage in scripts guard — BLOCKING: refuses a shell or Python script being written that itself contains a git add -A or git add ..
  • psql column separator guard — BLOCKING: refuses an unaligned psql call whose column separator is not handled on the SQL side.
  • SQL via standard input guard — BLOCKING: SQL destined for psql is passed via standard input (input=sql), never via command-line arguments (-c "<sql>"). Migration completed (41 calls rewritten); this hook closes the door to reintroduction.
  • SQL command-line argument guard — BLOCKING: complements the previous guard on the Python side, confirmed wired to this same trigger.
  • Direct LLM call guard — BLOCKING: refuses a call to a language model via a direct API key, outside the canonical invocation path.
  • Capability conservation guard (new file) — applies the capability conservation law (cron, skills, hooks) to any file creation.
  • … as well as 15 additional guards inventoried on this trigger (roles to be confirmed), including: SQL column order guard, automation birth documentation guard, SQL interpolation guard, table prefix consistency guard, denormalized field invariant guard, sitemap tracking guard, test environment isolation guard.

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.

  • Write blocking on the shared trunk.
  • Environment variable guard in client composables.
  • Server handler import guard from the application layer.
  • Module internals access guard from the application layer.
  • LLM volume guard on the internal compute tier.
  • Canonical skill execution guard.
  • Manual client relaunch guard (shared with the Bash trigger).
  • Founding manifest write blocking (shared with the Bash trigger).
  • Family scope isolation guard (shared with the Bash trigger).
  • Immutable editor signature guard (shared with the Bash trigger).
  • Canonical accounting routing.
  • Dispatch via orchestrator routing — WARN only (always exit 0): on a message send to an agent whose name does not resemble an orchestrator, reminds that an execution agent must not command another execution agent directly and must escalate to the worksite orchestrator. Deliberate override available.
  • Multilingual entity rewrite guard.
  • Self-hosted assets guard — materializes the performance doctrine: assets are self-hosted, never served by a third-party CDN or Google Fonts.

Before Bash or MultiEdit tool call (1 hook)

  • Shared memory file shape guard (timeout 10 s) — blocks an out-of-manifest section heading, a tier budget below its floor, a full landing zone, or a deleted marker, across the four possible write paths. Monotonicity rule: blocks only if the metric violates its threshold AND worsens, to never render the file unrecoverable. Systematic fail-open if the manifest is unreadable.

Before Bash, Write, Edit, or MultiEdit tool call (1 hook)

  • Mother-ship directory tree guard.

Before Bash, Write, or Edit tool call (excluding Notebook) (1 hook)

  • Boundary index literal guard (distinct from the previous one, does not cover NotebookEdit).

Before Write, Edit, or MultiEdit tool call (1 hook)

  • Environment divergence guard (timeout 10 s).

Before Agent tool call (6 hooks)

  • Pool leader delegation guard — BLOCKING: refuses the leader of an active pool any native sub-agent (Claude, Codex, Antigravity, Muse — the meta-harness projects all of them onto the Agent type). The leader delegates via pool messaging or recruits through the recruitment facade. Pool members retain their sub-agents. Fail-open if the payload is unreadable, the database unreachable, or the session outside a pool.
  • Agent reactor guard.
  • QA budget reminder — non-blocking nudge: reminds of an explicit budget on a QA agent brief without a cap (scar: QA without budget → 32 min / 76 tool calls, full test suite replayed several times unnecessarily).
  • Scar injection into the sub-agent (timeout 15 s) — prepends the "Already-learned pitfalls" block to the sub-agent prompt via the only vector that actually reaches that sub-agent.
  • Client identity injection into the agent (timeout 10 s).
  • Decentralized reflex engine (timeout 10 s).

Before Web tool call (2 hooks)

  • Decentralized reflex engine (timeout 10 s).
  • Browser personal search guard.

Before Skill tool call (2 hooks)

  • Skill pre-invocation guard (timeout 5 s).
  • Skill usage trace.

Before user question (2 hooks)

  • Email draft via facade guard — BLOCKING: blocks a question to the user whose intent is to have an email validated, sent, or shown in the conversation. The email facade automatically sends the validation copy to the responsible party — that copy serves as the review. Fail-open if the payload is unreadable.
  • Blocking question in a tentacle guard — a blocking question makes no sense in a tentacle with no interactive terminal on the other end.

After Bash tool call — 1st group (6 hooks)

  • Post-Bash reaction log.
  • Active tentacle tracking page update (same component as session start).
  • Automatic post-commit deployment to preprod (timeout 10 s).
  • Post-deployment deliverable verification.
  • Environment variable inertia without reload guard.
  • Trunk write blocking via Bash (shared with the PreToolUse:Bash trigger).

After Bash tool call — 2nd separate group (5 hooks)

  • Post-cache TTL expiry verification.
  • Front build cleanup need detection before deployment.
  • QA replay in isolation before verdict.
  • SIP registration proof verification.
  • Live browser probe.

After Agent tool call (3 hooks)

  • Agent reactor guard.
  • Post-agent reaction log.
  • Post-agent telemetry (timeout 5 s).

After Edit or Write tool call (all types) — 12 hooks

  • Session edit tracking (timeout 3 s).
  • PrestaShop read limit guard.
  • "Content before proportions" routing — non-blocking nudge.
  • Deduplication signature stamping on auto-detected scars at write time.
  • Deduplication signature stamping on non-auto scars.
  • Schema availability probe guard (timeout 15 s) — triggers only when the schema sync script is edited. Replays the availability test suite and blocks if the live probe has been removed from the cache-hit branch.
  • Malt send validation seal.
  • Sealed community publication guard.
  • Frontend visual QA routing.
  • External adapter real call nudge.
  • Untrusted text as data, not as instruction guard (timeout 30 s).
  • Unprotected DB call in middleware guard.

After any tool call (broad matcher) — 2 hooks

  • CLI → dashboard bridge (timeout 10 s): mirrors interactive session activity to the active worksite dashboard via the agent event log. No effect if no binding is active.
  • In-turn context measurement (timeout 8 s): context measurement at each tick (throttled to 60 s), to cover the case of a continuous turn with no end-of-turn signal. Born from a scar where a session climbed from 49,000 to 340,000 tokens in 1 h 26 min without a single end-of-turn signal.

After Write or Bash tool call (3 hooks)

  • Hook-requiring doctrine guard (timeout 10 s).
  • Linked hub dial guard (timeout 10 s).
  • Agent regeneration after database insert — on an INSERT or UPDATE Bash touching the agents table, immediately reruns the idempotent database → markdown file generator and reinjects the result into the model. Fail-open; non-blocking signal if the regenerated file changes. A weekly scheduled task safety net covers the UI path in addition.

After Write or Edit tool call (3 hooks)

  • Image size guard in Nuxt components (timeout 10 s).
  • Full-page capture height guard.
  • Unverified absence assertion guard.

End of turn — 1st group (16 hooks)

  • Error detection and immunity proposals (timeout 15 s) — first in the chain: classifies errors from the current turn, proposes lessons via the adaptive safety component.
  • Context-threshold session split (timeout 10 s) — triggers the split when context approaches the ceiling; the resume at the next session start closes the loop.
  • Session handoff sync from worktree to shared repository (timeout 5 s).
  • Handoff file location verification (timeout 5 s).
  • CLI → dashboard bridge (end of turn, timeout 9 s).
  • Worksite lock release (timeout 3 s).
  • End-of-turn scar recording.
  • Unpushed commit guard (timeout 5 s) — hardened: now also blocks in session worktrees (previously always passed in worktrees). Early exit of automation sub-agents covers the vision judge in addition to the task worker.
  • Return to trunk at session end (stop form).
  • Worksite synchronization (timeout 8 s).
  • API before GUI routing (timeout 6 s).
  • AI-applied migrations, not human-applied guard (timeout 6 s).
  • Web gesture via automated browser routing (timeout 6 s).
  • Capability conservation guard — end-of-turn form (timeout 8 s).
  • Objective, not arbitration guard (timeout 8 s).
  • Session worktree cleanup (timeout 3 s).

End of turn — 2nd separate group (1 hook)

  • Direct source before narrative guard.

The total number of end-of-turn hooks is 17 (16 in the first group + 1 in the second), not 10 or 16 as mentioned in earlier versions of this documentation.

Before context compaction (1 hook)

  • Context measurement just before a native compaction — feeds the session split component.

Before MCP tool call (1 hook)

  • Client isolation guard on MCP tools — targets client scope isolation on any call via the MCP protocol.

Universal guard — before any tool call (1 hook)

  • Portable P0 guard dispatcher (timeout 20 s) — universal matcher (*), distinct from all named matchers above: triggers on every tool call, regardless of type. Translates the native event into a canonical contract, delegates to historical guards (secrets, client communication, deployment, commit/worktree isolation, client DB boundary, MCP guard) and re-encodes the decision for the calling harness. Common portable vector without duplicating rules.

Multi-harness porting: Codex and Antigravity actually receive the PreToolUse guards derived from the main configuration, PostToolUse hooks, then Stop, UserPromptSubmit, and SessionStart via a lifecycle relay component. Porting to the GLM harness is not implemented in this dispatcher. Since this universal matcher executes in addition to all named matchers, the actual total of active guards on a Bash call is 80 + 1, not 80.

Guards present on disk but not wired in the configuration

A 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).

Component Role Execution vector
Pre-commit secret scanner Scans added lines of the staged diff for plaintext secret values — materializes the write-time anti-leak guard. Git pre-commit hook
Agent instruction file synchronization A commit touching an instruction file (CLAUDE.md or AGENTS.md) regenerates the instruction files for Codex, Antigravity, and Muse, and blocks until the regenerated file is in the pathspec. The Codex, Antigravity, and Muse harnesses read their own instruction file and ignore Claude's. Git pre-commit hook
Skill surface synchronization A commit touching a skill definition regenerates its surface for Codex, Antigravity, and Muse. Blocks if the generated surface differs from what is going into the commit. Fail-open if the generator cannot conclude. Git pre-commit hook
Tmux session guard with open pool tasks (⚠️ actually wired in PreToolUse:Bash) BLOCKING: refuses closing a tmux session in which a pool member has received tasks with no result within 24 hours. Lifted after informing the pool leader and the human responsible party. Fail-open. PreToolUse:Bash hook
Non-publicly-exposed secrets vault guard The secrets vault is never reachable from the Internet. Blocks a port published outside the local interface and a public tunnel. --runtime mode available for verification under real conditions. Git pre-commit hook
Back-office authentication guard BLOCKING: refuses any commit that adds a back-office API handler without a call to one of the session guards (employee / role / client). Git pre-commit hook
Core scope claim pre-commit guard Makes the core scope claim mechanical at commit time, no longer merely declarative. Git pre-commit hook
Client communication from the interface guard BLOCKING: refuses any commit that adds, in the hub server API, a route capable of triggering client communication (WhatsApp send, draft validation) without verified intent confirmed against the database. Git pre-commit hook
SEO i18n pre-commit guard Blocks a missing i18n key across languages or a slug in the wrong language. Runs only if the commit touches routing or i18n. Git pre-commit hook
Language pack parity guard Every translation key in an indexed core file must exist in each language pack. Blocks on a missing key. Git pre-commit hook
TypeScript parsing guard A committed TypeScript file must be syntactically valid. Born from a scar where a wildcard in a comment broke the preprod trunk for 1 h 30 min. Git pre-commit hook
File behind trunk guard Blocks if the commit modifies a file that the trunk has evolved since the lane base. Git pre-commit hook
Blocked merge-back guard Blocks if the lane is no longer consolidated into preprod due to a merge-back conflict. Git pre-commit hook
Tenant codename in core guard R1 architecture boundary ratchet: no hardcoded tenant codename in the product core. Git pre-commit hook
Server handler import from application layer guard (pre-commit) R2 ratchet: bars addition of a runtime import of a server handler from an application file. Git pre-commit hook
Module internals access from application layer guard (pre-commit) R3 ratchet: bars addition of a runtime import reaching module internals from an application file. Git pre-commit hook
Architecture boundary detection library Shared library sourced by the six boundary guards (3 PreToolUse + 3 pre-commit) — patterns live here so the two layers do not diverge. Library (sourced)
Browser profile isolation guard The personal profile must never leak into a household profile or between households. Git pre-commit hook
Automatic send on freelance platform guard The monitoring layer remains read-only; sending is permitted under explicit sealed validation. Blocks a send code path in a monitoring module and an unseal-locked send. Git pre-commit hook
Post-commit preprod consolidation A commit on a client worktree lane triggers background consolidation to preprod. Before merge-back, a pool control component holds the producer-to-judge lane (the judge's GO opens preprod). Git post-commit hook
Client account creation via QA tunnel guard BLOCKING: blocks a script that registers a client through the QA tunnel API. The canonical path goes through the dedicated facade. Deliberate override available. PreToolUse hook
Recursive search in harness state guard BLOCKING: closes the "echo chamber" of recursive searches in harness internal state. Multi-harness dispatcher
Worksite readiness guard NUDGE, non-blocking: an armed worksite in autonomous mode must have a fresh readiness verdict. Called by the worksite sync hook (end of turn)
"Shape guard does not prove functioning" reminder WARNING (never blocking) after a write. ⚠️ Wiring to confirm (no caller found)
Schema ready before client deployment guard BLOCKING: mirror of the protection wired in the client deployment script — expand-contract doctrine. ⚠️ Wiring to confirm (no caller found)
PrestaShop cache purge after backfill reminder Non-blocking NUDGE: after a backfill or a prod DB write to PrestaShop touching the front end, reminds to purge the template cache. ⚠️ Wiring to confirm (no caller found)
Email transport before client deployment guard A tenant without email configuration does not crash — it silently drops emails. Verifies the transport before a deployment. ⚠️ Wiring to confirm (no caller found)
nginx resolver without IPv6 guard An nginx resolver proxying an external upstream without ipv6=off makes the route content dependent on the host machine's IPv6 routing. Born from a scar with 897 connection errors toward an upstream object resolved to an AAAA address. ⚠️ Wiring to confirm (no caller found)
Explicit Docker Compose project guard BLOCKING: docker compose down / rm / kill with a secondary file, without an explicit project name, in a non-root directory. Reason: the project environment variable overrides the name declared in the file — a secondary stack removed the containers of the main stack (8 min of downtime). ⚠️ Wiring to confirm (absent from both configuration files as of 2026-10-05)
Undeclared write to client production guard BLOCKING: writing to a client's production environment must be declared to the human responsible party before the action. Blocks file transfers (FTP, SFTP, SCP, rsync, curl upload) to a server identified as client production or to a host unknown to the fleet. Deliberate override with mandatory justification. PreToolUse:Bash hook

The shell script folder constitutes a family in its own right, distinct from the main facades and utilities. Most guards listed as "wiring to confirm" in this table are subject to an ongoing audit — their presence on disk is established, their exact activation vector remains to be documented in a future pass.

Reliability Notes

This 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 Principle

The 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 History

October 2026

  • Pass 2026-10-23 — 6 new facades, 1 utility script, and 1 hook catalogued (Python components: 985 → 991; utilities: 151 → 152; hooks: 234 → 235); 6 line references recalibrated (meta-harness ×3, DeepSeek review engine, pool message router, pool vitality probe, post-commit shim).
    Acknowledged limitations: (1) new files were not re-tested — only their headers and commit diffs were read; (2) the DeepSeek interactive console (approximately 1,500 lines) is described from its docstring, command-line interface, and commit diffs — the console body was not re-read line by line; (3) no cron schedule was observed for the pool yield calculator (command-line usage only); (4) line references for older entries were not recalibrated in this pass.
  • Pass 2026-10-22 — 10 new facades, 2 utilities, and 2 hooks catalogued (Python components: 975 → 985; utilities: 149 → 151); 1 line reference recalibrated (LinkedIn community broadcaster, scheduled slot).
    Acknowledged limitations: (1) new files were not re-tested; (2) the local delegator is described from its code and docstring — its activation and database schema were not verified; (3) no cron schedule observed for the DeepSeek usage collector; (4) line references for older entries were not recalibrated.
  • Pass 2026-10-20 — 10 new facades catalogued (Python components: 965 → 975; 149 utilities unchanged); 2 line references recalibrated (tone detector, client file compiler).
    Acknowledged limitations: (1) the fallback mechanism of the backup quota manager's original harness (approximately 625 lines) was only reviewed at docstring and command-line interface level — ⚠️ to be confirmed; (2) the BOAMP application generator (approximately 2,380 lines) is described from its docstring — PDF generation was not re-read; (3) the VIP project tracking table is cited from the VIP reviewer's docstring — the schema was not re-read; (4) VIP hook wiring is verified by presence in the configuration file — the matcher count was not rechecked; (5) several line references for the tone detector were re-read against the current code.
  • Pass 2026-10-19 — 2 new facades, 1 utility, and 1 hook catalogued (Python components: 963 → 965; utilities: 148 → 149); 5 line references recalibrated (session daemon, tmux session management scripts, session splitter, session restorer); PreToolUse:Agent hook added to the hook register (6 actual hooks on this matcher).
    Acknowledged limitations: (1) threshold values in a perimeter control utility are flagged as "provisional" by the script itself — to be re-read; (2) the session splitter memory threshold (6 GB) was measured on a single incident; (3) hook counts per matcher from prior reviews were not rechecked outside the relevant matcher; (4) a schema migration added within the same window is not a facade and is not catalogued here.
  • Pass 2026-10-18 — 14 new facades and 4 hooks catalogued (Python components: 949 → 963; 148 utilities unchanged); approximately 25 line references recalibrated; 2 new sub-families documented (acquisition channels and autonomous navigation peripheral).
    Acknowledged limitations: (1) cron schedules for acquisition collectors were not verified (except for the main worker); (2) the harness scraping facade has a profile dictionary with no documented zone code; (3) line references for older entries were not recalibrated; (4) the session mailbox handler is described from the code and two commits — tests were not replayed.
  • Pass 2026-10-16 — 1 new facade catalogued (Python components: 948 → 949; 148 utilities unchanged); 4 line references recalibrated; 1 new sub-family documented (WooCommerce import).
    Acknowledged limitations: (1) cron schedules for the demo reset watchdog and the monthly SEO auditor have still not been verified; (2) the oven line was not re-read; (3) line references for older entries were not recalibrated; (4) the WooCommerce import skill is cited from the skill list and the script's docstring — its skill definition file was not re-read — ⚠️ to be confirmed.
  • Pass 2026-10-15 — 12 new facades and 1 hook catalogued (Python components: 938 → 948; 1 utility removed); 12 line references recalibrated; 1 new sub-family documented (PrestaShop 9 migration).
    Acknowledged limitations: (1) cron schedules for the demo reset watchdog and the monthly SEO auditor were not verified; (2) the oven line was not re-read after the multi-slot semaphore was added; (3) line references for older entries were not recalibrated.
  • Pass 2026-10-13 — 8 new facades, 3 utilities, and 2 hooks catalogued (Python components: 930 → 938); 1 line reference recalibrated; 1 reference corrected.
    Acknowledged limitations: (1) the per-tenant QA account tracking table is described from its migration and docstrings — the actual row state was not re-read — ⚠️ to be confirmed; (2) no cron schedule was observed for the per-tenant QA auditors — ⚠️ to be confirmed; (3) 65 dead references remain documented as such; (4) other line references in the chapter were not recalibrated in this pass.
  • Pass 2026-10-12 — 4 new facades catalogued (Python components: 926 → 930); 6 line references recalibrated; 1 deployment hook recorded.
    Acknowledged limitations: (1) the system service unit for the In-Situ link was not verified; (2) line references were not recalibrated; (3) 64 dead references remain documented as such.
  • Pass 2026-10-11 — 9 new facades and 3 utilities catalogued (Python components: 917 → 926; utilities: 138 → 141); approximately 30 line references recalibrated; 1 pre-commit hook recorded. New sub-families: Muse code environment and email processing via scraping.
    Acknowledged limitations: 64 missing paths, all documented as dead references.
  • Pass 2026-10-10 — 16 new facades and 1 JavaScript module catalogued (Python components: 901 → 917; new utility sub-directory); approximately 30 line references recalibrated; 3 wired hooks recorded; hooks configuration file recounted (232 hooks).
    Acknowledged limitations: (1) several sub-systems (third-party account management, system doctor) are described from docstrings and functions read — several database tables are cited from migration names, the actual schema was not re-read — ⚠️ to be confirmed; (2) a reversible application tool for confirmation rules could not be linked to an identifiable facade: only tests changed in the reviewed window — ⚠️ to be confirmed; (3) 65 cited paths are absent from the repository, all marked as deleted or documented dead references.

September–October 2026 (early October)

  • Pass 2026-10-08 — 6 new facades catalogued (Python components: 895 → 901); 11 line references recalibrated; 1 acceptance script recorded.
    Acknowledged limitations: (1) the daemon operations for replaying and adjusting the rhythm of a video are described from the Python operation specification — the maintenance dashboard route was not re-read; (2) several database tables are cited from migration names and docstrings — the actual schema was not re-read — ⚠️ to be confirmed; (3) the hooks section was not recounted.
  • Pass 2026-10-05 — 10 new facades catalogued (Python components: 880 → 889; utilities: 137 → 138); 20 line references recalibrated.
    Acknowledged limitations: (1) approximately twenty other files touched in the same time window are tests, migrations, or already-aligned files — ⚠️ to be confirmed at the next recount; (2) several facades controlling a physical handset had their guards read in the code — no gesture was replayed; (3) the activation status of the Instagram channel in the social configuration table was not re-read in this pass — the note "Instagram connected but disabled" dates from a prior pass — ⚠️ to be confirmed.
  • Pass 2026-10-01 — 33 new facades catalogued (Python components: 831 → 864); 6 sub-systems re-read in the code; 7 script hooks recorded.
    Acknowledged limitations: approximately sixty files that received commits in the relevant window did not have their lines re-read — ⚠️ to be confirmed. Anomaly noted: the social publishing engine exposes limits for three networks (two of which have no active publisher and have broadcasting disabled in the database) — the only networks with a fully operational publisher are the three main professional networks.

September 2026

  • Pass 2026-09-27 — 453 facades catalogued; 45 drift signals realigned; line references recalibrated; hooks section recounted.
    Verifications performed: exhaustive component count (831 Python files, 134 utilities), commit log for cited files, active scheduling table (311 active rows — no residual stale schedule), JSON validation of the hooks configuration file (216 hooks). 64 dead references documented.

    Anomalies observed, not corrected in the code (to be addressed by the relevant teams):

    • Stale cron docstrings and scheduling comments: several facades reference cron schedules that no longer match the active scheduling table (discrepancies observed for approximately ten components).
    • Facades designed for the scheduler but with no active row: approximately fifteen components are architecturally intended for scheduled execution but have no entry in the scheduling table — notably the daily API call cap enforcement mechanism, for which it is unclear what triggers normal execution — ⚠️ to be confirmed.
    • Hard-coded destinations (contrary to the doctrine that destinations must come from the fleet): several link scripts targeting a third-party environment carry a fixed connection address in their code rather than resolving it from the central configuration.
    • Broken or orphaned scripts: several utility scripts look for paths that no longer exist in the repository, or are called by no other known component.
    • Wiring assumptions corrected during cataloguing: several hooks were documented on incorrect or assumed matchers — the hooks configuration file is the authoritative source.
    • Intentionally not reproduced: the default Basic Auth credentials for pre-production carried as constants by a password management script (explicit decision by the founder: "does not protect a business secret"), and the compartmentalised schema names from the protection file (a repository hook refuses to write them outside the authorised perimeter).
  • Pass 2026-09-23 — targeted realignment on the tmux CLI session management daemon.
    Summary: a commit documents for the first time the soft-release sub-command for a session (already present in the repository, never catalogued), now also triggered from the hub under the product name "Release" (soft standby: tmux session killed, work context and transcripts preserved). Aggregate counts were not replayed in this pass.
  • Adversarial review 2026-09-22 — 8 discrepancies corrected by direct verification of the hooks configuration file, two facades, and one wrapper utility.
    Notable corrections: (1) the PreToolUse:Bash group had 79 actual hooks, not 77 — 2 missing hooks added; (2) the Stop chain had 17 hooks in total, not 16; (3) the PreToolUse:AskUserQuestion matcher had 2 actual hooks, not 1; (4) an entire matcher (PreToolUse:Bash|Write|Edit|MultiEdit, without NotebookEdit) was completely absent from the table; (5) an internal arithmetic discrepancy in the enumeration of the PreToolUse:Edit|Write group was corrected; (6) three line numbers for quality guard hooks were re-corrected following a new uniform offset; (7) the coverage measurement chain of a catalogue import facade was completed with a previously omitted intermediate measurement; (8) a line reference for a wrapper component was corrected.
  • Pass 2026-09-22 — targeted realignment on the session splitter; 2 blind spots filled.
    Summary: 6 commits enriched the session splitter (signal producer for the cockpit, turn counter reset on compaction, end-of-turn relaunch camp, auxiliary scoping file for scraping-based resumption, model card sync on shutdown, resumption header in local time). Two facades created several weeks earlier and never catalogued were added in the process.
  • Adversarial review 2026-09-21 (2nd pass of the day) — 2 discrepancies corrected on the same-day regeneration: (1) the count of new atelier3D facades and Blender helpers was under-counted — 3 facades and 6 helpers added; (2) a hook group-matcher was documented with 3 hooks for 4 actual ones — 1 missing 3D shape guard hook added.
  • Pass 2026-09-21 — full recount of the general section; 20 blind spots filled; 1 line reference corrected. Trigger signal: an application manifest file more recent than the documentation — verification: the relevant line describes a mechanism without citing a pinned version, no correction required on that line.
    Actual recount: Python components 720 → 774; top-level utilities 126 → 131; plus two sub-directories and two extension-less files not yet catalogued. 17 technical drawing workshop facades added (sub-count corrected by subsequent adversarial review: 3 additional facades were missing). New sub-family in the session pool section. 1 line reference corrected in the documentation lifecycle section.
  • Pass 2026-09-20 — targeted realignment on the workshop version publishing facade.
    Summary: a commit adds an optional lineage parameter pointing to the source board — the column already existed in the versions table but was missing from the Python insert, so every volume published manually via this facade was created without lineage (one orphan version observed, not retroactively repairable). New CLI parameter, flagged to be omitted when lineage is not known with certainty. Three mutation tests documented.
  • Adversarial review 2026-09-19 (17th pass) — 3 discrepancies corrected in the CLI pool section: (1) a component labelled "cron" was in fact event-triggered — reclassified; (2) an undocumented CLI session profile (antigravity) added; (3) the session cap documented at an intermediate value did not reflect the actual default — corrected.
  • Adversarial review 2026-09-19 (16th pass) — 2 discrepancies corrected in the hooks section: (1) 1 missing hook on the edit/write matcher (14 actual hooks, not 13); (2) 1 entire group-matcher absent from the table (PreToolUse:Bash|MultiEdit), memory file shape guard.
  • Pass 2026-09-19 — targeted realignment on the supplier catalogue import facade.
    Summary: two commits enrich the seating capacity deduction logic — the first reads the seat count from the product title (coverage rising from 22% to approximately 50%); the second adds a fallback for seating items without a declaration, with explicit exclusion of ambiguous references (final coverage approximately 53%, several thousand links placed, rollback mechanism available).
  • Adversarial review 2026-09-18 (15th pass) — 3 discrepancies corrected: (1) a component labelled "cron" carried the note "abandoned" in the scheduling table — reclassified; (2) 1 missing hook on the UserPromptSubmit matcher (7 actual hooks, not 6); (3) 1 entire group-matcher absent (PreToolUse:Bash, 3rd isolated group) — session email perimeter lock.
  • Pass 2026-09-18 — targeted realignment on the workshop worker; 1 new facade catalogued.
    Summary: two commits enrich the worker — a new annotated brush-stroke geometric retouching job type, and a promotion rule to current version conditional on production stage. The step-approval contract facade, present in the repository for several days and never catalogued, is added.
  • Adversarial review 2026-09-16 (14th pass) — 2 discrepancies corrected: (1) a universal matcher (PreToolUse:*), portable dispatcher for top-priority guards, was completely absent from the table — its existence invalidates the exhaustiveness claimed for the single named matcher; (2) a protection component documented on two separate matchers is in fact wired to only one combined matcher.
  • Pass 2026-09-16 — targeted realignment on the CLI session daemon; 4 new facades catalogued.
    Summary: two commits from the same evening modify the internal call to a resource-measurement sub-process (absolute path instead of PATH, a missing environment parameter default added to prevent silent fallback). Alongside this, full realignment of the codex profile sub-thread (profile added, switch to native CLI, conversation resumption incompatibility documented, session cap raised). Three other facades present in the repository for several weeks and never catalogued added.
  • Pass 2026-09-15 — targeted realignment on the client email facade; 1 new facade catalogued.
    Summary: four commits enrich the email facade — (1) correction of a delivery-language guard that was mistaking prospecting for delivery (7 incorrect sends out of 12 scheduled before deactivation); (2) new filtering rule: any reply to a client message now goes through manual validation, never through the prospecting cron; (3) automatic archiving of validation copies on send (175 unarchived copies were obscuring a client's actual requests); (4) exclusion of inbound messages inserted after draft composition from the thread archiving scope. The client email status check facade, present since the previous day and never catalogued, is added.
  • Adversarial review 2026-09-15 (13th pass) — 5 discrepancies corrected: (1) an intent classifier documented the "worksite" intent as active when it had been removed from automatic classification by explicit decision — 5 actual intents documented instead; (2) the creation date of a watchdog component (deadman) was off by one month — corrected; (3) three line numbers for quality hooks re-corrected (new uniform offset); (4) a component documented as writing to a non-existent table was corrected to the actual table; (5) a per-tenant validation script: one profile cited as absent from the help list was in fact present, and one processing branch was missing from the enumeration.
  • Adversarial review 2026-09-14 (12th pass) — 9 discrepancies corrected: (1) an entire matcher (PreToolUse:Edit|Write|MultiEdit|NotebookEdit, 12 hooks) completely absent from the table — added; (2) a hook documented on the wrong matcher — corrected; (3) the attribution of a fix to a commit was an unverified inference — reclassified; (4) a line number for an allowlist corrected; (5) a line pointer in a scraping facade corrected; (6) a geographic component reclassified from "cron" to "unscheduled CLI"; (7) same for a temporal discount component; (8) 1 missing hook on the web navigation matcher (2 actual, not 1); (9) 1 missing hook on the skills matcher.
  • Adversarial review 2026-09-14 (11th pass) — 25 discrepancies corrected.
    Notable corrections: (1) a table rename (sy_task_run → sy_task_exec, carried out in August) had not been propagated to 6 catalogue entries; (2) a component announced as non-existent in the repository had in fact been present for several weeks; (3) three components marked as deleted had actually been restored a month earlier — the nightly loop logs confirmed this with return code 0; (4) a module-not-found bug documented as "continuously broken" had resolved — return code 0 confirmed, but the causal link to a specific commit remains an unverified inference; (5) two merged skills not propagated; (6) a line reference for the tone detector corrected; (7) the agent configuration file count rectified; (8) six cron schedules corrected against the active scheduling table; (9) a billing component presented as active had carried the note "LLM disabled" for several weeks; (10) a scheduling sync component had had its cron line modified; (11) several missing hooks on various matchers; (12) six entire matchers absent from the table added; (13) an internal inconsistency (hook announced in a note but absent from the table) corrected.
  • Adversarial review 2026-09-14 (10th pass) — 20 discrepancies corrected.
    Notable corrections: (1) two timeout constants in the task worker were incorrect — the lease duration (120 min actual, not 30) and the spawn timeout (7,200 s actual, not 1,500) had both changed following documented production incidents; (2) a component catalogued as live with a detailed interface had in fact been deleted for months; (3) a PreToolUse rewiring (correcting an actual deny hook bug in PostToolUse) had not been propagated; (4) a scheduling row documented as disarmed was in fact active; (5–6) two incorrect cron schedules corrected; (7) a client reminder component reclassified from "cron" to "CLI" (permanently stopped); (8) a data collection script reclassified (shutdown documented); (9) a cron schedule corrected; (10) several line references in the maintenance loop section corrected; (11) a reference to non-existent environment variables in a component corrected; (12–13) SessionStart and PostToolUse hook counts corrected; (14) six missing hooks on the post-tool edit matcher; (15) six missing hooks on the Stop chain; (16) overall component counts, never replayed for several months, updated with an explicit warning; (17) a SQL utility count corrected; (18) a test count corrected.
  • Pass 2026-09-14 — targeted realignment on the client email facade; 4 new facades catalogued (prospecting and measurement note).
    Summary: four commits enrich the email facade — (1) GDPR Art. 21 right-to-object guard, fail-closed; (2) optional link to a measurement note, with rejection of any invalid link and prohibition of the "hacking" model as a first message; (3) message identifier persistence after sending and full thread reconciliation; (4) new rule: any message to a client contact goes through manual validation.

July–September 2026 (before mid-September)

  • Adversarial review 2026-07-26 — 3 missing hooks filled after the same-day regeneration: 1 hook on the edit/write matcher, 1 hook on the post-edit matcher, 1 hook present in the general catalogue but absent from the hooks table. Root cause identified: a static table becomes stale as soon as a hook is inserted, if the regeneration pass does not explicitly re-compare each matcher against the live configuration file.
  • Pass 2026-07-26 — targeted realignment on the multi-profile CLI session wrapper; 3 blind spots filled.
    Summary: a commit transforms the single-profile wrapper into a multi-profile wrapper (binary and tmux session selection flag, validated against an allowlist before reaching the shell). Three facades present for several days and never catalogued added (logo vectoriser, autonomous browser state gauge, sub-agent context limiter). Python components: 388 → 391.
  • Adversarial review 2026-07-25 (9th pass) — 5 discrepancies corrected: (1) a component documented as "intact" after a purge in fact showed module-not-found errors in 40 consecutive cron log executions — a bug distinct from the purge, linked to a sub-process call without the root directory in the Python path; (2) the number of executions subsequent to the purge was under-counted (7 actual, not 3); (3) two commits cited as prior occurrences of a bug class were unrelated to it; (4) a daily summary component reclassified (cron line commented out with a stop note); (5) a relevance audit component reclassified for the same reason.
  • Pass 2026-07-25 — realignment on a commit guard hook; 6 new facades catalogued; 1 old blind spot filled.
    Summary: a commit extends the mass-stage block to bare commits on the main checkout (the git index being shared between concurrent sessions). Full re-verification of the PreToolUse:Bash group (33 actual hooks, not 30 — 3 hooks added). Python components: 382 → 388. Root cause restated: a static table becomes stale from the first hook subsequently added.
  • Adversarial review 2026-07-24 (7th pass) — 4 discrepancies corrected: (1) a worksite auto-arming component documented as suspended was in fact active (reconnection documented in the scheduling table); (2) Python component count corrected (2 files arrived after the cited snapshot); (3) the auto-arming priority list included an undocumented additional level; (4) two environment variables described as absent from the relevant files were in fact present (dead declarations).
  • Adversarial review 2026-07-24 (6th pass) — 13 discrepancies corrected: (1) an auto-arming component documented as suspended was active; (2) an incorrect stage reference in the documentation publishing cycle; (3) four components presented as active carried the note "LLM disabled"; (4) a hook documented on the wrong matcher — the actually wired hook has a different name, the orphan file flagged; (5) two missing hooks on the edit/write matcher (14 actual, not 12); (6) 1 missing hook on the Bash matcher (30 actual, not 29); (7) two missing hooks on the post-edit matcher (4 actual, not 2); (8) 1 missing hook on the Stop chain (10 actual, not 9); (9) SessionStart hook count corrected (5 actual, not 1); (10) a worker timeout constant corrected; (11) a reference to a non-existent CLAUDE.md rule removed; (12) six components in the audit section reclassified from "cron" to "unscheduled"; (13) three line numbers in the hooks configuration file corrected.
  • Pass 2026-07-24 — realignment on the scraping facade; 22 blind spots filled.
    Summary: a commit extracts session/backoff/throttle into a shared base, so that the price comparator inherits the same safeguards. Python components: 357 → 380. Scheduling table re-verified: 6 new active entries, no stale entries.
  • Adversarial review 2026-07-21 (5th pass) — 11 discrepancies corrected: (1) the deployment exclusivity rule had been reversed by a prior commit (the system can now initiate a deployment, the fleet decides site by site); (2) utility counts corrected; (3) an auto-arming schedule documented as active had been suspended; (4) a breakage documented as affecting 2 steps of the nightly cycle was in fact affecting 3; (5) 1 missing hook on the edit/write matcher; (6) 1 missing hook on the Agent matcher; (7) SessionStart count corrected (4 actual, not 3); (8) a facade documented as active had been deleted after its documentation; (9) an assertion about the absence of a profile from a help list was partially inaccurate; (10) two incorrect CLAUDE.md line references corrected; (11) a utility count under-counted 2 files.
  • Pass 2026-07-21 — targeted realignment on the task worker; 1 blind spot filled.
    Summary: five overnight commits fix documented production failures — (1) the anti-zombie lease was terminating still-live executions before their own spawn timeout (two executions incorrectly marked as failed); (2) the QA prompt was receiving the log truncated from the start, hiding the conclusion — replaced by a head+tail window; (3) the spawn context was only applied to the first execution of a worksite, with chained executions restarting without context; (4) the session identifier of an execution killed by the lease was never persisted. Two related corrections on worksite entities (columns absent from the field contract, causing silently ignored updates).
  • Adversarial review 2026-07-20 (2nd pass) — 6 discrepancies corrected: (1) a component marked as deleted actually existed in the repository (false positive from the purge scanner, restored two days after being placed in the bin); (2) a hook documented as wired to an event was not — it runs as a cron scheduler; (3) a hook documented as "merged/absorbed" still existed intact in the repository, simply unwired from the configuration file — reclassified as "unwired/orphaned"; (4) a CLI parameter documented as non-existent existed as an environment variable fallback; (5) a line number in a historical note contradicted the up-to-date table — corrected in the note; (6) the breakdown of utilities with/without extension corrected.
  • Adversarial review 2026-07-20 (1st pass) — 8 discrepancies corrected: (1) cron schedule for an autonomy component corrected (database-driven window, not hard-coded); (2) arming schedule and scope for a worksite management component corrected; (3) a conversion monitoring component reclassified from "cron" to "CLI" (absent from the scheduling table); (4) a calibration component reclassified likewise; (5) the job type catalogue for a worker corrected (3 actual types, not 2); (6) the category count for a brand quality assurance component corrected; (7) non-existent environment variables in a component removed; (8) two mirror drift corrections confirmed.
  • Pass 2026-07-20 — 1 dead reference corrected; 1 code drift signal corrected; 23 blind spots filled.
    Summary: a Stop chain hook confirmed as unwired (the file remains intact in the repository but its logic has not been copied elsewhere); a browser provisioning utility script updated (GPU anti-baking flags baked in); 23 facades present since late June / mid-July and never catalogued added. Python components: 332 → 356. Scheduling table re-verified: 2 new active entries.
  • Pass 2026-07-18 — 62 dead references corrected; 15 blind spots filled.
    Summary: exhaustive verification of every cited path — the 62 dead references share a single cause, a purge operation having placed approximately 70 inactive scripts in the bin. Two of the 62 are false negatives from the scanner (still called by path as sub-processes from the nightly loop, therefore invisible to static grep) — marked "deleted in error"; the actual nightly cycle breakage had not yet been observed in the logs. Python components: 387 → 332 (−59 zombies +4 new). New additions: the bin facade itself, the worksite auto-arming component, the cron heartbeat probe (referencing a deadman component that did not yet exist — ⚠️ to be confirmed), the Redis cache health guard, and two persistent worktree management utilities.
  • Adversarial review 2026-07-17 (4th pass) — 3 discrepancies corrected: actual Python component count (387, not 370); 17 new facades never catalogued added (professional WhatsApp management, client-response state machine, QA orbit, authorised mutation, payment handoff, and generic e-commerce adapters); line numbers for three quality hooks re-corrected following a new offset.
  • Pass 2026-07-17 — realignment on a per-tenant validation script (code drift signal): the documentation still described the state from a month earlier (client list and HTTP error behaviour) whereas the script had evolved twice since — addition of an asset integrity verification pass, then correction of a regression in the guard itself.
  • Adversarial review 2026-07-16 (3rd pass) — 5 discrepancies corrected: actual dimensions of a health component (5 dimensions, not 4 — the script's docstring was stale on this point); actual wiring of 7 missing hooks and 2 incorrect line numbers in the hooks table; actual logic of an authentication leak detection component (composite criterion, not binary); actually implemented categories of a brand quality assurance component; a reference to a non-existent Meta application identifier in the two relevant files removed.
  • Pass 2026-07-16 — realignment on the client vault worker facade (code drift signal): the worker had progressed through several worksites since documentation, now handling site account registration and running as a permanent system service. Python components: 368 → 370. Nine pre-existing blind spots filled.
  • Pass 2026-07-15 — 368 Python components and 85 utilities verified. 77 new Python components and 2 utilities added since the previous version. 5 dead references corrected (components deleted during a database migration).
  • Adversarial review 2026-07-15 (1st pass) — 13 discrepancies corrected: actual timeout for a nightly loop component (12,600 s, not 11,460 s); CLAUDE.md line references corrected; actual timeout and status message for a tone detection component (25 s, not 8 s); current role of a TypeScript scan utility (TS phase removed); 8 Bash hooks, 1 Agent hook, 2 Stop hooks, and 1 post-tool matcher missing from the hooks table; tie-breaking logic for a bank reconciliation component (actual FIFO); actual flags for two banking components (no simulation mode in their interface); several monitoring components reclassified (unscheduled); dead code in a reactor correction component flagged.
  • Adversarial review 2026-07-15 (2nd pass) — 8 discrepancies corrected: 2 hooks missing from the hooks table (1 on the edit/write matcher, 1 on the interactive question matcher); incorrect line number for a quality hook; stale immunity scope doctrine for a reflexes component (extended to other tool types); missing cron schedule for a security testing component; inverted description of an error class in an error reflex component; an email sync script removed from "active cron" status (replaced by another component); a client component reclassified from "library" to "CLI" (standalone script with no actual importer).
  • Adversarial review 2026-09-15 (5th pass on §17.b) — 5 matchers corrected by direct reading of the hooks configuration file: SessionStart (9 actual hooks, not 8); PostToolUse:Bash (6 actual hooks, not 5 — the same hook shared across three distinct locations); PreToolUse:Edit|Write|MultiEdit|NotebookEdit (13 actual hooks, not 12 — self-hosted asset guard); PostToolUse:Edit|Write|MultiEdit|NotebookEdit (12 actual hooks, not 11 — community publishing guard); PreToolUse:Bash 2nd isolated group (3 actual hooks, not 1 — two email and publishing guard hooks shared with other matchers). Root cause identical to that noted since July: a static table becomes stale as soon as a hook is inserted in the middle of an already-documented JSON block, if the review pass does not replay the hook enumeration one by one against the configuration file.

Cross-Cutting Structural Observations

Recurring cause of drift: the hooks table is static. It becomes stale as soon as a hook is inserted in the middle of an already-documented JSON block, if the verification pass does not explicitly compare each matcher against the live configuration file. This cause has been identified and named on several occasions without an automatic safeguard having yet been put in place at the time of the last documented passes.

Dead references: 64 paths cited in this catalogue are absent from the repository. All are explicitly documented as such (deleted or dead references). They are excluded from drift calculations.

Scheduling ground truth: the "invocation" column in each table mixes verified facts (presence in the active scheduling table) with inferences drawn from the component name or docstring. For any scheduling ground truth, the active scheduling table is authoritative. The application scheduler has been out of service since May 2026; the only active layer is the system scheduler.

No invented roles: every role cited in this catalogue is extracted from the actual docstring of the component (read-only, without assumption). Components whose docstring is absent or too general are flagged — ⚠️ to be confirmed.