agentplane 0.6.3 → 0.6.4

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.
@@ -22,7 +22,7 @@
22
22
  "workflow": {
23
23
  "goal": "Goal: assimilate approved raw sources into readable wiki memory, durable sourced derived knowledge, and reusable incident advice without treating search indexes, raw harvest scaffolds, or caches as truth.",
24
24
  "success.criteria": "Success criteria: selected source files and policies are read; existing wiki/facts/graph/capabilities/incidents are searched before new artifacts are written; every factual wiki/derived/incident claim has source_refs or an explicit no-source reason; useful wiki cross-links are added where existing target pages or glossary anchors improve navigation; contradictions and open questions are recorded; changed paths stay inside allowed_outputs and outside forbidden_outputs; context verify-task, context doctor, graph validation, incident validation, and ACR checks are run or concrete skips are recorded.",
25
- "constraints": "Constraints: mutate knowledge only through the active AgentPlane task; never edit context/raw by default; never write .agentplane/context/service; preserve the chosen wiki hierarchy unless new evidence makes it misleading; keep glossary entries as a thin index over wiki pages and graph entities, not as competing truth; do not silently delete or merge facts/entities/edges/incidents; do not copy private raw content into README, ACR, reports, wiki, or incident advice unless policy permits redacted output; propose capabilities only when frontmatter allows it; let deterministic code validate registry shape, dedupe, required tags, and allowed commands.",
25
+ "constraints": "Constraints: mutate knowledge only through the active AgentPlane task; never edit context/raw by default; never write .agentplane/context/service; preserve the chosen wiki hierarchy unless new evidence makes it misleading; keep glossary entries as a thin index over wiki pages and graph entities, not as competing truth; do not silently delete or merge facts/entities/edges/incidents; do not copy secrets or non-publishable source spans into README, ACR, reports, wiki, or incident advice; propose capabilities only when frontmatter allows it; let deterministic code validate registry shape, dedupe, required tags, and allowed commands.",
26
26
  "stop.rules": "Stop rules: stop on missing source refs, unclear redaction policy, forbidden output requirements, stale or unresolvable source refs, capability or incident promotion beyond local proposal, or verification failures that would make the knowledge layer unreviewable.",
27
27
  "output": "Output: sources read, wiki pages changed, facts/entities/edges/provenance rows changed, incident advice matches/promotions when any, capability proposals when any, verification commands with results, residual contradictions/open questions, and rollback notes."
28
28
  }
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "workflow": {
20
20
  "goal": "Goal: decide whether the latest task or eval attempt satisfies the documented quality contract without relying on the runner's self-claim alone.",
21
- "success.criteria": "Success criteria: required task sections and Verify Steps are mapped to concrete evidence; result manifest and artifacts are structurally valid; hard policy/security/lifecycle gates pass; LLM quality scoring is used only where the approved rubric asks for judgement; the final verdict is reproducible from cited evidence.",
21
+ "success.criteria": "Success criteria: required task sections and Verify Steps are mapped to concrete evidence; result manifest and artifacts are structurally valid; hard policy/security/lifecycle gates pass; LLM quality scoring is used only where the approved rubric asks for judgement; context.maximum_assimilation work is checked for source-shaped wiki topology, useful Obsidian-compatible wikilinks, page granularity, line-addressed provenance, coverage gaps, glossary alias safety, raw-deletion resilience, and leakage risk; the final verdict is reproducible from cited evidence.",
22
22
  "constraints": "Constraints: use loaded gateway and policy modules as binding constraints; separate deterministic gates from LLM judgement; do not edit implementation files; do not finish or integrate tasks unless the approved plan explicitly assigns evaluator closure; preserve raw trace/artifact paths instead of copying assistant prose into task docs.",
23
23
  "stop.rules": "Stop rules: mark blocked when evidence is missing, stale, unverifiable, policy-sensitive, or outside approved scope; mark rework when criteria are testable but unmet; require human approval before changing pass criteria, promotion thresholds, or security-sensitive interpretation.",
24
24
  "output": "Output: verdict, failed or satisfied criteria, evidence paths, LLM judgement summary when used, rework context for the next runner pass, and finish/promote recommendation."
@@ -4,7 +4,7 @@
4
4
 
5
5
  Use this module when a task reads, writes, learns, curates, verifies, or relies on AgentPlane local context.
6
6
 
7
- Local context means `context/wiki/**`, `context/facts/**`, `context/graph/**`, `context/capabilities/**`, `context/raw/**`, and `.agentplane/context/**`.
7
+ Local context means `context/wiki/**`, `context/capabilities/**`, `context/raw/**`, `.agentplane/context/derived/facts/**`, `.agentplane/context/derived/graph/**`, `.agentplane/context/derived/capabilities/**`, and `.agentplane/context/**`.
8
8
 
9
9
  <!-- /ap:fragment -->
10
10
  <!-- ap:fragment id="policy.context.must.hard_constraint.source.first" slot="hard_constraint" mutability="append_only" -->
@@ -27,6 +27,8 @@ ap context search "<query>"
27
27
  ap context show <ref>
28
28
  ap context learn changes
29
29
  ap context learn files <path> [--run]
30
+ ap context ingest --changed|--all|--index-only
31
+ ap context reindex --include-raw
30
32
  ap context wiki lint <path>
31
33
  ap context wiki explain <path>
32
34
  ap context wiki link <path>
@@ -37,7 +39,7 @@ ap context verify-task <task-id>
37
39
  ```
38
40
 
39
41
  - Use `search` for discovery and `show` for exact source readback.
40
- - Use `learn` to create context assimilation tasks instead of ad hoc memory writes.
42
+ - Use `learn` to create human-facing context assimilation tasks instead of ad hoc memory writes; use `ingest`/`reindex` for lower-level agent and automation pipelines.
41
43
  - Use wiki lint/explain/link/index when adding or changing wiki pages.
42
44
  - Run `verify-task` before closing tasks that create or rely on context artifacts.
43
45
 
@@ -47,8 +49,8 @@ ap context verify-task <task-id>
47
49
  ## Write boundaries
48
50
 
49
51
  - MUST NOT manually edit `.agentplane/context/derived/**`; rebuild projections through context commands.
50
- - MUST NOT write private raw content into public wiki pages, task summaries, ACRs, reports, or incident advice.
51
- - MUST NOT treat `context/raw/private/**` as publishable context.
52
+ - MUST NOT write secrets or non-publishable source spans into public wiki pages, task summaries, ACRs, reports, or incident advice.
53
+ - MUST preserve the user-created hierarchy under `context/raw/**` when citing raw sources.
52
54
  - MUST NOT create glossary-only truth; glossary entries are aliases/navigation over wiki pages and graph entities.
53
55
  - SHOULD use proposal-before-promotion for harvested or inferred context when provenance, staleness, or conflicts are not clean.
54
56
 
@@ -2,7 +2,7 @@
2
2
  "schema_version": 1,
3
3
  "manifest_kind": "package",
4
4
  "package_name": "agentplane",
5
- "package_version": "0.6.3",
6
- "git_head": "2a1e5c63023996dd79e8b16c0b2c7e7472930a24",
7
- "watched_runtime_snapshot_hash": "72dfe5aa78b3f08c313ec6b43c7c000ff08d5615db9e7e0d77835f9102afa091"
5
+ "package_version": "0.6.4",
6
+ "git_head": "75072680dde8840f26ab3ae1fd02fae8b7e54bcd",
7
+ "watched_runtime_snapshot_hash": "2f2d00d089cd72157ee5cf45afa084df1ab2d65fe3b8fb3823b35d388b0bd2a6"
8
8
  }