# openspec/changes/archive/2026-06-11-project-map-prompt-injection dir: openspec/changes/archive/2026-06-11-project-map-prompt-injection index: openspec/changes/archive/2026-06-11-project-map-prompt-injection/.pi-map.index.md ## role Archives a completed prompt-injection feature specification that enables runtime injection of project-map artifacts into LLM context with configurable guidance modes and budget controls. ## files - apply-progress.md | Documents the completion status and implementation details of a prompt-injection feature delivered across five incremental slices. - archive-report.md | Documents the archival status and metadata of a deprecated project change specification directory. - design.md | Design document for adding a runtime prompt injection layer that guides LLM behavior using paired map/index artifacts through configurable modes, canonical markers, and budgeted context expansion. | dep: pi-extension.ts, src/config.ts, spec.md, event.messages, before_agent_start, before_provider_request, context hooks, .pi-project-map.json, .pi-map.index.md, .pi-map.md - proposal.md | Proposes a runtime prompt-injection policy for project-map artifacts with configurable guidance modes, hybrid context budgets, and reinjection avoidance - spec.md | Defines a specification for automatic runtime prompt injection of project map/index artifacts with configurable guidance modes, budgeted expansion, and reinjection avoidance based on actual outgoing context scanning. - sync-report.md | Documents that a canonical spec synchronization was not performed due to legacy flat change artifact structure, with user-approved archival fallback - tasks.md | Defines phased implementation tasks for a prompt injection policy system that controls how project map artifacts are injected into LLM context with budget constraints, mode semantics, and reinjection avoidance. - verify-report.md | Documents verification results for a prompt-injection security feature implementation in a software project. ## arch Document-driven specification architecture using phased slice-based delivery (proposal → design → spec → tasks → verification), with flat artifact structure and canonical marker-based context expansion patterns. ## tags map, prompt, injection, project, report, documents, artifacts, context ## symbols - ## workflows - ## dirty -