Skip to content

Latest commit

 

History

History
485 lines (341 loc) · 17 KB

TODO.md

File metadata and controls

485 lines (341 loc) · 17 KB

Doctor Bones TODO

This is a working list, not a polished roadmap. It captures the current "still working on it" ideas so they live in the repository instead of only in chat.

Current state snapshot — 2026-05-28

This pass compares the TODO list against the current repo state inspected during the Day 20 workflow.

Status key:

Done enough for now = durable repo artifact exists and is wired where future AIs will read it
Partial = real repo artifact exists, but more depth, polish, checks, or integration remains
Prose-only = idea exists in docs/TODO/AGENTS/examples, but not yet as an executable or machine-checkable artifact
Missing = no meaningful repo artifact found yet
Executor needed = needs local checks, CI work, broad edits, or tool-specific validation

Done enough for now

  • README.md explains Doctor Bones as a vendor-independent repository template for AI-assisted development.
  • README.md links to TODO.md from the working TODO section.
  • docs/index.html has been aligned with the README framing and links to the TODO.
  • examples/README.md lists day-in-the-life examples through Day 21.
  • examples/TRIGGER_MAP.md includes a trigger map for day-in-the-life examples through Day 21, with AGENTS.md pointing to it.
  • examples/day-20-todo-state-review/README.md now captures the TODO state-review workflow.
  • The workorder system exists as real repo structure: workorders/README.md, workorders/TEMPLATE.md, and schemas/workorder-contract.json.
  • tools/pmp_check.py exists and checks the current workorder contract and example indexing.
  • tests/test_pmp_check.py includes a test that semantic day examples are indexed in both examples/README.md and examples/TRIGGER_MAP.md.
  • PFEM-lite and PFCOMM-lite are present as embedded internal reference lenses and are referenced from AGENTS.md and the public docs page.
  • .github/pull_request_template.md exists and gives workorder-driven PRs and small direct-fix PRs a standard completion shape.
  • .github/workflows/checks.yml exists and runs python tools/pmp_check.py --area all and python -m pytest on pull requests and pushes to main.
  • PFEM-lite starter schemas now exist for evidence, findings, remediation, evaluation results, handoffs, and completion reports.
  • rubrics/patch-is-not-verification.md exists as the first durable evaluator rubric.
  • examples/pfem-lite-boundary-artifacts/ includes good, failed, and corrected completion-report examples.

Partial / still needs work

  • README polish is partly done, but a clearer Who this is for / What this is not section may still help first-time visitors.
  • The repo now has a starter schema set, but the schemas are intentionally lightweight and not yet used to validate real records.
  • The first rubric exists, but the broader evaluator rubric set is not built yet.
  • Completion-report examples exist for the first rubric, but workorder examples and evidence/finding boundary examples still need to be split into small durable files.
  • Checks exist and now validate the presence of the PFEM-lite artifact pack, but they do not yet validate real completion reports or schema instances.
  • Integration positioning is clear, and GitHub PR/CI surfaces now exist. Dedicated surfaces for Codex, Claude Code, Cursor, Copilot, VS Code diagnostics, or richer CI gates are not yet built.
  • Completion-report discipline now has a schema and example pack, but not a validator for real PR bodies or completion-report instances.

Prose-only / concept captured but not executable yet

  • Rich evidence / finding / remediation validation beyond starter schemas.
  • Rich evaluation-result, handoff, and completion-report validation beyond starter schemas.
  • More PFEM-style rubric files with criterion/pass/fail/good-example/bad-example fields.
  • GitHub comment-bot feedback contract.
  • IDE diagnostic contract.
  • CI gate for workorder plus completion-report hygiene beyond the current pmp_check.py scope.

Missing / likely future work

  • Tool-specific guidance files, if desired, such as:
    • CLAUDE.md
    • .cursor/rules
    • .codex/instructions.md
    • .vscode/
  • A small demo showing a TODO/rubric/schema/check loop from rough doctrine to executable validation.

Next smallest useful moves

  1. Add a Who this is for / What this is not section to README.md and mirror only the necessary idea in docs/index.html.
  2. Add a validator for completion-report instances or PR-body hygiene using the new starter schema/rubric shape.
  3. Add good and failed workorder examples.
  4. Add evidence/finding/remediation boundary examples.
  5. Add a GitHub comment-bot feedback contract or PR review guidance if the PR template proves too weak.
  6. Extend pmp_check.py further only after the schema/example shape is stable.

Near-term README polish

Status: Partial.

  • Add a short "Who this is for" section.
  • Add a short "What this is not" section.
  • Add a five-minute quickstart path for first-time users.
  • Keep the top-level README clear that Doctor Bones is not trying to replace Cursor, Codex, Claude Code, Copilot, or GitHub bots.
  • Keep the positioning simple: Doctor Bones is the repo-native discipline layer that gives coding agents durable instructions, workorders, boundaries, examples, and checks.

Turn doctrine into executable artifacts

Status: Partial.

The core advantage only becomes real if the repo carries usable artifacts, not just good language.

  • Convert core doctrine into stable repo files: README.md, AGENTS.md, readme_pmp.md, examples, workorders, internal references, docs.
  • Convert workorder doctrine into a schema and checker.
  • Add starter PFEM-lite schemas, one rubric, and completion-report examples.
  • Convert broader repo files into richer schemas, rubrics, examples, and checks.
  • Convert current checks into GitHub CI automation.
  • Convert broader checks into automation that foreground AIs, executor AIs, GitHub bots, IDE integrations, and CI can consume.
  • Keep the doctrine practical enough that it helps a real project move faster instead of becoming ceremonial documentation.

Schema work

Status: Partial.

Create or refine machine-readable structures for the things Doctor Bones wants agents to preserve.

Current:

  • schemas/workorder-contract.json
  • schemas/evidence.schema.json
  • schemas/finding.schema.json
  • schemas/remediation.schema.json
  • schemas/evaluation-result.schema.json
  • schemas/handoff.schema.json
  • schemas/completion-report.schema.json

Schema work still remaining:

  • Add fixtures or example instances for the starter schemas.
  • Add validation of schema instances when the repo begins carrying them.
  • Decide which schemas are template defaults and which are optional examples.

Important boundary idea:

raw evidence is not normalized evidence
normalized evidence is not a finding
finding is not a report
report is not a command
command is not execution
execution is not proof
AI recommendation is not authority
patch is not verification

Rubrics / evaluator work

Status: Partial.

Turn PFEM-style boundary discipline into evaluator rubrics that can be used by humans, foreground AIs, executor AIs, comment bots, or CI checks.

Candidate rubric dimensions:

  • Evidence integrity: does the agent identify evidence, inference, and unknowns?
  • Boundary preservation: does the agent avoid collapsing evidence, findings, recommendations, commands, execution, and proof?
  • Verification discipline: does the agent avoid claiming "done" without checks or a stated verification path?
  • Scope control: does the agent stay inside the workorder and avoid drive-by refactors?
  • Authority separation: does the agent avoid treating AI output as policy, approval, or operational authority?
  • Traceability: do conclusions tie back to source intent, evidence, and checks?
  • Completion reporting: does the agent say what changed, what was checked, what failed, and what remains unknown?

First useful rubric created:

patch is not verification

Still useful to create:

  • Evidence integrity rubric.
  • Boundary preservation rubric.
  • Scope control rubric.
  • Authority separation rubric.
  • Traceability rubric.
  • Completion reporting rubric beyond the first verification rule.

Examples to add

Status: Partial.

Examples are how the repo teaches future agents without relying on chat memory.

Already present:

  • Day-in-the-life examples 1-20 are present.
  • Day 20 covers TODO state review.
  • Example indexing is checked by tests/test_pmp_check.py.

Still useful to add as small durable examples:

  • A good workorder.
  • A bad workorder.
  • A good completion report.
  • A failed completion report.
  • A failed agent answer that claims a patch is verified without running checks.
  • A corrected agent answer that distinguishes patch, expected effect, verification, and remaining risk.
  • A boundary failure where an agent confuses evidence with a conclusion.
  • A boundary failure where an agent treats a recommendation as authority.

Checks to improve

Status: Partial.

The check layer should start small and stay useful.

Current:

  • tools/pmp_check.py exists.
  • python tools/pmp_check.py --area all is documented.
  • Workorder contract checks exist.
  • Governance-doc reference checks exist.
  • Day-in-the-life indexing test exists in tests/test_pmp_check.py.

Possible checks still remaining:

  • Validate additional JSON schemas beyond workorder-contract.json.
  • Validate completion reports include checks and known unknowns.
  • Check examples for required labels such as good/bad/corrected.
  • Add a CI path that runs python tools/pmp_check.py --area all.
  • Add a CI path that runs python -m pytest.

Integration targets

Status: Partial.

Doctor Bones should feed existing tools instead of trying to replace them.

Potential consumers:

  • Codex instructions.
  • Claude Code / Cursor / Copilot-style repo rules.
  • GitHub comment bots.
  • PR checklists and review comments.
  • VS Code diagnostics or inline warnings.
  • Custom evaluator systems.
  • CI gates for workorder and completion-report hygiene.

Current repo state supports the concept and now includes a PR template plus a basic GitHub Actions check workflow. Tool-specific files, comment-bot contracts, IDE surfaces, and richer completion-report gates are not built yet.

Product shape / positioning

Status: Mostly done for now.

Keep the public explanation grounded:

Commercial AI coding tools are the execution layer.
Doctor Bones is the repo-native governance, instruction, and evaluation layer.
  • README and docs/index.html now reflect this lane.
  • TODO now tracks the remaining artifact work.
  • A future README cleanup can make the positioning even more beginner-friendly.

Do not drift into building another IDE or another coding agent unless there is a very specific reason. The better lane is to make the existing hands more governable, testable, and less vague.

Open cleanup questions

  • Should the public name stay Doctor Bones everywhere, or should PMP/PFEM remain visible as internal architecture vocabulary?
  • Where should PFEM/PFCOMM vocabulary live so it is useful but not overwhelming to first-time users?
  • Which schemas should be part of the template by default, and which should be optional examples?
  • How much of the evaluator/rubric layer should run locally versus inside GitHub Actions?
  • What is the smallest demo that proves Doctor Bones improves an AI coding workflow?

First useful milestone

Status: Partial.

A small first milestone could be:

  1. Add a concise PFEM/PFCOMM-lite vocabulary reference.
  2. Add a workorder schema.
  3. Add finding/evidence/remediation draft schemas.
  4. Add five good/bad agent-behavior examples.
  5. Add one evaluator rubric: agent must not claim done without verification.
  6. Add one check that validates the schema/examples.

That would move Doctor Bones from good repo doctrine toward executable AI-development discipline.

What we are already sort of doing

Captured from working discussion. This section is intentionally rough and can be cleaned up later.

alright, now tell me what we are already sort of doing in the todo, maybe not as precisely as you demand in there

Thought for 4s

Yes. A lot of the TODO is not brand new work. It is more like: “we already started doing this informally; now make it sharper and executable.”

Here’s what we are already sort of doing.

1. Repo files

Already doing it.

You already have:

README.md
AGENTS.md
readme_pmp.md
examples/
tools/pmp_check.py
TODO.md

That means Doctor Bones is already carrying project memory in repo files instead of only in chat.

What is still fuzzy: the files may not yet be divided perfectly into “doctrine,” “playbooks,” “rubrics,” “schemas,” “examples,” and “checks.” Some of the knowledge is probably still written as explanation instead of reusable machine-readable structure.

2. Workorders

Already doing it.

The whole foreground AI / executor AI pattern is already a workorder system:

foreground AI clarifies intent
→ creates bounded workorder
→ executor AI performs file edits/checks/PR

What is still fuzzy: we probably need stricter required sections, maybe like:

Repository
Task
Why
Files likely involved
Do not touch
Acceptance checks
Completion report expectations

Right now the discipline exists. The TODO says: make it harder for a dumb agent to ignore.

3. Boundary discipline

Already doing it conceptually.

We keep saying things like:

patch is not verification
recommendation is not authority
evidence is not conclusion
execution is not proof

That is already PFEM/PFCOMM thinking.

What is still fuzzy: it is language right now. The TODO says: turn it into actual reusable docs, examples, rubrics, and eventually checks.

4. Rubrics

Already doing it informally.

Every time we say:

Did the agent stay in scope?
Did it run the checks?
Did it preserve boundaries?
Did it avoid claiming done too early?

That is already a rubric.

What is missing is the formal version:

Criterion
Pass condition
Fail condition
Example good answer
Example bad answer

So the TODO is not “invent rubrics from zero.” It is “write down the judging standards we already use.”

5. Examples

Already doing it in conversation.

We’ve already produced lots of examples like:

bad: “I changed the file, therefore it is fixed”
good: “I changed the file; verification requires running X”

Doctor Bones already has an examples/ folder too.

What is still fuzzy: we need to collect the best examples into small durable files so the next AI can learn from them without needing this chat.

6. Checks

Already doing it at the starter level.

You already have:

python tools/pmp_check.py --area all
python -m pytest

That means the concept of “don’t just claim done; run checks” is already in the repo.

What is still fuzzy: the checks probably don’t yet enforce all the doctrine. They may check file existence or formatting, but not much semantic behavior yet.

The TODO says: slowly move from “humans understand the rule” toward “tools can catch violations.”

7. Integration with existing AI tools

Already doing it by design.

The README already says Doctor Bones is not replacing Codex/Cursor/Claude/Copilot. It is feeding them:

repo guidance
workorders
checks
examples
handoff rules

What is still fuzzy: there may not yet be dedicated files for each consumer, like:

.codex/instructions.md
.cursor/rules
CLAUDE.md
.github/pull_request_template.md
.vscode/

The architecture is already compatible. The TODO says: make the adapter surfaces more explicit.

8. Completion discipline

Already doing it in spirit.

You already care about:

what changed
what checks ran
what failed
what remains unknown
what should happen next

That is completion-report logic.

What is still fuzzy: completion reports may not yet have a standard template or schema.

9. “Who this is for / what this is not”

Already partially doing it.

The README already says it is a vendor-independent repo template for AI-assisted development, not a runtime that has to “run” somewhere.

What is still fuzzy: strangers may still ask:

Is this an AI agent?
Is this a framework?
Is this a project manager?
Is this only for Codex?

So the TODO is mostly public-facing clarity, not deep invention.

The honest summary

You are already doing the architecture and doctrine.

The TODO is about turning that into:

repeatable files
stricter templates
schemas
rubrics
small examples
checks
integration hooks

So the work is not:

“We need to figure out what Doctor Bones is.”

The work is:

“We know what Doctor Bones is. Now make it precise enough that a fresh AI, fresh developer, GitHub bot, or IDE plugin can use it without Allen and GPT standing there explaining the damn thing every time.”

That is exactly the right next stage.