03 Sentinel · agent architecture

Your rules.
Its vigil.

Sentinel is a small open-source agent. It lives beside your app, talks to the Aethernet core, and only does what your policy file allows.

Step 01 / 05Plate 03 · the core
01 · ATTACH

Install & verify.

One command. Sentinel proves you own the target (DNS TXT, a well-known file, or repo access) before anything deeper than a passive scan runs.

  • Linux, macOS, Docker, GitHub Action, MCP
  • Ownership: DNS TXT or /.well-known/aethernet.txt
  • Keys stay local; core gets findings, not secrets
02 · OBSERVE

Read the signals.

It inventories the stack: endpoints, headers, dependencies, configs, open ports, contracts. Traffic starts orbiting the core.

  • Data: lockfiles, configs, HTTP surface, logs
  • Feeds: OSV, NVD/CVE, GitHub advisories
  • Baseline saved for drift detection
03 · DETECT

Spot the red.

Skills run checks. The reasoning core asks: is this reachable, exploitable, and what does it touch? Then ranks it.

  • Signals: CVE match, config smell, anomaly
  • Risk = severity × reachability × exposure
  • False positives suppressed with evidence
04 · PATCH

Write the fix.

A minimal patch is generated, tested in a sandbox copy, then applied — within the limits of your policy. Everything is snapshotted.

  • Limits: autonomy level, allowed paths, change window
  • Tests must pass or the patch is dropped
  • aether rollback <id> any time
05 · PROVE

Stamp it on-chain.

The report hash and patch hash go to AetherRegistry on Robinhood Chain. Anyone can verify “this site was scanned and fixed at block N”.

  • No private data on-chain — only hashes
  • Public badge for your site footer
  • Feeds the till: who fixed what gets paid
Install

Pick your
surface.

Linux / macOS
$ curl -fsSL https://aethernet.world/install.sh | sh
$ aether init --site https://yourdomain.com
$ aether scan
$ aether patch            # dry-run diff
$ aether patch --apply
npm / Node 18+
$ npm i -g @aethernet/sentinel
$ aether doctor
$ aether watch --interval 15m
Docker
$ docker run -d --name aether \
    -v $PWD:/app -e AETHER_KEY=ak_live_… \
    ghcr.io/athucode/aethernet-sentinel watch
GitHub Action
- uses: athucode/aethernet@v0
  with:
    mode: propose       # opens a PR with fixes
    fail-on: high
Policy aether.yml

You set the
limits.

Autonomy is opt-in, per severity, per path, per time window. Nothing outside the policy is touched.

aether.yml
site: https://yourdomain.com
autonomy: propose        # observe | propose | auto-low | auto-all
auto_apply:
  max_severity: medium
  paths: [ "nginx/", "package.json", "public/_headers" ]
  window: "Mon-Fri 02:00-05:00 Asia/Bangkok"
skills: [ header-hardening, dependency-audit, secret-leak-detection, tls-doctor ]
notify: { telegram: "@yourchat", email: ops@yourdomain.com }
chain:
  attest: true            # hash only, Robinhood Chain 4663