chore: track .pi-map.md and .pi-map.index.md artifacts

Remove the map files from .gitignore so they are committed as project
navigation artifacts, and also unignore them in the sample fixture.
Regenerate all maps so the committed versions reflect the current source.
This commit is contained in:
Developer
2026-06-16 14:38:42 +00:00
parent cb581f44b9
commit 3e7410b6bd
46 changed files with 1158 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
# openspec/changes/archive (index)
dir: openspec/changes/archive
## role
Provides persistent storage and retrieval of historical change records in an archived format for audit trails and long-term data retention.
## parent
index: openspec/changes/.pi-map.index.md
map: openspec/changes/.pi-map.md
## children
- openspec/changes/archive/2026-06-11-layered-map-protocol
index: openspec/changes/archive/2026-06-11-layered-map-protocol/.pi-map.index.md
map: openspec/changes/archive/2026-06-11-layered-map-protocol/.pi-map.md
- openspec/changes/archive/2026-06-11-map-context-retrieval
index: openspec/changes/archive/2026-06-11-map-context-retrieval/.pi-map.index.md
map: openspec/changes/archive/2026-06-11-map-context-retrieval/.pi-map.md
- 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
map: openspec/changes/archive/2026-06-11-project-map-prompt-injection/.pi-map.md
## files
## links
index: openspec/changes/archive/.pi-map.index.md
map: openspec/changes/archive/.pi-map.md
## workflows
-
## dirty
-
+18
View File
@@ -0,0 +1,18 @@
# openspec/changes/archive
dir: openspec/changes/archive
index: openspec/changes/archive/.pi-map.index.md
## role
Provides persistent storage and retrieval of historical change records in an archived format for audit trails and long-term data retention.
## files
## arch
Simple archive storage pattern using file-based serialization with read/write operations for immutable change log records, likely with date-based or sequential naming conventions.
## tags
-
## symbols
-
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# openspec/changes/archive/2026-06-11-layered-map-protocol (index)
dir: openspec/changes/archive/2026-06-11-layered-map-protocol
## role
Contains archived specification documents for a deprecated layered map protocol that introduced paired navigation artifacts to replace bulk-loading of map files with a tiered directory-level routing system.
## parent
index: openspec/changes/archive/.pi-map.index.md
map: openspec/changes/archive/.pi-map.md
## children
-
## files
- apply-progress.md
- archive-report.md
- design.md
- proposal.md
- spec.md
- sync-report.md
- tasks.md
- verify-report.md
## links
index: openspec/changes/archive/2026-06-11-layered-map-protocol/.pi-map.index.md
map: openspec/changes/archive/2026-06-11-layered-map-protocol/.pi-map.md
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# openspec/changes/archive/2026-06-11-layered-map-protocol
dir: openspec/changes/archive/2026-06-11-layered-map-protocol
index: openspec/changes/archive/2026-06-11-layered-map-protocol/.pi-map.index.md
## role
Contains archived specification documents for a deprecated layered map protocol that introduced paired navigation artifacts to replace bulk-loading of map files with a tiered directory-level routing system.
## files
- apply-progress.md | Documents the completion status and summary of implemented features for an "Apply Progress" project or milestone.
- archive-report.md | Documents the archival status and metadata for a deprecated layered map protocol specification directory.
- design.md | Design document for a paired navigation-first artifact model that generates both routing indexes and orientation rich-maps from a shared intermediate directory model while preserving existing pipeline behavior. | dep: spec.md, src/format.ts, src/init.ts, src/patch.ts, src/validate.ts, pi-extension.ts, README.md, SKILL.md, design-doc.md, CLI argument parsing, YAML config handling
- proposal.md | Proposes a layered navigation protocol using paired index/map artifacts to replace bulk-loading of map files with a tiered, directory-level routing system.
- spec.md | Specifies a layered navigation protocol for project maps using paired index and rich map artifacts per directory with defined generation, patching, and validation behaviors.
- 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 a phased task plan for implementing a layered paired-map protocol with directory-level `.pi-map.md` and `.pi-map.index.md` artifacts, routing metadata, patch sizing, validation, and documentation. | dep: design.md, pi-extension.ts, SKILL.md, README.md, design-doc.md, npm/node toolchain
- verify-report.md | Documents verification results for a code change implementing a layered map protocol with paired artifacts. | dep: npm, vitest, node, typescript
## arch
Document-driven specification archive using a layered architecture with paired index/map artifacts per directory, phased implementation tasks, and formal verification/synchronization reporting, preserved for historical reference despite legacy flat structure preventing canonical sync.
## tags
map, md, report, design, ts, layered, protocol, directory
## symbols
-
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# openspec/changes/archive/2026-06-11-map-context-retrieval (index)
dir: openspec/changes/archive/2026-06-11-map-context-retrieval
## role
Archives a completed specification change package for implementing metadata-driven context retrieval capabilities in a project-map tool.
## parent
index: openspec/changes/archive/.pi-map.index.md
map: openspec/changes/archive/.pi-map.md
## children
-
## files
- apply-progress.md
- archive-report.md
- design.md
- proposal.md
- spec.md
- sync-report.md
- tasks.md
- verify-report.md
## links
index: openspec/changes/archive/2026-06-11-map-context-retrieval/.pi-map.index.md
map: openspec/changes/archive/2026-06-11-map-context-retrieval/.pi-map.md
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# openspec/changes/archive/2026-06-11-map-context-retrieval
dir: openspec/changes/archive/2026-06-11-map-context-retrieval
index: openspec/changes/archive/2026-06-11-map-context-retrieval/.pi-map.index.md
## role
Archives a completed specification change package for implementing metadata-driven context retrieval capabilities in a project-map tool.
## files
- apply-progress.md | Documents the completion status of a project implementing deterministic index-first context retrieval via tool and CLI, along with retrieval documentation and skill guidance.
- archive-report.md | Documents the archival of a set of specification change documents including metadata about archive location, mode, and preserved inputs.
- design.md | Design document for a lightweight context retrieval system that scans paired project-map metadata to find and return relevant code context as a markdown bundle for AI agents. | dep: pi-extension.ts, src/index.ts, src/cli/*, paired-artifact parser/model from layered protocol, .pi-map.index.md, .pi-map.md
- proposal.md | Proposes a "Map Context Retrieval" tool that enables natural-language queries to return compact, metadata-driven context bundles from a layered map protocol. | dep: layered-map-protocol, Pi tool, CLI
- spec.md | Defines a specification for adding a retrieval-oriented `context` command to a project-map tool that converts user tasks into compact routing bundles for LLM agents | dep: layered-map-protocol, project-map (Pi tool/CLI), markdown output formatting
- 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 implementation tasks for adding map context retrieval functionality to a Pi tool, using paired index/map metadata for ranked, query-based context retrieval. | dep: design.md, Pi tool, project-map context, npm (typecheck, test, lint)
- verify-report.md | Documents verification results for a code change implementing deterministic index-first context retrieval. | dep: npm, vitest, node, CLI tooling
## arch
Flat archival directory structure preserving legacy change artifacts (specification, design, proposal, tasks, verification, sync, apply-progress, archive-report) without hierarchical organization.
## tags
map, context, retrieval, report, documents, project, index, tool
## symbols
-
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# openspec/changes/archive/2026-06-11-project-map-prompt-injection (index)
dir: openspec/changes/archive/2026-06-11-project-map-prompt-injection
## 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.
## parent
index: openspec/changes/archive/.pi-map.index.md
map: openspec/changes/archive/.pi-map.md
## children
-
## files
- apply-progress.md
- archive-report.md
- design.md
- proposal.md
- spec.md
- sync-report.md
- tasks.md
- verify-report.md
## links
index: openspec/changes/archive/2026-06-11-project-map-prompt-injection/.pi-map.index.md
map: openspec/changes/archive/2026-06-11-project-map-prompt-injection/.pi-map.md
## workflows
-
## dirty
-
@@ -0,0 +1,26 @@
# 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
-