codecall 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +553 -0
- package/LICENSE +21 -0
- package/README.md +171 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +109 -0
- package/dist/install-skill.d.ts +4 -0
- package/dist/install-skill.js +40 -0
- package/dist/policy/opportunity.d.ts +12 -0
- package/dist/policy/opportunity.js +126 -0
- package/dist/public.d.ts +12 -0
- package/dist/public.js +24 -0
- package/dist/runtime/event-store.d.ts +20 -0
- package/dist/runtime/event-store.js +32 -0
- package/dist/runtime/orchestrator.d.ts +28 -0
- package/dist/runtime/orchestrator.js +128 -0
- package/dist/runtime/reducer.d.ts +3 -0
- package/dist/runtime/reducer.js +43 -0
- package/dist/schemas/types.d.ts +136 -0
- package/dist/schemas/types.js +1 -0
- package/dist/schemas/validate.d.ts +3 -0
- package/dist/schemas/validate.js +17 -0
- package/dist/shared/id.d.ts +1 -0
- package/dist/shared/id.js +2 -0
- package/dist/workers/contracts.d.ts +25 -0
- package/dist/workers/contracts.js +1 -0
- package/dist/workers/default-workers.d.ts +29 -0
- package/dist/workers/default-workers.js +92 -0
- package/package.json +55 -0
- package/skill/SKILL.md +100 -0
- package/skill/agents/openai.yaml +4 -0
- package/skill/references/AGENTS.codecall.md +7 -0
- package/skill/references/CLAUDE.codecall.md +7 -0
- package/skill/references/trigger-policy.md +42 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codecall automatic recommendation
|
|
2
|
+
|
|
3
|
+
Before the normal final response for a completed implementation, read the
|
|
4
|
+
installed codecall skill's `references/trigger-policy.md` and evaluate the
|
|
5
|
+
change. When its outcome is `recommend`, present Start Learning / Skip and wait.
|
|
6
|
+
Do not teach until Start Learning. For `optional` or `skip`, finish normally;
|
|
7
|
+
`$codecall` always remains available.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Codecall automatic recommendation
|
|
2
|
+
|
|
3
|
+
Before the normal final response for a completed implementation, read the
|
|
4
|
+
installed codecall skill's `references/trigger-policy.md` and evaluate the
|
|
5
|
+
change. When its outcome is `recommend`, present Start Learning / Skip and wait.
|
|
6
|
+
Do not teach until Start Learning. For `optional` or `skip`, finish normally;
|
|
7
|
+
`/codecall` always remains available.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Automatic learning recommendation policy
|
|
2
|
+
|
|
3
|
+
Use this policy only after an implementation is complete. It controls a
|
|
4
|
+
non-blocking recommendation, never automatic teaching.
|
|
5
|
+
|
|
6
|
+
1. Confirm inspectable evidence: the completed task plus relevant conversation
|
|
7
|
+
facts or changed-file evidence. If unavailable, skip automatic prompting.
|
|
8
|
+
2. Identify signals from the implementation, not line count.
|
|
9
|
+
3. Recommend only with one strong signal or two distinct moderate signals.
|
|
10
|
+
4. State the evidence-backed reason and affected file or conversation fact.
|
|
11
|
+
5. Remember the evaluated concept cluster for this agent session. Do not show a
|
|
12
|
+
second card for the same cluster. Do not persist learner history.
|
|
13
|
+
|
|
14
|
+
## Strong signals
|
|
15
|
+
|
|
16
|
+
- New external dependency, integration, protocol, schema, or public interface.
|
|
17
|
+
- New architecture boundary or cross-component execution path.
|
|
18
|
+
- Security, authentication, authorization, concurrency, reliability,
|
|
19
|
+
data-consistency, or failure-handling behavior.
|
|
20
|
+
- An explicit non-obvious tradeoff or consequential design decision.
|
|
21
|
+
|
|
22
|
+
## Moderate signals
|
|
23
|
+
|
|
24
|
+
- New reusable pattern, framework capability, algorithm, lifecycle, or state
|
|
25
|
+
model.
|
|
26
|
+
- Connected components with a dependency relationship.
|
|
27
|
+
- New configuration, observability, validation, testing strategy, or deployment
|
|
28
|
+
behavior that changes system operation.
|
|
29
|
+
|
|
30
|
+
## Exclusions and outcomes
|
|
31
|
+
|
|
32
|
+
Skip automatic prompting for formatting, copy, comments, mechanical renames,
|
|
33
|
+
generated-file-only changes, isolated dependency bumps, and straightforward
|
|
34
|
+
localized fixes. Skip test-only work unless it introduces a transferable test
|
|
35
|
+
strategy, harness, boundary, or behavior.
|
|
36
|
+
|
|
37
|
+
- `recommend`: show Start Learning / Skip and wait for consent.
|
|
38
|
+
- `optional`: do not interrupt; leave `$codecall` and `/codecall` available.
|
|
39
|
+
- `skip`: do nothing automatically.
|
|
40
|
+
|
|
41
|
+
Manual invocation always remains available. Never request an API key or invoke
|
|
42
|
+
an external learning model.
|