The 237KB library was mounted at /workspace/best-practices/ in every consuming ConfigMap but nothing in the prompt mentioned it (directory targets never enter the context manifest). New ~90-word CLAUDE.md file target enters the system prompt: points at INDEX.md, instructs reading only task-relevant topics. Claude-Session: https://claude.ac/code/session_012arAwUuBQrpnMzJ36mEVBk
16 lines
548 B
YAML
16 lines
548 B
YAML
kind: context
|
|
name: best-practices
|
|
version: 1
|
|
description: "Cross-project best practices — security, API design, TDD, spec-driven dev, etc."
|
|
requires: []
|
|
provides: [best-practices]
|
|
|
|
context_files:
|
|
# CLAUDE.md is a file target -> enters the context manifest (system prompt),
|
|
# pointing the agent at the mounted library below (directory targets are
|
|
# mount-only and never enter the prompt).
|
|
- source: ./CLAUDE.md
|
|
target: /opt/harness/context/best-practices/CLAUDE.md
|
|
- source: ./best-practices/
|
|
target: /workspace/best-practices/
|