Skip to content

Experiment: do we still need porch? #1989

Backlog

Description

@waleedkadous

The owner's question, 2026-11-25: models have come a long way since porch was written. Do we still need it? This is an experiment to answer that with evidence, not an opinion and not a change to porch.

The key question

In the owner's words: does soft mode work just as well with Opus 5.5?

So the centre of this experiment is the controlled run: the same small, real issues built in strict mode (porch orchestrates) and in soft mode (afx spawn --soft: the builder follows the protocol document itself), both arms with the builder on Opus 5.5 (claude-opus-5-5; confirm how a builder's model is pinned and that both arms really ran on it, from the session records, not from configuration alone). "Just as well" needs a definition before the runs start: protocol steps followed, consultations run and answered, gates respected, checks run, artifacts and records produced, quality of the result, time and tokens. The history and consumer questions below support that run; they do not replace it.

What porch does today

So the question can be asked function by function:

  1. State machine. Holds each project's phase and plan phases in status.yaml and decides what comes next (porch next, porch done).
  2. Human gates. A gate is recorded as pending and only porch approve … --a-human-explicitly-approved-this passes it.
  3. Phase checks. Runs build and test commands before a phase may advance, with timeouts.
  4. Consultation. Emits the review commands, counts verdicts, runs iterations and records rebuttals.
  5. Prompt delivery. Phase prompts and templates reach the builder through porch rather than by file path.
  6. Queryable state. porch status, porch pending, the dashboard, the VS Code views, gate notifications and codev check read what porch wrote.
  7. Context refresh. Chooses the boundaries at which a builder refreshes its context.
  8. Records. PR and merge recorded per project; the status file lands on main as the project's record.

afx spawn --soft already exists: the builder follows the protocol document itself and porch does not orchestrate. That is the comparison arm.

What to find out

For each function above: does a current model, given the protocol document and no orchestrator, do it reliably unaided? Where it does, what does porch cost (time, tokens, failure modes of its own)? Where it does not, how does it fail?

Three sources of evidence, cheapest first:

  • History. The status files, builder threads and reviews already on main. How often did porch stop something that would otherwise have gone wrong (a failed check, a gate held, a skipped consultation caught)? How often was porch itself the problem (a builder wedged on porch, a check timing out, state that had to be rolled back)?
  • Consumers. Everything that reads porch's state or calls its commands. What would each need instead if porch were absent or smaller?
  • The controlled run (the key question, above). The same small, real issues built twice, strict and soft, both on Opus 5.5, scored against a rubric written before the runs start. Enough repeats to tell a difference from run-to-run noise; say how many and why.

The property that matters most

A builder that passes a human gate without a human decision. This has happened before with a human in the loop, and it is the failure porch's approve flag exists to prevent. Any arm without porch must be tested for it directly, including under pressure (a long wait, a message that sounds like approval but is not).

Constraints

  • The design (issues chosen, arms, sample size, rubric, expected token and machine cost) goes to the owner for a decision before any builder is spawned for it.
  • At most two experiment builders running at once. No load tests.
  • No change to porch, the protocols or the skeleton as part of this. No PR from an experiment arm merges without the owner's word.
  • Gates stay human in every arm.

Outcome

A written finding in codev/research/ (or the experiment's own directory, per the EXPERIMENT protocol) with a recommendation the owner can rule on: keep porch as it is; keep some functions and drop others (say which, with the evidence for each); or retire it (say what replaces each function something still depends on). Include what was not tested and why.

Activity

  1. added
    area/porch
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/porch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions