Skip to content

Commit 3051e83

Browse files
committed
chore: CI badge, fix platform badge, .env.example, consistent frozen files, enable discussions, line count updates
1 parent a008246 commit 3051e83

6 files changed

Lines changed: 29 additions & 5 deletions

File tree

.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Specter CLI Configuration
2+
# Copy this file to .env.local and fill in your values:
3+
# cp .env.example .env.local
4+
5+
# Hetzner Cloud API Token (Read & Write)
6+
# Get one at: console.hetzner.cloud -> your project -> Security -> API Tokens
7+
HETZNER_CLOUD_TOKEN=
8+
9+
# Cloudflare DNS API Token (Edit zone DNS permission)
10+
# Get one at: dash.cloudflare.com -> Profile -> API Tokens -> Create Token
11+
CLOUDFLARE_DNS_TOKEN=
12+
13+
# Cloudflare Zone ID
14+
# Find at: dash.cloudflare.com -> your domain -> Overview -> right sidebar -> API section
15+
CLOUDFLARE_ZONE_ID=
16+
17+
# SSH Key Name (as uploaded to Hetzner)
18+
# Upload at: console.hetzner.cloud -> Security -> SSH Keys
19+
HETZNER_SSH_KEY_NAME=
20+
21+
# Your domain (must be on Cloudflare DNS)
22+
SPECTER_DOMAIN=

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Does it modify any frozen files?
66

77
<!-- Frozen files require 3 successful deploy tests before merging.
8-
Frozen: systemd.go, deploy.go, image.go, cloudinit.go, hetzner/client.go, cloudflare/client.go -->
8+
Frozen: systemd.go, cloudinit.go, caddyfile.go, image.go -->
99

1010
- [ ] No frozen files modified
1111
- [ ] Frozen files modified - 3 deploy test results attached below

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ bin/
22
dist/
33
*.exe
44
.env*
5+
!.env.example
56
.DS_Store
67
*.log

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ internal/
4343
systemd.go systemd unit template [FROZEN]
4444
caddyfile.go Caddy reverse proxy template [FROZEN]
4545
tui/
46-
app.go Main Bubbletea model (~900 lines)
46+
app.go Main Bubbletea model (~1,300 lines)
4747
agent_list.go Dashboard list view
4848
agent_detail.go Agent detail panel
4949
deploy_form.go Deploy form (huh v2)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ These files are frozen. Do not modify them without running 3 full deploy cycles
9595
| `internal/templates/caddyfile.go` | Caddy handles TLS via ACME. Changing the template can trigger Let's Encrypt rate limits (10 registrations per IP per 3 hours). |
9696
| `cmd/specter/commands/image.go` | The image build provisioning script must call `sync` before snapshotting. Without it, Bun's 99MB binary was captured as 0 bytes. This was the Phase 3 blocker. |
9797

98-
The 16/16 deploy success rate was hard-won. Every one of these files has a bug story behind it.
98+
The deploy success rate was hard-won. Every one of these files has a bug story behind it.
9999

100100
## How to Add a TUI View
101101

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
<p align="center"><em>AI agents that earn your trust.</em></p>
77

88
<p align="center">
9+
<a href="https://github.com/ghostwright/specter/actions/workflows/ci.yml"><img src="https://github.com/ghostwright/specter/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
910
<a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="Apache 2.0 License"></a>
10-
<img src="https://img.shields.io/badge/platform-Linux%20(x86)-black.svg" alt="Linux x86">
11+
<img src="https://img.shields.io/badge/platform-macOS%20%26%20Linux-black.svg" alt="macOS & Linux">
1112
<img src="https://img.shields.io/badge/go-1.26-orange.svg" alt="Go 1.26">
1213
<img src="https://img.shields.io/badge/JSON-mode-green.svg" alt="JSON Mode">
1314
</p>
@@ -200,7 +201,7 @@ Your Machine Hetzner Cloud
200201
| specter CLI | | VM (Ubuntu 24.04) |
201202
| | ---SSH---> | |
202203
| Go binary | | Caddy (auto-TLS) |
203-
| ~3,500 lines | --HTTPS--> | reverse_proxy :3100 |
204+
| ~8,000 lines | --HTTPS--> | reverse_proxy :3100 |
204205
| | | specter-agent (Bun) |
205206
+------------------+ | /health -> JSON |
206207
| | Docker (sidecars) |

0 commit comments

Comments
 (0)