File size: 7,605 Bytes
6afa130 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | # BOB Quick Start Guide
## From Zero to Enterprise Automation in 5 Minutes
**Version:** 1.0.0
**Status:** Production Ready
**For:** First-time users, developers, operations teams
---
## β‘ 5-Minute Setup
### Step 1: Clone Repository (30 seconds)
```bash
git clone https://github.com/SNAPKITTYWEST/bobs-sovereign-automation
cd bobs-sovereign-automation
```
### Step 2: Install Tools (1 minute)
```bash
# Make SovereignShell commands executable
chmod +x bob-shell/*.sh
# Add to PATH (permanent)
echo 'export PATH="$PATH:$(pwd)/bob-shell"' >> ~/.bashrc
source ~/.bashrc
# Verify installation
bob-build --help
```
### Step 3: Run Your First Build (2 minutes)
```bash
# Compile with formal verification
bob-build compiler --verify --profile=prod
# Watch the build
# Output goes to: ./build/compiler-build-report-*.txt
```
### Step 4: Run Tests (1 minute)
```bash
# Deterministic testing (reproducible)
bob-test --deterministic --coverage
# View results
# Output goes to: ./test-report-*.txt
```
### Step 5: Generate Audit Trail (30 seconds)
```bash
# Cryptographically sealed audit
bob-audit compiler --format=json
# View audit records
# Output goes to: ./.audit/
```
---
## π― Common Tasks
### Deploy to Production
```bash
# 1. Verify policy compliance
bob-policy query "verify_deed(deploy_production, Verdict)" --explain
# 2. Build with verification
bob-build runtime --verify --profile=prod
# 3. Run tests deterministically
bob-test --deterministic
# 4. Generate deployment seal
bob-deploy production --validate --seal
# 5. Check deployment manifest
cat .deploy/DEPLOYMENT_MANIFEST.json
```
### Verify Formal Guarantees
```bash
# Lean 4 proofs
bob-proof protocol_correctness --backend=lean4
# Ada/SPARK contracts
bob-proof state_transition_valid --backend=ada
# Coq proofs (advanced)
bob-proof compiler_correctness --backend=coq
```
### Query Policy Rules
```bash
# Simple policy query
bob-policy query "agent_class(oracle, X)"
# With reasoning trace
bob-policy query "route_task(compile, Agent, Priority)" --explain
# Fiscal governance check
bob-policy query "authorize_settlement(Amount, Agent)" --explain
```
### Generate Audit Records
```bash
# JSON format (machine-readable)
bob-audit compiler --format=json
# Text format (human-readable)
bob-audit runtime --format=text
# All components
for comp in compiler runtime adapters; do
bob-audit $comp --format=json
done
```
---
## π Understanding the Layout
```
bobs-sovereign-automation/
βββ bob-shell/ # SovereignShell commands (6 tools)
β βββ bob-build.sh # Build with verification
β βββ bob-test.sh # Deterministic testing
β βββ bob-audit.sh # Audit trail generation
β βββ bob-policy.sh # Policy queries
β βββ bob-deploy.sh # Sealed deployment
β βββ bob-proof.sh # Formal verification
β βββ README.md # Command reference
β
βββ seb/ # Core 7 layers
β βββ kernel/ # L1 Ada/SPARK (verified)
β βββ runtime/ # L2 Erlang/OTP
β βββ adapters/ # L4 RPG/PL-I
β βββ reasoning/ # L6 Rust reasoning
β βββ universe/ # L7 Rust universe
β βββ verification/ # L0 proofs
β βββ README.md # SEB architecture
β
βββ ENTERPRISE_EDITION.md # Pricing + services
βββ BOB_TRUST_DEED_V1.md # Governance framework
βββ BOB_OPERATIONAL_CONTRACT.md # Interaction protocols
βββ RELEASE_NOTES_v1.0.0.md # What's new
βββ QUICK_START_GUIDE.md # This file
```
---
## β
Verification Checklist
After setup, verify everything works:
```bash
# [ ] SovereignShell commands in PATH
which bob-build
# [ ] Build compiles cleanly
bob-build compiler --profile=dev
# [ ] Tests pass deterministically
bob-test --deterministic
# [ ] Audit seal generates
bob-audit compiler --format=json
# [ ] Policy queries work
bob-policy query "system_ready(X)"
# [ ] Deployment package creates
bob-deploy staging --no-validate
# [ ] Formal verification backend found
bob-proof dummy --backend=lean4 2>&1 | head -5
```
β
**All passing?** You're ready for production!
---
## π Example: Complete Production Workflow
```bash
#!/bin/bash
# production-deploy.sh
echo "=== BOB Production Deployment ==="
# 1. Verify policy compliance
echo "[1/5] Verifying policy compliance..."
bob-policy query "verify_deed(deploy_production, Verdict)" --explain
# 2. Build with verification
echo "[2/5] Building runtime..."
bob-build runtime --verify --profile=prod
# 3. Run deterministic tests
echo "[3/5] Running deterministic tests..."
bob-test runtime --deterministic --coverage
# 4. Generate audit trail
echo "[4/5] Generating audit trail..."
bob-audit runtime --format=json
# 5. Deploy with seal
echo "[5/5] Deploying to production..."
bob-deploy production --validate --seal
echo ""
echo "β
DEPLOYMENT COMPLETE"
echo "Audit records: ./.audit/"
echo "Deployment manifest: ./.deploy/DEPLOYMENT_MANIFEST.json"
echo "Deployment seal: ./.deploy/DEPLOYMENT_SEAL.txt"
```
**Run:**
```bash
chmod +x production-deploy.sh
./production-deploy.sh
```
---
## π Troubleshooting
### "Command not found: bob-build"
```bash
# Add to PATH
export PATH="$PATH:$(pwd)/bob-shell"
# Make permanent
echo 'export PATH="$PATH:$(cd "$(dirname "$0")" && pwd)/bob-shell"' >> ~/.bashrc
source ~/.bashrc
```
### "Permission denied"
```bash
# Make scripts executable
chmod +x bob-shell/*.sh
```
### "Lean 4 not found"
```bash
# Install Lean 4
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh
# For Ada/SPARK
sudo apt-get install gnat-community
```
### Tests failing non-deterministically
```bash
# Force deterministic mode
export RUST_TEST_THREADS=1
export RUST_TEST_SEED=42
bob-test --deterministic
```
---
## π Performance Expectations
| Task | Time | Notes |
|------|------|-------|
| Build (dev) | 5β10 sec | Incremental |
| Build (prod) | 30β60 sec | Full optimization |
| Tests | 2β5 min | Deterministic, reproducible |
| Audit | <1 sec | Cryptographic seal only |
| Deploy (staging) | 1β3 min | Includes validation |
| Proof (Lean) | 30β120 sec | Depends on theorem complexity |
---
## π Next Steps
1. **Read** [ENTERPRISE_EDITION.md](./ENTERPRISE_EDITION.md) for pricing and support
2. **Review** [BOB_TRUST_DEED_V1.md](./BOB_TRUST_DEED_V1.md) for governance
3. **Study** [bob-shell/README.md](./bob-shell/README.md) for detailed command reference
4. **Explore** [seb/README.md](./seb/README.md) for architecture deep-dive
---
## π¬ Get Help
- **Issues:** GitHub Issues
- **Email:** support@snapkittywest.dev
- **Sales:** sales@snapkittywest.dev
- **Security:** security@snapkittywest.dev
---
## β¨ You're Ready!
You now have **enterprise-grade agent automation** running locally.
- β
7 complete layers
- β
6 verified tools
- β
Formal proofs
- β
Production ready
**Deploy with confidence.**
---
*BOB Sovereign Enterprise Automation Fabric*
*v1.0.0 β Production Release*
Β© 2026 SNAPKITTYWEST. Apache 2.0 + AGPL 3.0 licensed.
|