You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PROJEKT.md
+73-27Lines changed: 73 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,40 +15,86 @@ CompText CLI is an experimental terminal context client for building determinist
15
15
16
16
---
17
17
18
-
## Phase Roadmap Status
18
+
## Autonomous State Machine Configuration
19
+
20
+
### Current State
21
+
```text
22
+
CURRENT_PHASE: 4
23
+
CURRENT_TASK: Ollama Local Adapter with explicit network boundary
24
+
LAST_GREEN_PHASE: 3
25
+
STATUS: active
26
+
```
27
+
28
+
### Autonomy Contract
29
+
-**Allowed Modifications**: May edit source code (`src/**`), tests (`tests/**`), docs (`docs/**`), skills (`.agent/skills/**`, `.agents/skills/**`), prompts (`prompts/**`), and configurations (`Cargo.toml`, `comptext.example.toml`).
30
+
-**Allowed Commands**: May run local compilation, lint checks, tests, and formatting validation.
31
+
-**Error Remediation**: May automatically modify code to fix local build, format, test, or clippy failures.
32
+
-**Phase Transition**: May commit and push changes after all validation passes for a green phase, and automatically proceed to the next phase queue item.
33
+
34
+
### Forbidden Rules
35
+
-**No Private Keys / Secrets**: Forbidden to read or parse `.env`, `.env.*`, `.netrc`, `.git-credentials`, private keys (`*.key`, `*.pem`), or credentials.
36
+
-**No Secret Leakage**: Forbidden to print environment variables, dump secrets in stdout/stderr, or write them to logs/reports/artifacts.
37
+
-**No Untrusted Provider Action**: Forbidden to execute real cloud API provider calls during coding/validation phases (unless explicitly approved for live integration runs).
38
+
-**No Destructive/Out-of-Scope Commands**: Forbidden to run shell operations outside the repo root.
39
+
-**No Overwriting Remote History**: Forbidden to run `git push -f` or force push unless explicitly approved.
40
+
-**No Compliance Claims**: Forbidden to claim production/enterprise readiness, certified status, full autonomy, or official SPARK compatibility.
41
+
42
+
### Stop Conditions
43
+
The agent must halt execution and yield to the user when:
44
+
1. API credentials or auth keys are required to proceed.
45
+
2. Real cloud provider execution / live network calls are needed.
46
+
3. Git merge conflicts arise that cannot be resolved safely.
47
+
4. Validation fails and cannot be resolved with small, safe changes.
48
+
5. Codebase requirements or user requests are contradictory.
49
+
6. Target files outside the repository root need to be accessed or created.
50
+
51
+
### Global Validation Suite
52
+
The agent must run and satisfy the following validation suite before completing any phase:
53
+
```bash
54
+
cargo fmt --all --check
55
+
cargo check
56
+
cargo test
57
+
cargo clippy -- -D warnings
58
+
```
59
+
60
+
### Git Progression Rule
61
+
Upon achieving green status for any phase, the agent must execute:
0 commit comments