Skip to content

v2.1.0 — 4 Ds + 4 Core Properties Framework

Latest

Choose a tag to compare

@TheAstrelo TheAstrelo released this 08 May 05:07
· 24 commits to main since this release

What's New

This release restructures the pipeline around two frameworks from Anthropic's AI courses, plus integrates 16+ new pipeline enhancement features.

4 Ds + 4 Core Properties Integration

The pipeline now embeds Anthropic's frameworks as structural patterns, not bolt-on phases:

  • The 4 Ds (human competencies): Delegation, Description, Discernment, Diligence
  • The 4 Core Properties (machine behaviors): Next Token Prediction, Knowledge, Working Memory, Steerability

Concrete changes

  • New .claude/lib/framework.md — Reference document mapping all 8 principles to specific pipeline mechanics
  • All 12 phase prompts restructured to CONSTRAINTS → CONTEXT → TASK → FORMAT → VERIFY order
    • Constraints first exploits Next Token Prediction (model commits to limits before generating)
    • VERIFY last anchors output structure (final tokens have strongest influence)
    • Per Anthropic prompting docs: queries at the end can improve response quality by up to 30%
  • Phase 0 Task Triage — Pre-Check now outputs Complexity, Risk, Recommended Profile, and Human Review fields. Orchestrator warns on profile mismatch but never auto-overrides — the human decides (Delegation principle)
  • Compressed context passing — Phases 1, 3-5, 7-11 now receive grep/sed extractions of just the sections they need, instead of full cat artifact dumps. Reduces context rot. Phases 2 and 6 keep full artifacts as documented exceptions
  • Phase 6 Traceability matrix — build-report now contains explicit Critique Coverage and Requirements Coverage tables. Every issue from the adversarial review and every success criterion from the brief is mapped to the build step that addresses it
  • 3 new cross-phase SOFT validators in validator.md:
    • critique_addressed — every HIGH/MEDIUM critique issue is addressed in build traceability
    • requirements_covered — every numbered success criterion is verified in build
    • uncertainty_resolved — no NEEDS_RESEARCH/NEEDS_DETAIL/NEEDS_INPUT verdicts remain in design or plan
    • All section-scoped (not file-wide grep) to avoid false positives from prose mentions
  • config.md Framework Principles section — codifies the prompt structure pattern + Context Budget Strategy table + Delegation Triage references

16+ Pipeline Enhancement Features (also merged in this release)

  • New flags: --dry-run, --fast, --fix, --auto, --quiet, --only, --preview, --test, --branch, --pr, --resume, --template
  • New commands: /pipeline-undo, /pipeline-history, /pipeline-estimate, /pipeline-scan
  • New hooks: notify.sh (cross-platform notifications), detect-project.sh (smart defaults from project type)
  • New templates: api-endpoint, auth-flow, crud-page, webhook
  • New agents: suggestion-engine, code-scanner
  • New lib files: error-patterns, next-steps, improvement-patterns, context-engine
  • fast profile — skips QA phases 7-10, keeps safety checks
  • Intelligent suggestions — error-based fix recommendations with file:line references; context-aware next-step suggestions

Cleanup

  • CLAUDE.md and README.md reset to portable example templates so the pipeline framework drops cleanly into any project
  • Pipeline visualization (pipeline-viz/) pixel-art reskin

Why It Matters

Each of the 8 framework principles now has a concrete pipeline mechanic:

Principle Mechanism
Delegation Phase 0 Task Triage + profile-mismatch warning (advisory, never auto-overrides)
Description CONSTRAINTS-first prompt structure across all phases
Discernment Cross-phase validators check critique→build and requirements→build coverage
Diligence Phase 6 Traceability matrix maps every issue and criterion to its resolution
Next Token Prediction CONSTRAINTS at start, VERIFY at end (last tokens anchor output)
Knowledge [UNCERTAIN]/[REVIEW_NEEDED] flags + design phase docs citation
Working Memory Shell extractions instead of full artifact dumps
Steerability Explicit output schemas + anti-pattern examples in each prompt

Built By Itself

This release was built using the pipeline itself. Pre-check, brief, design, critique, plan, drift report, build report, and qa report are preserved at:
.claude/artifacts/20260507-220310-integrate-4ds-4-core-properties-into/


🤖 Generated with Claude Code