Skip to content

Commit 27743b5

Browse files
committed
Organize docs under docs directory
1 parent 11a27a1 commit 27743b5

18 files changed

Lines changed: 28 additions & 25 deletions

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ The policy checks include:
392392
If the evidence matches, the workload receives scoped service identity.
393393
If it does not match, it cannot join the service layer.
394394

395-
See [`ATTESTATION.md`](ATTESTATION.md) for the exact evidence format and
395+
See [`docs/attestation.md`](docs/attestation.md) for the exact evidence format and
396396
verification flow.
397397

398398
## How It Works
@@ -408,7 +408,7 @@ standard infrastructure:
408408
- a small peer transport so CVMs can talk privately across the provider
409409
network.
410410

411-
Read [`ARCHITECTURE.md`](ARCHITECTURE.md) when you want the lower-level
411+
Read [`docs/architecture.md`](docs/architecture.md) when you want the lower-level
412412
design.
413413

414414
## Development
@@ -445,14 +445,16 @@ docker build -t service-mesh-mesh-sidecar-check -f mesh-sidecar/Dockerfile .
445445

446446
## More Docs
447447

448-
- [`ATTESTATION.md`](ATTESTATION.md): trust flow and evidence checks.
449-
- [`ARCHITECTURE.md`](ARCHITECTURE.md): lower-level network and service
448+
- [`docs/attestation.md`](docs/attestation.md): trust flow and evidence checks.
449+
- [`docs/architecture.md`](docs/architecture.md): lower-level network and service
450450
design.
451-
- [`FAILOVER.md`](FAILOVER.md): failover tests and measured recovery
451+
- [`docs/failover.md`](docs/failover.md): failover tests and measured recovery
452452
times.
453-
- [`ROBUSTNESS.md`](ROBUSTNESS.md): failure modes and mitigations.
454-
- [`PUBLISHING.md`](PUBLISHING.md): image publishing and provenance.
455-
- [`PROGRESS.md`](PROGRESS.md): current status and remaining work.
453+
- [`docs/robustness.md`](docs/robustness.md): failure modes and mitigations.
454+
- [`docs/publishing.md`](docs/publishing.md): image publishing and provenance.
455+
- [`docs/progress.md`](docs/progress.md): current status and remaining work.
456+
- [`docs/design/README.md`](docs/design/README.md): design notes and handoff
457+
docs for open or historical implementation work.
456458

457459
## Current Limits
458460

bootstrap-secrets/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func main() {
7777
// so per-CVM derivation can't produce the cluster-wide identical
7878
// material those consumers need. They come from Terraform-
7979
// generated env instead. See cluster.tf and
80-
// design/attestation-admission.md for the principled fix.
80+
// ../docs/design/attestation-admission.md for the principled fix.
8181
//
8282
// What's still derived here is intentionally narrow:
8383
// turn: handed to mesh-conn for coturn auth (the actual

cluster-example/cluster.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ provider "phala" {}
3838
# These three secrets MUST be byte-identical across every CVM that
3939
# joins the cluster (gossip auth, Patroni replication, Patroni superuser).
4040
# The principled answer is "derive them in the TEE, never let a human
41-
# touch them" — see attestation-admission.md.
41+
# touch them" — see ../docs/design/attestation-admission.md.
4242
#
4343
# Migration note: in the v0.3 MIG model, all coordinators share ONE
4444
# `app_id` and each workload group app has its own `app_id`, so within

cluster-example/rollout.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ What we're waiting on:
164164
health, snapshot, and leader-transfer scaffolding below while using
165165
the provider's app-revision fan-out path deliberately.
166166
167-
See ./PROGRESS.md for current status.
167+
See ../docs/progress.md for current status.
168168
==============================================================================
169169
170170
EOF

coordinator/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Image tags pin to `:latest` from GHCR for clarity here; pin to
66
# `:sha-<full-sha>` (or a digest) for production deploys — see
7-
# PUBLISHING.md.
7+
# ../docs/publishing.md.
88

99
services:
1010
coturn:

ARCHITECTURE.md renamed to docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ instead of a generic TCP connect check.
438438
generated in Terraform and broadcast via env; attestation-rooted
439439
admission will replace this with TEE-derived material). RPC is
440440
plaintext. Both are confined to inside the overlay, but a full
441-
setup would also configure TLS for RPC. See [ROBUSTNESS.md](ROBUSTNESS.md).
441+
setup would also configure TLS for RPC. See [robustness.md](robustness.md).
442442

443443
## What's nice about this shape
444444

File renamed without changes.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ This directory holds design briefs and handoff notes for open or
44
partially landed work on `service-mesh`. Each doc is structured
55
so an agent (or a person) can pick it up cold and continue.
66

7-
The user-facing docs (`README.md`, `ARCHITECTURE.md`, `FAILOVER.md`,
8-
`PUBLISHING.md`, `ROBUSTNESS.md`) describe what's *shipping today*.
7+
The user-facing docs (`../../README.md`, `../architecture.md`,
8+
`../failover.md`, `../publishing.md`, `../robustness.md`)
9+
describe what's *shipping today*.
910
This directory describes what's *next*. They're intentionally
1011
separated so a user landing on the example doesn't get a roadmap
1112
in their face.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Design: Attestation Admission Follow-Ups
22

33
Phase 1 admission is implemented. The shipped path is documented in
4-
`../ATTESTATION.md` and enforced by:
4+
`../attestation.md` and enforced by:
55

66
- Terraform preflight-derived `compose_hash` policy.
77
- Terraform-declared workload identities and optional `peer_id`.
File renamed without changes.

0 commit comments

Comments
 (0)