@xn-intenton-z2a/agentic-lib 7.4.13 → 7.4.15

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.
Files changed (55) hide show
  1. package/.github/agents/agent-apply-fix.md +30 -1
  2. package/.github/agents/agent-director.md +28 -7
  3. package/.github/agents/agent-discussion-bot.md +28 -0
  4. package/.github/agents/agent-implementation-review.md +21 -0
  5. package/.github/agents/agent-issue-resolution.md +32 -0
  6. package/.github/agents/agent-iterate.md +33 -0
  7. package/.github/agents/agent-maintain-features.md +34 -0
  8. package/.github/agents/agent-maintain-library.md +39 -0
  9. package/.github/agents/agent-ready-issue.md +21 -0
  10. package/.github/agents/agent-review-issue.md +16 -0
  11. package/.github/agents/agent-supervisor.md +60 -0
  12. package/.github/workflows/agentic-lib-init.yml +76 -11
  13. package/.github/workflows/agentic-lib-schedule.yml +58 -6
  14. package/.github/workflows/agentic-lib-test.yml +31 -3
  15. package/.github/workflows/agentic-lib-update.yml +20 -0
  16. package/.github/workflows/agentic-lib-workflow.yml +63 -52
  17. package/README.md +23 -12
  18. package/agentic-lib.toml +3 -3
  19. package/bin/agentic-lib.js +34 -4
  20. package/package.json +1 -1
  21. package/src/actions/agentic-step/index.js +51 -34
  22. package/src/actions/agentic-step/logging.js +7 -14
  23. package/src/actions/agentic-step/tasks/direct.js +52 -11
  24. package/src/actions/agentic-step/tasks/maintain-features.js +7 -0
  25. package/src/actions/agentic-step/tasks/maintain-library.js +10 -0
  26. package/src/actions/agentic-step/tasks/supervise.js +14 -6
  27. package/src/actions/agentic-step/tasks/transform.js +37 -1
  28. package/src/actions/commit-if-changed/action.yml +2 -1
  29. package/src/copilot/config.js +3 -3
  30. package/src/copilot/guards.js +5 -5
  31. package/src/copilot/state.js +211 -0
  32. package/src/copilot/telemetry.js +88 -10
  33. package/src/seeds/missions/1-dan-create-c64-emulator.md +13 -13
  34. package/src/seeds/missions/1-dan-create-planning-engine.md +82 -0
  35. package/src/seeds/missions/1-kyu-create-ray-tracer.md +31 -8
  36. package/src/seeds/missions/2-dan-create-self-hosted.md +67 -0
  37. package/src/seeds/missions/2-kyu-create-markdown-compiler.md +48 -0
  38. package/src/seeds/missions/2-kyu-create-plot-code-lib.md +35 -16
  39. package/src/seeds/missions/3-kyu-analyze-lunar-lander.md +13 -14
  40. package/src/seeds/missions/3-kyu-evaluate-time-series-lab.md +22 -28
  41. package/src/seeds/missions/4-kyu-analyze-json-schema-diff.md +46 -2
  42. package/src/seeds/missions/4-kyu-apply-cron-engine.md +16 -18
  43. package/src/seeds/missions/4-kyu-apply-dense-encoding.md +14 -11
  44. package/src/seeds/missions/4-kyu-apply-owl-ontology.md +47 -0
  45. package/src/seeds/missions/5-kyu-apply-ascii-face.md +40 -0
  46. package/src/seeds/missions/5-kyu-apply-string-utils.md +17 -17
  47. package/src/seeds/missions/6-kyu-understand-hamming-distance.md +12 -12
  48. package/src/seeds/missions/6-kyu-understand-roman-numerals.md +12 -12
  49. package/src/seeds/missions/8-kyu-remember-hello-world.md +10 -0
  50. package/src/seeds/zero-MISSION.md +12 -12
  51. package/src/seeds/zero-package.json +1 -1
  52. package/src/seeds/missions/2-dan-create-agi.md +0 -22
  53. package/src/seeds/missions/2-kyu-evaluate-markdown-compiler.md +0 -33
  54. package/src/seeds/missions/3-kyu-evaluate-owl-ontology.md +0 -34
  55. package/src/seeds/missions/5-kyu-create-ascii-face.md +0 -4
@@ -1,22 +0,0 @@
1
- # Mission
2
-
3
- **Agentic-lib** is evolving into an intelligent automation system endowed with multiple AGI-aligned capabilities, all oriented toward a coherent long-term purpose: enabling agentic, cross-repository intelligent automation. The ultimate vision is a network of self-managing coding agents that can understand high-level goals, break them down, execute tasks across many projects, learn from their experiences, and seek assistance when needed – all with minimal human intervention. Each of the new features (Memory, Planning, Goal Decomposition, Self-Improvement, Replication, and Help-Seeking) contributes to this vision in a concrete, feasible way, building the stepping stones toward a truly autonomous development workflow.
4
-
5
- In the near term, these traits function as enhancements to the JavaScript CLI/Lambda agent that drives **agentic-lib**:
6
- - **Memory** provides continuity. The agent now retains a log of actions and outcomes, which means it can carry context from one step to the next. This is immediately useful for avoiding redundant operations and will later allow experience-based learning. For example, when the agent works on Repository A and then on Repository B, a memory of patterns or solutions from A could inform its actions on B.
7
- - **Planning** gives the agent foresight. Instead of reacting to one command at a time, it can map out a sequence of tasks to achieve a bigger objective. Right now it executes those plans instantly, but this capability will expand to planning over longer durations (even across workflow runs) and coordinating complex changes (like a multi-step refactor that touches many parts of a codebase or multiple repositories).
8
- - **Goal Decomposition** adds transparency and manageability to complex objectives. The agent can articulate a game plan (a set of sub-tasks) for a broad goal, which can be reviewed or assigned out. In a multi-repository scenario, the agent might decompose a company-wide objective into repo-specific tasks. This structured breakdown makes large-scale automation safer and more organized, since each piece can be tracked (potentially as separate issues or pull requests).
9
- - **Self-Improvement** makes the agent reflective. By tracking its performance (how many errors, how fast it completes tasks) the agent lays the groundwork for optimizing itself. In the short run, this means better observability and diagnostics in the system. In the long run, the agent could use this information to autonomously fine-tune its own algorithms – for instance, detecting that it often fails a certain kind of task and adjusting its approach or updating its code. This trait keeps the agent aligned with best practices and efficiency as it scales up.
10
- - **Replication** unlocks scale. The agent is no longer a singleton processing one item at a time – it can replicate its effort either through parallel processing or by spawning new agent instances. Immediately, this manifests as parallel command execution which speeds up workflows (e.g., running multiple checks or updates simultaneously). Looking forward, replication means the agentic-lib model can be instantiated in multiple environments at once: think of dozens of agent clones each working on a different repository but sharing the same core knowledge. This horizontal scaling is essential for cross-repository automation in large organizations.
11
- - **Help-Seeking** keeps the agent humble and effective. When the agent encounters something it doesn’t know, it can ask an external AI or resource, rather than stalling or guessing wrongly. Currently, this is achieved via OpenAI API calls for answers. As this feature matures, the agent will integrate more sources (documentation, human feedback) and become increasingly adept at knowing when and how to seek help. This ensures that as the agent’s autonomy grows, it remains grounded and correct in its actions, leveraging the broader world’s knowledge.
12
-
13
- All these capabilities align to serve a **unified mission**: an autonomous system that can handle the lifecycle of software development tasks across multiple projects. Concretely, we are moving toward a scenario where you could give the agent a high-level directive (for example, “ensure all our repositories are using the latest version of library X and adhere to security policy Y”), and the agent would:
14
- 1. **Understand and Plan:** It would use Goal Decomposition and Planning to figure out what needs to be done for each repository – maybe creating a checklist per repository.
15
- 2. **Take Action in Parallel:** Using Replication, it would initiate changes in multiple repositories at once (branching, editing files, running tests), using memory to avoid repeating known fixes and using its plan as a guide.
16
- 3. **Learn and Adapt:** Throughout, Self-Improvement metrics would monitor which repos encountered issues (maybe some tests failed or some had edge cases). The agent could adjust its approach repository by repository – for instance, if it learned a better fix in one place, Memory would carry that knowledge to the others.
17
- 4. **Seek Guidance if Stuck:** If a particular repository has an unusual setup that the agent doesn’t understand, the Help-Seeking trait would kick in – the agent might query documentation or even open a “help needed” issue for a human maintainer, ensuring that it doesn’t silently fail.
18
- 5. **Deliver Results:** Finally, the agent would open pull requests or issues summarizing changes for each repository (or automatically merge them if permitted), effectively executing a coordinated cross-repo update with minimal human oversight.
19
-
20
- The long-term purpose is ambitious but grounded in these tangible capabilities. Each new feature is a **plausible next step**: for example, after implementing basic memory, the next step is to make that memory persistent or sharable among agent instances (so that one agent’s learnings become every agent’s knowledge). After introducing planning and decomposition, the next step is to integrate those with the GitHub issue workflow – the agent could start creating and managing issues on its own to track sub-tasks. Self-improvement opens the door to techniques like on-the-fly model prompting (the agent asking “how can I do this better?” and applying the advice). Replication will eventually entail deploying the agent as a service or container that can be instantiated on demand for whatever project needs it. And help-seeking will evolve into a rich web of integrations with documentation, Q&A forums, and direct human loop-ins when necessary.
21
-
22
- In summary, the trajectory defined in this feature set steers **agentic-lib** toward becoming a general-purpose automation AI for software projects. It’s not science fiction – each step is achievable with incremental improvements and integrations, and together they compound into a system that can handle increasing complexity. By focusing on feasible enhancements now (like logging memory, adding parallelism, using an API for help, etc.), we ensure that future leaps (like autonomous multi-repo refactoring or self-directed learning) are built on solid ground. All traits work in concert: memory and help-seeking ensure it has the knowledge, planning and decomposition give it strategy, replication gives it manpower, and self-improvement ensures it keeps getting better. With these aligned, **agentic-lib** can truly fulfill its mission of agentic, cross-repository intelligent automation – a stepping stone toward the broader vision of self-evolving code.
@@ -1,33 +0,0 @@
1
- # Mission
2
-
3
- Build a Markdown-to-HTML compiler library that converts GitHub Flavored Markdown (GFM) to
4
- semantic HTML.
5
-
6
- The library should progressively implement parsing and rendering for:
7
- 1. Headings (h1-h6 via `#` markers) and paragraphs
8
- 2. Inline formatting: bold (`**`), italic (`*`), code (`` ` ``), strikethrough (`~~`)
9
- 3. Links `[text](url)` and images `![alt](src)`
10
- 4. Ordered and unordered lists (including nested lists)
11
- 5. Code blocks (fenced with ``` and language annotation)
12
- 6. Blockquotes (nested `>`)
13
- 7. Tables (GFM pipe syntax with alignment)
14
- 8. Horizontal rules (`---`, `***`, `___`)
15
- 9. Task lists (`- [ ]`, `- [x]`)
16
- 10. Auto-linked URLs and HTML entity escaping
17
-
18
- ## Technical Requirements
19
-
20
- - Pure JavaScript, no external Markdown parsing libraries
21
- - Two-pass architecture: tokeniser/lexer pass, then renderer pass
22
- - XSS-safe: all user content must be HTML-escaped before insertion
23
- - Exported as both CommonJS and ESM
24
-
25
- ## Acceptance Criteria
26
-
27
- - `compile(markdown)` returns an HTML string
28
- - `tokenize(markdown)` returns an array of token objects (for inspection/testing)
29
- - Handles all 10 feature areas listed above
30
- - Passes a test suite of at least 30 input/output pairs covering edge cases
31
- - Nested constructs work: bold inside links, links inside lists, code inside blockquotes
32
- - A sample document is compiled and saved to `docs/examples/sample.html`
33
- - Output validates as well-formed HTML (no unclosed tags)
@@ -1,34 +0,0 @@
1
- # Mission
2
-
3
- A JavaScript library that manages a simple OWL-like ontology stored as JSON-LD files in a `data/` directory. The pipeline should both build the library AND populate it with example ontology data over successive transform cycles.
4
-
5
- This is an ongoing mission. Do not set schedule to off.
6
-
7
- ## Core Functions
8
-
9
- - `defineClass(name, superclass?)` — define an ontology class, optionally as a subclass.
10
- - `defineProperty(name, domain, range, opts?)` — define a property linking two classes.
11
- - `addIndividual(className, id, properties)` — add an instance of a class with property values.
12
- - `query(pattern)` — basic pattern matching over the ontology (e.g. find all instances of a class, find by property value).
13
- - `load(dir?)` — load ontology from JSON-LD files in the data directory.
14
- - `save(dir?)` — persist the ontology to JSON-LD files.
15
- - `stats()` — return counts of classes, properties, and individuals.
16
-
17
- ## Requirements
18
-
19
- - Store data as JSON-LD files in `data/` (one file per class or a single graph file — implementer's choice).
20
- - The library should be usable both programmatically and to build up ontology data over time.
21
- - Export all functions as named exports from `src/lib/main.js`.
22
- - Include seed ontology data (e.g. a simple animal taxonomy) to demonstrate the library works.
23
- - Unit tests covering CRUD operations, querying, and persistence.
24
- - README with usage examples.
25
-
26
- ## Acceptance Criteria
27
-
28
- - [ ] Can define classes and properties
29
- - [ ] Can add individuals and query them
30
- - [ ] Data persists to and loads from JSON-LD files
31
- - [ ] At least one example ontology (e.g. animals) is populated in `data/`
32
- - [ ] `stats()` returns correct counts
33
- - [ ] All unit tests pass
34
- - [ ] README documents the API with examples
@@ -1,4 +0,0 @@
1
- # Mission
2
-
3
- Create a CLI app that depicts emotion using facial expressions using ascii art.
4
- This will be the emotion communication mechanism for an AI.