mdcontext 0.0.1 → 0.2.0
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.
- package/.changeset/README.md +28 -0
- package/.changeset/config.json +11 -0
- package/.claude/settings.local.json +25 -0
- package/.github/workflows/ci.yml +83 -0
- package/.github/workflows/claude-code-review.yml +44 -0
- package/.github/workflows/claude.yml +85 -0
- package/.github/workflows/release.yml +113 -0
- package/.tldrignore +112 -0
- package/BACKLOG.md +338 -0
- package/CONTRIBUTING.md +186 -0
- package/NOTES/NOTES +44 -0
- package/README.md +434 -11
- package/biome.json +36 -0
- package/cspell.config.yaml +14 -0
- package/dist/chunk-23UPXDNL.js +3044 -0
- package/dist/chunk-2W7MO2DL.js +1366 -0
- package/dist/chunk-3NUAZGMA.js +1689 -0
- package/dist/chunk-7TOWB2XB.js +366 -0
- package/dist/chunk-7XOTOADQ.js +3065 -0
- package/dist/chunk-AH2PDM2K.js +3042 -0
- package/dist/chunk-BNXWSZ63.js +3742 -0
- package/dist/chunk-BTL5DJVU.js +3222 -0
- package/dist/chunk-HDHYG7E4.js +104 -0
- package/dist/chunk-HLR4KZBP.js +3234 -0
- package/dist/chunk-IP3FRFEB.js +1045 -0
- package/dist/chunk-KHU56VDO.js +3042 -0
- package/dist/chunk-KRYIFLQR.js +88 -0
- package/dist/chunk-LBSDNLEM.js +287 -0
- package/dist/chunk-MNTQ7HCP.js +2643 -0
- package/dist/chunk-MUJELQQ6.js +1387 -0
- package/dist/chunk-MXJGMSLV.js +2199 -0
- package/dist/chunk-N6QJGC3Z.js +2636 -0
- package/dist/chunk-OBELGBPM.js +1713 -0
- package/dist/chunk-OT7R5XTA.js +3192 -0
- package/dist/chunk-P7X4RA2T.js +106 -0
- package/dist/chunk-PIDUQNC2.js +3185 -0
- package/dist/chunk-POGCDIH4.js +3187 -0
- package/dist/chunk-PSIEOQGZ.js +3043 -0
- package/dist/chunk-PVRT3IHA.js +3238 -0
- package/dist/chunk-QNN4TT23.js +1430 -0
- package/dist/chunk-RE3R45RJ.js +3042 -0
- package/dist/chunk-S7E6TFX6.js +803 -0
- package/dist/chunk-SG6GLU4U.js +1378 -0
- package/dist/chunk-SJCDV2ST.js +274 -0
- package/dist/chunk-SYE5XLF3.js +104 -0
- package/dist/chunk-T5VLYBZD.js +103 -0
- package/dist/chunk-TOQB7VWU.js +3238 -0
- package/dist/chunk-VFNMZ4ZQ.js +3228 -0
- package/dist/chunk-VVTGZNBT.js +1629 -0
- package/dist/chunk-W7Q4RFEV.js +104 -0
- package/dist/chunk-XTYYVRLO.js +3190 -0
- package/dist/chunk-Y6MDYVJD.js +3063 -0
- package/dist/cli/main.d.ts +1 -0
- package/dist/cli/main.js +5458 -0
- package/dist/index.d.ts +653 -0
- package/dist/index.js +79 -0
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +472 -0
- package/dist/schema-BAWSG7KY.js +22 -0
- package/dist/schema-E3QUPL26.js +20 -0
- package/dist/schema-EHL7WUT6.js +20 -0
- package/docs/019-USAGE.md +625 -0
- package/docs/020-current-implementation.md +364 -0
- package/docs/021-DOGFOODING-FINDINGS.md +175 -0
- package/docs/BACKLOG.md +80 -0
- package/docs/CONFIG.md +1123 -0
- package/docs/DESIGN.md +439 -0
- package/docs/ERRORS.md +383 -0
- package/docs/PROJECT.md +88 -0
- package/docs/ROADMAP.md +407 -0
- package/docs/summarization.md +320 -0
- package/docs/test-links.md +9 -0
- package/justfile +40 -0
- package/package.json +74 -9
- package/pnpm-workspace.yaml +5 -0
- package/research/INDEX.md +315 -0
- package/research/code-review/README.md +90 -0
- package/research/code-review/cli-error-handling-review.md +979 -0
- package/research/code-review/code-review-validation-report.md +464 -0
- package/research/code-review/main-ts-review.md +1128 -0
- package/research/config-analysis/01-current-implementation.md +470 -0
- package/research/config-analysis/02-strategy-recommendation.md +428 -0
- package/research/config-analysis/03-task-candidates.md +715 -0
- package/research/config-analysis/033-research-configuration-management.md +828 -0
- package/research/config-analysis/034-research-effect-cli-config.md +1504 -0
- package/research/config-analysis/04-consolidated-task-candidates.md +277 -0
- package/research/config-docs/SUMMARY.md +357 -0
- package/research/config-docs/TEST-RESULTS.md +776 -0
- package/research/config-docs/TODO.md +542 -0
- package/research/config-docs/analysis.md +744 -0
- package/research/config-docs/fix-validation.md +502 -0
- package/research/config-docs/help-audit.md +264 -0
- package/research/config-docs/help-system-analysis.md +890 -0
- package/research/dogfood/consolidated-tool-evaluation.md +373 -0
- package/research/dogfood/strategy-a/a-synthesis.md +184 -0
- package/research/dogfood/strategy-a/a1-docs.md +226 -0
- package/research/dogfood/strategy-a/a2-amorphic.md +156 -0
- package/research/dogfood/strategy-a/a3-llm.md +164 -0
- package/research/dogfood/strategy-b/b-synthesis.md +228 -0
- package/research/dogfood/strategy-b/b1-architecture.md +207 -0
- package/research/dogfood/strategy-b/b2-gaps.md +258 -0
- package/research/dogfood/strategy-b/b3-workflows.md +250 -0
- package/research/dogfood/strategy-c/c-synthesis.md +451 -0
- package/research/dogfood/strategy-c/c1-explorer.md +192 -0
- package/research/dogfood/strategy-c/c2-diver-memory.md +145 -0
- package/research/dogfood/strategy-c/c3-diver-control.md +148 -0
- package/research/dogfood/strategy-c/c4-diver-failure.md +151 -0
- package/research/dogfood/strategy-c/c5-diver-execution.md +221 -0
- package/research/dogfood/strategy-c/c6-diver-org.md +221 -0
- package/research/effect-cli-error-handling.md +845 -0
- package/research/effect-errors-as-values.md +943 -0
- package/research/errors-task-analysis/00-consolidated-tasks.md +207 -0
- package/research/errors-task-analysis/cli-commands-analysis.md +909 -0
- package/research/errors-task-analysis/embeddings-analysis.md +709 -0
- package/research/errors-task-analysis/index-search-analysis.md +812 -0
- package/research/frontmatter/COMMENTS-ARE-SKIPPED.md +149 -0
- package/research/frontmatter/LLM-CODE-NAVIGATION.md +276 -0
- package/research/issue-review.md +603 -0
- package/research/llm-summarization/agent-cli-tools-2026.md +1082 -0
- package/research/llm-summarization/alternative-providers-2026.md +1428 -0
- package/research/llm-summarization/anthropic-2026.md +367 -0
- package/research/llm-summarization/claude-cli-integration.md +1706 -0
- package/research/llm-summarization/cli-integration-patterns.md +3155 -0
- package/research/llm-summarization/openai-2026.md +473 -0
- package/research/llm-summarization/openai-compatible-providers-2026.md +1022 -0
- package/research/llm-summarization/opencode-cli-integration.md +1552 -0
- package/research/llm-summarization/prompt-engineering-2026.md +1426 -0
- package/research/llm-summarization/prototype-results.md +56 -0
- package/research/llm-summarization/provider-switching-patterns-2026.md +2153 -0
- package/research/llm-summarization/typescript-llm-libraries-2026.md +2436 -0
- package/research/mdcontext-error-analysis.md +521 -0
- package/research/mdcontext-pudding/00-EXECUTIVE-SUMMARY.md +282 -0
- package/research/mdcontext-pudding/01-index-embed.md +956 -0
- package/research/mdcontext-pudding/02-search-COMMANDS.md +142 -0
- package/research/mdcontext-pudding/02-search-SUMMARY.md +146 -0
- package/research/mdcontext-pudding/02-search.md +970 -0
- package/research/mdcontext-pudding/03-context.md +779 -0
- package/research/mdcontext-pudding/04-navigation-and-analytics.md +803 -0
- package/research/mdcontext-pudding/04-tree.md +704 -0
- package/research/mdcontext-pudding/05-config.md +1038 -0
- package/research/mdcontext-pudding/06-links-summary.txt +87 -0
- package/research/mdcontext-pudding/06-links.md +679 -0
- package/research/mdcontext-pudding/07-stats.md +693 -0
- package/research/mdcontext-pudding/BUG-FIX-PLAN.md +388 -0
- package/research/mdcontext-pudding/P0-BUG-VALIDATION.md +167 -0
- package/research/mdcontext-pudding/README.md +168 -0
- package/research/mdcontext-pudding/TESTING-SUMMARY.md +128 -0
- package/research/npm_publish/011-npm-workflow-research-agent2.md +792 -0
- package/research/npm_publish/012-npm-workflow-research-agent1.md +530 -0
- package/research/npm_publish/013-npm-workflow-research-agent3.md +722 -0
- package/research/npm_publish/014-npm-workflow-synthesis.md +556 -0
- package/research/npm_publish/031-npm-workflow-task-analysis.md +134 -0
- package/research/research-quality-review.md +834 -0
- package/research/semantic-search/002-research-embedding-models.md +490 -0
- package/research/semantic-search/003-research-rag-alternatives.md +523 -0
- package/research/semantic-search/004-research-vector-search.md +841 -0
- package/research/semantic-search/032-research-semantic-search.md +427 -0
- package/research/semantic-search/embedding-text-analysis.md +156 -0
- package/research/semantic-search/multi-word-failure-reproduction.md +171 -0
- package/research/semantic-search/query-processing-analysis.md +207 -0
- package/research/semantic-search/root-cause-and-solution.md +114 -0
- package/research/semantic-search/threshold-validation-report.md +69 -0
- package/research/semantic-search/vector-search-analysis.md +63 -0
- package/research/task-management-2026/00-synthesis-recommendations.md +295 -0
- package/research/task-management-2026/01-ai-workflow-tools.md +416 -0
- package/research/task-management-2026/02-agent-framework-patterns.md +476 -0
- package/research/task-management-2026/03-lightweight-file-based.md +567 -0
- package/research/task-management-2026/04-established-tools-ai-features.md +541 -0
- package/research/task-management-2026/linear/01-core-features-workflow.md +771 -0
- package/research/task-management-2026/linear/02-api-integrations.md +930 -0
- package/research/task-management-2026/linear/03-ai-features.md +368 -0
- package/research/task-management-2026/linear/04-pricing-setup.md +205 -0
- package/research/task-management-2026/linear/05-usage-patterns-best-practices.md +605 -0
- package/research/test-path-issues.md +276 -0
- package/review/ALP-76/1-error-type-design.md +962 -0
- package/review/ALP-76/2-error-handling-patterns.md +906 -0
- package/review/ALP-76/3-error-presentation.md +624 -0
- package/review/ALP-76/4-test-coverage.md +625 -0
- package/review/ALP-76/5-migration-completeness.md +440 -0
- package/review/ALP-76/6-effect-best-practices.md +755 -0
- package/scripts/apply-branch-protection.sh +47 -0
- package/scripts/branch-protection-templates.json +79 -0
- package/scripts/prototype-summarization.ts +346 -0
- package/scripts/rebuild-hnswlib.js +58 -0
- package/scripts/setup-branch-protection.sh +64 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/active-provider.json +7 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/bm25.json +541 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/bm25.meta.json +5 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/config.json +8 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/embeddings/openai_text-embedding-3-small_512/vectors.bin +0 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/embeddings/openai_text-embedding-3-small_512/vectors.meta.bin +0 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/indexes/documents.json +60 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/indexes/links.json +13 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/.mdcontext/indexes/sections.json +1197 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/configuration-management.md +99 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/distributed-systems.md +92 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/error-handling.md +78 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/failure-automation.md +55 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/job-context.md +69 -0
- package/src/__tests__/fixtures/semantic-search/multi-word-corpus/process-orchestration.md +99 -0
- package/src/cli/argv-preprocessor.test.ts +210 -0
- package/src/cli/argv-preprocessor.ts +202 -0
- package/src/cli/cli.test.ts +627 -0
- package/src/cli/commands/backlinks.ts +54 -0
- package/src/cli/commands/config-cmd.ts +642 -0
- package/src/cli/commands/context.ts +285 -0
- package/src/cli/commands/duplicates.ts +122 -0
- package/src/cli/commands/embeddings.ts +529 -0
- package/src/cli/commands/index-cmd.ts +480 -0
- package/src/cli/commands/index.ts +16 -0
- package/src/cli/commands/links.ts +52 -0
- package/src/cli/commands/search.ts +1281 -0
- package/src/cli/commands/stats.ts +149 -0
- package/src/cli/commands/tree.ts +128 -0
- package/src/cli/config-layer.ts +176 -0
- package/src/cli/error-handler.test.ts +235 -0
- package/src/cli/error-handler.ts +655 -0
- package/src/cli/flag-schemas.ts +341 -0
- package/src/cli/help.ts +588 -0
- package/src/cli/index.ts +9 -0
- package/src/cli/main.ts +435 -0
- package/src/cli/options.ts +41 -0
- package/src/cli/shared-error-handling.ts +199 -0
- package/src/cli/typo-suggester.test.ts +105 -0
- package/src/cli/typo-suggester.ts +130 -0
- package/src/cli/utils.ts +259 -0
- package/src/config/file-provider.test.ts +320 -0
- package/src/config/file-provider.ts +273 -0
- package/src/config/index.ts +72 -0
- package/src/config/integration.test.ts +667 -0
- package/src/config/precedence.test.ts +277 -0
- package/src/config/precedence.ts +451 -0
- package/src/config/schema.test.ts +414 -0
- package/src/config/schema.ts +603 -0
- package/src/config/service.test.ts +320 -0
- package/src/config/service.ts +243 -0
- package/src/config/testing.test.ts +264 -0
- package/src/config/testing.ts +110 -0
- package/src/core/index.ts +1 -0
- package/src/core/types.ts +113 -0
- package/src/duplicates/detector.test.ts +183 -0
- package/src/duplicates/detector.ts +414 -0
- package/src/duplicates/index.ts +18 -0
- package/src/embeddings/embedding-namespace.test.ts +300 -0
- package/src/embeddings/embedding-namespace.ts +947 -0
- package/src/embeddings/heading-boost.test.ts +222 -0
- package/src/embeddings/hnsw-build-options.test.ts +198 -0
- package/src/embeddings/hyde.test.ts +272 -0
- package/src/embeddings/hyde.ts +264 -0
- package/src/embeddings/index.ts +10 -0
- package/src/embeddings/openai-provider.ts +414 -0
- package/src/embeddings/pricing.json +22 -0
- package/src/embeddings/provider-constants.ts +204 -0
- package/src/embeddings/provider-errors.test.ts +967 -0
- package/src/embeddings/provider-errors.ts +565 -0
- package/src/embeddings/provider-factory.test.ts +240 -0
- package/src/embeddings/provider-factory.ts +225 -0
- package/src/embeddings/provider-integration.test.ts +788 -0
- package/src/embeddings/query-preprocessing.test.ts +187 -0
- package/src/embeddings/semantic-search-threshold.test.ts +508 -0
- package/src/embeddings/semantic-search.ts +1270 -0
- package/src/embeddings/types.ts +359 -0
- package/src/embeddings/vector-store.ts +708 -0
- package/src/embeddings/voyage-provider.ts +313 -0
- package/src/errors/errors.test.ts +845 -0
- package/src/errors/index.ts +533 -0
- package/src/index/ignore-patterns.test.ts +354 -0
- package/src/index/ignore-patterns.ts +305 -0
- package/src/index/index.ts +4 -0
- package/src/index/indexer.ts +684 -0
- package/src/index/storage.ts +260 -0
- package/src/index/types.ts +147 -0
- package/src/index/watcher.ts +189 -0
- package/src/index.ts +30 -0
- package/src/integration/search-keyword.test.ts +678 -0
- package/src/mcp/server.ts +612 -0
- package/src/parser/index.ts +1 -0
- package/src/parser/parser.test.ts +291 -0
- package/src/parser/parser.ts +394 -0
- package/src/parser/section-filter.test.ts +277 -0
- package/src/parser/section-filter.ts +392 -0
- package/src/search/__tests__/hybrid-search.test.ts +650 -0
- package/src/search/bm25-store.ts +366 -0
- package/src/search/cross-encoder.test.ts +253 -0
- package/src/search/cross-encoder.ts +406 -0
- package/src/search/fuzzy-search.test.ts +419 -0
- package/src/search/fuzzy-search.ts +273 -0
- package/src/search/hybrid-search.ts +448 -0
- package/src/search/path-matcher.test.ts +276 -0
- package/src/search/path-matcher.ts +33 -0
- package/src/search/query-parser.test.ts +260 -0
- package/src/search/query-parser.ts +319 -0
- package/src/search/searcher.test.ts +280 -0
- package/src/search/searcher.ts +724 -0
- package/src/search/wink-bm25.d.ts +30 -0
- package/src/summarization/cli-providers/claude.ts +202 -0
- package/src/summarization/cli-providers/detection.test.ts +273 -0
- package/src/summarization/cli-providers/detection.ts +118 -0
- package/src/summarization/cli-providers/index.ts +8 -0
- package/src/summarization/cost.test.ts +139 -0
- package/src/summarization/cost.ts +102 -0
- package/src/summarization/error-handler.test.ts +127 -0
- package/src/summarization/error-handler.ts +111 -0
- package/src/summarization/index.ts +102 -0
- package/src/summarization/pipeline.test.ts +498 -0
- package/src/summarization/pipeline.ts +231 -0
- package/src/summarization/prompts.test.ts +269 -0
- package/src/summarization/prompts.ts +133 -0
- package/src/summarization/provider-factory.test.ts +396 -0
- package/src/summarization/provider-factory.ts +178 -0
- package/src/summarization/types.ts +184 -0
- package/src/summarize/budget-bugs.test.ts +620 -0
- package/src/summarize/formatters.ts +419 -0
- package/src/summarize/index.ts +20 -0
- package/src/summarize/summarizer.test.ts +275 -0
- package/src/summarize/summarizer.ts +597 -0
- package/src/summarize/verify-bugs.test.ts +238 -0
- package/src/types/huggingface-transformers.d.ts +66 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/tokens.test.ts +142 -0
- package/src/utils/tokens.ts +186 -0
- package/tests/fixtures/cli/.mdcontext/active-provider.json +7 -0
- package/tests/fixtures/cli/.mdcontext/config.json +8 -0
- package/tests/fixtures/cli/.mdcontext/embeddings/openai_text-embedding-3-small_512/vectors.bin +0 -0
- package/tests/fixtures/cli/.mdcontext/embeddings/openai_text-embedding-3-small_512/vectors.meta.bin +0 -0
- package/tests/fixtures/cli/.mdcontext/indexes/documents.json +33 -0
- package/tests/fixtures/cli/.mdcontext/indexes/links.json +12 -0
- package/tests/fixtures/cli/.mdcontext/indexes/sections.json +247 -0
- package/tests/fixtures/cli/README.md +9 -0
- package/tests/fixtures/cli/api-reference.md +11 -0
- package/tests/fixtures/cli/getting-started.md +11 -0
- package/tests/integration/embed-index.test.ts +712 -0
- package/tests/integration/search-context.test.ts +469 -0
- package/tests/integration/search-semantic.test.ts +522 -0
- package/tsconfig.json +26 -0
- package/vitest.config.ts +16 -0
- package/vitest.setup.ts +12 -0
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# Report: A1 - Spec Analyst
|
|
2
|
+
|
|
3
|
+
## Mission
|
|
4
|
+
|
|
5
|
+
Extract the current spec's structure, key claims, and design decisions from docs/
|
|
6
|
+
|
|
7
|
+
## Command Log
|
|
8
|
+
|
|
9
|
+
| # | Command | Purpose | Result | Useful? |
|
|
10
|
+
| --- | ------------------------------------------------------------------------------------ | -------------------------- | --------------------------------------- | ------- |
|
|
11
|
+
| 1 | `mdcontext --help` | Learn tool | Full command list with examples | Yes |
|
|
12
|
+
| 2 | `mdcontext index --help` | Learn index options | Options for --embed, --watch, --force | Yes |
|
|
13
|
+
| 3 | `mdcontext search --help` | Learn search options | Boolean ops, context lines, modes | Yes |
|
|
14
|
+
| 4 | `mdcontext context --help` | Learn context options | Token budgets, section filtering | Yes |
|
|
15
|
+
| 5 | `mdcontext index --force --no-embed` | Index workspace | 23 docs, 922 sections, 535ms | Yes |
|
|
16
|
+
| 6 | `mdcontext tree` | List all markdown files | 23 files including 10 in docs/ | Yes |
|
|
17
|
+
| 7 | `mdcontext tree docs/00-README.md` | Show doc outline | 9 sections, 1637 tokens | Yes |
|
|
18
|
+
| 8 | `mdcontext tree docs/01-ARCHITECTURE.md` | Architecture outline | 49 sections, 5037 tokens | Yes |
|
|
19
|
+
| 9 | `mdcontext tree docs/02-PRIMITIVES.md` | Primitives outline | 67 sections, 6803 tokens | Yes |
|
|
20
|
+
| 10 | `mdcontext tree docs/03-ORG_WORKSPACE_MODEL.md` | Org/Workspace outline | 52 sections, 5360 tokens | Yes |
|
|
21
|
+
| 11 | `mdcontext tree docs/04-EXECUTION_MODEL.md` | Execution outline | 63 sections, 7418 tokens | Yes |
|
|
22
|
+
| 12 | `mdcontext tree docs/05-MEMORY_MODEL.md` | Memory outline | 56 sections, 6848 tokens | Yes |
|
|
23
|
+
| 13 | `mdcontext tree docs/06-WORKFLOWS.md` | Workflows outline | 65 sections, 8541 tokens | Yes |
|
|
24
|
+
| 14 | `mdcontext tree docs/07-EXAMPLE_WORKFLOWS.md` | Examples outline | 55 sections, 14423 tokens | Yes |
|
|
25
|
+
| 15 | `mdcontext context docs/00-README.md -t 3000` | Get README summary | Full content with 50% reduction | Yes |
|
|
26
|
+
| 16 | `mdcontext context docs/01-ARCHITECTURE.md --section "Architectural Overview"` | Get overview | Core separation of concerns | Yes |
|
|
27
|
+
| 17 | `mdcontext context docs/01-ARCHITECTURE.md --section "Why This Architecture Works"` | Get justification | 6 key reasons | Yes |
|
|
28
|
+
| 18 | `mdcontext search "human control"` | Find human control theme | 10 results across docs | Yes |
|
|
29
|
+
| 19 | `mdcontext search "immutable"` | Find immutability theme | 10 results | Yes |
|
|
30
|
+
| 20 | `mdcontext search "workspace"` | Find workspace concept | 5 results | Yes |
|
|
31
|
+
| 21 | `mdcontext search "checkpoint"` | Find checkpoint references | 8 results | Yes |
|
|
32
|
+
| 22 | `mdcontext search "safety"` | Find safety theme | 5 results | Yes |
|
|
33
|
+
| 23 | `mdcontext context docs/01-ARCHITECTURE.md --section "Architectural Invariants"` | Get invariants | 8 system invariants | Yes |
|
|
34
|
+
| 24 | `mdcontext context docs/02-PRIMITIVES.md --section "Summary"` | Get primitives summary | Minimal primitive philosophy | Yes |
|
|
35
|
+
| 25 | `mdcontext context docs/05-MEMORY_MODEL.md --section "Memory Philosophy"` | Get memory philosophy | Memory defined as derived understanding | Yes |
|
|
36
|
+
| 26 | `mdcontext context docs/05-MEMORY_MODEL.md --section "Why This Model Works"` | Get memory justification | Enables/Prevents/Supports/Scales | Yes |
|
|
37
|
+
| 27 | `mdcontext context docs/06-WORKFLOWS.md --section "Workflow Philosophy"` | Get workflow philosophy | Guidance, not law | Yes |
|
|
38
|
+
| 28 | `mdcontext search "three-layer"` | Find memory layers | 5 results | Yes |
|
|
39
|
+
| 29 | `mdcontext context docs/05-MEMORY_MODEL.md --section "The Three-Layer Architecture"` | Get layer details | Event/Status/Semantic layers | Yes |
|
|
40
|
+
| 30 | `mdcontext search '"execution context"'` | Find execution contexts | 5 results (exact phrase) | Yes |
|
|
41
|
+
| 31 | `mdcontext search "parallel exploration"` | Find parallel work | 5 results | Yes |
|
|
42
|
+
| 32 | `mdcontext search "cost"` | Find cost model | 5 results | Yes |
|
|
43
|
+
| 33 | `mdcontext search "Control Plane"` | Find control plane | 5 results | Yes |
|
|
44
|
+
| 34 | `mdcontext context docs/02-PRIMITIVES.md --section "Control Plane"` | Get control plane details | Full primitive definition | Yes |
|
|
45
|
+
| 35 | `mdcontext search "time travel"` | Find time travel | 5 results | Yes |
|
|
46
|
+
| 36 | `mdcontext search "branching"` | Find branching | 5 results | Yes |
|
|
47
|
+
| 37 | `mdcontext context docs/05-MEMORY_MODEL.md --section "Time Travel"` | Get time travel details | Query-based, not feature | Yes |
|
|
48
|
+
| 38 | `mdcontext search "guarantee"` | Find guarantees | 8 results | Yes |
|
|
49
|
+
| 39 | `mdcontext context docs/04-EXECUTION_MODEL.md --section "Guarantees"` | Get execution guarantees | 7 explicit guarantees | Yes |
|
|
50
|
+
| 40 | `mdcontext stats` | Get index statistics | 23 docs, 178K tokens, 922 sections | Yes |
|
|
51
|
+
|
|
52
|
+
## Findings
|
|
53
|
+
|
|
54
|
+
### Document Structure (docs/ folder)
|
|
55
|
+
|
|
56
|
+
The docs/ folder contains 10 markdown files forming a comprehensive specification:
|
|
57
|
+
|
|
58
|
+
1. **00-README.md** (1,637 tokens) - Overview, principles, differentiators
|
|
59
|
+
2. **01-ARCHITECTURE.md** (5,037 tokens) - 17 sections covering full system architecture
|
|
60
|
+
3. **02-PRIMITIVES.md** (6,803 tokens) - 20 formal primitive definitions
|
|
61
|
+
4. **03-ORG_WORKSPACE_MODEL.md** (5,360 tokens) - 13 sections on org/workspace
|
|
62
|
+
5. **04-EXECUTION_MODEL.md** (7,418 tokens) - 18 sections on execution
|
|
63
|
+
6. **05-MEMORY_MODEL.md** (6,848 tokens) - 17 sections on three-layer memory
|
|
64
|
+
7. **06-WORKFLOWS.md** (8,541 tokens) - 19 sections on workflow system
|
|
65
|
+
8. **07-EXAMPLE_WORKFLOWS.md** (14,423 tokens) - 5 detailed example workflows
|
|
66
|
+
9. **HumanWork-Evolution.md** - Evolution/roadmap document
|
|
67
|
+
10. **LETTA_INTEGRATION_PLAN.md** - Integration planning
|
|
68
|
+
|
|
69
|
+
Total: ~56,000 tokens of spec content in docs/
|
|
70
|
+
|
|
71
|
+
### Key Discoveries
|
|
72
|
+
|
|
73
|
+
#### Core Philosophy
|
|
74
|
+
|
|
75
|
+
The system is named **HumanWork** and is explicitly designed as a "human work operating system, not an agent orchestrator."
|
|
76
|
+
|
|
77
|
+
> "The system helps humans think better - it never decides for them."
|
|
78
|
+
> Source: docs/00-README.md, Philosophy section
|
|
79
|
+
|
|
80
|
+
#### Design Decision: Separation of Concerns
|
|
81
|
+
|
|
82
|
+
> "HumanWork separates concerns explicitly:
|
|
83
|
+
>
|
|
84
|
+
> - **Execution**: agents performing steps within bounded contexts
|
|
85
|
+
> - **Authority**: humans controlling execution via a preemptive control plane
|
|
86
|
+
> - **History**: immutable records of what occurred
|
|
87
|
+
> - **Understanding**: derived state and semantic views"
|
|
88
|
+
> Source: docs/01-ARCHITECTURE.md, Section 1
|
|
89
|
+
|
|
90
|
+
#### Design Decision: Preemptive Control Plane
|
|
91
|
+
|
|
92
|
+
> "The Control Plane has **preemptive authority** over all execution. No agent, workflow, or job may refuse a control plane directive."
|
|
93
|
+
> Source: docs/01-ARCHITECTURE.md, Section 3
|
|
94
|
+
|
|
95
|
+
Control actions: pause, resume, cancel, reassign, modify_metadata, inject_step, fork, terminate
|
|
96
|
+
|
|
97
|
+
#### Design Decision: Three-Layer Memory
|
|
98
|
+
|
|
99
|
+
> "Workspace Memory consists of three orthogonal, composable layers:
|
|
100
|
+
>
|
|
101
|
+
> - Event / Fact Memory (Ground Truth)
|
|
102
|
+
> - Status Memory (Operational Truth)
|
|
103
|
+
> - Semantic Memory (Understanding)"
|
|
104
|
+
> Source: docs/05-MEMORY_MODEL.md, Section 2
|
|
105
|
+
|
|
106
|
+
> "Memory is **not**: Chat logs, Raw execution logs, Agent recall, Hidden embeddings"
|
|
107
|
+
> Source: docs/05-MEMORY_MODEL.md, Section 1
|
|
108
|
+
|
|
109
|
+
#### Design Decision: Immutability as Foundation
|
|
110
|
+
|
|
111
|
+
> "All meaningful system activity is recorded as immutable facts. Execution advances by appending new records rather than mutating existing state. Time travel and branching are natural consequences of the data model."
|
|
112
|
+
> Source: docs/00-README.md, Core Principles
|
|
113
|
+
|
|
114
|
+
#### Design Decision: Workflows as Guidance
|
|
115
|
+
|
|
116
|
+
> "In HumanWork, workflows are: **Reusable coordination patterns that shape how work unfolds, without prescribing execution logic.**
|
|
117
|
+
> Workflows are **guidance**, not law."
|
|
118
|
+
> Source: docs/06-WORKFLOWS.md, Section 1
|
|
119
|
+
|
|
120
|
+
#### Architectural Invariants (8 Hard Rules)
|
|
121
|
+
|
|
122
|
+
> - No hidden mutable state
|
|
123
|
+
> - No irreversible execution (recordable and replayable)
|
|
124
|
+
> - No unobservable progress
|
|
125
|
+
> - No agent-owned memory
|
|
126
|
+
> - No loss of human authority
|
|
127
|
+
> - No concurrent mutation of the same scope
|
|
128
|
+
> - No execution without a Workspace
|
|
129
|
+
> - No automatic flow from Org to Workspace
|
|
130
|
+
> Source: docs/01-ARCHITECTURE.md, Section 14
|
|
131
|
+
|
|
132
|
+
#### Execution Guarantees
|
|
133
|
+
|
|
134
|
+
> - **Single-scope coherence**: no concurrent mutation of the same scope
|
|
135
|
+
> - **Human control**: execution always interruptible
|
|
136
|
+
> - **Deterministic replay**: all execution is reproducible from records
|
|
137
|
+
> - **Cost attribution**: every execution traceable to Workspace and Job
|
|
138
|
+
> - **No hidden state**: all context is external and inspectable
|
|
139
|
+
> - **Agent replaceability**: work continues regardless of agent instance
|
|
140
|
+
> - **Workflow interoperability**: external systems integrate cleanly
|
|
141
|
+
> Source: docs/04-EXECUTION_MODEL.md, Section 16
|
|
142
|
+
|
|
143
|
+
### Relevant Quotes/Sections Found
|
|
144
|
+
|
|
145
|
+
> "This is a human work operating system, not an agent orchestrator."
|
|
146
|
+
> Source: docs/00-README.md, What You Get
|
|
147
|
+
|
|
148
|
+
> "Time travel is **a query, not a feature**."
|
|
149
|
+
> Source: docs/05-MEMORY_MODEL.md, Section 8
|
|
150
|
+
|
|
151
|
+
> "The system favors clarity, safety, and trust over raw autonomy."
|
|
152
|
+
> Source: docs/00-README.md, intro
|
|
153
|
+
|
|
154
|
+
> "It is designed for work that unfolds over time: architecture reviews, security assessments, R&D exploration, planning sessions, and collaborative analysis."
|
|
155
|
+
> Source: docs/00-README.md, intro
|
|
156
|
+
|
|
157
|
+
### Themes Identified
|
|
158
|
+
|
|
159
|
+
1. **Human Authority is Non-Negotiable**: Control plane is "always listening, preemptive", humans retain authority at all times, checkpoints enforce human control
|
|
160
|
+
|
|
161
|
+
2. **Immutability as Foundation**: No hidden mutable state, append-only records, time travel and branching as natural consequences
|
|
162
|
+
|
|
163
|
+
3. **Explicit Over Implicit**: Metadata-driven configuration, derived state for observability, no hidden embeddings or agent memory
|
|
164
|
+
|
|
165
|
+
4. **Safety Without Bureaucracy**: Enterprise-grade safety, guaranteed interruptibility, audit trails without performance penalties
|
|
166
|
+
|
|
167
|
+
5. **Scalability Through Configuration**: Scaling from individuals to enterprises is configuration change, not architectural change
|
|
168
|
+
|
|
169
|
+
6. **Cost Visibility**: Cost attribution by default, workspace as cost boundary, traceable to Job/Workspace
|
|
170
|
+
|
|
171
|
+
7. **Parallel Exploration**: Parallel hypotheses without conflicts, parallel execution with fan-out/fan-in patterns
|
|
172
|
+
|
|
173
|
+
## Tool Evaluation
|
|
174
|
+
|
|
175
|
+
### What Worked Well
|
|
176
|
+
|
|
177
|
+
- **tree command**: Excellent for understanding document structure; token counts per section very helpful
|
|
178
|
+
- **context --section**: Precise extraction of specific sections; very efficient
|
|
179
|
+
- **search with boolean/phrase**: Quoted phrases and AND/OR worked well
|
|
180
|
+
- **Token reduction**: context command showed "50% reduction" - useful compression
|
|
181
|
+
- **stats**: Quick overview of index size and distribution
|
|
182
|
+
- **index speed**: 535ms for 23 docs is fast
|
|
183
|
+
|
|
184
|
+
### What Was Frustrating
|
|
185
|
+
|
|
186
|
+
- **search from subdirectory failed**: `mdcontext search "..." docs/` returned "No index found" even though index existed - had to search from root
|
|
187
|
+
- **No semantic search by default**: Required --embed flag and OPENAI_API_KEY; keyword search adequate but limited
|
|
188
|
+
- **Context duplication**: `--section "Time Travel"` returned the same section twice (once as parent, once as subsection match)
|
|
189
|
+
- **No way to search AND get context**: Search shows snippets but can't easily expand; had to follow up with context command
|
|
190
|
+
|
|
191
|
+
### What Was Missing
|
|
192
|
+
|
|
193
|
+
- **Cross-reference navigation**: No easy way to "find all sections that reference this concept"
|
|
194
|
+
- **Diff between documents**: Can't compare two docs or see overlap
|
|
195
|
+
- **Export/summarize all**: No "summarize everything in docs/" command
|
|
196
|
+
- **Section numbering inconsistency**: tree shows "## 1. Section" but context uses "1.1" notation
|
|
197
|
+
|
|
198
|
+
### Confidence Level
|
|
199
|
+
|
|
200
|
+
[X] High
|
|
201
|
+
|
|
202
|
+
I found all major structural elements, design decisions, and key claims. The tool provided efficient access to content without reading 56K tokens of raw markdown.
|
|
203
|
+
|
|
204
|
+
### Would Use Again? (1-5)
|
|
205
|
+
|
|
206
|
+
**4** - Very useful for exploration and targeted extraction. The tree+context+search workflow is effective. Lost a point for the subdirectory search bug and lack of semantic search out-of-box.
|
|
207
|
+
|
|
208
|
+
## Time & Efficiency
|
|
209
|
+
|
|
210
|
+
- Commands run: **40**
|
|
211
|
+
- Tokens read via mdcontext: ~15,000 (estimated from context outputs)
|
|
212
|
+
- Total docs tokens: 56,000+ in docs/ alone
|
|
213
|
+
- Compared to reading all files: **much less** - approximately 25-30% of raw content needed to extract key information
|
|
214
|
+
|
|
215
|
+
## Summary
|
|
216
|
+
|
|
217
|
+
The HumanWork spec defines a comprehensive multi-agent orchestration system with:
|
|
218
|
+
|
|
219
|
+
- **20 formal primitives** with explicit guarantees
|
|
220
|
+
- **Three-layer memory model** (Event/Status/Semantic)
|
|
221
|
+
- **Preemptive human control** via always-on Control Plane
|
|
222
|
+
- **Immutable event sourcing** enabling time travel and branching
|
|
223
|
+
- **Workflow as guidance** not enforcement
|
|
224
|
+
- **8 architectural invariants** as hard system rules
|
|
225
|
+
|
|
226
|
+
The mdcontext tool proved effective for navigating this large specification efficiently.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Report: A2 - Amorphic Feedback Analyst
|
|
2
|
+
|
|
3
|
+
## Mission
|
|
4
|
+
|
|
5
|
+
Extract feedback, criticism, suggestions, and concerns from docs.amorphic/
|
|
6
|
+
|
|
7
|
+
## Command Log
|
|
8
|
+
|
|
9
|
+
| # | Command | Purpose | Result | Useful? |
|
|
10
|
+
| --- | ----------------------------------------------------------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
11
|
+
| 1 | mdcontext --help | Learn tool capabilities | Showed commands: index, search, context, tree, links, backlinks, stats | Yes |
|
|
12
|
+
| 2 | ls docs.amorphic/ | See available files | 9 markdown files covering executive summary, failure analysis, architecture, collaboration, technical patterns, org transformation, future directions | Yes |
|
|
13
|
+
| 3 | mdcontext index --force | Force index the directory | Indexed 23 documents, 922 sections | Yes |
|
|
14
|
+
| 4 | mdcontext tree docs.amorphic/ | List markdown files | Confirmed 9 files in the folder | Yes |
|
|
15
|
+
| 5 | mdcontext tree docs.amorphic/00-INDEX.md | Document outline | Showed 2 sections, 731 tokens | Yes |
|
|
16
|
+
| 6 | mdcontext search "feedback" | Find feedback mentions | 10 results, 3 from docs.amorphic | Moderate |
|
|
17
|
+
| 7 | mdcontext search "criticism" | Find criticism | Only 1 result (from SPEC.md) | No |
|
|
18
|
+
| 8 | mdcontext search "suggestion" | Find suggestions | 10 results, limited docs.amorphic hits | Moderate |
|
|
19
|
+
| 9 | mdcontext search "concern" | Find concerns | 10 results, mostly from other docs | Moderate |
|
|
20
|
+
| 10 | mdcontext search "failure" | Find failure themes | 10 results, strong docs.amorphic coverage | Yes |
|
|
21
|
+
| 11 | mdcontext context docs.amorphic/02-THE_FAILURE_OF_PURE_AUTOMATION.md -t 4000 | Get full context summary | Excellent summary of automation failures | Very useful |
|
|
22
|
+
| 12 | mdcontext search "problem" | Find problems identified | 10 results, good docs.amorphic coverage | Yes |
|
|
23
|
+
| 13 | mdcontext search "limitation" | Find limitations | 3 results, 1 from docs.amorphic | Yes |
|
|
24
|
+
| 14 | mdcontext search "challenge" | Find challenges | 10 results, 3 from docs.amorphic | Moderate |
|
|
25
|
+
| 15 | mdcontext search "risk" | Find risks | 10 results, minimal docs.amorphic | Moderate |
|
|
26
|
+
| 16 | mdcontext context docs.amorphic/01-EXECUTIVE_SUMMARY.md -t 3000 | Summary context | 61% token reduction, key innovations extracted | Very useful |
|
|
27
|
+
| 17 | mdcontext tree docs.amorphic/03-ARCHITECTURAL_FOUNDATIONS.md | Document outline | 6 major sections | Yes |
|
|
28
|
+
| 18 | mdcontext context docs.amorphic/03-ARCHITECTURAL_FOUNDATIONS.md -t 3500 | Architecture context | Memory architecture, dynamic graphs, state management | Very useful |
|
|
29
|
+
| 19 | mdcontext context docs.amorphic/04-THE_HUMAN-AGENT_COLLABORATION_MODEL.md -t 3500 | Collaboration context | Authority gradient, collaboration modes, transparency | Very useful |
|
|
30
|
+
| 20 | mdcontext context docs.amorphic/08-FUTURE_IMPLICATIONS_AND_RESEARCH_DIRECTIONS.md -t 3000 | Future/research context | Open questions, research frontiers | Very useful |
|
|
31
|
+
| 21 | mdcontext search "improve" | Find improvement areas | 10 results, 2 from docs.amorphic | Moderate |
|
|
32
|
+
| 22 | mdcontext search "issue" | Find issues raised | 10 results, mostly technical | Low |
|
|
33
|
+
| 23 | mdcontext search "question" | Find questions raised | 10 results, 2 from docs.amorphic | Moderate |
|
|
34
|
+
| 24 | mdcontext context docs.amorphic/06-ORGANIZATIONAL_TRANSFORMATION.md -t 4000 | Org transformation | Choreographic maturity, cultural shifts | Very useful |
|
|
35
|
+
| 25 | mdcontext context docs.amorphic/05-TECHNICAL_IMPLEMENTATION_PATTERNS.md -t 3000 | Technical patterns | Primitive-first, memory infrastructure | Very useful |
|
|
36
|
+
| 26 | mdcontext search "should" | Find prescriptive statements | 10 results, 2 from docs.amorphic | Moderate |
|
|
37
|
+
| 27 | mdcontext search "must" | Find requirements | 10 results, minimal docs.amorphic | Low |
|
|
38
|
+
| 28 | mdcontext search "handoff" | Find handoff discussion | 10 results, 5 from docs.amorphic | Yes |
|
|
39
|
+
| 29 | mdcontext context docs.amorphic/\_0.BLURB.md -t 3000 | Get blurb context | Very minimal output (100% reduction) | No |
|
|
40
|
+
| 30 | mdcontext search "brittle" | Find brittleness concerns | 10 results, 5 from docs.amorphic | Yes |
|
|
41
|
+
| 31 | mdcontext search "open question" | Find open questions | 4 results, 2 from docs.amorphic | Yes |
|
|
42
|
+
| 32 | mdcontext search "research" | Find research directions | 10 results | Moderate |
|
|
43
|
+
| 33 | mdcontext search "trust" | Find trust discussions | 10 results | Moderate |
|
|
44
|
+
| 34 | mdcontext search "cost" | Find cost concerns | 10 results | Moderate |
|
|
45
|
+
| 35 | mdcontext search "autonomy" | Find autonomy balance | 10 results, 1 from docs.amorphic | Moderate |
|
|
46
|
+
| 36 | mdcontext search "evolution" | Find evolution themes | 10 results, 2 from docs.amorphic | Moderate |
|
|
47
|
+
| 37 | mdcontext search "need" | Find expressed needs | 10 results | Low |
|
|
48
|
+
| 38 | mdcontext context docs.amorphic/00-INDEX.md -t 2000 | Index overview | Document structure overview | Moderate |
|
|
49
|
+
|
|
50
|
+
## Findings
|
|
51
|
+
|
|
52
|
+
### Key Discoveries
|
|
53
|
+
|
|
54
|
+
1. **The Handoff Problem is Central**: docs.amorphic identifies the "handoff problem" as THE core issue - friction between human creative processes and systematic execution. Current workflow tools create artificial boundaries that fragment work.
|
|
55
|
+
|
|
56
|
+
2. **Pure Automation is Fundamentally Flawed for Knowledge Work**: The failure analysis document makes a strong case that automation fails not due to poor implementation but conceptual mismatch with knowledge work's nature.
|
|
57
|
+
|
|
58
|
+
3. **Six Specific Failure Modes Identified**:
|
|
59
|
+
- Brittleness of Complete Systems (combinatorial rule explosion)
|
|
60
|
+
- Coordination Trap (multiplies rather than reduces overhead)
|
|
61
|
+
- Innovation Strangulation (automation-incompatible = avoided)
|
|
62
|
+
- Human Bottleneck Paradox (routing around humans creates new bottlenecks)
|
|
63
|
+
- Context Collapse (no mechanism for negotiation or doubt)
|
|
64
|
+
- Judgment Gap (absence of judgment in edge cases)
|
|
65
|
+
|
|
66
|
+
4. **Authority Gradient Concept**: Proposes dynamic human involvement spectrum rather than binary human/machine control - from Instructional to Consultative to Supervisory to Exploratory modes.
|
|
67
|
+
|
|
68
|
+
5. **Organizational Transformation Required**: Not just technical change but "choreographic maturity models" with 4 levels from Tool Usage to Organizational Intelligence.
|
|
69
|
+
|
|
70
|
+
6. **Open Research Questions Explicitly Stated**:
|
|
71
|
+
- How to maintain human agency while leveraging agent efficiency?
|
|
72
|
+
- What are limits of organizational intelligence?
|
|
73
|
+
- How to ensure alignment with human values as systems become more autonomous?
|
|
74
|
+
|
|
75
|
+
### Relevant Quotes/Sections Found
|
|
76
|
+
|
|
77
|
+
> "Pure automation assumes complete knowledge of the problem space. It requires that all possible states, transitions, and edge cases be enumerable at design time."
|
|
78
|
+
> Source: docs.amorphic/02-THE_FAILURE_OF_PURE_AUTOMATION.md, The Brittleness of Complete Systems
|
|
79
|
+
|
|
80
|
+
> "At its heart, Amorphic solves the **handoff problem** - the friction that occurs when moving between human creative processes and systematic execution."
|
|
81
|
+
> Source: docs.amorphic/01-EXECUTIVE_SUMMARY.md, The Core Innovation
|
|
82
|
+
|
|
83
|
+
> "Context collapse occurs at the moment when predetermined logic meets unpredictable reality, and the system has no mechanism for negotiation, no capacity for doubt, no way to ask 'what should I do here?'"
|
|
84
|
+
> Source: docs.amorphic/02-THE_FAILURE_OF_PURE_AUTOMATION.md, The Context Collapse
|
|
85
|
+
|
|
86
|
+
> "The result is brittle automation that works beautifully until it doesn't - systems that handle 80% of cases flawlessly but create chaos in the remaining 20%."
|
|
87
|
+
> Source: docs.amorphic/02-THE_FAILURE_OF_PURE_AUTOMATION.md, The Judgment Gap
|
|
88
|
+
|
|
89
|
+
> "Organizations begin tracking metrics like intervention precision (how often human oversight improves outcomes), learning velocity (how quickly human-AI teams adapt to new challenges), and decision architecture resilience"
|
|
90
|
+
> Source: docs.amorphic/06-ORGANIZATIONAL_TRANSFORMATION.md, Measuring Success in Hybrid Organizations
|
|
91
|
+
|
|
92
|
+
> "How do we ensure HumanWork organizations remain aligned with human values as they become more autonomous? What are the limits of organizational intelligence?"
|
|
93
|
+
> Source: docs.amorphic/08-FUTURE_IMPLICATIONS_AND_RESEARCH_DIRECTIONS.md, Open Questions
|
|
94
|
+
|
|
95
|
+
### Themes Identified
|
|
96
|
+
|
|
97
|
+
1. **Choreography over Automation**: The docs consistently push "choreography" metaphor - dynamic coordination vs rigid orchestration
|
|
98
|
+
|
|
99
|
+
2. **Human Judgment is Irreplaceable**: Edge cases, exceptions, and contextual judgment cannot be automated - this is a feature not a bug
|
|
100
|
+
|
|
101
|
+
3. **Trust Through Transparency**: Event-driven architecture enabling radical transparency and intervention at any point
|
|
102
|
+
|
|
103
|
+
4. **Memory as Active Participant**: Memory isn't just storage but "connective tissue" and "geometric imprints" that participate in reasoning
|
|
104
|
+
|
|
105
|
+
5. **Gradual Authority Shift**: Organizations should expand AI autonomy as confidence builds, not grant it upfront
|
|
106
|
+
|
|
107
|
+
6. **Network Effects of Collaboration**: Choreographic maturity creates ecosystem-level advantages when organizations work together
|
|
108
|
+
|
|
109
|
+
7. **Perverse Incentives**: Current automation creates incentives to avoid innovative approaches because they're "automation-incompatible"
|
|
110
|
+
|
|
111
|
+
## Tool Evaluation
|
|
112
|
+
|
|
113
|
+
### What Worked Well
|
|
114
|
+
|
|
115
|
+
- `mdcontext context` command is excellent - 44-61% token reduction while preserving key content
|
|
116
|
+
- `mdcontext tree` for document outlines is helpful for understanding structure
|
|
117
|
+
- `mdcontext search` works well for keyword-based exploration
|
|
118
|
+
- Token counts shown everywhere help with context budgeting
|
|
119
|
+
- Stats command gives good overview of indexed content
|
|
120
|
+
- Multiple output formats supported (normal, JSON, pretty JSON)
|
|
121
|
+
|
|
122
|
+
### What Was Frustrating
|
|
123
|
+
|
|
124
|
+
- Search doesn't work with path argument like `mdcontext search "term" docs.amorphic/` - always says "No index found" even though index exists
|
|
125
|
+
- The `_0.BLURB.md` context returned essentially nothing (100% reduction to 57 tokens from 2449) - unclear why
|
|
126
|
+
- No way to filter search results to specific directories/paths after indexing
|
|
127
|
+
- Index command prompts for semantic search confirmation which blocks in non-interactive use
|
|
128
|
+
- Search results return max 10 items with no pagination option visible
|
|
129
|
+
- Cannot search for multiple terms without boolean operators (AND/OR)
|
|
130
|
+
|
|
131
|
+
### What Was Missing
|
|
132
|
+
|
|
133
|
+
- **Directory-scoped search**: Critical for multi-folder repos. Having to search the whole index then mentally filter is inefficient
|
|
134
|
+
- **Semantic search without embeddings**: The tool prompts for OpenAI API but doesn't make it easy to do without
|
|
135
|
+
- **Context for multiple files at once**: Would love `mdcontext context docs.amorphic/*.md -t 10000`
|
|
136
|
+
- **Search result limits/pagination**: Hard to know if I'm missing relevant results
|
|
137
|
+
- **Fuzzy/stemmed search**: Searching "suggest" doesn't find "suggestion" - need exact terms
|
|
138
|
+
- **Negative filtering**: Can't easily exclude certain directories or patterns
|
|
139
|
+
- **Section-level context extraction**: Can get file context but not section-specific context easily
|
|
140
|
+
|
|
141
|
+
### Confidence Level
|
|
142
|
+
|
|
143
|
+
[X] Medium
|
|
144
|
+
|
|
145
|
+
The tool helped me find key themes and quotes faster than reading all ~62K tokens of docs.amorphic/ content. However, I'm uncertain whether the keyword search missed important feedback that used different terminology. The inability to scope searches to the target directory was a significant limitation. The context summaries were very useful but varied in quality (the blurb file got reduced to nothing).
|
|
146
|
+
|
|
147
|
+
### Would Use Again? (1-5)
|
|
148
|
+
|
|
149
|
+
[4] - Good for quick exploration and context extraction. The `context` command alone is valuable. Search limitations are frustrating but workable with creative query strategies. Would be a 5 with directory-scoped search.
|
|
150
|
+
|
|
151
|
+
## Time & Efficiency
|
|
152
|
+
|
|
153
|
+
- Commands run: 38 (including retries and experiments)
|
|
154
|
+
- Productive commands: ~25
|
|
155
|
+
- Compared to reading all files: **Much less time** - docs.amorphic/ is ~62K tokens; I got useful summaries from ~8K tokens of context output plus search results
|
|
156
|
+
- Estimated time saved: Would take 20-30 min to read all docs.amorphic/ files; tool exploration took ~10-15 min equivalent
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Report: A3 - LLM Chat Analyst
|
|
2
|
+
|
|
3
|
+
## Mission
|
|
4
|
+
|
|
5
|
+
Extract additional feedback and ideas from docs.llm/ (ignoring vector7/)
|
|
6
|
+
|
|
7
|
+
## Command Log
|
|
8
|
+
|
|
9
|
+
| # | Command | Purpose | Result | Useful? |
|
|
10
|
+
| --- | ----------------------------------------------------------------------- | ---------------------- | ------------------------------------------------ | ----------- |
|
|
11
|
+
| 1 | `mdcontext --help` | Learn tool | Showed commands, options, examples | Yes |
|
|
12
|
+
| 2 | `mdcontext tree docs.llm/` | List all files | Found 3 files: amorphic.md, feedback.md, spec.md | Yes |
|
|
13
|
+
| 3 | `mdcontext index docs.llm/ --force` | Index directory | Ran in background | Yes |
|
|
14
|
+
| 4 | `mdcontext stats docs.llm/` | Check index stats | 3 docs, 89K tokens, 448 sections | Very useful |
|
|
15
|
+
| 5 | `mdcontext tree docs.llm/feedback.md` | Show outline | Revealed section structure (11K tokens) | Yes |
|
|
16
|
+
| 6 | `mdcontext tree docs.llm/amorphic.md` | Show outline | Revealed section structure (21K tokens) | Yes |
|
|
17
|
+
| 7 | `mdcontext tree docs.llm/spec.md` | Show outline | Revealed section structure (56K tokens) | Yes |
|
|
18
|
+
| 8 | `mdcontext search "feedback" docs.llm/` | Find feedback content | 10 results with context | Yes |
|
|
19
|
+
| 9 | `mdcontext search "ideas" docs.llm/` | Find ideas | 6 results | Moderate |
|
|
20
|
+
| 10 | `mdcontext search "suggestion OR recommend" docs.llm/` | Find suggestions | 10 results | Moderate |
|
|
21
|
+
| 11 | `mdcontext search "problem OR challenge OR limitation" docs.llm/` | Find problems | 10 results, critical themes | Yes |
|
|
22
|
+
| 12 | `mdcontext search "innovation OR future OR vision" docs.llm/` | Find future vision | 10 results | Yes |
|
|
23
|
+
| 13 | `mdcontext search "improve OR enhancement OR better" docs.llm/` | Find improvements | 10 results | Yes |
|
|
24
|
+
| 14 | `mdcontext context docs.llm/feedback.md -t 3000` | Summarize feedback.md | Got condensed overview (16% of file) | Yes |
|
|
25
|
+
| 15 | `mdcontext context docs.llm/amorphic.md --section "Research Frontiers"` | Get research section | Clean targeted content | Very useful |
|
|
26
|
+
| 16 | `mdcontext context docs.llm/amorphic.md --section "Open Questions"` | Get open questions | 3 key questions | Very useful |
|
|
27
|
+
| 17 | `mdcontext search "trust OR security OR privacy"` | Find trust themes | 10 results | Yes |
|
|
28
|
+
| 18 | `mdcontext context docs.llm/feedback.md --section "The Core Thesis"` | Get core thesis | Key product vision | Very useful |
|
|
29
|
+
| 19 | `mdcontext search "agent OR autonomous OR automation"` | Find automation themes | 10 results, deep content | Yes |
|
|
30
|
+
| 20 | `mdcontext context ... --section "The Paradox of Automation"` | Get paradox section | Insightful content | Very useful |
|
|
31
|
+
| 21 | `mdcontext context ... --section "From Platform to Paradigm"` | Get paradigm section | Rich philosophical content | Very useful |
|
|
32
|
+
| 22 | `mdcontext search "workflow OR process OR pattern"` | Find workflow themes | 10 results | Yes |
|
|
33
|
+
| 23 | `mdcontext context ... --section "What Problem This Solves"` | Get problem statement | Clear product definition | Very useful |
|
|
34
|
+
| 24 | `mdcontext context ... --section "Key Differentiators"` | Get differentiators | Comparison table | Yes |
|
|
35
|
+
| 25 | `mdcontext search "memory OR knowledge OR context"` | Find memory themes | 10 results | Yes |
|
|
36
|
+
| 26 | `mdcontext context ... --section "Geometric Memory Architecture"` | Get memory arch | Core innovation | Very useful |
|
|
37
|
+
| 27 | `mdcontext context ... --section "Anti-Patterns"` | Get anti-patterns | Clear guardrails | Yes |
|
|
38
|
+
| 28 | `mdcontext search "user OR experience OR usability"` | Find UX themes | 10 results | Moderate |
|
|
39
|
+
| 29 | `mdcontext context ... --section "The Authority Gradient"` | Get authority section | Key innovation | Very useful |
|
|
40
|
+
| 30 | `mdcontext search "scale OR enterprise OR organization"` | Find scale themes | 10 results | Moderate |
|
|
41
|
+
| 31 | `mdcontext context ... --section "Philosophy"` | Get philosophy | Core principles | Yes |
|
|
42
|
+
| 32 | `mdcontext context ... --section "Designing for Emergence"` | Get emergence section | Design principles | Very useful |
|
|
43
|
+
|
|
44
|
+
## Findings
|
|
45
|
+
|
|
46
|
+
### Key Discoveries
|
|
47
|
+
|
|
48
|
+
1. **docs.llm/ contains LLM-generated product vision documents** - These are AI-written explorations of a "HumanWork" (also called "Amorphic") platform for human-AI collaboration orchestration.
|
|
49
|
+
|
|
50
|
+
2. **Core Product Vision: "Operating System for Work"** - The documents describe a system that bridges human creativity with AI execution, using immutable event ledgers and role-based abstractions.
|
|
51
|
+
|
|
52
|
+
3. **Three-Layer Memory Architecture** - Event (immutable facts), Status (derived views), Semantic (AI-assisted understanding) - a sophisticated memory model for persistent AI collaboration.
|
|
53
|
+
|
|
54
|
+
4. **Explicit Anti-Automation Stance** - The documents articulate why pure automation fails for knowledge work and propose "choreography" as an alternative paradigm.
|
|
55
|
+
|
|
56
|
+
5. **Research-Grade Thinking** - Includes open questions, research frontiers, and mature consideration of organizational transformation.
|
|
57
|
+
|
|
58
|
+
### Relevant Quotes/Sections Found
|
|
59
|
+
|
|
60
|
+
> "Enterprise adoption of autonomous agents has stalled due to **Opacity** (we don't know how the agent works) and **Risk** (we can't trust it to run unsupervised)."
|
|
61
|
+
> Source: feedback.md, "The Core Thesis"
|
|
62
|
+
|
|
63
|
+
> "In order for AI to automate humans, we must first orchestrate humans. HumanWork is that orchestration layer."
|
|
64
|
+
> Source: feedback.md, "The Core Thesis"
|
|
65
|
+
|
|
66
|
+
> "The most sophisticated choreographed intelligence systems often appear less automated than simpler ones."
|
|
67
|
+
> Source: amorphic.md, "The Paradox of Automation"
|
|
68
|
+
|
|
69
|
+
> "How do we ensure HumanWork organizations remain aligned with human values as they become more autonomous?"
|
|
70
|
+
> Source: amorphic.md, "Open Questions"
|
|
71
|
+
|
|
72
|
+
> "Memory is not: Chat logs, Raw execution logs, Agent recall, Hidden embeddings. Memory is: Immutable facts, Derived views, Shared context, Inspectable truth."
|
|
73
|
+
> Source: spec.md, "Memory Philosophy"
|
|
74
|
+
|
|
75
|
+
> "The system helps humans think better - it never decides for them."
|
|
76
|
+
> Source: spec.md, "Philosophy"
|
|
77
|
+
|
|
78
|
+
> "What emerges isn't just a more capable system - it's a new category of intelligence entirely."
|
|
79
|
+
> Source: feedback.md, "From Platform to Paradigm"
|
|
80
|
+
|
|
81
|
+
### Themes Identified
|
|
82
|
+
|
|
83
|
+
1. **Human-AI Choreography** - Reframing "automation" as "collaboration" with explicit authority gradients and intervention points
|
|
84
|
+
|
|
85
|
+
2. **Memory as Infrastructure** - Treating organizational memory as first-class infrastructure with event sourcing and immutable ledgers
|
|
86
|
+
|
|
87
|
+
3. **Trust Through Transparency** - Building trust via observable behavior rather than assumed reliability
|
|
88
|
+
|
|
89
|
+
4. **Emergent Intelligence** - Designing systems that grow and learn rather than being fully specified upfront
|
|
90
|
+
|
|
91
|
+
5. **Anti-Patterns as Guardrails** - Explicit documentation of what NOT to do (e.g., never hide events, never let workflows execute directly)
|
|
92
|
+
|
|
93
|
+
6. **Workspace Metaphor** - Cognitive workspaces that maintain context across sessions and enable parallel exploration
|
|
94
|
+
|
|
95
|
+
7. **Role Abstraction** - Separating the "what" of work from "who does it" (human vs AI actor)
|
|
96
|
+
|
|
97
|
+
8. **Recursive Improvement** - Meta-learning where the collaboration system itself improves at collaboration
|
|
98
|
+
|
|
99
|
+
## Tool Evaluation
|
|
100
|
+
|
|
101
|
+
### What Worked Well
|
|
102
|
+
|
|
103
|
+
- **Section-targeted context** (`--section` flag) was extremely effective for extracting specific topics from large files
|
|
104
|
+
- **Boolean search operators** (OR, AND) enabled comprehensive theme discovery
|
|
105
|
+
- **Tree command with outlines** provided excellent navigation for 56K+ token documents
|
|
106
|
+
- **Token budget controls** (`-t` flag) allowed reasonable context extraction
|
|
107
|
+
- **Search with line context** showed surrounding text, making results interpretable
|
|
108
|
+
- **Stats command** gave immediate understanding of corpus size and complexity
|
|
109
|
+
|
|
110
|
+
### What Was Frustrating
|
|
111
|
+
|
|
112
|
+
- **No embeddings by default** - Every search reminded me to run `--embed` but I stayed with keyword search
|
|
113
|
+
- **10 result limit** on searches - Could not see full scope of matches without multiple queries
|
|
114
|
+
- **Boolean search required explicit operators** - Had to use "OR" not natural language
|
|
115
|
+
- **Context command truncation** - The 16% of feedback.md felt limiting for a summary
|
|
116
|
+
- **No way to exclude sections** - Could not say "give me everything EXCEPT this section"
|
|
117
|
+
|
|
118
|
+
### What Was Missing
|
|
119
|
+
|
|
120
|
+
- **Cross-file semantic search** - Would have been useful to find themes across all 3 files at once
|
|
121
|
+
- **Relevance ranking** - Results came in document order, not relevance order
|
|
122
|
+
- **Summary generation** - Would appreciate AI-generated summaries of search results
|
|
123
|
+
- **Export to structured format** - No easy way to extract findings programmatically
|
|
124
|
+
- **Highlight/annotation** - Cannot mark sections for later reference
|
|
125
|
+
|
|
126
|
+
### Confidence Level
|
|
127
|
+
|
|
128
|
+
[X] High - The tool gave me reliable, reproducible access to the content. Boolean searches and section targeting let me systematically explore 89K tokens of dense material.
|
|
129
|
+
|
|
130
|
+
### Would Use Again? (1-5)
|
|
131
|
+
|
|
132
|
+
**4** - Strong tool for navigating large markdown corpora. The section-targeting feature is genuinely valuable for long documents. Would score 5 if semantic search was enabled by default and result limits were configurable. The approach of "tree to understand structure, search to find content, context to extract" is a solid workflow.
|
|
133
|
+
|
|
134
|
+
## Time & Efficiency
|
|
135
|
+
|
|
136
|
+
- Commands run: 32
|
|
137
|
+
- Compared to reading all files: **Much less** - 89K tokens would take significant time to read raw. The tool allowed surgical extraction of relevant content in under 15 minutes of exploration.
|
|
138
|
+
|
|
139
|
+
## Additional Observations
|
|
140
|
+
|
|
141
|
+
### These are High-Quality Design Documents
|
|
142
|
+
|
|
143
|
+
The docs.llm/ folder contains what appears to be Claude-generated (or Claude-assisted) exploration of a complex product vision. The thinking is sophisticated, covering:
|
|
144
|
+
|
|
145
|
+
- Architectural patterns
|
|
146
|
+
- Organizational transformation
|
|
147
|
+
- Research frontiers
|
|
148
|
+
- Anti-patterns and guardrails
|
|
149
|
+
- Philosophy and design principles
|
|
150
|
+
|
|
151
|
+
### Feedback for the Product (HumanWork/Amorphic)
|
|
152
|
+
|
|
153
|
+
From the content I extracted, the documents themselves surface several self-reflective questions:
|
|
154
|
+
|
|
155
|
+
1. How to prevent "organizational capture" where systems optimize for self-perpetuation
|
|
156
|
+
2. How to maintain human agency while leveraging AI efficiency
|
|
157
|
+
3. How to ensure value alignment as systems become more autonomous
|
|
158
|
+
4. How to measure success in "hybrid organizations"
|
|
159
|
+
|
|
160
|
+
These open questions represent mature product thinking and should inform roadmap priorities.
|
|
161
|
+
|
|
162
|
+
### The "Memory Is All You Need" Parallel
|
|
163
|
+
|
|
164
|
+
The feedback.md document draws an explicit parallel between the Transformer "Attention Is All You Need" breakthrough and their proposed "Memory Is All You Need" architecture. This is a bold positioning that frames the product as a paradigm shift rather than incremental improvement.
|