Define deletion semantics for linked project skills
- Lenguaje dominante
- Rust
- Estrellas
- 54.2k
- Forks
- 6.2k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 240
Descripción
**Describe the bug**
Project skill discovery supports whole-skill links, but source deletion resolves the linked directory and recursively removes the target. The current API therefore lacks a clear contract for whether deleting a linked project skill removes the local link, rejects the operation, or deletes the shared target.
The same provenance question affects update and export behavior for linked skills.
---
**To Reproduce**
1. Add a project skill as a whole-directory link to a valid skill outside the project.
2. Discover it through the ACP source API.
3. Delete the discovered project skill.
4. Observe that deletion operates on the resolved target rather than an explicit project-local identity.
---
**Expected behavior**
Define safe, compatible semantics for linked project skills. The preferred user-facing behavior should preserve shared targets unless target deletion is explicitly part of the supported contract.
---
**Screenshots**
Not applicable.
---
**Please provide the following information**
- **OS & Arch:** Cross-platform filesystem behavior
- **Interface:** ACP source API
- **Version:** current `main`
- **Extensions enabled:** Skills
- **Provider & Model:** Not applicable
---
**Additional context**
The design should choose among:
- unlink only the project-local link or junction and preserve the target;
- reject deletion of linked skills; or
- intentionally delete linked targets with an explicit confirmation and ownership contract.
It should also state whether update and export remain supported for linked roots. The verification plan should cover direct links, linked ancestors, ordinary project/global deletion, concurrent replacement, Unix symlinks, and Windows junctions/reparse points.
Do not begin implementation until this issue reaches **Ready** on the [Goose Issues board](https://github.com/orgs/aaif-goose/projects/1).
Guía de contribución
Línea de trabajo
El issue trata sobre la ACP source API y las skills de proyecto vinculadas. Empieza examinando el código que gestiona el descubrimiento y la eliminación de skills, probablemente en el módulo de source API. Busca funciones que resuelvan directorios vinculados y realicen eliminaciones. Comprende el comportamiento actual ejecutando los pasos de reproducción. El objetivo es diseñar la semántica, por lo que la investigación debe centrarse en el contrato de la API y en las pruebas existentes para las skills vinculadas, sin implementar cambios hasta que el issue se marque como Ready.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- backend-api-design
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100