Skip to content
rfc-workflow Artifact [36b7afb7ae]
Login

Artifact [36b7afb7ae]

Artifact 36b7afb7aeede2c664b943bf8ae11851013969be3f34b59e227c2404a1faf380:


RFC Workflow

rfc-workflow is a reusable control pack for source-grounded RFC authoring.

It is designed to be harness-neutral. The repository defines the workflow, evidence discipline, review gates, and project-pack boundaries, but it does not ship runner-specific commands, plugins, or adapter files. A harness is expected to load the neutral assets and translate them into its own native execution primitives at runtime.

What this repo is for

This repo packages the workflow pattern that was previously mixed together with one project's execution adapters.

The pattern has three stable ideas:

  1. Public RFC deliverables are separate from internal evidence artifacts.
  2. Public claims enter the draft only after accepted evidence exists.
  3. A run advances stage by stage, with gates, review lanes, recursive correction, and clean-room proof before final packaging.

Those ideas are reusable across projects. The source corpus, references, document suite, and examples are not, so they live in project packs.

Repository architecture

The repository is split into five surfaces.

1. Contract

The contract is the canonical source of truth for:

If a prose file and the contract ever disagree about execution order or required outputs, follow the contract.

2. Neutral workflow rules

core/ explains the reusable workflow semantics:

These files describe how the workflow works, independent of any one source corpus.

3. Reusable operating materials

These files support execution without redefining the workflow:

4. Project packs

A project pack provides what the neutral workflow cannot:

A project pack answers what to run the workflow against. It should not redefine the workflow itself.

5. Harness-translation prompts

These prompts replace checked-in adapter files. They tell a harness how to:

Deliberate non-features

This repo intentionally omits:

If a harness needs workers, tasks, jobs, subagents, staged prompts, or other runtime constructs, it should derive them from the neutral contract and prompts when the run starts.

Workflow shape

A typical run follows this shape:

  1. Define scope and target deliverables.
  2. Load context and source-orientation material.
  3. Gather and confirm source evidence.
  4. Build claim/evidence and capability-coverage artifacts.
  5. Draft from accepted evidence only.
  6. Validate examples and mechanical consistency.
  7. Run review lanes and reader-facing gates.
  8. Apply recursive corrections to the earliest faulty artifact.
  9. Run clean-room proof.
  10. Package public outputs separately from evidence artifacts.

The exact stage IDs, gates, and outputs live in workflow.contract.yaml. The list above is the operator's mental model, not a substitute for the contract.

For a new operator or harness:

  1. Read README.md for the repo model.
  2. Read AGENTS.md for the operational load order.
  3. Load workflow.contract.yaml.
  4. Load the neutral docs under core/.
  5. Load any reusable briefs/, toolchains/, and templates/ needed for the selected scope.
  6. Select exactly one project pack under projects/.
  7. Read that pack's README.md plus its suite, corpus, references, metadata, document briefs, and examples.
  8. Run prompts/translate-workflow-for-harness.md so the active harness maps the workflow into its own native primitives.
  9. Run prompts/run-selected-project.md to execute the selected pack.

Do not skip the translation step. This repo is adapter-free by design.

How to use this repo with any dynamic workflow harness

A compatible harness should be able to do four things well.

Load files as operating instructions

The harness must be able to read the contract, neutral workflow docs, and one selected project pack.

Allocate native execution units

The harness may call them tasks, jobs, workers, agents, lanes, or something else. The names can change; the responsibilities cannot.

Preserve gates and correction behavior

The harness must preserve entry criteria, output requirements, review gates, and recursive correction routing rather than flattening the workflow into a single drafting pass.

Keep reusable repo assets separate from run-local output

Run artifacts belong in a run-local workspace chosen by the operator or harness. The reusable repo surface should stay clean unless you are intentionally editing the workflow pack itself.

Suggested operator mental model

Think of execution as:

neutral contract + neutral workflow rules + selected project pack + runtime harness translation

That split makes it straightforward to add a new project later without forking the workflow or blessing one harness as canonical.

Creating a project pack

Use projects/fossil/ as the shape reference, but replace every source-specific fact with material for your own corpus. A new pack should be runnable without copying neutral workflow policy into it.

Canonical starter skeleton

projects/<name>/
├── README.md                  # required
├── suite-brief.md             # required
├── corpus-brief.md            # required
├── references.md              # required
├── draft-metadata.md          # required
├── briefs/                    # required
│   ├── <document-1>.md        # required
│   └── <document-N>.md        # required; exactly one per public document
└── examples/                  # optional
    └── <example-note>.md      # optional

Required files:

Optional files:

Do not put harness commands, runner adapters, reusable neutral workflow rules, generated run output, or another project's source notes in the pack.

Ordered procedure

  1. Create projects/<name>/ with the skeleton above.
  2. Write README.md first so the pack states the suite, the intended deliverables, and the exact files the operator should load.
  3. Write suite-brief.md with the complete document list, document ordering/dependency notes, and suite-wide scope boundaries.
  4. Write corpus-brief.md so the source boundary and source-authority rules are explicit before any drafting starts.
  5. Write references.md and draft-metadata.md so terminology ownership, document relationships, and shared front matter are fixed once for the suite.
  6. Create briefs/<document>.md for every public document named in suite-brief.md. The brief count must match the document count; no document should rely on a brief from another pack.
  7. Add examples/*.md only for project-specific seeds or probes that help evidence gathering, validation, or review.
  8. Read the pack top to bottom and confirm an operator could select it, load it, and run translation without opening another project's pack for missing context.

Pack completeness checklist

Adding another project pack

When adding another pack to this repo:

  1. Scaffold projects/<new-project>/ from the canonical starter skeleton above.
  2. Fill the required files in this order: README.md, suite-brief.md, corpus-brief.md, references.md, draft-metadata.md, then one file per document under briefs/.
  3. Add optional examples/ material only when it is truly project-specific and execution-relevant.
  4. Run the pack completeness checklist before the first translated run.
  5. Reuse the neutral contract and core/ files unchanged unless workflow semantics themselves need to change.
  6. If workflow semantics do change, update the neutral contract and neutral docs rather than hiding the difference inside the new pack.

A new pack should plug different source material into the same workflow machine.

Quick path map

.
├── README.md
├── AGENTS.md
├── workflow.contract.yaml
├── schemas/
├── core/
├── briefs/
├── prompts/
├── toolchains/
├── templates/
└── projects/
    └── <project>/

Rule of thumb for placing content