v0.1 · foundation

Humanity,
compiled.

CogniCode is a protocol language for difficult human situations. Compile a hard moment into structure — observations, interpretations, capacity, guards, branches, fallbacks — so a calmer version of you can guide the anxious, angry, or exhausted one later.

// thought != fact · emotion != command · urge != action · state != identity

protocols/respond_to_criticism.cog
1
protocol RESPOND_TO_CRITICISM {
2
// assumption: their point may be valid
3
// confidence: 0.72
4
trigger criticism_received
5
guards {
6
capacity_check (emotional_reserve)
7
}capacity
8
IF capacity >= moderate:
9
route STANDARD
10
ELSE:
11
route REDUCED
12
fallback MINIMUM_VIABLE_ACTION
13
}
// safety_notice CogniCode is not therapy, diagnosis, or an emergency service.Read boundaries →
// primary_loops

Three things you do here.

CogniCode is not a journal, chatbot, or therapy tracker. It is a decision-protocol workspace.

// record

Record what happened.

Compile a real event into structured CogniCode. Separate what you observed, remembered, inferred, felt, and did. Kept private by default.

// request

Find help for what is happening.

Describe the moment. Get several capacity-aware protocol branches, each with assumptions, alternatives, and tradeoffs shown.

// practise

Practise with a scenario.

Contribute a protocol for a hypothetical situation. Annotate each line with purpose, assumption, risk, and low-capacity alternative.

// workspace

An IDE for decisions, not a mood tracker.

Sidebar of your work. Editor for the current protocol. Inspector with line-level metadata — assumption, confidence, source.

Workspace
  • ≡crisis_mgmt.cog
  • ▸shared_states/
  • ▸triggers/
  • ▸fallbacks/
crisis_mgmt.cog›protocol(BurnoutDetection)
1
// assumption: rest days are non-negotiable
2
// confidence: 0.92
3
protocol BurnoutDetection {
4
trigger work_intensity > 85%
5
guards { check_holiday_overlap () }validated
6
IF user.is_manager THEN
7
route MANDATORY_DELEGATION
8
fallback MINIMUM_VIABLE_ACTION
9
}
DecompilationLive
Plain language

“When you've been working near maximum capacity, check if a rest day is already booked. If you're carrying leadership load, hand off active work before continuing.”

Runtime context
Intensity
89.2%
State
RUNNING
Provenance

// source: community_review · 128 runs

// guards

What CogniCode never claims.

guard thought != fact
guard emotion != command
guard urge != action
guard prediction != outcome
guard state != identity
guard interpretation != observation
guard strategy_failure != personal_failure
guard acceptance != surrender

Prepare while calm. Access when overwhelmed.

The version of you that thinks clearly can write protocols for the version of you that can't.