Every Quest Engine post so far has pointed at the objective function and then walked past it. The WHY post calls it the layer that sits above the operational cycle. Find Your Why calls it the thing your intrinsic motivation is a personal version of. The Matz post files "the objective" into it and moves on. It has been load-bearing in every one of those arguments and has never had a page of its own.

This is that page, and it is the first of three steps: Why (here), then the Contextual Core of Who, What, When, and Where, then How. Four things to settle: what an objective function actually is, what the general human one is, why it is better called a directive than a question, and why that directive comes in two nested forms, one personal and one structural.

What an Objective Function Is

An objective function is the rule a system uses to decide what counts as better. Not the goal. The rule that ranks goals.

In machine learning it is literally a function: feed it a candidate outcome, it returns a score, and the whole apparatus climbs that score. The reason it is worth borrowing the term rather than just saying "goals" is that the machine learning version comes with a warning attached. A model does not pursue what you meant. It pursues what you scored. If the score is a bad proxy for what you wanted, the model will optimize hard and arrive somewhere you did not want to go, and it will do it efficiently, and nothing in the system will object.

Teams work the same way. Every team has an objective function whether anyone wrote it down or not, because the moment work gets prioritized, something is being ranked. When nobody states the rule explicitly, the team silently adopts whatever is easiest to measure: tickets closed, hours logged, lines shipped, meetings attended. Those are proxies. They are not wrong, exactly, but nobody chose them, and unchosen proxies are how a group of competent people end up two years deep into work that nobody can explain the point of.

Two words worth keeping apart, because the framework uses both:

  • The objective is a particular state of the world you want to produce: a working site, a shipped feature, a problem that stops being a problem.
  • The objective function is the standing rule that decides which objectives are worth having in the first place, and tells you when one has stopped being worth it.

An objective is a value. An objective function is the thing that assigns values. You can hit your objective and still be failing your objective function, which is exactly what "we shipped it and it changed nothing" feels like.

The General Human Objective Function: Explore, Play, Joy

Here is the claim this post exists to make plainly: the general human objective function is Explore, Play, and Joy.

Those three are the subject of Discovery, Play, Joy, where I framed them as a secular account of meaning. What I did not say there, and should have, is that they are not merely a nice description of a full life. They are the scoring rule. When a person asks "is this worth doing?" and answers honestly rather than strategically, these three are what the honest answer is made of:

Explore (Discovery) scores novelty and understanding. Does this take me somewhere I have not been, or show me something I did not know? This is the before-the-act component, the searching force, the thing Mastery is made of.

Play scores agency. Is this mine to shape, and does shaping it produce interesting results? This is the during-the-act component, the driving force, the felt form of Autonomy.

Joy scores connection. When this is done, will it have mattered to someone, including me? This is the after-the-act component, the renewing force, the felt form of Purpose.

The reason to call these the general objective function is that they are terminal. Ask why you want any specific thing and you get a chain: I want this feature shipped, because the team needs the release, because the customer is blocked, because... Keep pulling and the chain always lands on one of these three, and then stops. Nobody can answer "why do you want to understand things?" with something more fundamental than wanting to understand things. These three are where the regress ends, which is exactly the property an objective function needs. A scoring rule that needed its own scoring rule would never terminate.

Your particular objective function is this general one with weights on it. Some people run heavy on Explore and will trade a great deal of comfort for a question they have not seen before. Some run heavy on Play and will take a smaller problem they fully own over a larger one they do not. Some run heavy on Joy and need to see the person on the other end before anything feels worth doing. The weights are personal, they move over a lifetime, and most of the confusion people have about their own motivation is a weighting they never examined.

Two practical consequences fall out of this immediately.

Organizations do not share your objective function, and that is normal. A company's function scores revenue, risk, and retention. Yours scores Explore, Play, and Joy. Motivation is not a feeling that visits you; it is the measure of how much those two rules overlap on the work in front of you. Where they overlap, effort is free. Where they do not, you are running on extrinsic fuel and will have to refill it from outside, continuously, forever. Stated that way, "I am unmotivated" stops being a character flaw and becomes a measurable misalignment with a short list of possible causes.

Attaching your score to an implementation detail is a trap. If your Play score is tied to typing code by hand rather than to shaping systems, then every change in tooling reads as a loss, because it is one. Keep the score on the thing that survives the medium.

The Self-Referencing Structure, Made Explicit

The Quest Engine is described as self-similar, which is accurate and also the part most likely to feel like hand-waving. Let me make it precise, because "it is recursive" is only useful if you can say what recurses, what the base case is, and why it is not circular.

What recurses is the triad, not the content. At every level you find the same three-beat shape: a before (search for what better means), a during (drive toward it with ownership), and an after (renew by checking whether it was the right target). That shape holds for a single code review, a project, a career, and a life. It holds for the operational loop and it holds for the layer above the operational loop. The content at each level is completely different; only the shape repeats.

The levels connect through one specific handoff. This is the piece that was missing. Each level's objective function is produced by the Renew step of the level above it.

  • Life-level Renew asks what kind of life this is adding up to, and what it outputs is the objective function for your career.
  • Career-level Renew asks whether this direction is still yours, and what it outputs is the objective function for this year's project.
  • Project-level Renew asks whether this is still the right thing to build, and what it outputs is the objective function for this week's task.

Which is why the layer above the operational loop is not a different kind of thing from the loop. It is the same loop, running slower. Strategy is retrospection at a longer wavelength. The reason it feels like a separate layer is that its cycle time is measured in quarters and years, so from inside a two-week sprint it looks stationary, like a fixed sky rather than the slow weather it is.

The base case is Explore, Play, Joy. The regress has to stop somewhere or the structure is circular, and it stops at the three terminal scores. Everything above them is derived; they are not derived from anything. That is what makes this a well-founded recursion instead of a loop that justifies itself.

The recursion runs both ways, and the upward direction is the whole point. Objectives flow down from Renew to the level below. Evidence flows back up: executing reveals whether the objective was any good, and that evidence is the raw material of the slower Renew above. A system that only sends objectives down is a bureaucracy. A system that only sends evidence up is drift. Both directions running is what makes the thing compound, and it is the precise sense in which the HOW feeds back to refine the WHY.

Why Stands Alone: The Objective Function Is the Primary Directive

Reduce the framework to the two words people actually use, Why and How, and something is obviously missing. "Why are we doing this" and "how do we do it" leave out the entire middle: who is involved, what exactly are we making, when does it need to exist, where does it sit. Those are not details to be worked out during the How. They are a distinct step, and giving them back their own place is what finally makes the shape clear.

The corrected split is three parts, and the first one is the subject of this post:

  • Why is the Primary Directive. It stands alone, above the other two, and it is answered first.
  • Who, What, When, Where are the Contextual Core: the locating step, the searching force, the work of figuring out where you actually are before you move.
  • How is the Action Phase: the driving force, the execution.

Calling Why a directive rather than a question is the part worth dwelling on, because it changes what kind of answer counts. A question invites an answer. A directive issues an instruction that everything downstream has to comply with. The objective function is not curious about what matters to you; it is the standing order that every subsequent decision gets checked against. "Why am I doing this" is only the conversational form of it. The operative form is "this is what I am for, so rank accordingly."

And a directive has to be answered before you can locate yourself usefully, because the Contextual Core is enormous without one. Who is relevant? Everyone, until the directive narrows it. What is in scope? Everything. When does it matter? Always. Where do you look? Anywhere. Without a directive, the four Ws have no edges, and the search never terminates. That is what people are actually describing when they say they feel scattered: not a shortage of information, a missing directive to filter it with.

The two directives: the human one and the authentic one

Here is the piece that has been missing from everything above, and the reason "find your why" advice usually fails to land. There is not one directive. There are two, nested, and they do different jobs.

The specific directive is human, personal, and particular. It is yours, it is phrased in the concrete terms of your actual life, and it is not transferable to anyone else. "Be in flow while building things that are hard enough to be interesting." "Make the thing my team depends on stop being scary." "Support the people in my house without disappearing from the house." These are specific enough to actually rank options with, and they are specific enough to go stale, which they do, regularly, which is why they need renewing.

The general directive is authentic, structural, and shared. It is the thing the specific directive is a local instance of: Explore, Play, Joy. Not yours, not anyone's, just what a human objective function is made of when you pull the regress all the way down. It does not go stale, because it is not a claim about your circumstances. It is the floor.

The relationship between them is the whole trick. The specific directive is the general one with weights and a context attached. That means the two can disagree, and the disagreement is informative:

  • When the specific directive is alive, following it pays out in Explore, Play, and Joy. The two are aligned and motivation is free.
  • When the specific directive has gone stale, you follow it and the general one goes unpaid. You are hitting your stated objective and feel nothing, which is the exact sensation of a proxy that outlived its purpose.
  • When you have no specific directive at all, only the general one, you get pull with no direction: genuinely interested in everything, committed to nothing, which is its own distinct kind of stuck.

So the diagnostic is not "do I have a why." It is does my specific directive still cash out in the general one. When it does not, you do not need more discipline and you do not need a new general directive (you cannot have one, it is not up for negotiation). You need to rewrite the specific one, which is what Renew is actually for. The general directive is the fixed point the rewriting is measured against. Without it, "find a new why" is just drifting with better vocabulary.

This is also why the directive has to be stated in terms that survive the medium. Attach the specific directive to an implementation detail (the language, the tool, the particular way the work gets done today) and the general directive stops being payable the moment the industry moves. Attach it to the thing you are actually trying to produce and it keeps paying.

Why first, not last

An earlier pass through this material put Why at the end of the cycle, on the reasoning that "why are we doing this" is a backward-looking audit and audits come after. That is true of one of Why's two jobs and false of the other, and splitting them resolves it:

  • Why as directive comes first. It is the standing order, and it has to exist before anything downstream can be ranked.
  • Why as audit comes last. It is the check that asks whether the directive is still the right one, and it feeds the next cycle's directive.

Same word, two positions, and they are not in tension because they are the two ends of the same loop. The audit at the end of one cycle is the directive at the start of the next. That is the handoff described in the section above, seen from the outside: Renew's output is the next cycle's Why.

Which gives the running order, and it is a shift-left move: Why → Who/What/ When/Where → How → back to Why. Most work starts at How, because How is where the typing is and typing feels like progress. Starting at Why and refusing to move until the four Ws are answered is slower for about a day and faster thereafter, for the same reason every other shift-left is.

Here is the stack in one table. Each row is one question, and the columns are the same structure described from different distances.

QuestionForceHuman motivationFelt asIts job
WhyRenewPurposeJoyIssues the directive; audits it afterwards
Who / What / When / WhereSearchMasteryExploreLocates you against the directive
HowDriveAutonomyPlayExecutes, and produces the evidence

Read the columns and every triad in the series lines up: Search/Drive/Renew, Mastery/Autonomy/Purpose, Explore/Play/Joy, and now the question words. They are not four frameworks. They are one structure described from four distances: the mechanism, the motivation, the feeling, and the question you would actually ask out loud. The meta post is the overview of how the three fit together and why the labels move around.

Using It

The directive is a diagnostic, like everything else here. Three questions, in order:

Can I state my specific directive in one sentence, without using the name of a tool? If you cannot state it, you do not have one, and the four Ws below it have no edges. If you can only state it in terms of a tool or a method, you have attached it to a layer the industry is free to move.

Does following it still cash out in Explore, Play, and Joy? Explore flat means the work has stopped teaching you. Play flat means you have responsibility without ownership. Joy flat means you have lost sight of who it is for. A specific directive that pays none of the three is not a motivation problem, it is an expired directive, and the fix is to rewrite it rather than to push harder.

Where does my directive overlap the work's? Not "do they align," which is a yes-or-no question with a depressing answer. Where, and how much. The overlap is where effort is free, and most of the useful career moves I have seen were someone deliberately enlarging it rather than switching jobs and hoping.

What makes this the most durable layer in the framework is that it is the one agents do not touch. An agent can search, draft, and refactor; it can do a great deal of the How, and increasingly a lot of the four Ws. It cannot issue the directive, because a directive is a claim about what is worth wanting, and the agent has no stake in the answer. As more of the How gets delegated, the directive stops being the abstract part of the job and becomes most of it. Explore, Play, Joy are what is left when the typing goes away, and they were always the thing being optimized.

Once the directive exists, the next step is to find out where you are standing relative to it. That is the Contextual Core.


The objective function sits above the operational cycle in the Quest Engine framework, alongside the Intrinsic Motivation pillar. For the complete treatment, see the Objective Function pillar, the Quest Engine introduction, and Quest Engine: The Why.