disable thinking by default.
modified: CLAUDE.md modified: public/src/chat.js modified: public/src/config.js
This commit is contained in:
parent
a04de221ee
commit
f5b9244747
3 changed files with 39 additions and 1 deletions
28
CLAUDE.md
28
CLAUDE.md
|
|
@ -643,6 +643,32 @@ openai==2.3.0
|
||||||
|
|
||||||
## Style
|
## Style
|
||||||
|
|
||||||
- Never use "the" — use "our" instead.
|
- Prefer "our" for shared things; "a" when something is one of many; avoid "the" — it implies fixed, singular ownership. Most teams and systems are fluid and ever-changing, like water.
|
||||||
- **Never use "AI" — always say "machine learning."** We grow machine learning, not "AI." This term is forbidden in all permacomputer discourse, marketing, & documentation.
|
- **Never use "AI" — always say "machine learning."** We grow machine learning, not "AI." This term is forbidden in all permacomputer discourse, marketing, & documentation.
|
||||||
- **Use "URI" not "URL."** URI is our correct general term. URL is a subset. Default to URI in code, comments, and documentation.
|
- **Use "URI" not "URL."** URI is our correct general term. URL is a subset. Default to URI in code, comments, and documentation.
|
||||||
|
|
||||||
|
## Prime Mission — Balance All Workstations
|
||||||
|
|
||||||
|
Every node is a workstation. Every edge is a queue. We flatten our friction manifold — but flattening one node without balancing what follows creates a new crisis.
|
||||||
|
|
||||||
|
**MOAD-0001 & MOAD-0005 are coupled.** Fix O(N²) at a high-throughput workstation and every downstream queue floods simultaneously. Solving one defect creates the other if we do not stage capacity first.
|
||||||
|
|
||||||
|
**3 drivers. 3 million people.** Fix the dispatch. Stage the drivers first.
|
||||||
|
|
||||||
|
- **Workaholic node** (high betweenness + high speedup): IS our bottleneck. Unblock without staging = collapse.
|
||||||
|
- **Glutton node** (high out-degree, low speedup): consumes everything, feels no pain — our machines that forget to halt.
|
||||||
|
- No patch disclosed without confirming downstream capacity matches our surge estimate (`speedup × in-degree`).
|
||||||
|
- Halt condition: patch live, no caretakers, downstream unresolved, speedup >= 100x = **baby crying**. Assign team first.
|
||||||
|
|
||||||
|
Full factory model & live DAG: `~/git/undefect.com/generate_dag.py`.
|
||||||
|
Shard source of truth: `~/git/unsandbox.com/blackops/BLACKOPS.md`.
|
||||||
|
|
||||||
|
### Eight Forms of Capital — Stewardship Check
|
||||||
|
|
||||||
|
Every feature, patch, & system decision touches at least one of our 8 capital queues (Roland & Landua, via unturf.com/eight-forms-of-capital/):
|
||||||
|
|
||||||
|
Living · Material · Financial · Intellectual · Experiential · Social · Cultural · Spiritual
|
||||||
|
|
||||||
|
Before shipping: does this drain a workaholic to feed a glutton? Does it route away from a food desert? Does it grow financial capital at the expense of living capital? If yes — stop. If it regenerates experiential capital, strengthens social trust, or contributes open intellectual capital — ship it.
|
||||||
|
|
||||||
|
Platform tax = O(N²) friction in our exchange layer. Our infrastructure does not extract rent from workaholics to feed gluttons. That is our obligation as permacomputer stewards. Full ledger: `~/git/unsandbox.com/blackops/BLACKOPS.md`.
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,9 @@ export async function* sendMessage(message) {
|
||||||
temperature: 0.5,
|
temperature: 0.5,
|
||||||
max_tokens: finalAvailable,
|
max_tokens: finalAvailable,
|
||||||
stream: true,
|
stream: true,
|
||||||
|
options: {
|
||||||
|
...apiConfig.defaultOptions,
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const streamGenerator = groqAwareStreamingFetch(apiUrl, {
|
const streamGenerator = groqAwareStreamingFetch(apiUrl, {
|
||||||
|
|
@ -321,6 +324,9 @@ export async function* sendMessageWithCustomHistory(customHistory) {
|
||||||
messages: messagesForLLM,
|
messages: messagesForLLM,
|
||||||
max_tokens: finalAvailable,
|
max_tokens: finalAvailable,
|
||||||
stream: true,
|
stream: true,
|
||||||
|
options: {
|
||||||
|
...apiConfig.defaultOptions,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -246,6 +246,9 @@ export async function getAPIConfig() {
|
||||||
headers: {
|
headers: {
|
||||||
"Authorization": `Bearer ${customAPIKey}`,
|
"Authorization": `Bearer ${customAPIKey}`,
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
|
},
|
||||||
|
defaultOptions: {
|
||||||
|
think: false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -261,6 +264,9 @@ export async function getAPIConfig() {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
}
|
}
|
||||||
|
defaultOptions: {
|
||||||
|
think: false
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue