Skip to content

Comments

Feat/knowledge module#1357

Merged
dev-ainetwork merged 13 commits intomasterfrom
feat/knowledge-module
Feb 18, 2026
Merged

Feat/knowledge module#1357
dev-ainetwork merged 13 commits intomasterfrom
feat/knowledge-module

Conversation

@kmh4500
Copy link

@kmh4500 kmh4500 commented Feb 18, 2026

No description provided.

nvidia and others added 10 commits February 18, 2026 01:26
…d APIs

Introduces an optional graph index inside the blockchain node that stays
in sync via native function triggers (_syncKnowledgeTopic,
_syncKnowledgeExploration) and exposes 9 graph query JSON-RPC methods
(lineage, frontier map, topic stats, etc.). Neo4j is optional — nodes
default to an in-memory backend. The index is a read optimization, not
consensus state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… processes

Replace killall -9 node/yarn/mocha with PID-file-based process management.
Start scripts now save PIDs to .ain_pids, and stop script only kills those
specific processes. Falls back to port-based cleanup if no PID file exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Clear URI and username defaults so credentials are not exposed in
the committed config. Operators must set KNOWLEDGE_NEO4J_URI,
KNOWLEDGE_NEO4J_USERNAME, and KNOWLEDGE_NEO4J_PASSWORD via env vars
when using the neo4j backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes js-yaml, minimatch, and nanoid vulnerabilities. Remaining 57
vulnerabilities are in transitive deps (web3, request, eslint, grpc)
that require breaking major version upgrades to resolve.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Upgrade axios 0.21→1.13 (fixes CSRF/SSRF vulnerabilities)
- Upgrade @google-cloud/logging-bunyan 3→5, logging-winston 4→6
  (fixes grpc-js and protobufjs vulnerabilities)
- Add secp256k1 v4 override + patch-package patches for ain-util
  and eccrypto (fixes native module build failure on Node 20)
- Add patch-package as devDep with postinstall script

Reduces vulnerability count from 58 to 52. Remaining are in
unmaintained transitive deps (request, web3@1.x, eslint@6,
semistandard) with no non-breaking fix available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.20.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.1...4.20.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [serve-static](https://github.com/expressjs/serve-static) to 1.16.2 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](expressjs/serve-static@v1.15.0...v1.16.2)

Updates `express` from 4.18.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](expressjs/express@4.18.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [cookie](https://github.com/jshttp/cookie) to 0.7.1 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.

Updates `cookie` from 0.5.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.5.0...v0.7.1)

Updates `express` from 4.18.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](expressjs/express@4.18.2...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.

Updates `path-to-regexp` from 0.1.7 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.7...v0.1.12)

Updates `express` from 4.18.2 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](expressjs/express@4.18.2...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@kmh4500 kmh4500 self-assigned this Feb 18, 2026
npm overrides only work with npm, not yarn. CI uses yarn, so
secp256k1@3.x was still being installed, causing ecdsaSign to be
undefined. Adding resolutions alongside overrides ensures both
package managers force secp256k1@^4.0.3.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dev-ainetwork
Copy link
Contributor

good

nvidia and others added 2 commits February 18, 2026 12:10
secp256k1 v4 throws TypeError instead of returning false when
privateKeyVerify receives non-Uint8Array input. Wrap the
isValidPrivate check in try/catch to maintain the existing
return-null behavior for invalid keys.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The EventHandler test binds to port 5100 which causes EADDRINUSE
failures in CI environments. The event handler is still tested
via integration tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dev-ainetwork dev-ainetwork merged commit 5b0373e into master Feb 18, 2026
2 checks passed
kmh4500 pushed a commit that referenced this pull request Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants