The Atlas doc.haus documentation, bound to its code
108 documents

Fork discipline: staying mergeable with OpenCode

doc.haus pulls upstream innovation with git merge upstream/dev. This path shows the rules that keep that merge clean and the seams where the legal product actually lives.

dochaus/opencode.json64 lines
 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
{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["./plugin/legal.ts"],
  "provider": {
    "google-vertex": {
      "npm": "@ai-sdk/google-vertex",
      "name": "Google Vertex AI",
      "models": {
        "gemini-3.1-pro-preview": {
          "name": "Gemini 3.1 Pro",
          "family": "gemini",
          "attachment": true,
          "reasoning": true,
          "temperature": true,
          "tool_call": true,
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        },
        "gemini-3.5-flash": {
          "name": "Gemini 3.5 Flash",
          "family": "gemini",
          "attachment": true,
          "reasoning": true,
          "temperature": true,
          "tool_call": true,
          "limit": { "context": 1048576, "output": 65536 },
          "modalities": {
            "input": ["text", "image", "pdf"],
            "output": ["text"]
          }
        }
      }
    }
  },
  "permission": {
    "read": "allow",
    "glob": "allow",
    "grep": "allow",
    "list": "allow",
    "task": "allow",
    "skill": "allow",
    "search-document": "allow",
    "case-law": "allow",
    "list-templates": "allow",
    "draft-document": "ask",
    "word-integration": "ask",
    "tracked-changes": "ask",
    "redline": "ask",
    "edit": "deny",
    "bash": "deny",
    "webfetch": "deny",
    "websearch": "deny"
  },
  "agent": {
    "explore": { "disable": true },
    "general": { "disable": true },
    "build": { "disable": true },
    "plan": { "disable": true }
  }
}