Skip to content

Spike: agent-side diary consolidation workflow and evals#585

Draft
legreffier[bot] wants to merge 1 commit intomainfrom
spike/agent-side-consolidation-skill
Draft

Spike: agent-side diary consolidation workflow and evals#585
legreffier[bot] wants to merge 1 commit intomainfrom
spike/agent-side-consolidation-skill

Conversation

@legreffier
Copy link
Copy Markdown
Contributor

@legreffier legreffier bot commented Apr 1, 2026

Agent-Side Consolidation Skill Spike

Summary

legreffier-consolidate is currently stronger in documentation than in
implementation. The product schema supports a useful relation graph, but the
existing consolidation story is still too server-centric and too weakly
auditable for trustworthy diary maintenance.

This spike proposes an intentional, agent-driven consolidation workflow.

Problem

  • server-side clustering is weak at the distinctions that matter most:
    contradiction vs elaboration, causal chain vs temporal adjacency, replacement
    vs disagreement, implementation reference vs same-topic similarity
  • current relation proposal logic is effectively “cluster => supports edges”
  • relation proposals need provenance and review semantics
  • dream-like maintenance is attractive, but unsafe if it rewrites entries or
    auto-accepts relations

Proposal

Treat consolidation as editorial graph curation:

  • build a bounded working set instead of processing the whole diary
  • generate candidate pairs intentionally
  • judge each pair relation-specifically
  • create proposed relations by default
  • attach rationale, confidence, evidence refs, reviewer, and working-set
    metadata to every proposal
  • verify value against compile/search behavior for the same task prompt

Relation policy

The skill should support:

  • supports
  • elaborates
  • contradicts
  • caused_by
  • references
  • supersedes

No auto-accept by default.

Dream pass

A dream pass should be a bounded background proposal loop:

  • recent 20-40 entries or one subsystem slice
  • one pass only
  • proposal-first, never acceptance-first
  • no source-entry rewriting
  • no contradiction flattening

Deliverables in this spike

  • rewrite .agents/skills/legreffier-consolidate/SKILL.md
  • rewrite the consolidation methodology reference
  • package the skill as a Tessl tile
  • add eval scenarios covering bounded scope, typed proposals, contradiction
    handling, dream-pass guardrails, and verification

Follow-up work

  • align the server-side diaries_consolidate endpoint with an agent-side review
    role instead of pretending to perform semantic consolidation

  • define a stable metadata schema for relation proposals

  • decide whether any narrow auto-accept rules are ever acceptable

  • evaluate whether accepted/proposed relations should influence pack ranking
    differently

    Fixes Spike agent-side diary consolidation workflow and evals #584

MoltNet-Diary: f63d8d9f-2558-41a8-9e81-02d24dd24ac3
Task-Group: agent-side-consolidation-skill
Task-Family: feature
Refs: #584
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

🚨 Dependency Audit — Vulnerabilities found

Full report
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ @isaacs/brace-expansion has Uncontrolled Resource      │
│                     │ Consumption                                            │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ @isaacs/brace-expansion                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=5.0.0                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=5.0.1                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>@fastify/otel>minimatch>@isaacs/      │
│                     │ brace-expansion                                        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-7h2j-956f-4vf2      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ Arbitrary File Read/Write via Hardlink Target Escape   │
│                     │ Through Symlink Chain in node-tar Extraction           │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ tar                                                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <7.5.8                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=7.5.8                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__rest-api>@huggingface/transformers>onnxruntime-  │
│                     │ node>tar                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-83g3-92jg-28cx      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ minimatch has a ReDoS via repeated wildcards with      │
│                     │ non-matching literal in pattern                        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ minimatch                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=10.0.0 <10.2.1                                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=10.2.1                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>@fastify/otel>minimatch               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-3ppc-4f35-3m26      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ minimatch has ReDoS: matchOne() combinatorial          │
│                     │ backtracking via multiple non-adjacent GLOBSTAR        │
│                     │ segments                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ minimatch                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=10.0.0 <10.2.3                                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=10.2.3                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>@fastify/otel>minimatch               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-7r86-cg39-jmmj      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ minimatch ReDoS: nested *() extglobs generate          │
│                     │ catastrophically backtracking regular expressions      │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ minimatch                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=10.0.0 <10.2.3                                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=10.2.3                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>@fastify/otel>minimatch               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-23c5-xmqv-rm74      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ tar has Hardlink Path Traversal via Drive-Relative     │
│                     │ Linkpath                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ tar                                                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=7.5.9                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=7.5.10                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__rest-api>@huggingface/transformers>onnxruntime-  │
│                     │ node>tar                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-qffp-2rhf-9h96      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ node-tar Symlink Path Traversal via Drive-Relative     │
│                     │ Linkpath                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ tar                                                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=7.5.10                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=7.5.11                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__rest-api>@huggingface/transformers>onnxruntime-  │
│                     │ node>tar                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-9ppj-qmqm-q256      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ Picomatch has a ReDoS vulnerability via extglob        │
│                     │ quantifiers                                            │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ picomatch                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=4.0.0 <4.0.4                                         │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=4.0.4                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ tools>@dotenvx/dotenvx>picomatch                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-c2c7-rcm5-vvqj      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ bn.js affected by an infinite loop                     │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ bn.js                                                  │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <4.12.3                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=4.12.3                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>@getlarge/fastify-mcp>fast-jwt>asn1.  │
│                     │ js>bn.js                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-378v-28hj-76wf      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ ajv has ReDoS when using `$data` option                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ ajv                                                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=7.0.0-alpha.0 <8.18.0                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=8.18.0                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>fastify>@fastify/ajv-compiler>ajv     │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-2g4f-4pwh-qvx6      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ Fastify's Missing End Anchor in "subtypeNameReg"       │
│                     │ Allows Malformed Content-Types to Pass Validation      │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ fastify                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=5.7.2 <=5.8.0                                        │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=5.8.1                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>fastify                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-573f-x89g-hqp9      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ fastify: request.protocol and request.host Spoofable   │
│                     │ via X-Forwarded-Proto/Host from Untrusted Connections  │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ fastify                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=5.8.2                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=5.8.3                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__mcp-server>fastify                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-444r-cwp2-x5xf      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ smol-toml: Denial of Service via TOML documents        │
│                     │ containing thousands of consecutive commented lines    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ smol-toml                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <1.6.1                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=1.6.1                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ packages__legreffier-cli>smol-toml                     │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-v3rj-xjv7-4jmq      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ Picomatch: Method Injection in POSIX Character Classes │
│                     │ causes incorrect Glob Matching                         │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ picomatch                                              │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=4.0.0 <4.0.4                                         │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=4.0.4                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ tools>@dotenvx/dotenvx>picomatch                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-3v7f-55p6-f55p      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ moderate            │ yaml is vulnerable to Stack Overflow via deeply nested │
│                     │ YAML collections                                       │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ yaml                                                   │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ >=2.0.0 <2.8.3                                         │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=2.8.3                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ apps__rest-api>@fastify/swagger>yaml                   │
│                     │                                                        │
│                     │ libs__database>@dbos-inc/dbos-sdk>yaml                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-48c2-rrv3-qjmp      │
└─────────────────────┴────────────────────────────────────────────────────────┘
┌─────────────────────┬────────────────────────────────────────────────────────┐
│ low                 │ Elliptic Uses a Cryptographic Primitive with a Risky   │
│                     │ Implementation                                         │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ elliptic                                               │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=6.6.1                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ <0.0.0                                                 │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ libs__auth>get-jwks>jwk-to-pem>elliptic                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-848j-6mx2-7j84      │
└─────────────────────┴────────────────────────────────────────────────────────┘
17 vulnerabilities found
Severity: 1 low | 8 moderate | 8 high

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

⚠️ Knip — Unused code or dependencies found

Run pnpm run knip locally to see details, or pnpm run knip:fix to auto-fix some of them.

Full report
�[93m�[4mUnused files�[24m�[39m (55)
apps/landing/src/hooks/useFeedSSE.ts                                
apps/rest-api/src/migrate.ts                                        
apps/rest-api/src/sse/public-feed-poller.ts                         
apps/rest-api/src/sse/sse-writer.ts                                 
cmd/moltnet/embed/judge/judge-codex.js                              
cmd/moltnet/embed/judge/judge.js                                    
examples/compile-context.ts                                         
examples/diary-create.ts                                            
examples/diary-search.ts                                            
examples/register.ts                                                
examples/sign-entry.ts                                              
libs/api-client/__tests__/retry-fetch.test.ts                       
libs/ax-agents/src/ax-claude-agent-sdk.test.ts                      
libs/ax-agents/src/ax-codex-agent-sdk.test.ts                       
libs/context-distill/__tests__/benchmarks/cluster.bench.ts          
libs/context-distill/__tests__/benchmarks/compile.bench.ts          
libs/context-distill/__tests__/cluster.test.ts                      
libs/context-distill/__tests__/compile.test.ts                      
libs/context-distill/__tests__/compress.test.ts                     
libs/context-distill/__tests__/consolidate.test.ts                  
libs/context-distill/__tests__/entry-relations.integration.test.ts  
libs/context-distill/__tests__/mmr.test.ts                          
libs/context-distill/__tests__/provenance-dag.integration.test.ts   
libs/context-distill/__tests__/selector.test.ts                     
libs/context-evals/src/claude-task-runner.ts                        
libs/context-pack-service/__tests__/context-pack.service.test.ts    
libs/context-pack-service/__tests__/entry-fitter.test.ts            
libs/context-pack-service/__tests__/entry-loader.test.ts            
libs/context-pack-service/__tests__/pack-renderer.test.ts           
libs/embedding-service/__tests__/embedding-service.test.ts          
libs/sdk/__tests__/agent.test.ts                                    
libs/sdk/__tests__/config.test.ts                                   
libs/sdk/__tests__/connect.test.ts                                  
libs/sdk/__tests__/credentials.test.ts                              
libs/sdk/__tests__/encrypt-vectors.test.ts                          
libs/sdk/__tests__/encrypt.test.ts                                  
libs/sdk/__tests__/errors-formatting.test.ts                        
libs/sdk/__tests__/errors.test.ts                                   
libs/sdk/__tests__/register.test.ts                                 
libs/sdk/__tests__/repair.test.ts                                   
libs/sdk/__tests__/retry.test.ts                                    
libs/sdk/__tests__/sign-bytes.test.ts                               
libs/sdk/__tests__/sign.test.ts                                     
libs/sdk/__tests__/ssh.test.ts                                      
libs/sdk/__tests__/token.test.ts                                    
packages/github-agent/__tests__/bot-user.test.ts                    
packages/github-agent/__tests__/credential-helper.test.ts           
packages/github-agent/__tests__/git-setup.test.ts                   
packages/github-agent/__tests__/token.test.ts                       
test-fixtures/generate-ssh-vectors.mjs                              
test-fixtures/generate-x25519-vectors.mjs                           
tools/db/backfill-content-hashes.ts                                 
tools/db/backfill-keto-subject-set.ts                               
tools/db/backfill-personal-teams.ts                                 
tools/src/repo.ts                                                   
�[93m�[4mUnused dependencies�[24m�[39m (34)
@fastify/otel                                apps/mcp-server/package.json:31:6          
@opentelemetry/exporter-metrics-otlp-proto   apps/mcp-server/package.json:33:6          
@opentelemetry/exporter-trace-otlp-proto     apps/mcp-server/package.json:34:6          
@opentelemetry/instrumentation               apps/mcp-server/package.json:35:6          
@opentelemetry/instrumentation-dns           apps/mcp-server/package.json:36:6          
@opentelemetry/instrumentation-http          apps/mcp-server/package.json:37:6          
@opentelemetry/instrumentation-net           apps/mcp-server/package.json:38:6          
@opentelemetry/instrumentation-pino          apps/mcp-server/package.json:39:6          
@opentelemetry/instrumentation-pg            apps/mcp-server/package.json:40:6          
@opentelemetry/instrumentation-runtime-node  apps/mcp-server/package.json:41:6          
@opentelemetry/instrumentation-undici        apps/mcp-server/package.json:42:6          
@opentelemetry/resources                     apps/mcp-server/package.json:43:6          
@opentelemetry/sdk-metrics                   apps/mcp-server/package.json:44:6          
@opentelemetry/sdk-trace-base                apps/mcp-server/package.json:45:6          
@opentelemetry/sdk-trace-node                apps/mcp-server/package.json:46:6          
@opentelemetry/semantic-conventions          apps/mcp-server/package.json:47:6          
pino                                         apps/mcp-server/package.json:51:6          
pino-opentelemetry-transport                 apps/mcp-server/package.json:52:6          
thread-stream                                apps/mcp-server/package.json:53:6          
@fastify/otel                                apps/rest-api/package.json:27:6            
@huggingface/transformers                    apps/rest-api/package.json:36:6            
@opentelemetry/exporter-metrics-otlp-proto   apps/rest-api/package.json:45:6            
@opentelemetry/instrumentation               apps/rest-api/package.json:47:6            
@opentelemetry/resources                     apps/rest-api/package.json:55:6            
@opentelemetry/sdk-metrics                   apps/rest-api/package.json:56:6            
@opentelemetry/sdk-trace-base                apps/rest-api/package.json:57:6            
@opentelemetry/sdk-trace-node                apps/rest-api/package.json:58:6            
@opentelemetry/semantic-conventions          apps/rest-api/package.json:59:6            
pino-pretty                                  apps/rest-api/package.json:67:6            
thread-stream                                apps/rest-api/package.json:68:6            
@noble/hashes                                libs/context-pack-service/package.json:26:6
@dotenvx/dotenvx                             tools/package.json:30:6                    
drizzle-orm                                  tools/package.json:32:6                    
@moltnet/models                              tools/package.json:39:6                    
�[93m�[4mUnused devDependencies�[24m�[39m (12)
drizzle-orm                 apps/mcp-server/package.json:59:6        
pino-pretty                 apps/mcp-server/package.json:60:6        
@moltnet/crypto-service     libs/context-distill/package.json:24:6   
@moltnet/database           libs/context-distill/package.json:25:6   
@testcontainers/postgresql  libs/context-distill/package.json:26:6   
drizzle-orm                 libs/context-distill/package.json:27:6   
pg                          libs/context-distill/package.json:28:6   
@types/pg                   libs/context-distill/package.json:29:6   
@types/figlet               libs/design-system/package.json:56:6     
testcontainers              libs/diary-service/package.json:37:6     
@moltnet/crypto-service     packages/github-agent/package.json:43:6  
@types/figlet               packages/legreffier-cli/package.json:42:6
�[93m�[4mReferenced optional peerDependencies�[24m�[39m (2)
figlet  libs/design-system/package.json
ink     libs/design-system/package.json
�[93m�[4mUnlisted dependencies�[24m�[39m (1)
pg  libs/diary-service/__tests__/diary-service.dbos.integration.test.ts:21:27
�[93m�[4mUnlisted binaries�[24m�[39m (6)
python3                                             .github/workflows/ci.yml     
clawhub                                             .github/workflows/release.yml
go                                                  package.json                 
gofmt                                               package.json                 
packages/openclaw-skill/scripts/publish-clawhub.sh  package.json                 
packages/openclaw-skill/scripts/package.sh          package.json                 
�[93m�[4mUnused exports�[24m�[39m (57)
API_BASE_URL                              apps/landing/src/api.ts:14:14                                 
handleDiaryTags                 function  apps/mcp-server/src/diary-tools.ts:445:23                     
handleMoltnetInfo               function  apps/mcp-server/src/info-tools.ts:17:23                       
handlePacksUpdate               function  apps/mcp-server/src/pack-tools.ts:241:23                      
handleSignMessage               function  apps/mcp-server/src/prompts.ts:207:23                         
CustomPackEntrySelectionSchema            apps/mcp-server/src/schemas.ts:683:14                         
ServerConfigSchema                        apps/rest-api/src/config.ts:26:14                             
DatabaseConfigSchema                      apps/rest-api/src/config.ts:38:14                             
WebhookConfigSchema                       apps/rest-api/src/config.ts:43:14                             
RecoveryConfigSchema                      apps/rest-api/src/config.ts:47:14                             
OryConfigSchema                           apps/rest-api/src/config.ts:51:14                             
ObservabilityConfigSchema                 apps/rest-api/src/config.ts:62:14                             
EmbeddingConfigSchema                     apps/rest-api/src/config.ts:78:14                             
SecurityConfigSchema                      apps/rest-api/src/config.ts:85:14                             
loadEmbeddingConfig             function  apps/rest-api/src/config.ts:239:17                            
loadPackGcConfig                function  apps/rest-api/src/config.ts:249:17                            
acceptsProblemJson                        apps/rest-api/src/problems/index.ts:2:3                       
findProblemTypeByCode                     apps/rest-api/src/problems/index.ts:8:3                       
findProblemTypeByStatus                   apps/rest-api/src/problems/index.ts:9:3                       
getTypeUri                                apps/rest-api/src/problems/index.ts:10:3                      
problemTypes                              apps/rest-api/src/problems/index.ts:12:3                      
DiaryTagCountSchema                       apps/rest-api/src/schemas.ts:98:14                            
PublicAuthorSchema                        apps/rest-api/src/schemas.ts:212:14                           
AgentIdentitySchema                       apps/rest-api/src/schemas.ts:217:14                           
DiaryEntryWithCreatorSchema               apps/rest-api/src/schemas.ts:226:14                           
ContextPackEntrySchema                    apps/rest-api/src/schemas.ts:705:14                           
ExpandedPackEntrySchema                   apps/rest-api/src/schemas.ts:724:14                           
ContextPackSchema                         apps/rest-api/src/schemas.ts:734:14                           
ContextPackExpandedSchema                 apps/rest-api/src/schemas.ts:766:14                           
ContextPackListSchema                     apps/rest-api/src/schemas.ts:786:14                           
CompileStatsSchema                        apps/rest-api/src/schemas.ts:818:14                           
CustomPackEntryResultSchema               apps/rest-api/src/schemas.ts:868:14                           
PackQuerySchema                           apps/rest-api/src/schemas.ts:901:14                           
PackListQuerySchema                       apps/rest-api/src/schemas.ts:905:14                           
PackCidParamsSchema                       apps/rest-api/src/schemas.ts:911:14                           
PackProvenanceQuerySchema                 apps/rest-api/src/schemas.ts:915:14                           
CustomPackBodySchema                      apps/rest-api/src/schemas.ts:919:14                           
PackUpdateBodySchema                      apps/rest-api/src/schemas.ts:936:14                           
RenderedPackSchema                        apps/rest-api/src/schemas.ts:1016:14                          
consolidateQueue                          apps/rest-api/src/workflows/context-distill-workflows.ts:58:14
compileQueue                              apps/rest-api/src/workflows/context-distill-workflows.ts:63:14
compileQueue                              apps/rest-api/src/workflows/index.ts:2:3                      
consolidateQueue                          apps/rest-api/src/workflows/index.ts:4:3                      
contextDistillWorkflows                   apps/rest-api/src/workflows/index.ts:7:3                      
DEFAULT_WORKFLOW_TIMEOUT_MS               apps/rest-api/src/workflows/index.ts:39:3                     
runWorkflow                               apps/rest-api/src/workflows/index.ts:40:3                     
DEFAULT_WORKFLOW_TIMEOUT_MS               apps/rest-api/src/workflows/run-workflow.ts:14:14             
AxAgentsConfigSchema                      libs/ax-agents/src/config.ts:5:14                             
resolveCredentialsPath          function  libs/context-evals/src/client.ts:18:23                        
loadCredentials                 function  libs/context-evals/src/client.ts:27:23                        
fetchToken                      function  libs/context-evals/src/client.ts:35:23                        
tasksmithToGpackTask            function  libs/context-evals/src/tasksmith.ts:67:17                     
DBOSWorkflowConflictError                 libs/database/src/dbos.ts:145:3                               
MAX_PUBLIC_CONTENT_LENGTH                 libs/diary-service/src/diary-service.ts:54:14                 
makeClient                      function  packages/legreffier-cli/src/api.ts:77:17                      
fetchCommitData                 function  tools/src/skill-evals/legreffier/commit-scorer.ts:147:23      
gitMergeBase                    function  tools/src/tasksmith/gh-client.ts:151:23                       
�[93m�[4mUnused exported types�[24m�[39m (23)
WhoamiInput               type       apps/mcp-server/src/schemas.ts:451:13              
IssueVoucherInput         type       apps/mcp-server/src/schemas.ts:465:13              
ListVouchersInput         type       apps/mcp-server/src/schemas.ts:468:13              
TrustGraphInput           type       apps/mcp-server/src/schemas.ts:471:13              
MoltnetInfoInput          type       apps/mcp-server/src/schemas.ts:476:13              
CorsPluginOptions         interface  apps/rest-api/src/plugins/cors.ts:11:18            
RateLimitPluginOptions    interface  apps/rest-api/src/plugins/rate-limit.ts:14:18      
ProblemType               type       apps/rest-api/src/problems/index.ts:11:8           
CompileWorkflowInput      type       apps/rest-api/src/workflows/index.ts:3:8           
ConsolidateWorkflowInput  type       apps/rest-api/src/workflows/index.ts:5:8           
ContextDistillDeps        type       apps/rest-api/src/workflows/index.ts:6:8           
LegreffierOnboardingDeps  type       apps/rest-api/src/workflows/index.ts:17:8          
MaintenanceDeps           type       apps/rest-api/src/workflows/index.ts:26:8          
RegistrationDeps          type       apps/rest-api/src/workflows/index.ts:31:8          
RegistrationResult        type       apps/rest-api/src/workflows/index.ts:32:8          
RunWorkflowOptions        type       apps/rest-api/src/workflows/index.ts:41:8          
RateLimitRetryOptions     type       libs/sdk/src/retry.ts:5:15                         
AgentAdapter              type       packages/legreffier-cli/src/adapters/index.ts:11:15
AgentAdapterOptions       type       packages/legreffier-cli/src/adapters/index.ts:11:29
InitPhase                 type       packages/legreffier-cli/src/state.ts:4:13          
CommitExpected            type       tools/src/skill-evals/legreffier/index.ts:4:15     
CommitScoreResult         type       tools/src/skill-evals/legreffier/index.ts:4:31     
ScorerFactory             type       tools/src/skill-evals/scorers.ts:6:13              
�[93m�[4mUnused exported enum members�[24m�[39m (1)
Write  TeamPermission  libs/auth/src/keto-constants.ts:48:3
�[93m�[4mUnused catalog entries�[24m�[39m (1)
@fastify/static  default  pnpm-workspace.yaml:19:4
�[33m�[4mConfiguration hints�[24m (8)�[39m
libs/sdk                   …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["libs/sdk"]�[90m (15 unused fil…�[39m
libs/context-distill       …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["libs/context-distill"]�[90m (1…�[39m
. �[90m(root)�[39m                   …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["."]�[90m (9 unused files)�[39m      
…s/context-pack-service    …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["libs/context-pack-service�[90m…�[39m
packages/github-agent      …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["packages/github-agent"]�[90m (…�[39m
tools                      …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["tools"]�[90m (4 unused files)�[39m  
apps/rest-api              …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["apps/rest-api"]�[90m (3 unused…�[39m
libs/ax-agents             …p.config.ts  �[90mAdd �[97mentry�[90m and/or refine �[97mproject�[90m files in �[97mworkspaces["libs/ax-agents"]�[90m (2 unuse…�[39m
 ELIFECYCLE  Command failed with exit code 1.

@getlarge
Copy link
Copy Markdown
Owner

getlarge commented Apr 4, 2026

@claude review

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.

Spike agent-side diary consolidation workflow and evals

1 participant