Skip to content

Commit 4a4d325

Browse files
committed
Harden governance language discipline
1 parent 9cbce36 commit 4a4d325

6 files changed

Lines changed: 15 additions & 33 deletions

File tree

docs/HOOK_PERMISSION_INTEGRATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ CompText maintains a strict distinction between behaviors actively executed by t
1010

1111
| Governance Layer | Active Implemented Behavior | Planned Target Behavior |
1212
|---|---|---|
13-
| **Context Redaction** | Locally filters high-entropy secrets and sensitive configurations from Context Packs. | Dynamic real-time token scanning of tool input/output streams. |
14-
| **Apply Gate Checks** | Restricts modified files to allowed paths inside the workspace; runs local tests. | Policy verification hooks triggered before file system mutation. |
15-
| **Policy Hooks** | Static validation scripts run manually or via CI verification suites. | Runtime interceptors blocking execution before, during, or after tool usage. |
16-
| **Host Permissions** | Guided instructions and safety baseline rulesets in `AGENTS.md`. | Sandboxed system-level read/write/network blockades enforced by the orchestrator. |
13+
| **Context Redaction** | Locally filters high-entropy secrets and sensitive configurations from Context Packs. | Planned target real-time token scanning of tool input/output streams (not active in current CLI). |
14+
| **Apply Gate Checks** | Restricts modified files to allowed paths inside the workspace; runs local tests. | Planned target policy verification checks triggered before file system mutation (not active in current CLI). |
15+
| **Policy Hooks** | Manual user execution of validation command suites. | Planned target interceptors evaluated before, during, or after tool usage (not active in current CLI). |
16+
| **Host Permissions** | Guided instructions and safety baseline rulesets in `AGENTS.md`. | Planned target host/orchestrator permission constraints (not active in current CLI). |
1717

1818
---
1919

docs/POLICY_INTERCEPTOR_SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This document provides the inert specification format for policy interceptor hoo
6969
```
7070

7171
### PostPhase Specification
72-
- **Intent**: Verifies phase completeness and triggers git progression pipeline.
72+
- **Intent**: Planned target verification of phase completeness status (not active in current CLI).
7373
- **Inert Spec**:
7474
```json
7575
{

docs/RUNTIME_PERMISSION_TEMPLATE.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,3 @@ denied_domains = ["*"]
4242
allow_live_calls = false
4343
allowed_providers = ["dummy"]
4444
```
45-
46-
---
47-
48-
## 2. Phase-Specific Override Template (Inert Target)
49-
50-
```toml
51-
# local_ollama_permissions.toml - Inert target override example
52-
[runtime_permissions]
53-
status = "target"
54-
override_scope = "phase_4"
55-
56-
[network]
57-
allow_sockets = true
58-
allowed_endpoints = ["http://localhost:11434"]
59-
60-
[provider]
61-
allow_live_calls = true
62-
allowed_providers = ["ollama"]
63-
```

reports/phase_14_status.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@
5858
3. **Runtime Permissions**: Authored `docs/RUNTIME_PERMISSION_TEMPLATE.md` defining inert schemas for read/write/network/provider orchestrator constraints.
5959
4. **Starter Templates**: Placed inert policy and permission configurations under `templates/hooks/` and `templates/permissions/` directories.
6060
5. **Skill Registry updates**: Configured and registered `.agent/skills/ctxt-phase-14-hook-permission-integration/SKILL.md` with explicit allowed/forbidden scopes and recomputed local SHA-256 change-detection integrity hash.
61+
6. Review-Gate Cleanup: Updated README project tracking to Phase 13 COMPLETE and Phase 14 NEXT. Cleaned starter skill files to remove claim-sensitive release, readiness, compatibility, and guarantee-style wording. Recomputed and updated local SHA-256 change-detection hashes in the registry index.

templates/hooks/interceptor.policy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This template specifies target policy interception configurations. It is inert a
44

55
- **Status**: Inert Design Target
66
- **Enforcement Layer**: Orchestrator Runtime
7-
- **Rules**:
8-
- PreToolUse: Block `.env` file reading.
9-
- PostToolUse: Filter high-entropy patterns.
10-
- PostPhase: Execute `cargo test` suite.
7+
- **Rules (Target-Only / Not Active)**:
8+
- PreToolUse: Target-only blocking of `.env` file reading.
9+
- PostToolUse: Target-only filtering of high-entropy patterns.
10+
- PostPhase: Target-only execution of `cargo test` suite.

templates/permissions/default.permissions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This template specifies target runtime permission configurations. It is inert an
44

55
- **Status**: Inert Design Target
66
- **Enforcement Layer**: Host Environment
7-
- **Permissions Baseline**:
8-
- **Read**: Repository workspace only (default deny system directories).
9-
- **Write**: Allowed paths within the codebase only.
10-
- **Network**: Block remote sockets by default.
11-
- **Provider**: Restrict calls to mock/local adapters.
7+
- **Permissions Baseline (Target-Only / Not Active)**:
8+
- **Read**: Target-only restriction to repository workspace only (default deny system directories).
9+
- **Write**: Target-only restriction to allowed paths within the codebase only.
10+
- **Network**: Target-only blocking of remote sockets by default.
11+
- **Provider**: Target-only restriction of calls to mock/local adapters.

0 commit comments

Comments
 (0)