docs: use active voice across rules, docs and prompts
Fix every Google.Passive finding in the tracked tree: 161 reports across 24 files, including the AGENTS.md symlink duplicate. Vale at suggestion level now reports none. Every rule, invariant, prompt instruction, placeholder and technical claim is preserved.
This commit is contained in:
24 files changed
+187
-179
No files matched your search
+11
-10
@@ -47,8 +47,8 @@ login -- see
|
||||
|
||||
3. Start the five processes. Order does not matter: a service whose peer is
|
||||
not up yet waits for it and reports it as degraded on its health surface
|
||||
meanwhile. The Gateway waits for the daemon's NATS endpoint when the broker
|
||||
is embedded.
|
||||
meanwhile. The Gateway waits for the daemon's NATS endpoint when the daemon
|
||||
runs the embedded broker.
|
||||
|
||||
```bash
|
||||
./archie-state-store -config ~/.config/archie/config.toml -listen 127.0.0.1:9090 &
|
||||
@@ -68,8 +68,8 @@ login -- see
|
||||
|
||||
## Version
|
||||
|
||||
This archive's binaries are built from the `archied` release tag in its
|
||||
filename. `archie-ui`, `archie-gateway`, `archie-state-store` and
|
||||
The release pipeline builds this archive's binaries from the `archied` release
|
||||
tag in its filename. `archie-ui`, `archie-gateway`, `archie-state-store` and
|
||||
`archie-messaging` ship at that same version rather than
|
||||
being independently tagged (see `RELEASING.md` in the source repository for why
|
||||
only `archied` and `archie-agent` are independently versioned).
|
||||
@@ -109,8 +109,9 @@ image field, with conflict detection), and restarts the units in order through
|
||||
`systemctl --user`. archied must report the new version and stay healthy for
|
||||
120 seconds. Otherwise the watchdog restores the previous binaries and image
|
||||
policy. Data is not rolled back unless the new release migrated the database.
|
||||
Then the previous binaries cannot serve it, so the pre-update backup is restored
|
||||
and the outcome report says that every write since the update began is gone.
|
||||
Then the previous binaries cannot serve it, so the watchdog restores the
|
||||
pre-update backup, and the outcome report says that the restore discarded every
|
||||
write since the update began.
|
||||
Without a systemd user manager the watchdog switches binaries and image policy
|
||||
but restarts nothing, and the install reports that the services need a manual
|
||||
restart.
|
||||
@@ -118,10 +119,10 @@ restart.
|
||||
Transactions live in `${XDG_STATE_HOME:-~/.local/state}/archie/update`, outside
|
||||
the binary directory: `transaction/journal.json`, `transaction/previous/`, and
|
||||
`transaction/archied`, the frozen copy of the archied that wrote the journal. On
|
||||
daemon boot, an interrupted transaction is
|
||||
handed to that frozen watchdog with `-recover` before normal startup. A
|
||||
transaction that never started is discarded, one that was switching or observing
|
||||
is rolled back, and a decided one is finished. To recover manually, run
|
||||
daemon boot, archied hands an interrupted transaction to that frozen watchdog
|
||||
with `-recover` before normal startup. The watchdog discards a transaction that
|
||||
never started, rolls back one that was switching or observing, and finishes a
|
||||
decided one. To recover manually, run
|
||||
`transaction/archied update watchdog -recover -bin-dir ~/.local/bin` from that
|
||||
state directory. A failed recovery keeps the journal for another attempt.
|
||||
|
||||
|
||||
+9
-10
@@ -42,9 +42,9 @@ systemctl --user start archied
|
||||
|
||||
Start order does not matter: a service waits for its peers and reports them as
|
||||
degraded meanwhile. Every template needs PostgreSQL 18 at `database_url`;
|
||||
`docker compose up -d postgres` provides the default server. Its two login
|
||||
roles are created once per database by `archie-state-store provision` -- see
|
||||
[Database roles](#database-roles).
|
||||
`docker compose up -d postgres` provides the default server.
|
||||
`archie-state-store provision` creates its two login roles once per database --
|
||||
see [Database roles](#database-roles).
|
||||
|
||||
The State Store service (`archie-state-store`) owns the task data in the
|
||||
PostgreSQL database `database_url` names and serves the `StateStore` gRPC
|
||||
@@ -87,7 +87,7 @@ schema and serves, which is what an install that has not split the roles does.
|
||||
|
||||
## Running the dashboard
|
||||
|
||||
The dashboard is served by the standalone UI Service (`archie-ui`), not by
|
||||
The standalone UI Service (`archie-ui`) serves the dashboard, not
|
||||
`archied`.
|
||||
It reads the same `config.toml`, dials the Gateway and State Store targets
|
||||
already configured there, and binds `[web].listen` (`127.0.0.1:8484` by
|
||||
@@ -99,10 +99,9 @@ archie-ui -config ~/.config/archie/config.toml
|
||||
|
||||
Open the dashboard to configure the organisation, workspace and first administrator account.
|
||||
Use HTTPS through a reverse proxy for remote access, and complete setup before exposing it publicly.
|
||||
`archied` runs no dashboard listener at all, so webhook capture
|
||||
(`POST /webhooks/capture/{source}`) is received by archie-ui and the
|
||||
binding-dispatch loop in `archied` consumes what arrives from the shared
|
||||
State Store.
|
||||
`archied` runs no dashboard listener at all, so archie-ui receives webhook
|
||||
capture (`POST /webhooks/capture/{source}`) and the binding-dispatch loop in
|
||||
`archied` consumes what arrives from the shared State Store.
|
||||
|
||||
The dashboard speaks plain HTTP. A non-loopback bind therefore carries the
|
||||
session cookie and the provider token in clear over the network, and
|
||||
@@ -155,5 +154,5 @@ A running State Store holds the `state-store` ownership lock on its database.
|
||||
store process on the same `database_url` refuses to start. A consumer that
|
||||
opens the task tables indicates dual-store ownership.
|
||||
The readiness probe is the single-writer check the runbook has against a
|
||||
degraded store: a `503` from `/health/detailed` means `archied` should be
|
||||
started only after the store is healthy.
|
||||
degraded store: a `503` from `/health/detailed` means the operator should
|
||||
start `archied` only after the store is healthy.
|
||||
@@ -11,7 +11,7 @@ This runbook describes how to manage `archied` as a background user service on L
|
||||
with the contents it
|
||||
ships. This page describes what runs and why; the installer owns the contents,
|
||||
so inspect a unit with `systemctl --user cat <unit>` rather than copying it from
|
||||
here, where it would drift from what is written.
|
||||
here, where it would drift from what `install.sh` writes.
|
||||
|
||||
The Gateway unit is `archie-gateway.service`, written by `install.sh` beside
|
||||
`archied.service`.
|
||||
@@ -30,8 +30,8 @@ Docker bridge gateway address, and a non-loopback bind needs `[tls]` (see
|
||||
|
||||
### Messaging Service Unit (`~/.config/systemd/user/archie-messaging.service`)
|
||||
|
||||
The Telegram, email and webhook channels are served by `archie-messaging`, not
|
||||
by `archied`, since the v1.30.0 extraction. `archied` starts no gateway for them
|
||||
`archie-messaging` serves the Telegram, email and webhook channels, not
|
||||
`archied`, since the v1.30.0 extraction. `archied` starts no gateway for them
|
||||
and logs nothing when one is absent. A host that updates across v1.30.0
|
||||
without this unit runs on with dead channels and a daemon that looks perfectly
|
||||
healthy. `install.sh` writes this unit on a fresh install.
|
||||
@@ -48,7 +48,7 @@ each service waits for the peers it needs.
|
||||
|
||||
## 2. UI Service Unit (`~/.config/systemd/user/archie-ui.service`)
|
||||
|
||||
The dashboard is served by the standalone UI Service, not by `archied`. It reads the same `config.toml`, dials
|
||||
The standalone UI Service serves the dashboard, not `archied`. It reads the same `config.toml`, dials
|
||||
the Gateway and State Store targets already in it, and binds `[web].listen`.
|
||||
Open the dashboard to configure the organisation, workspace and first administrator account.
|
||||
Complete setup before exposing it publicly; remote access requires an HTTPS reverse proxy.
|
||||
@@ -61,7 +61,7 @@ probe (token-free by design); the authenticated readiness surface lives at
|
||||
the dashboard's health endpoint behind account authentication. A watchdog can curl
|
||||
`/healthz` without credentials.
|
||||
|
||||
`install.sh` writes `archie-ui.service`. Browser accounts are configured through the dashboard.
|
||||
`install.sh` writes `archie-ui.service`. Operators configure browser accounts through the dashboard.
|
||||
|
||||
`After=` orders the start, it does not wait for the store to bind. The UI
|
||||
process closes that gap itself. Its event pump retries priming with backoff
|
||||
@@ -129,12 +129,13 @@ systemctl --user stop archied
|
||||
|
||||
Embedded NATS is the default. The systemd service runs `archied` natively, so
|
||||
interactive chat keeps the host access the operator configured, while every
|
||||
autonomous repository workflow runs in a task-scoped Docker container. No
|
||||
Compose service or host `archie-agent` binary is required.
|
||||
autonomous repository workflow runs in a task-scoped Docker container. The
|
||||
deployment needs no Compose service or host `archie-agent` binary.
|
||||
|
||||
Docker must be installed and reachable by the service user. `containers.image`
|
||||
has no default: with it unset the daemon refuses to start and names the key,
|
||||
so a fresh install learns about it at startup, not at the first failed pull.
|
||||
The operator must install Docker and make it reachable to the service user.
|
||||
`containers.image` has no default: with it unset the daemon refuses to start and
|
||||
names the key, so a fresh install learns about it at startup, not at the first
|
||||
failed pull.
|
||||
`single-forge-github.toml` and `docker-nats-stack.toml` set a pinned
|
||||
reference; `standalone.toml` and `dev.toml` leave it for the operator to set
|
||||
-- see
|
||||
@@ -173,8 +174,8 @@ fall back to a host model loop.
|
||||
The release pipeline publishes
|
||||
`git.catlow.cloud/sam/archie-agent` as `:v<version>` and `:sha-<commit>` when
|
||||
the commit carries a release tag; an ordinary push to `main` publishes nothing
|
||||
for the agent image, and `:latest` moves only when a release is promoted. A
|
||||
distribution zip pins the image its own release
|
||||
for the agent image, and `:latest` moves only when the release pipeline promotes
|
||||
a release. A distribution zip pins the image its own release
|
||||
published, by digest, in `release.json`, and `archied update install` pulls
|
||||
exactly that.
|
||||
|
||||
@@ -204,8 +205,9 @@ personal access token that can read the package as the password --
|
||||
`{"username":"<user>","password":"<token>"}`. Put it in
|
||||
`~/.config/archie/env` as `ARCHIE_REGISTRY_AUTH` so it stays out of
|
||||
`config.toml`. The field is file-owned and settled at boot, so a change takes
|
||||
effect on restart. A value that cannot be read logs a warning and pulls
|
||||
anonymously, which is the failure the task reports as a capability error.
|
||||
effect on restart. When the daemon cannot read a value, it logs a warning
|
||||
and pulls anonymously, which is the failure the task reports as a capability
|
||||
error.
|
||||
|
||||
The bundled update adapter snapshots the configured `[containers].image` before
|
||||
rebuilding it and restores that image if the restarted daemon fails its health
|
||||
|
||||
Reference in new issue
Block a user