Skip to content

Commit 638d16a

Browse files
keli-wenclaude
andauthored
docs(positioning): agent-native narrative — canonical positioning page, README restructure, contributor setup skill (#142)
## Summary Aligns the repository's narrative with the converged July 2026 positioning: QuantMind is an agent-native workbench for financial knowledge extraction, structured by two engineering dimensions — **context engineering** (any source → typed knowledge) and **harness engineering** (any agent → domain specialist). This PR lands the canonical positioning page, restructures the README around that story, and makes the README's agent-native contributing prompts real. ## Changes - **`contexts/design/positioning.md` (new)** — the single canonical positioning source: positioning and hero, the two dimensions, the bet, evaluation (design phase, no results claimed), the LLMQuant Data relationship, and the roadmap. The V1/V2 labels are documented as a poster-only contrast device; serious prose uses the dimension names. Registered in the design index and `CONTEXT_MAP.md`. Supersedes the April positioning spec. - **`README.md`** — workbench-first restructure: original slogan restored; Knowledge Engineering and The Vision sections with the two architecture figures; agent-path-first Quick Start with `PaperStructureCfg` / `PaperSemanticCfg` examples on one `PaperFlow`; a design-phase evaluation `[!NOTE]` referencing Anthropic's "Demystifying evals for AI agents"; LLMQuant Data production section with screenshot; direction-based roadmap; agent-native contributing prompts. Prose is unwrapped (no fixed-width hard wrapping). - **`AGENTS.md`** — positioning paragraph aligned to the dimension names and linked to the canonical page. - **`quantmind-dev` skill** — new `references/setup.md` (contributor setup and issue filing) with `SKILL.md` routing so the README prompts (`set me up as a contributor`, `file an issue`, `contribute a change`) resolve; mirrored byte-identically under `.agents/`. - **`contexts/dev/github-writing.md`** — the no-hard-wrap prose rule now also covers `README.md`. - **Assets** — the two architecture figures and the LLMQuant Data screenshot used by the README. This branch also carries two pending follow-up commits from `feat/harness-close-134-pr-title-and-boundary` (repo-root-relative cross-references in skills and contexts) that had no open PR of their own. ## Verification `bash scripts/verify.sh` green (ran in the pre-push hook); `tests/test_contexts.py` passes with the new page registered. README example symbols (`PaperFlow`, `PaperStructureCfg`, `PaperSemanticCfg`, `collect_news`, `batch_run`) verified against `quantmind/flows` and `quantmind/configs` exports on master after #140. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a061060 commit 638d16a

13 files changed

Lines changed: 330 additions & 146 deletions

File tree

.agents/skills/quantmind-dev/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: quantmind-dev
3-
description: Contributor workflow for the QuantMind codebase. Covers commit format, pull request format, and component development across quantmind/ modules (knowledge, configs, preprocess, rag, flows, mind, utils) with tests, examples, and verification. Use when committing, opening a PR, or implementing/refactoring QuantMind code.
3+
description: Contributor workflow for the QuantMind codebase. Covers contributor setup (environment + hooks), filing issues, commit format, pull request format, and component development across quantmind/ modules (knowledge, configs, preprocess, rag, flows, mind, utils) with tests, examples, and verification. Use when setting up as a contributor, filing an issue, committing, opening a PR, or implementing/refactoring QuantMind code.
44
---
55

66
# QuantMind Dev
@@ -24,6 +24,10 @@ Development workflow for contributing to the QuantMind codebase.
2424

2525
## Select Workflow
2626

27+
- Setting up as a contributor (environment, hooks, first verify) →
28+
`references/setup.md`
29+
- Filing an issue for a bug or a missing capability →
30+
`references/setup.md` ("File an Issue" section)
2731
- Committing staged work → `references/commit.md`
2832
- Opening or updating a pull request → `references/pull-request.md`
2933
- Implementing or refactoring anything under `quantmind/`
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Contributor Setup and Issue Filing
2+
3+
How to set a working copy up for contribution, and how to file an issue.
4+
Human-readable equivalent: root `CONTRIBUTING.md` (same steps, same order).
5+
6+
## Set Up as a Contributor
7+
8+
1. Get a working copy. External contributors fork on GitHub and clone the
9+
fork; maintainers branch directly off `master`:
10+
11+
```bash
12+
git clone https://github.com/<you>/quant-mind.git && cd quant-mind
13+
git checkout -b <type>/<short-topic> # e.g. feat/sec-collection
14+
```
15+
16+
2. Create the environment with [uv](https://github.com/astral-sh/uv):
17+
18+
```bash
19+
uv venv && source .venv/bin/activate
20+
uv pip install -e ".[dev]"
21+
```
22+
23+
3. Install the git hooks (pre-commit lint/format stage plus the pre-push
24+
verify stage):
25+
26+
```bash
27+
./scripts/pre-commit-setup.sh
28+
```
29+
30+
4. Confirm the checkout is green before changing anything:
31+
32+
```bash
33+
bash scripts/verify.sh
34+
```
35+
36+
Verify is the single deterministic gate — format, lint, types, import
37+
boundaries, tests with coverage. CI runs the exact same script, so a green
38+
local run means a green PR. If it fails on a fresh checkout, stop and report
39+
that instead of working around it.
40+
41+
5. Continue with the workflow references: `develop-components.md` before
42+
writing code, then `commit.md` and `pull-request.md`.
43+
44+
## File an Issue
45+
46+
1. Requires an authenticated GitHub CLI (`gh auth status`; if missing, ask the
47+
user to run `gh auth login` themselves).
48+
2. Pick the shape that matches the request:
49+
- Defect in existing behavior → `.github/ISSUE_TEMPLATE/bug_report.md`
50+
- Missing source, knowledge type, flow, or capability →
51+
`.github/ISSUE_TEMPLATE/feature_request.md`
52+
3. Write the body in English following `contexts/dev/github-writing.md`
53+
(no hard-wrapping), and apply labels per `contexts/dev/labels.md`.
54+
4. Search for duplicates first (`gh issue list --search "<keywords>"`), then:
55+
56+
```bash
57+
gh issue create --title "<imperative summary>" --body-file <tmpfile> \
58+
--label "<label>"
59+
```
60+
61+
5. If the need came out of work in progress, link the issue from the related
62+
branch or PR so the discussion has code context.
63+
64+
## Boundaries
65+
66+
- Setup here targets contributing to QuantMind itself. Library-only users can
67+
stop after `uv pip install -e .` and do not need hooks.
68+
- Do not file issues that encode product decisions as settled; state the need
69+
and let maintainer discussion pick the design (see SKILL.md Boundaries).

.claude/skills/quantmind-dev/SKILL.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: quantmind-dev
3-
description: Contributor workflow for the QuantMind codebase. Covers commit format, pull request format, and component development across quantmind/ modules (knowledge, configs, preprocess, rag, flows, mind, utils) with tests, examples, and verification. Use when committing, opening a PR, or implementing/refactoring QuantMind code.
3+
description: Contributor workflow for the QuantMind codebase. Covers contributor setup (environment + hooks), filing issues, commit format, pull request format, and component development across quantmind/ modules (knowledge, configs, preprocess, rag, flows, mind, utils) with tests, examples, and verification. Use when setting up as a contributor, filing an issue, committing, opening a PR, or implementing/refactoring QuantMind code.
44
---
55

66
# QuantMind Dev
@@ -24,6 +24,10 @@ Development workflow for contributing to the QuantMind codebase.
2424

2525
## Select Workflow
2626

27+
- Setting up as a contributor (environment, hooks, first verify) →
28+
`references/setup.md`
29+
- Filing an issue for a bug or a missing capability →
30+
`references/setup.md` ("File an Issue" section)
2731
- Committing staged work → `references/commit.md`
2832
- Opening or updating a pull request → `references/pull-request.md`
2933
- Implementing or refactoring anything under `quantmind/`
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Contributor Setup and Issue Filing
2+
3+
How to set a working copy up for contribution, and how to file an issue.
4+
Human-readable equivalent: root `CONTRIBUTING.md` (same steps, same order).
5+
6+
## Set Up as a Contributor
7+
8+
1. Get a working copy. External contributors fork on GitHub and clone the
9+
fork; maintainers branch directly off `master`:
10+
11+
```bash
12+
git clone https://github.com/<you>/quant-mind.git && cd quant-mind
13+
git checkout -b <type>/<short-topic> # e.g. feat/sec-collection
14+
```
15+
16+
2. Create the environment with [uv](https://github.com/astral-sh/uv):
17+
18+
```bash
19+
uv venv && source .venv/bin/activate
20+
uv pip install -e ".[dev]"
21+
```
22+
23+
3. Install the git hooks (pre-commit lint/format stage plus the pre-push
24+
verify stage):
25+
26+
```bash
27+
./scripts/pre-commit-setup.sh
28+
```
29+
30+
4. Confirm the checkout is green before changing anything:
31+
32+
```bash
33+
bash scripts/verify.sh
34+
```
35+
36+
Verify is the single deterministic gate — format, lint, types, import
37+
boundaries, tests with coverage. CI runs the exact same script, so a green
38+
local run means a green PR. If it fails on a fresh checkout, stop and report
39+
that instead of working around it.
40+
41+
5. Continue with the workflow references: `develop-components.md` before
42+
writing code, then `commit.md` and `pull-request.md`.
43+
44+
## File an Issue
45+
46+
1. Requires an authenticated GitHub CLI (`gh auth status`; if missing, ask the
47+
user to run `gh auth login` themselves).
48+
2. Pick the shape that matches the request:
49+
- Defect in existing behavior → `.github/ISSUE_TEMPLATE/bug_report.md`
50+
- Missing source, knowledge type, flow, or capability →
51+
`.github/ISSUE_TEMPLATE/feature_request.md`
52+
3. Write the body in English following `contexts/dev/github-writing.md`
53+
(no hard-wrapping), and apply labels per `contexts/dev/labels.md`.
54+
4. Search for duplicates first (`gh issue list --search "<keywords>"`), then:
55+
56+
```bash
57+
gh issue create --title "<imperative summary>" --body-file <tmpfile> \
58+
--label "<label>"
59+
```
60+
61+
5. If the need came out of work in progress, link the issue from the related
62+
branch or PR so the discussion has code context.
63+
64+
## Boundaries
65+
66+
- Setup here targets contributing to QuantMind itself. Library-only users can
67+
stop after `uv pip install -e .` and do not need hooks.
68+
- Do not file issues that encode product decisions as settled; state the need
69+
and let maintainer discussion pick the design (see SKILL.md Boundaries).

AGENTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ finance, built **on top of** the OpenAI Agents SDK. It is a domain library,
3030
not an agent framework: runtime, tracing, tool scaffolding, and multi-agent
3131
handoff all come from `openai-agents`.
3232

33+
## Positioning
34+
35+
QuantMind is an **agent-native workbench for financial knowledge extraction**
36+
its primary consumer is a coding agent working inside this checkout, not only a
37+
human importing a package (workbench-first, library-second). Two engineering
38+
dimensions structure it: **context engineering** (any source → typed, cited,
39+
as-of-correct knowledge) and **harness engineering** (any agent → domain
40+
specialist, via this repo's contracts, `contexts/`, skills, hooks, and
41+
deterministic verify).
42+
The canonical, always-current statement lives in
43+
[`contexts/design/positioning.md`](contexts/design/positioning.md).
44+
3345
## Module Map
3446

3547
| Module | Role |

0 commit comments

Comments
 (0)