iiRecord
Agentic AI Atlas · GAP-PROMPT-008: Coding Philosophy Prompt Section
page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-008a5c.ai
II.
Page JSON

page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-008

Structured · live

GAP-PROMPT-008: Coding Philosophy Prompt Section json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · wiki/docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-008.mdCluster · wiki
Record JSON
{
  "id": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-008",
  "_kind": "Page",
  "_file": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-008.md",
  "_cluster": "wiki",
  "attributes": {
    "nodeKind": "Page",
    "sourcePath": "docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-008.md",
    "sourceKind": "repo-docs",
    "title": "GAP-PROMPT-008: Coding Philosophy Prompt Section",
    "displayName": "GAP-PROMPT-008: Coding Philosophy Prompt Section",
    "slug": "docs/harness-features-backlog/gaps/prompt-engineering/gap-prompt-008",
    "articlePath": "wiki/docs/harness-features-backlog/gaps/prompt-engineering/GAP-PROMPT-008.md",
    "article": "\n# GAP-PROMPT-008: Coding Philosophy Prompt Section\n\n| Field | Value |\n|-------|-------|\n| Category | prompt-engineering |\n| Priority | High |\n| Effort | S |\n| Status | Missing |\n\n## Description\nInject coding philosophy guardrails into task prompts for code-writing effects. When the orchestrator delegates code tasks to non-CC harnesses (Pi, Gemini, Codex), the delegated agent lacks CC's built-in coding philosophy rules that prevent over-engineering, speculative abstractions, and unnecessary refactoring.\n\n## Current State\nCC includes detailed coding philosophy in its system prompt (\"Don't add features beyond what was asked\", \"Don't create helpers for one-time operations\", \"Three similar lines is better than a premature abstraction\"). When babysitter delegates to CC, these rules apply. When delegating to Pi, Gemini, or Codex, no equivalent rules exist. Process prompts and `instructions:*` output do not include coding philosophy.\n\n## Target State\nA `codingPhilosophy` prompt section in `packages/sdk/src/prompts/` injected into task prompts for code-writing effects. Content adapted from CC's \"Doing Tasks\" section. Injected via the runtime stratum when task kind indicates code modification. Configurable per process definition (can override or extend).\n\n## Dependencies\n- [GAP-PROMPT-001](../prompt-engineering/GAP-PROMPT-001.md) -- strata model for section placement\n\n## Key Files\n| Component | Path |\n|-----------|------|\n| Prompts module | `packages/sdk/src/prompts/` |\n| CC prompt phrasing analysis | [`11-prompt-phrasing-analysis.md`](../../11-prompt-phrasing-analysis.md) -- Section 2 (Coding Philosophy) has exact CC phrasing to adopt |\n\n## Recommendation\nPhase 2 implementation. Small effort -- extract CC's coding philosophy phrasing, adapt for babysitter context, add as a prompt section. High impact for non-CC harness quality.\n",
    "documents": []
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "page:docs-harness-features-backlog",
      "to": "page:docs-harness-features-backlog-gaps-prompt-engineering-gap-prompt-008",
      "kind": "contains_page"
    }
  ]
}