Skip to content

Commit 0813e71

Browse files
authored
Merge pull request #6 from AccessCodeLib/dev
Merge dev into main: allow local ACLib edits in skill
2 parents f904340 + 8a035a4 commit 0813e71

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎skills/aclib-import/SKILL.md‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Selecting modules:
7878
3. **Plan (read only):** `aclib_resolve` with the requested files and options.
7979
Show the user a table: name, file, action, dependencies, references (status), tests/examples,
8080
plus `missing` and `executes`. Point out `overwrite`, `replaced`, `missing` and reference changes.
81+
For every `overwrite`, add the reminder about local edits (see Rules).
8182
4. **After approval:** `aclib_import` with the same arguments as `aclib_resolve`.
8283
Report `files` (action per file), `missing`, `references.added/removed`, `executes`, `messages`.
8384
5. **Compile (after approval):** `aclib_compile`. On `compiled: false`: stop and ask the user to compile
@@ -90,8 +91,12 @@ Selecting modules:
9091
- `tests=true` imports AccUnit test classes; they need the AccUnit test environment in the database,
9192
otherwise the project will not compile (the dependency is not listed in `references`). Ask the user
9293
whether AccUnit is set up before importing tests.
93-
- Never edit ACLib files in the project (keeps them updatable via the wizard). Bugs in ACLib code
94-
are reported for the AccessCodeLib repository, not fixed in the project.
94+
- ACLib modules may be edited in the project when needed. Keep such changes small and tell the user about
95+
them: they have to be sent back to the CodeLib by exporting with the ACLib Import Wizard (this skill and
96+
the MCP server do not export). Local edits that were not sent back are lost on an `overwrite`.
97+
- Before an import with the action `overwrite` (also `mode=all`), point out that edits of the module in the
98+
project would be replaced and ask the user to send them back to the CodeLib first, or to confirm that
99+
nothing needs to be kept.
95100
- `Option Compare Database` in ACLib modules stays as it is.
96101
- Tool error -> stop and report the message; no workarounds, do not retry blindly.
97102
- Missing dependencies (`missing` with `requiredBy`) are skipped by the import -> report them,

0 commit comments

Comments
 (0)