AtlasLibrary
Browse articles

131 articles

Name the pattern and its conditions

Demons

Read the articleMarkdown
A coiled dark cord inside a plain ceramic box with its lid partly lowered.
A boundary can contain a recurring pattern without making it disappear.

What It Is

You pick up your phone between tasks, open an app, and find that half an hour has passed. You meant to return to work. During the scrolling, though, each post supplied a reason to continue, and your intention to stop kept losing.

A demon, in this framework, is a persistent pattern like that: a self-sustaining process that competes with what you consciously intend to do. It runs on your neural substrate, but its behavior can feel autonomous. You did not choose the craving, the anxious spiral or the impulse to avoid work.

Warning · METAPHOR WARNING: Not Literal Entities

“Demons” is a metaphor for persistent patterns that feel autonomous and resist interruption. It is not a claim that supernatural entities exist, or a scientific explanation of these patterns.

The metaphor can help you distinguish a pattern from your identity and look for ways to contain it. Ancient descriptions of spirits might also have recorded observations of self-propagating patterns or collective behavior before people had a computational vocabulary, but that is speculation.

Use this framing only if it helps you understand and change a pattern. The practical question is whether naming, interrupting or containing it becomes easier.

A closer look

Inspect the recurring pattern

Inspect the recurring patternNotice the trigger → Name the running pattern → Identify its entry conditions → Change those conditions. Demons are explicitly a metaphor here. The diagram concerns recurring behavior, not supernatural entities.Notice thetriggerName therunningpatternIdentify itsentryconditionsChange thoseconditionsInspect the recurring patternNotice the trigger → Name the running pattern → Identify its entry conditions → Change those conditions. Demons are explicitly a metaphor here. The diagram concerns recurring behavior, not supernatural entities.Notice the triggerName the running patternIdentify its entryconditionsChange those conditions

Demons are explicitly a metaphor here. The diagram concerns recurring behavior, not supernatural entities.

Read this diagram

Notice the trigger → Name the running pattern → Identify its entry conditions → Change those conditions.

The Core Insight: Some Patterns Feel Like External Forces

Will described how persistent patterns "feel like another competing force." Addiction can feel as though a craving takes over. An anxious thought arrives uninvited and develops into a spiral. Procrastination produces resistance just when you intend to begin. Intrusive thoughts recur without being summoned. In each case, something continues happening without your conscious approval.

Treating the pattern as a personal defect gives you little to act on. Calling it a program directs attention to its operation: what starts it, what keeps it running, and what would interrupt it. The demon metaphor adds the feeling of competition and persistence. It lets you separate the pattern from your identity, inspect it, take its momentum seriously, and consider containment when stopping it outright has failed.

The useful distinction is between "I'm broken" and a pattern competing for control. A pattern has conditions you can investigate. You can identify a trigger, interrupt a sequence or remove access to something it needs without first deciding what kind of person you are.

Demons as Executing Programs

The older vocabulary gives names to different operations. Summoning corresponds to a trigger starting a pattern; banishing corresponds to ending it; sealing corresponds to preventing it from starting or limiting where it can run.

Demon loreComputational patternBehavioral example
Summoned by invocationFunction call on a trigger conditionSeeing alcohol activates the craving demon
Follows specific rulesDeterministic code executingThe anxiety spiral: thought, feeling, amplified thought, more feeling
Has particular abilitiesMethods, behaviors, outputsProcrastination's repertoire: avoidance, distraction, excuse-generation
Bound by conditionsAccess controls, conditionalsTriggers at home but never at the gym
Exorcised or banishedProcess termination, pattern replacementThirty days of a new pattern overwriting the old
Sealed or containedSandboxing, quarantine, access controlsTriggers removed from the environment entirely (prevention)

This comparison requires no supernatural entity. It describes a persistent process on a physical neural substrate, using names that emphasize how the process feels to the person experiencing it.

Observable "Demon-Like" Patterns

Addiction as Demon

Addiction supplies an example of why possession language can feel apt. A cue produces craving, craving leads to seeking, consumption reinforces the pattern, and the sequence repeats despite a conscious intention to stop. People describe this as "it takes over" or "that wasn't me."

while context_contains_trigger:
    invoke_craving()
    if willpower < activation_cost:
        execute_seeking_behavior()
        consume()
        # Pattern persists, self-reinforcing
    # Demon wins resource allocation

Separating the craving pattern from "I'm weak, I'm an addict" makes its entry points easier to examine. Removing alcohol from the house removes that invocation path. Entering an incompatible state, such as a gym session in which you cannot consume, prevents execution while that state holds. Repeating a replacement for thirty days installs a new pattern that displaces the old one. With triggers removed and the pattern no longer being invoked, the craving weakens over time.

One intervention blocks a trigger, another prevents an action in a particular setting, another replaces a repeated sequence, and another allows the unused pattern to weaken.

Anxiety as Runaway Demon

Anxiety illustrates a pattern that amplifies itself. A thought produces anxiety, the anxiety makes related thoughts more prominent, and those thoughts produce more anxiety. You can intend to be calm while this loop keeps generating the opposite state.

initial_thought triggers anxiety
anxiety amplifies related_thoughts
amplified_thoughts increase anxiety
# Runaway positive feedback loop
# Anxiety demon executing, spiraling

Calling this "the anxiety demon is active" separates your identity from the loop and directs attention to its feedback. Short work intervals with forced breaks interrupt the time the spiral needs to build. Writing the thoughts on paper stops the internal amplification by moving the thought outside your head. Exercise provides a competing activity that uses resources the spiral would otherwise consume. When the pattern cannot be stopped, it can be given a boundary, such as five minutes of worry time.

Procrastination as Competing Demon

Procrastination shows how two patterns compete for the same resources. When work should begin, distraction, excuse-making or task-switching starts instead. Attention and time are routed into avoidance, so the intended work never starts.

if task.activation_cost > available_willpower:
    procrastination_demon.invoke()  # Competing program
    # Wins resource allocation (attention, time)
    execute_avoidance_behaviors()
    # Work program never loads
else:
    work_program.execute()

The threshold identifies one intervention: reduce the cost of starting. Breaking the task down from "write the chapter" to "write one sentence" removes the threshold that triggers avoidance. Other interventions remove what the avoidance pattern uses. A library with no phone removes its execution environment; deleting games and blocking sites closes the escape routes. You can also establish a work pattern whose activation cost is lower than the cost of resisting it.

These changes follow from how the competing action begins and what it requires. Calling yourself lazy does not supply that information.

Intrusive Thoughts as Background Demons

An intrusive thought behaves like a background process: it was not consciously chosen, it recurs, and it competes with what you want to think about. You want to think about X and keep getting Y, even after dismissing it.

# Background process keeps spawning
while system_running:
    if random_trigger or idle_state:
        invoke_intrusive_thought()
        # User consciously dismisses
        # But pattern persists unless terminated

The metaphor acknowledges that the recurrence is involuntary. It also suggests questions about its conditions. Does it start during idle time, in a particular context, or under stress? Keeping a foreground activity running denies it the idle state it uses. A replacement thought pattern practiced for thirty days can overwrite it. When it persists, another option is to accept its presence while limiting it to a few minutes of allotted thinking time.

"Sealing" as Computational Containment

The word "seal" (封印) in Chinese and Japanese covers ordinary closures such as wax seals, containers and locked doors, as well as the binding of spirits or demons. The common operation is to close something securely so it cannot escape or be tampered with. In causal terms, sealing prevents an unwanted influence from passing through. Sandboxed code, quarantined programs, access controls and encryption perform related forms of containment.

For behavior, there are four distinct ways to create that boundary.

Seal the invocation path by removing a trigger. Alcohol leaves the house, anxiety-triggering photos or objects are removed, or the apps used for doom-scrolling are deleted. A pattern that cannot be invoked cannot execute. This is the connection to prevention architecture.

Seal through incompatibility by arranging a state in which the action cannot happen. A gym session without a phone excludes doom-scrolling. Deep work and social media cannot both occupy attention. A library without the phone leaves the procrastination pattern nothing to run on. The setup gives the incompatible activity control of the relevant resources.

Seal in a bounded container when elimination is not possible. Anxiety gets five minutes of daily worry time. Social media is allowed on Sunday and blocked for the rest of the week. Procrastination is permitted after 5pm, with work hours protected. The pattern still exists, but it no longer has unrestricted time.

Seal through replacement by giving a competing pattern the same place in the day. Going to the gym takes the after-work period previously spent on the couch. Playing guitar occupies the idle hands that previously reached for a phone. After thirty days, the replacement holds the resources the old pattern used.

Ancient Descriptions of Computation

Ancient people experienced persistent behavior and collective effects without a technological language for describing them. It is possible that some accounts of spirits and demons recorded observations of these patterns on human neural and social substrates.

Note · This Is Speculative

The following is speculative metaphorical thinking, not historical claim. Useful for understanding how computational patterns might manifest at scales we don't typically recognize as computational.

Within that interpretation, "spirits" correspond to information patterns that propagate through human networks. Ideas pass from person to person, in the original Dawkins sense of a meme. Collective behavior can persist without one person controlling it, survive across generations, or spread as panic and euphoria. "Going viral" describes the same network-scale propagation in modern language.

"Demon possession" corresponds to a pattern dominating attention, behavior and decision-making. Examples include addiction continuing against conscious intent, mania or obsession occupying consciousness, collective hysteria spreading through a group, and compulsions running autonomously.

"Exorcism" corresponds to ways of interrupting or replacing those patterns. A ritual can change the context and interrupt a sequence. A new environment can remove triggers. A replacement can displace an old pattern through sustained practice, and other people can help maintain the change. "Sealing and binding" corresponds to blocked triggers, removed means of invocation, incompatible states and bounded time or space: the operations described in prevention architecture.

The proposed connection is that the lore may have described computation at a scale, and on a substrate, people did not recognize as computational. The resemblance does not require anything supernatural.

The Competing Forces Frame

Persistent patterns "feel like another competing force." You can describe the same experience as a personal defect, an operating process or a competing demon. Each description directs attention toward different responses.

MoralisticMechanisticDemon MetaphorWhat the shift buys
"I'm addicted" (identity)"Pattern executing" (system)"Demon possessing" (competing force)Depersonalizes further
"I'm anxious" (state)"Runaway loop" (process)"Anxiety demon active" (external)Externalizes — easier to fight
"I procrastinate" (trait)"Competing program" (resource)"Procrastination demon winning" (battle)Suggests combat strategies
"I can't stop" (helpless)"Pattern persistent" (observation)"Demon resisting banishment" (autonomous enemy)Recognizes momentum

"I'm broken" makes the problem sound like an unchangeable identity. "I lack willpower" supplies a judgment without identifying a cause. A separate pattern competing for control can instead be observed, interrupted, replaced or contained by changing access to resources.

This separation can reduce shame and make a specific action easier to see. "Seal the triggers" directs you to remove identifiable things; "fix myself" does not identify an operation. The metaphor also changes the emotional meaning of a setback from failed character to difficulty containing a persistent opponent. That is why the shame spiral never starts and it is easier to inspect when the pattern starts, what triggers it, and how it continues.

Practical Applications

Naming Your Demons

Start by naming a pattern you recognize: a particular anxiety spiral, the avoidance sequence that begins when work appears, an automatic phone loop, or a sugar craving. A specific name lets you refer to one repeated process instead of a vague personal problem.

Then describe what happens. What starts the pattern? What does it do once running? Does it take attention, time or physical action? What keeps it going when you try to stop? Where can it not happen at all? These answers identify places to intervene. Throughout the exercise, distinguish the pattern running on your substrate from your identity.

Example · Example: Naming the Doom-Scroll Demon

Pattern: Pick up phone → open app → scroll for 30min → feel bad → repeat

Name: "Doom-scroll demon"

Triggers: Boredom, idle hands, seeing phone, transition moments (waiting, between tasks)

Behavior when executing: Captures attention, time distortion (30min feels like 5min), resist interruption

Resources captured: Attention (100%), time (30-60min blocks), prevents work_launch

Resists termination by: "Just one more post," notification triggers, infinite scroll design

Sealed by: Phone in other room, library (no phone), deep work state (incompatible)

Now debuggable: Can test sealing strategies, measure success (how many days doom-scroll demon successfully contained?)

Exorcism: Terminating the Pattern

There are four strategies to try, in roughly this order.

First, remove the triggers. Put the phone in a drawer in another room, keep cookies out of the house, remove the triggering photo, delete the games or block the sites. Map each route by which the pattern starts and close it. Prevention comes first because removal has one initial cost and then requires almost no ongoing resistance.

If the pattern starts, interrupt the sequence. A five-minute worry timer can end with writing the thoughts on paper. A 25-minute work timer with a forced break interrupts procrastination's occupation of attention. A ten-minute alarm interrupts scrolling before time distortion takes hold. These time boundaries cost some effort to respect, but less than allowing the pattern to complete a full run.

Create an incompatible state. Go to the gym without a phone, work in a library without the usual triggers, run when sugar consumption would otherwise occur, or enter deep-work flow that occupies the attention anxiety needs. These examples prevent the unwanted action through the state itself. There is a setup cost, after which the incompatibility maintains the boundary.

Replace the pattern through consistent practice. Give the after-work couch period to the gym, the morning phone period to coffee and a journal, or idle hands to a guitar. Repeat the replacement for thirty days. The first two weeks are costly because the old default is still competing. As the replacement becomes automatic, the cost falls toward zero; by day thirty, the old pattern has no resources left to invoke with.

Containment: When Exorcism Fails

Some patterns are chronic, too strong to eliminate, or attached to appetites that will remain. In those cases, maintaining a boundary costs less than repeatedly trying and failing to remove the pattern altogether.

One approach is a fixed limit on time or place: five minutes of worry each day, a single evening window for social media, or "Sunday is procrastination day" with Monday through Friday protected. The pattern is allowed to exist within that boundary.

You can also make an explicit agreement about its territory. The phone can be used after 6pm; sugar can be eaten as dessert twice a week; anxiety can have its allotted worry time. Accepting that some amount will occur removes the shame of failed banishment and directs effort toward a limit you can maintain.

A third approach is to strengthen a beneficial competitor. Daily gym attendance can take over the after-work period previously spent on the couch. Deep work can occupy the morning that doom-scrolling used to take. Exercise can occupy the resources anxiety would otherwise use. After the usual thirty days of consistent practice, the replacement maintains the boundary and the unused pattern weakens.

Framework Integration

Connection to State Machines

A demon corresponds to a state with a pattern that runs by default. Invocation and banishment correspond to transitions into and out of that state. When you walk in the door after work, the default may lead to the couch or the gym. Changing the default transition changes which pattern starts without a fresh decision.

Connection to Attention Routing

The competing patterns need attention, time and behavior. Removing a pattern entirely takes it out of the routing table; containment prevents it from receiving those resources in particular conditions. Doom-scrolling and deep work, for example, compete for the same morning.

Connection to Addiction

The craving, seeking and consumption loop explains the autonomous quality that makes possession language familiar in addiction. It invokes itself repeatedly. Recovery is described here as terminating that pattern and installing a replacement.

Connection to Prevention Architecture

Prevention blocks the paths by which a pattern starts. Deleting an app once has a different cost from resisting the urge to check it fifty times a day. Removing the trigger permanently contains the pattern without repeating the resistance.

Connection to 30x30 Pattern

Thirty days is the replacement period in this framework. The cost is high on day one and falls toward automatic execution by day thirty. At that point, the new pattern occupies the resources the old one used, so continued willpower is no longer maintaining the boundary.

Common Misunderstandings

"Demons are literal supernatural entities." The term describes self-sustaining behavioral patterns. Its purpose is to make them easier to inspect and change. If it introduces a supernatural explanation, it has moved beyond the intended metaphor.

"I'm possessed, therefore helpless." A persistent pattern has momentum, but it also has conditions under which it starts, continues and stops. Those conditions give you ways to interrupt or contain it. If the metaphor makes you feel like the victim of something unstoppable, it is being used wrong.

"One exorcism fixes it forever." Removing sugar triggers may let one pattern fade, while anxiety may require a daily boundary indefinitely. A couch pattern stays displaced only while the gym pattern continues. Expecting every change to be permanent creates shame when a pattern returns. Chronic patterns need continued maintenance.

Return to the libraryBack to the beginning