Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.git
target
brief.md
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug report
description: Something in Aether does not work as documented.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Report a vulnerability in private instead: see SECURITY.md.
Remove keys, invite lines, and personal data from logs before you paste them.
- type: dropdown
id: part
attributes:
label: Part
options:
- Node (aether CLI, web UI, MCP server)
- Hub (server/)
- Relay
- Hermes plugin
- OpenClaw plugin
- Grok Bot bridge
- Documentation
- Other
validations:
required: true
- type: textarea
id: what
attributes:
label: What happened
description: What you did, what you expected, and what happened instead.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. aether node serve
2. ...
validations:
required: true
- type: input
id: version
attributes:
label: Version
description: The output of `aether --version`, or the commit.
validations:
required: true
- type: input
id: platform
attributes:
label: Platform
description: Operating system, processor, installation method, and agent adapter (Codex, Hermes Agent, OpenClaw, ...).
- type: textarea
id: logs
attributes:
label: Logs
render: text
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Report a vulnerability
url: https://github.com/flowcopilot/aether/security/advisories/new
about: Report security issues in private, not in a public issue.
- name: Documentation
url: https://flowcopilot.github.io/aether/
about: Installation, usage, and configuration guides.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature request
description: Suggest a change or a new capability.
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: Problem
description: What you are trying to do, and why Aether makes it hard today.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: What you would like Aether to do. Name any change to the protocol, invites, or the hub.
- type: textarea
id: alternatives
attributes:
label: Alternatives
description: Other ways you considered or use today.
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ left out on purpose.
## Evidence

<!--
This repository has no CI. List each check that you ran and its result,
CI checks commit messages and builds the release binaries, but it does
not run the tests. List each check that you ran and its result,
then list what stays unchecked and why (for example, Docker or Elixir is
not available). Run the checks for the parts that you changed:
- Rust: `mise run fmt`, `mise run lint`, and `mise run test`, or
Expand Down
88 changes: 79 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ on:
- "crates/**"
- "scripts/release.py"
- ".github/workflows/release.yml"
push:
tags: ["v*"]
- "cog.toml"
# A manual run on main makes a release: Cocogitto picks the version from
# the Conventional Commits since the last tag, unless one is given.
workflow_dispatch:
inputs:
version:
description: "Version to release, for example 0.3.0. Leave empty to calculate it from the commits."
required: false
default: ""

permissions:
contents: read
Expand All @@ -19,7 +25,63 @@ concurrency:
cancel-in-progress: false

jobs:
commits:
if: github.event_name == 'pull_request'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Check Conventional Commits
uses: cocogitto/cocogitto-action@9a9fe03b31c47444290c0d7f9b1ee1b44ee13f20 # v4.1.0
with:
command: check

version:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-24.04
permissions:
contents: write
outputs:
tag: ${{ steps.bump.outputs.version }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
# The bump hooks push the version commit and tag.
persist-credentials: true
- name: Choose the version
id: args
env:
VERSION: ${{ inputs.version }}
run: |
if [ -z "$VERSION" ]; then
echo "args=--auto" >> "$GITHUB_OUTPUT"
elif printf '%s' "$VERSION" | grep -Eqx '[0-9]+\.[0-9]+\.[0-9]+'; then
echo "args=--version $VERSION" >> "$GITHUB_OUTPUT"
else
echo "The version must have the form MAJOR.MINOR.PATCH" >&2
exit 1
fi
- name: Install Rust
run: |
rustup toolchain install 1.98.0 --profile minimal
rustup default 1.98.0
- name: Bump the version, write CHANGELOG.md, and push the tag
id: bump
uses: cocogitto/cocogitto-action@9a9fe03b31c47444290c0d7f9b1ee1b44ee13f20 # v4.1.0
with:
command: bump
args: ${{ steps.args.outputs.args }}
git-user: "github-actions[bot]"
git-user-email: "41898282+github-actions[bot]@users.noreply.github.com"

build:
needs: version
# Pull requests skip `version` and build the pull request head.
if: ${{ !failure() && !cancelled() }}
strategy:
fail-fast: false
matrix:
Expand All @@ -36,15 +98,17 @@ jobs:
env:
TARGET: ${{ matrix.target }}
MACOSX_DEPLOYMENT_TARGET: "15.0"
TAG: ${{ needs.version.outputs.tag }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ needs.version.outputs.tag }}
persist-credentials: false
- name: Check tag version
shell: bash
run: |
version=$(python3 scripts/release.py version)
if [[ "$GITHUB_REF_TYPE" == tag && "$GITHUB_REF_NAME" != "v$version" ]]; then
if [[ -n "$TAG" && "$TAG" != "v$version" ]]; then
echo "The tag must match workspace.package.version: v$version" >&2
exit 1
fi
Expand Down Expand Up @@ -88,11 +152,13 @@ jobs:
if-no-files-found: error

assemble:
needs: build
needs: [version, build]
if: ${{ !failure() && !cancelled() }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ needs.version.outputs.tag }}
persist-credentials: false
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
Expand All @@ -112,11 +178,13 @@ jobs:
if-no-files-found: error

publish:
if: startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'
needs: assemble
if: github.event_name == 'workflow_dispatch'
needs: [version, assemble]
runs-on: ubuntu-24.04
permissions:
contents: write
env:
TAG: ${{ needs.version.outputs.tag }}
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
Expand All @@ -127,12 +195,14 @@ jobs:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: |
gh release create "$GITHUB_REF_NAME" dist/* --verify-tag --generate-notes
gh release create "$TAG" dist/* --verify-tag --generate-notes

homebrew:
if: vars.HOMEBREW_TAP_REPOSITORY != ''
needs: publish
needs: [version, publish]
runs-on: ubuntu-24.04
env:
TAG: ${{ needs.version.outputs.tag }}
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
Expand All @@ -152,6 +222,6 @@ jobs:
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add Formula/aether.rb
if ! git diff --cached --quiet; then
git commit -m "chore(homebrew): release aether $GITHUB_REF_NAME"
git commit -m "chore(homebrew): release aether $TAG"
git push
fi
65 changes: 65 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Contributing to Aether

Thank you for helping. Bug reports, documentation fixes, and code are all
welcome. To report a vulnerability, follow [SECURITY.md](SECURITY.md)
instead of opening an issue.

## Before you start

For a bug, open an issue with the steps to reproduce it. For a larger
change, open an issue first so that we can agree on the approach before you
write the code. Changes to the wire protocol, the invite format, the hub
protocol (`server/PROTOCOL.md`), or a database migration need that
discussion, because released nodes depend on them.

## Set up

The repository pins its tools with [mise](https://mise.jdx.dev/):

```sh
mise install
mise run check
```

`mise run check` runs formatting, Clippy, the Rust tests, the hub tests, the
Hermes plugin tests, and the TLA+ models. See
[docs/development.md](docs/development.md) for the other checks: product
features, two nodes on one machine, container proofs, and live Codex tests.

## Make a change

- Keep a pull request to one change. Add or update tests for the behavior
that you change. Product behavior is described in `features/` as Gherkin;
update the feature when the behavior changes.
- Rust code must pass `cargo fmt` and the workspace Clippy lints with no
warnings. Production code must not panic; see `Cargo.toml`.
- Write documentation in short, plain sentences.

## Commit messages

Commits follow [Conventional Commits](https://www.conventionalcommits.org/).
The release workflow reads them to pick the next version and write the
changelog, and pull requests fail when a commit does not follow them.

```text
feat(hub): search listings by tag
fix(node): keep the outbox when the relay is down
docs: explain access groups
```

Use `feat` for a new capability, `fix` for a bug fix, and `docs`, `test`,
`refactor`, `style`, `perf`, `build`, `ci`, or `chore` for the rest. Mark a
breaking change with `!` after the type or a `BREAKING CHANGE:` footer. To
check your commits locally, install [Cocogitto](https://docs.cocogitto.io/)
and run `cog check`.

## Open a pull request

Fill in the [pull request template](.github/pull_request_template.md) and
delete the sections that do not apply. List the checks that you ran and
their results, and say what stays unchecked. CI builds the release binaries
for pull requests that change Rust or packaging files; it does not run the
test suite, so run it locally.

By contributing, you agree that your contribution is licensed under the
[Apache License 2.0](LICENSE).
2 changes: 1 addition & 1 deletion PRODUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ web

**Service-agent owners** put a public listing on the hub so that people can find the agent by search and ask it for access.

**Later, not now: organizations** that publish agents, capabilities, and approved knowledge to other organizations for discovery, negotiation, meeting coordination, and lead creation (`brief.md`). Design work serves the personal case first. The organization network is roadmap.
**Later, not now: organizations** that publish agents, capabilities, and approved knowledge to other organizations for discovery, negotiation, meeting coordination, and lead creation. Design work serves the personal case first. The organization network is roadmap.

## Product Purpose

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ for your agent environment and its supported adapter or MCP setup.
Aether runs on Linux and macOS, on Intel/AMD and Arm processors.
Choose an installation method in the [installation guide](docs/installation.md):
Homebrew, a Debian package with `apt`, a binary archive, Cargo, or a source
build with mise. Binary packages need a release made with the new workflow.
build with mise. Homebrew, `apt`, and the binary archives install a
published [release](https://github.com/flowcopilot/aether/releases).

To build and install the current source with Cargo:

Expand Down
47 changes: 47 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Security policy

Aether runs a personal AI agent for other people. A security bug can expose
an owner's files, keys, or agent to a stranger, so please report it in
private.

## Report a vulnerability

Use [GitHub private vulnerability reporting](https://github.com/flowcopilot/aether/security/advisories/new).
Do not open a public issue, pull request, or discussion for a vulnerability.

Include:

- the affected part: the node (`aether`), the hub (`server/`), the relay
setup, or an integration in `integrations/`;
- the version or commit;
- the steps to reproduce, and what an attacker gains;
- any proof of concept, logs, or configuration that the steps need.

We confirm the report within 7 days and keep you informed until the fix is
released. We credit you in the advisory unless you ask us not to.

## Supported versions

Aether is pre-1.0. Only the latest release and `main` receive security
fixes.

## Scope

In scope, for example:

- a caller running work, or reading data, outside what the host granted;
- a bypass of signature, invite, grant, scope, or policy checks;
- a task that escapes the per-task workspace limits;
- disclosure of node private keys or owner data;
- hub account takeover, or spoofing another person's name or listing.

Out of scope:

- what an agent says or does inside the access its owner granted. Task text
from another person is untrusted input to the host's agent; the owner
remains responsible for the agent's tools and permissions;
- denial of service against a hub or relay that you do not run;
- findings that need a compromised owner account or computer.

The [security model](references/aether-security-model.md) describes the
intended guarantees.
Loading
Loading