Skip to content

Commit 6107861

Browse files
feat: GraphDB prefix methods, skill verification & reputation endpoints
- Add subjects_with_prefix() and delete_by_subject_prefix() to GraphDB - Re-export TripleBuilder from aingle_graph - Add skill verification REST endpoints (validate, sandbox CRUD) - Add reputation REST endpoints (consistency, batch-verify) - Add SandboxManager to Cortex state - Switch cortex deps to workspace path (graph, logic, zk, titans) - Bump aingle_graph 0.2.1, aingle_cortex 0.2.4
1 parent f3153c7 commit 6107861

8 files changed

Lines changed: 607 additions & 83 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/aingle_cortex/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "aingle_cortex"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
description = "Córtex API - REST/GraphQL/SPARQL interface for AIngle semantic graphs"
55
license = "Apache-2.0"
66
repository = "https://github.com/ApiliumCode/aingle"
@@ -26,10 +26,10 @@ path = "src/main.rs"
2626

2727
[dependencies]
2828
# Core AIngle crates
29-
aingle_graph = "0.2"
30-
aingle_logic = "0.2"
31-
aingle_zk = "0.2"
32-
titans_memory = "0.2"
29+
aingle_graph = { version = "0.2", path = "../aingle_graph" }
30+
aingle_logic = { version = "0.2", path = "../aingle_logic" }
31+
aingle_zk = { version = "0.2", path = "../aingle_zk" }
32+
titans_memory = { version = "0.2", path = "../titans_memory" }
3333

3434
# Web framework (use 0.7 for async-graphql-axum compatibility)
3535
axum = { version = "0.7", features = ["ws", "macros"] }

crates/aingle_cortex/src/rest/mod.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,23 @@
1616
//! - `POST /api/v1/validate` - Validate triple(s)
1717
//! - `GET /api/v1/proof/:hash` - Get proof
1818
//! - `POST /api/v1/verify` - Verify proof
19+
//!
20+
//! ### Skill Verification (Phase 3)
21+
//! - `POST /api/v1/skills/validate` - Validate semantic skill manifest
22+
//! - `POST /api/v1/skills/sandbox` - Create temporary sandbox namespace
23+
//! - `DELETE /api/v1/skills/sandbox/:id` - Clean up sandbox namespace
24+
//!
25+
//! ### Reputation (Phase 3)
26+
//! - `GET /api/v1/agents/:id/consistency` - Agent assertion consistency score
27+
//! - `POST /api/v1/assertions/verify-batch` - Batch verify assertion proofs
1928
2029
mod memory;
2130
mod observability;
2231
mod proof;
2332
mod proof_api;
2433
mod query;
34+
mod reputation;
35+
mod skill_verification;
2536
mod stats;
2637
mod triples;
2738

@@ -87,4 +98,8 @@ pub fn router() -> Router<AppState> {
8798
.merge(memory::memory_router())
8899
// Semantic Observability endpoints
89100
.merge(observability::observability_router())
101+
// Skill Verification endpoints (Phase 3)
102+
.merge(skill_verification::skill_verification_router())
103+
// Reputation endpoints (Phase 3)
104+
.merge(reputation::reputation_router())
90105
}

0 commit comments

Comments
 (0)