@laitszkin/apollo-toolkit 2.14.3 → 2.14.5
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/CHANGELOG.md +10 -0
- package/codex/codex-memory-manager/SKILL.md +3 -1
- package/codex/learn-skill-from-conversations/SKILL.md +3 -1
- package/maintain-project-constraints/SKILL.md +11 -1
- package/maintain-project-constraints/agents/openai.yaml +2 -2
- package/package.json +1 -1
- package/weekly-financial-event-report/SKILL.md +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to this repository are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [v2.14.5] - 2026-04-08
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Clarify `learn-skill-from-conversations`, `codex-memory-manager`, and `weekly-financial-event-report` so Codex automation runs must treat an explicit `Automation memory:` path in the prompt as authoritative and not rely on `$CODEX_HOME` shell expansion being available.
|
|
11
|
+
|
|
12
|
+
## [v2.14.4] - 2026-04-07
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- Clarify `maintain-project-constraints` so `Core project purpose` must describe the repository's macro goal or problem-to-solve, instead of restating its implemented feature list.
|
|
16
|
+
|
|
7
17
|
## [v2.14.3] - 2026-04-07
|
|
8
18
|
|
|
9
19
|
### Changed
|
|
@@ -15,7 +15,7 @@ description: Manage persistent Codex user-preference memory from recent conversa
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Derive memory only from actual recent Codex conversations, and keep each stored preference tied to concrete chat evidence.
|
|
18
|
-
- Execution: Extract the last 24 hours first, classify durable user preferences into memory files, then refresh the AGENTS index section.
|
|
18
|
+
- Execution: Extract the last 24 hours first, classify durable user preferences into memory files, then refresh the AGENTS index section; when a Codex automation prompt includes an explicit `Automation memory:` path, use that path directly for run-memory read/write instead of assuming `$CODEX_HOME` is set.
|
|
19
19
|
- Quality: Ignore one-off instructions, avoid duplicating categories, preserve the existing language and tone already used in `~/.codex/AGENTS.md`, and keep memory entries cross-project reusable, preference-heavy, and light on repository- or incident-specific detail.
|
|
20
20
|
- Output: Report which sessions were reviewed, which memory categories were created or updated, and whether the AGENTS index changed.
|
|
21
21
|
|
|
@@ -42,6 +42,7 @@ python3 ~/.codex/skills/codex-memory-manager/scripts/extract_recent_conversation
|
|
|
42
42
|
- If output is exactly `NO_RECENT_CONVERSATIONS`, stop immediately and report that no memory update is needed.
|
|
43
43
|
- Review every returned `[USER]` and `[ASSISTANT]` block before deciding that a preference is stable.
|
|
44
44
|
- The extractor also cleans up stale session files after reading, matching the existing conversation-learning workflow.
|
|
45
|
+
- If the prompt provides an explicit `Automation memory:` path, open that file first when present so the current curation run can extend the previous automation summary without relying on shell variable expansion.
|
|
45
46
|
|
|
46
47
|
### 2) Distill only stable user preferences
|
|
47
48
|
|
|
@@ -121,6 +122,7 @@ python3 ~/.codex/skills/codex-memory-manager/scripts/sync_memory_index.py \
|
|
|
121
122
|
- which categories were created or updated
|
|
122
123
|
- whether a new category was introduced
|
|
123
124
|
- whether the AGENTS memory index changed
|
|
125
|
+
- When an explicit `Automation memory:` path is provided in the task prompt, also write the concise run summary back to that exact file path and prefer it over `$CODEX_HOME/...` interpolation when the shell environment is incomplete.
|
|
124
126
|
- When the user asks what memory exists or asks why a known preference was not mentioned, include the already-stored preferences that are directly relevant to the question instead of summarizing only newly added entries.
|
|
125
127
|
- When a stable preference already existed and was still reinforced by recent chats, say that it remains stored and point to the category where it lives.
|
|
126
128
|
- If no durable preferences were found, say so explicitly and avoid creating placeholder memory files.
|
|
@@ -15,7 +15,7 @@ description: Learn and evolve the local skill library from recent Codex conversa
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Extract recent Codex session history first and derive reusable lessons only from actual conversation patterns.
|
|
18
|
-
- Execution: Inventory the current working directory's existing skills before editing, prioritize repeated requests, user corrections, tool failures, logic bugs, architecture mismatches, documentation drift, and post-completion follow-up asks that reveal missing closure, then prefer a focused update to the strongest related skill or create a new skill only when the overlap is weak.
|
|
18
|
+
- Execution: Inventory the current working directory's existing skills before editing, prioritize repeated requests, user corrections, tool failures, logic bugs, architecture mismatches, documentation drift, and post-completion follow-up asks that reveal missing closure, then prefer a focused update to the strongest related skill or create a new skill only when the overlap is weak; when a Codex automation prompt includes an explicit `Automation memory:` path, treat that path as the authoritative run-memory location instead of assuming `$CODEX_HOME` is available in the shell.
|
|
19
19
|
- Quality: Take no action when there are no recent sessions, avoid unrelated broad refactors, keep shared skills cross-project reusable, route project-specific tooling patterns into the relevant project's `~/.codex/skills/`, and validate every changed skill.
|
|
20
20
|
- Output: Report the analyzed sessions, extracted lessons, created or updated skills, shared-vs-project-specific placement decisions, and the reasoning behind each decision.
|
|
21
21
|
|
|
@@ -42,6 +42,7 @@ python3 ~/.codex/skills/learn-skill-from-conversations/scripts/extract_recent_co
|
|
|
42
42
|
- Otherwise, review all `[USER]` and `[ASSISTANT]` blocks from each returned session.
|
|
43
43
|
- The extractor reads both `~/.codex/sessions` and `~/.codex/archived_sessions`.
|
|
44
44
|
- After extraction completes, it deletes `~/.codex/sessions` records older than 7 days and deletes all files under `~/.codex/archived_sessions`.
|
|
45
|
+
- If the prompt provides an explicit `Automation memory:` path, read that file first when it exists so the current run can build on the prior automation summary even when shell variable expansion is unavailable.
|
|
45
46
|
|
|
46
47
|
### 2) Derive reusable lessons
|
|
47
48
|
|
|
@@ -98,6 +99,7 @@ python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-p
|
|
|
98
99
|
### 6) Report result
|
|
99
100
|
|
|
100
101
|
- Summarize analyzed sessions, repeated needs, user corrections, error-driven lessons, created/updated skills, placement decisions, and why each decision was made.
|
|
102
|
+
- When running inside a Codex automation thread, also write the concise run summary back to the explicit `Automation memory:` path from the prompt when one is provided; prefer that concrete path over `$CODEX_HOME/...` interpolation if the environment variable is unset.
|
|
101
103
|
|
|
102
104
|
## Guardrails
|
|
103
105
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maintain-project-constraints
|
|
3
|
-
description: Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes.
|
|
3
|
+
description: Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Maintain Project Constraints
|
|
@@ -42,6 +42,13 @@ After completing any code modification task, proactively run this skill to verif
|
|
|
42
42
|
- Core project purpose
|
|
43
43
|
- Code style and coding conventions
|
|
44
44
|
|
|
45
|
+
For the `Core project purpose` section, always use this format:
|
|
46
|
+
|
|
47
|
+
1. Describe the repository's macro purpose instead of repeating implemented features.
|
|
48
|
+
2. State what broader problem the project is meant to solve or what outcome it aims to achieve.
|
|
49
|
+
3. Prefer product- or business-level intent framing when applicable.
|
|
50
|
+
4. Keep it concise, but make sure the purpose is understandable without reading the rest of the document.
|
|
51
|
+
|
|
45
52
|
For the `Common Commands` section, always use this format:
|
|
46
53
|
|
|
47
54
|
1. Include only commands that are real, current, and useful in this repository.
|
|
@@ -99,6 +106,7 @@ When `AGENTS.md` is absent:
|
|
|
99
106
|
|
|
100
107
|
- Create a new root-level `AGENTS.md`.
|
|
101
108
|
- Document architecture, business flow, purpose, and coding conventions from observed facts.
|
|
109
|
+
- Write `Core project purpose` as the repository's macro intent, such as the problem it aims to solve or the outcome it exists to achieve, rather than as a feature list.
|
|
102
110
|
- Document the repository's common commands from observed command entry points and docs.
|
|
103
111
|
- Write `Core business flow` as one summary sentence followed by unordered bullets that cover every current capability found in the repository.
|
|
104
112
|
- Write `Common commands` as short bullets in the style of ``- `command` — when to use it.``.
|
|
@@ -121,6 +129,7 @@ When `AGENTS.md` exists but is outdated:
|
|
|
121
129
|
- Remove stale commands, flags, or task names that no longer exist.
|
|
122
130
|
- Verify every command in `Common Commands` is either documented in repository docs or directly supported by the current codebase.
|
|
123
131
|
- Verify the `Core business flow` section includes a one-sentence summary plus unordered bullets for all currently existing capabilities; do not leave major functions unlisted.
|
|
132
|
+
- Verify `Core project purpose` explains the repository's macro goal and does not merely restate the feature inventory.
|
|
124
133
|
- Keep instructions concise, concrete, and operational for future agents.
|
|
125
134
|
|
|
126
135
|
## Writing Rules
|
|
@@ -128,6 +137,7 @@ When `AGENTS.md` exists but is outdated:
|
|
|
128
137
|
- Use clear headings and short bullet points.
|
|
129
138
|
- Prefer repository terms already used in code/docs.
|
|
130
139
|
- Do not include speculative architecture claims.
|
|
140
|
+
- In `Core project purpose`, describe why the project exists at a macro level; for example, what user or business problem it solves, not a restatement of `Core business flow`.
|
|
131
141
|
- In `Core business flow`, prefer many short bullets over a few vague bullets; when the product grows, add more bullets so the list remains exhaustive.
|
|
132
142
|
- In `Common Commands`, prefer the smallest useful set of high-signal commands over an exhaustive dump of every helper script.
|
|
133
143
|
- Keep the document focused on how agents should understand and operate in this project.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Maintain Project Constraints"
|
|
3
|
-
short_description: "Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
|
|
4
|
-
default_prompt: "Use $maintain-project-constraints to automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
|
|
3
|
+
short_description: "Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
|
|
4
|
+
default_prompt: "Use $maintain-project-constraints to automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ description: Read a user-specified PDF that marks the week's key financial event
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Research only events explicitly marked in the source PDF plus clearly material breaking developments, and verify claims with current authoritative sources.
|
|
18
|
-
- Execution: Read the PDF first, prefer `pdf` for extraction but fall back to the bundled macOS PDFKit extractor when local PDF tooling is missing, lock the research window, check for an existing report covering that same window before duplicating work, research each marked event, then hand the final briefing to `pdf` for rendering and QA with deterministic table-safe layout rules when needed.
|
|
18
|
+
- Execution: Read the PDF first, prefer `pdf` for extraction but fall back to the bundled macOS PDFKit extractor when local PDF tooling is missing, lock the research window, check for an existing report covering that same window before duplicating work, research each marked event, then hand the final briefing to `pdf` for rendering and QA with deterministic table-safe layout rules when needed; when a Codex automation prompt includes an explicit `Automation memory:` path, reuse that concrete path for run-memory notes instead of assuming `$CODEX_HOME` resolves in the shell.
|
|
19
19
|
- Quality: Keep the report concise, Chinese-compatible, explicit about source-versus-breaking events, conflicts, uncertainty, PDF font safety, and long-text table legibility.
|
|
20
20
|
- Output: Save only the final standardized PDF under the month folder using the financial-event-report naming scheme.
|
|
21
21
|
|
|
@@ -43,6 +43,7 @@ Before writing, confirm these facts from the PDF, user context, or current sourc
|
|
|
43
43
|
- Any user-specified geography, market, sector, or asset-class focus
|
|
44
44
|
- Output directory if the user specified one
|
|
45
45
|
- Language preference if different from the Chinese default
|
|
46
|
+
- Automation memory path when the task prompt explicitly provides an `Automation memory:` line and the run needs to persist a concise automation summary
|
|
46
47
|
|
|
47
48
|
Do not guess any input that materially changes the research window or report scope.
|
|
48
49
|
|
|
@@ -183,6 +184,12 @@ swift scripts/extract_pdf_text_pdfkit.swift /absolute/path/to/source.pdf
|
|
|
183
184
|
- If the output fails visual QA, revise the content or PDF requirements and call the `pdf` skill again.
|
|
184
185
|
- After the final PDF passes QA, require the `pdf` skill to delete all temporary screenshots before finishing.
|
|
185
186
|
|
|
187
|
+
### 8) Persist automation run memory when applicable
|
|
188
|
+
|
|
189
|
+
- If the task prompt includes an explicit `Automation memory:` path, read that file first when it exists so the run can build on the prior summary.
|
|
190
|
+
- After the final report is generated, write a concise run note back to that exact path.
|
|
191
|
+
- Prefer the explicit path from the prompt over `$CODEX_HOME/...` interpolation when the shell environment does not define `CODEX_HOME`.
|
|
192
|
+
|
|
186
193
|
## Standard Report Requirements
|
|
187
194
|
|
|
188
195
|
The report must contain these sections in order:
|