nauro 0.1.0__tar.gz

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.
Files changed (66) hide show
  1. nauro-0.1.0/.gitignore +16 -0
  2. nauro-0.1.0/CLAUDE.md +100 -0
  3. nauro-0.1.0/LICENSE +200 -0
  4. nauro-0.1.0/PKG-INFO +166 -0
  5. nauro-0.1.0/PRIVACY.md +19 -0
  6. nauro-0.1.0/README.md +126 -0
  7. nauro-0.1.0/pyproject.toml +100 -0
  8. nauro-0.1.0/src/nauro/__init__.py +3 -0
  9. nauro-0.1.0/src/nauro/cli/__init__.py +1 -0
  10. nauro-0.1.0/src/nauro/cli/commands/__init__.py +1 -0
  11. nauro-0.1.0/src/nauro/cli/commands/auth.py +271 -0
  12. nauro-0.1.0/src/nauro/cli/commands/config.py +72 -0
  13. nauro-0.1.0/src/nauro/cli/commands/diff.py +84 -0
  14. nauro-0.1.0/src/nauro/cli/commands/extract.py +208 -0
  15. nauro-0.1.0/src/nauro/cli/commands/hook.py +103 -0
  16. nauro-0.1.0/src/nauro/cli/commands/import_cmd.py +349 -0
  17. nauro-0.1.0/src/nauro/cli/commands/init.py +86 -0
  18. nauro-0.1.0/src/nauro/cli/commands/log.py +116 -0
  19. nauro-0.1.0/src/nauro/cli/commands/note.py +59 -0
  20. nauro-0.1.0/src/nauro/cli/commands/serve.py +63 -0
  21. nauro-0.1.0/src/nauro/cli/commands/setup.py +169 -0
  22. nauro-0.1.0/src/nauro/cli/commands/status.py +129 -0
  23. nauro-0.1.0/src/nauro/cli/commands/sync.py +372 -0
  24. nauro-0.1.0/src/nauro/cli/commands/validate.py +29 -0
  25. nauro-0.1.0/src/nauro/cli/main.py +80 -0
  26. nauro-0.1.0/src/nauro/cli/utils.py +66 -0
  27. nauro-0.1.0/src/nauro/constants.py +100 -0
  28. nauro-0.1.0/src/nauro/demo/__init__.py +326 -0
  29. nauro-0.1.0/src/nauro/extraction/__init__.py +1 -0
  30. nauro-0.1.0/src/nauro/extraction/anthropic_provider.py +106 -0
  31. nauro-0.1.0/src/nauro/extraction/pipeline.py +380 -0
  32. nauro-0.1.0/src/nauro/extraction/prompts.py +374 -0
  33. nauro-0.1.0/src/nauro/extraction/providers.py +24 -0
  34. nauro-0.1.0/src/nauro/extraction/session_extractor.py +396 -0
  35. nauro-0.1.0/src/nauro/extraction/signal.py +103 -0
  36. nauro-0.1.0/src/nauro/extraction/types.py +45 -0
  37. nauro-0.1.0/src/nauro/mcp/__init__.py +1 -0
  38. nauro-0.1.0/src/nauro/mcp/payloads.py +23 -0
  39. nauro-0.1.0/src/nauro/mcp/server.py +368 -0
  40. nauro-0.1.0/src/nauro/mcp/stdio_server.py +279 -0
  41. nauro-0.1.0/src/nauro/mcp/tools.py +430 -0
  42. nauro-0.1.0/src/nauro/onboarding.py +50 -0
  43. nauro-0.1.0/src/nauro/py.typed +0 -0
  44. nauro-0.1.0/src/nauro/store/__init__.py +1 -0
  45. nauro-0.1.0/src/nauro/store/config.py +84 -0
  46. nauro-0.1.0/src/nauro/store/reader.py +494 -0
  47. nauro-0.1.0/src/nauro/store/registry.py +231 -0
  48. nauro-0.1.0/src/nauro/store/snapshot.py +267 -0
  49. nauro-0.1.0/src/nauro/store/validator.py +120 -0
  50. nauro-0.1.0/src/nauro/store/writer.py +332 -0
  51. nauro-0.1.0/src/nauro/sync/__init__.py +0 -0
  52. nauro-0.1.0/src/nauro/sync/config.py +79 -0
  53. nauro-0.1.0/src/nauro/sync/hooks.py +276 -0
  54. nauro-0.1.0/src/nauro/sync/merge.py +127 -0
  55. nauro-0.1.0/src/nauro/sync/remote.py +85 -0
  56. nauro-0.1.0/src/nauro/sync/state.py +101 -0
  57. nauro-0.1.0/src/nauro/templates/__init__.py +1 -0
  58. nauro-0.1.0/src/nauro/templates/agents_md.py +156 -0
  59. nauro-0.1.0/src/nauro/templates/scaffolds.py +165 -0
  60. nauro-0.1.0/src/nauro/validation/__init__.py +0 -0
  61. nauro-0.1.0/src/nauro/validation/log.py +36 -0
  62. nauro-0.1.0/src/nauro/validation/pending.py +36 -0
  63. nauro-0.1.0/src/nauro/validation/pipeline.py +306 -0
  64. nauro-0.1.0/src/nauro/validation/tier1.py +99 -0
  65. nauro-0.1.0/src/nauro/validation/tier2.py +82 -0
  66. nauro-0.1.0/src/nauro/validation/tier3.py +280 -0
nauro-0.1.0/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.egg-info/
4
+ dist/
5
+ build/
6
+ .venv/
7
+ .eggs/
8
+ *.egg
9
+ .pytest_cache/
10
+ .sync-state.json
11
+ .conflict-backup/
12
+ config.json
13
+ .env
14
+ .DS_Store
15
+ **/.DS_Store
16
+ .nauro/
nauro-0.1.0/CLAUDE.md ADDED
@@ -0,0 +1,100 @@
1
+ # CLAUDE.md — Nauro
2
+
3
+ Nauro is a local CLI + MCP server that maintains versioned project context for AI coding agents across repos and tools.
4
+
5
+ ## The one architectural fact that matters
6
+
7
+ The project store lives at `~/.nauro/projects/<project-name>/` — **not** inside any repo. This is the core design decision. A per-repo store would break cross-repo context, which is the problem Nauro exists to solve. The registry at `~/.nauro/registry.json` maps project names to one or more associated repo paths on the machine.
8
+
9
+ ```
10
+ ~/.nauro/
11
+ registry.json # maps project names → repo paths
12
+ projects/
13
+ <project-name>/
14
+ project.md # stable: goals, non-goals, users, constraints
15
+ state.md # volatile: current sprint, blockers, recent completions
16
+ stack.md # tech choices with rationale and rejected alternatives
17
+ open-questions.md # append-only unresolved threads
18
+ decisions/
19
+ 001-title.md # one file per decision, sequential, immutable
20
+ snapshots/
21
+ v001.json # full store capture at a point in time
22
+ ```
23
+
24
+ All files are freeform markdown. No database. No JSON for content — JSON only for `registry.json` and snapshots.
25
+
26
+ ## Stack
27
+
28
+ - CLI: Python 3.11+, Typer
29
+ - MCP server: FastAPI + uvicorn, local HTTP only
30
+ - Extraction: Anthropic SDK, Haiku, structured output via tool use
31
+ - Storage: flat markdown + JSON snapshots
32
+ - Templating: f-strings and Python string templates — no Jinja2
33
+
34
+ ## CLI commands
35
+
36
+ - `nauro init <name>` — register a new project in `~/.nauro/`, scaffold the store, associate repo paths
37
+ - `nauro note <text>` — append a decision (default) or question (if text ends with `?` or `--question` flag)
38
+ - `nauro sync` — capture a snapshot, regenerate `AGENTS.md` in all associated repos
39
+ - `nauro log` — list recent snapshots with metadata
40
+ - `nauro diff [version]` — semantic diff between snapshots
41
+ - `nauro extract` — manually run extraction on the latest git commit
42
+ - `nauro hook install/uninstall` — manage the post-commit git hook
43
+ - `nauro serve` — start the MCP server on localhost:7432
44
+ - `nauro import --memory-bank <path>` — migrate a Cline/Roo Code Memory Bank
45
+ - `nauro import --adr <path>` — migrate Architecture Decision Records
46
+
47
+ ## MCP tools (11 total — 7 read, 4 write)
48
+
49
+ Read:
50
+ - `get_context(project, level)` — L0 concise summary, L1 working set, L2 full dump
51
+ - `get_raw_file(project, path)` — raw content of any store file
52
+ - `list_decisions(project, limit, include_superseded)` — browse decision history
53
+ - `get_decision(project, number)` — full content of a specific decision
54
+ - `diff_since_last_session(project, days)` — what changed since last session
55
+ - `search_decisions(project, query, limit)` — keyword search across decisions
56
+ - `check_decision(proposed_approach)` — check for conflicts without writing
57
+
58
+ Write:
59
+ - `propose_decision(project, title, rationale, ...)` — propose a decision for validation
60
+ - `confirm_decision(confirm_id)` — confirm a validated decision
61
+ - `flag_question(project, question, context)` — flag an open question
62
+ - `update_state(project, delta)` — report what was completed
63
+
64
+ ## AGENTS.md
65
+
66
+ Generated by `nauro sync` into each associated repo root. Contains the L0 payload plus MCP connection instructions. Never hand-edited — a `# Manual` section at the bottom is preserved across regenerations. This is the cross-tool distribution layer for tools without MCP support.
67
+
68
+ ## Conventions
69
+
70
+ - No Jinja2 — f-strings and string templates only
71
+ - All store reads/writes go through `src/nauro/store/` (reader, writer, snapshot, registry)
72
+ - Tests: pytest with `tmp_path` fixture to avoid touching real `~/.nauro/`
73
+ - Linting: ruff
74
+ - `NAURO_HOME` env var overrides `~/.nauro/` for testing
75
+ - Git hook runs `nauro extract` as a post-commit side effect — must never block or crash
76
+
77
+ ## Project layout
78
+
79
+ ```
80
+ src/nauro/
81
+ cli/
82
+ main.py # Typer app entry point
83
+ commands/ # one module per command
84
+ mcp/
85
+ server.py # FastAPI MCP server
86
+ payloads.py # L0/L1/L2 payload builders
87
+ extraction/
88
+ pipeline.py # LLM extraction from commits/sessions
89
+ prompts.py # extraction prompt templates
90
+ store/
91
+ registry.py # ~/.nauro/registry.json CRUD + resolve_project()
92
+ reader.py # read from project store
93
+ writer.py # write decisions, questions, state
94
+ snapshot.py # capture, list, load snapshots
95
+ templates/
96
+ scaffolds.py # nauro init template strings
97
+ agents_md.py # AGENTS.md generation
98
+ tests/
99
+ fixtures/ # pre-scaffolded stores, extraction test cases
100
+ ```
nauro-0.1.0/LICENSE ADDED
@@ -0,0 +1,200 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to the Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by the Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding any notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. Please also get an
186
+ information on the appropriate comment syntax.
187
+
188
+ Copyright 2026 Nauro AI
189
+
190
+ Licensed under the Apache License, Version 2.0 (the "License");
191
+ you may not use this file except in compliance with the License.
192
+ You may obtain a copy of the License at
193
+
194
+ http://www.apache.org/licenses/LICENSE-2.0
195
+
196
+ Unless required by applicable law or agreed to in writing, software
197
+ distributed under the License is distributed on an "AS IS" BASIS,
198
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
199
+ See the License for the specific language governing permissions and
200
+ limitations under the License.
nauro-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,166 @@
1
+ Metadata-Version: 2.4
2
+ Name: nauro
3
+ Version: 0.1.0
4
+ Summary: Local CLI + MCP server that maintains versioned project context for AI coding agents.
5
+ Project-URL: Homepage, https://github.com/nauro-ai/nauro
6
+ Project-URL: Repository, https://github.com/nauro-ai/nauro
7
+ Project-URL: Issues, https://github.com/nauro-ai/nauro/issues
8
+ Author: Thomas Thomsen
9
+ License-Expression: Apache-2.0
10
+ License-File: LICENSE
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: >=3.11
17
+ Requires-Dist: boto3>=1.28
18
+ Requires-Dist: fastapi>=0.100
19
+ Requires-Dist: filelock>=3.0
20
+ Requires-Dist: httpx>=0.24
21
+ Requires-Dist: mcp>=1.0
22
+ Requires-Dist: nauro-core>=0.1.0
23
+ Requires-Dist: typer>=0.9
24
+ Requires-Dist: uvicorn>=0.23
25
+ Provides-Extra: all
26
+ Requires-Dist: anthropic>=0.18; extra == 'all'
27
+ Requires-Dist: openai>=1.0; extra == 'all'
28
+ Provides-Extra: dev
29
+ Requires-Dist: anthropic>=0.18; extra == 'dev'
30
+ Requires-Dist: mypy>=1.0; extra == 'dev'
31
+ Requires-Dist: openai>=1.0; extra == 'dev'
32
+ Requires-Dist: pytest-asyncio>=0.21; extra == 'dev'
33
+ Requires-Dist: pytest>=7.0; extra == 'dev'
34
+ Requires-Dist: ruff>=0.1; extra == 'dev'
35
+ Provides-Extra: extraction
36
+ Requires-Dist: anthropic>=0.18; extra == 'extraction'
37
+ Provides-Extra: validation
38
+ Requires-Dist: openai>=1.0; extra == 'validation'
39
+ Description-Content-Type: text/markdown
40
+
41
+ # Nauro
42
+
43
+ Persistent project context for AI coding agents.
44
+
45
+ Nauro maintains versioned project context (decisions, state, open questions) and delivers it to Claude, Perplexity, ChatGPT, Cursor, and any MCP client. Think `git log` for *why* your project is the way it is.
46
+
47
+ ## Install
48
+
49
+ ```bash
50
+ pipx install nauro
51
+ ```
52
+
53
+ Or with pip:
54
+
55
+ ```bash
56
+ pip install nauro
57
+ ```
58
+
59
+ Requires Python 3.11+.
60
+
61
+ ## Quickstart
62
+
63
+ ### Try the demo locally (1 minute)
64
+
65
+ ```bash
66
+ nauro init --demo
67
+ nauro setup claude-code
68
+ ```
69
+
70
+ Open Claude Code and ask:
71
+
72
+ > "What did we decide about the database?"
73
+
74
+ The demo creates a sample project with three decisions, project state, and open questions. No account needed.
75
+
76
+ ### Try it across surfaces (2 minutes)
77
+
78
+ To access the same project context from Claude AI, Perplexity, or ChatGPT:
79
+
80
+ ```bash
81
+ nauro auth login
82
+ nauro sync
83
+ ```
84
+
85
+ Then add `mcp.nauro.ai` as a remote MCP connector in your tool's settings. Ask the same question — same answers, different surface.
86
+
87
+ ### Use with your project
88
+
89
+ ```bash
90
+ # Register your project
91
+ nauro init my-project
92
+
93
+ # Log a decision directly
94
+ nauro note "Chose Postgres over MongoDB for ACID compliance"
95
+
96
+ # Set your Anthropic API key to auto-extract decisions from commits
97
+ nauro config set api_key sk-ant-...
98
+ nauro extract
99
+ ```
100
+
101
+ ## Why Nauro?
102
+
103
+ | Approach | Cross-tool | Extracted from commits | Versioned | Format |
104
+ |---|---|---|---|---|
105
+ | **Nauro** | All MCP clients | Yes (via Haiku) | Snapshots + diffs | Portable markdown |
106
+ | AGENTS.md (manual) | Tools with repo access | No | Git history only | Markdown |
107
+ | Cursor Rules | Cursor only | No | No | Proprietary |
108
+ | Claude Memory | Claude only | Partial | No | Proprietary |
109
+
110
+ `check_decision` catches when a new approach conflicts with a past decision, across any connected surface.
111
+
112
+ ## How it works
113
+
114
+ A Python CLI extracts decisions from your git history using Haiku, stores them as flat markdown in `~/.nauro/projects/`, and validates new decisions against existing ones (structural screening, embedding similarity, LLM evaluation). An MCP server delivers context to any connected AI tool. Cloud sync keeps everything in sync via S3.
115
+
116
+ ```
117
+ ~/.nauro/projects/<n>/
118
+ project.md # goals, constraints
119
+ state.md # current focus, blockers
120
+ decisions/ # one markdown file per decision
121
+ open-questions.md # unresolved threads
122
+ snapshots/ # versioned store captures
123
+ ```
124
+
125
+ All content is plain markdown. No database, no proprietary format.
126
+
127
+ ## MCP tools
128
+
129
+ 11 tools (7 read, 4 write) exposed to any connected MCP client:
130
+
131
+ **Read:**
132
+ - `get_context` — project summary at three detail levels (L0/L1/L2)
133
+ - `list_decisions` — browse the full decision history
134
+ - `get_decision` — full content of a specific decision by number
135
+ - `search_decisions` — keyword search across decision titles and rationale
136
+ - `get_raw_file` — raw markdown content of any store file
137
+ - `diff_since_last_session` — what changed since your last session (or N days ago)
138
+ - `check_decision` — check a proposed approach for conflicts without writing
139
+
140
+ **Write:**
141
+ - `propose_decision` / `confirm_decision` — write decisions with conflict validation
142
+ - `flag_question` — flag an unresolved question
143
+ - `update_state` — report progress
144
+
145
+ ## Your data
146
+
147
+ **Local extraction (free tier):** Code diffs go directly from your machine to your Anthropic API key. Nauro is never in the data path.
148
+
149
+ **Cloud sync:** Project context (decisions, state, open questions — not source code) is stored encrypted in AWS S3 (SSE-S3). Each user's data is isolated under a unique prefix.
150
+
151
+ **Remote MCP:** When connected, your project context is read from S3 and delivered to the AI tool. The AI tool's own data policies apply after delivery.
152
+
153
+ ## Pricing
154
+
155
+ Free tier: unlimited local usage + 100 remote MCP calls/month. Pro ($9/mo) adds unlimited remote MCP and hosted extraction.
156
+
157
+ ## Contributing
158
+
159
+ Contributions welcome. See the project structure in [CLAUDE.md](CLAUDE.md) for architecture context.
160
+
161
+ ```bash
162
+ pip install -e ".[dev]"
163
+ pytest tests/ -x -q -m "not integration"
164
+ ```
165
+
166
+ 870+ tests across [nauro](https://github.com/nauro-ai/nauro), [nauro-core](https://github.com/nauro-ai/nauro-core), and [mcp-server](https://github.com/nauro-ai/mcp-server). Apache 2.0 license.
nauro-0.1.0/PRIVACY.md ADDED
@@ -0,0 +1,19 @@
1
+ # Nauro Privacy & Data Paths
2
+
3
+ Last updated: 2026-03-30
4
+
5
+ ## Local extraction (free tier, BYOK)
6
+
7
+ Your code diffs go directly from your machine to your configured LLM provider (Anthropic API). Nauro's servers are never in the data path. The API key is stored locally at `~/.nauro/config.json` with owner-only file permissions (0o600).
8
+
9
+ ## Hosted extraction (future Pro tier)
10
+
11
+ Code diffs transit a Nauro Lambda function and are sent to Anthropic's API for extraction. Diffs are not stored. Anthropic's data retention policies apply to API calls.
12
+
13
+ ## Cloud sync
14
+
15
+ Project context (decisions, state, open questions — not source code) is stored encrypted in AWS S3 (us-east-1, SSE-S3). Each user's data is isolated under a unique prefix derived from their authentication identity. You can delete all your data at any time with `nauro account delete`.
16
+
17
+ ## Remote MCP
18
+
19
+ When connected to Claude AI, Perplexity, ChatGPT, or another MCP client, your project context is read from S3 and delivered to the AI tool. The AI tool's own data handling policies apply to how it processes the response. Nauro does not control or monitor what the AI tool does with the context after delivery.
nauro-0.1.0/README.md ADDED
@@ -0,0 +1,126 @@
1
+ # Nauro
2
+
3
+ Persistent project context for AI coding agents.
4
+
5
+ Nauro maintains versioned project context (decisions, state, open questions) and delivers it to Claude, Perplexity, ChatGPT, Cursor, and any MCP client. Think `git log` for *why* your project is the way it is.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pipx install nauro
11
+ ```
12
+
13
+ Or with pip:
14
+
15
+ ```bash
16
+ pip install nauro
17
+ ```
18
+
19
+ Requires Python 3.11+.
20
+
21
+ ## Quickstart
22
+
23
+ ### Try the demo locally (1 minute)
24
+
25
+ ```bash
26
+ nauro init --demo
27
+ nauro setup claude-code
28
+ ```
29
+
30
+ Open Claude Code and ask:
31
+
32
+ > "What did we decide about the database?"
33
+
34
+ The demo creates a sample project with three decisions, project state, and open questions. No account needed.
35
+
36
+ ### Try it across surfaces (2 minutes)
37
+
38
+ To access the same project context from Claude AI, Perplexity, or ChatGPT:
39
+
40
+ ```bash
41
+ nauro auth login
42
+ nauro sync
43
+ ```
44
+
45
+ Then add `mcp.nauro.ai` as a remote MCP connector in your tool's settings. Ask the same question — same answers, different surface.
46
+
47
+ ### Use with your project
48
+
49
+ ```bash
50
+ # Register your project
51
+ nauro init my-project
52
+
53
+ # Log a decision directly
54
+ nauro note "Chose Postgres over MongoDB for ACID compliance"
55
+
56
+ # Set your Anthropic API key to auto-extract decisions from commits
57
+ nauro config set api_key sk-ant-...
58
+ nauro extract
59
+ ```
60
+
61
+ ## Why Nauro?
62
+
63
+ | Approach | Cross-tool | Extracted from commits | Versioned | Format |
64
+ |---|---|---|---|---|
65
+ | **Nauro** | All MCP clients | Yes (via Haiku) | Snapshots + diffs | Portable markdown |
66
+ | AGENTS.md (manual) | Tools with repo access | No | Git history only | Markdown |
67
+ | Cursor Rules | Cursor only | No | No | Proprietary |
68
+ | Claude Memory | Claude only | Partial | No | Proprietary |
69
+
70
+ `check_decision` catches when a new approach conflicts with a past decision, across any connected surface.
71
+
72
+ ## How it works
73
+
74
+ A Python CLI extracts decisions from your git history using Haiku, stores them as flat markdown in `~/.nauro/projects/`, and validates new decisions against existing ones (structural screening, embedding similarity, LLM evaluation). An MCP server delivers context to any connected AI tool. Cloud sync keeps everything in sync via S3.
75
+
76
+ ```
77
+ ~/.nauro/projects/<n>/
78
+ project.md # goals, constraints
79
+ state.md # current focus, blockers
80
+ decisions/ # one markdown file per decision
81
+ open-questions.md # unresolved threads
82
+ snapshots/ # versioned store captures
83
+ ```
84
+
85
+ All content is plain markdown. No database, no proprietary format.
86
+
87
+ ## MCP tools
88
+
89
+ 11 tools (7 read, 4 write) exposed to any connected MCP client:
90
+
91
+ **Read:**
92
+ - `get_context` — project summary at three detail levels (L0/L1/L2)
93
+ - `list_decisions` — browse the full decision history
94
+ - `get_decision` — full content of a specific decision by number
95
+ - `search_decisions` — keyword search across decision titles and rationale
96
+ - `get_raw_file` — raw markdown content of any store file
97
+ - `diff_since_last_session` — what changed since your last session (or N days ago)
98
+ - `check_decision` — check a proposed approach for conflicts without writing
99
+
100
+ **Write:**
101
+ - `propose_decision` / `confirm_decision` — write decisions with conflict validation
102
+ - `flag_question` — flag an unresolved question
103
+ - `update_state` — report progress
104
+
105
+ ## Your data
106
+
107
+ **Local extraction (free tier):** Code diffs go directly from your machine to your Anthropic API key. Nauro is never in the data path.
108
+
109
+ **Cloud sync:** Project context (decisions, state, open questions — not source code) is stored encrypted in AWS S3 (SSE-S3). Each user's data is isolated under a unique prefix.
110
+
111
+ **Remote MCP:** When connected, your project context is read from S3 and delivered to the AI tool. The AI tool's own data policies apply after delivery.
112
+
113
+ ## Pricing
114
+
115
+ Free tier: unlimited local usage + 100 remote MCP calls/month. Pro ($9/mo) adds unlimited remote MCP and hosted extraction.
116
+
117
+ ## Contributing
118
+
119
+ Contributions welcome. See the project structure in [CLAUDE.md](CLAUDE.md) for architecture context.
120
+
121
+ ```bash
122
+ pip install -e ".[dev]"
123
+ pytest tests/ -x -q -m "not integration"
124
+ ```
125
+
126
+ 870+ tests across [nauro](https://github.com/nauro-ai/nauro), [nauro-core](https://github.com/nauro-ai/nauro-core), and [mcp-server](https://github.com/nauro-ai/mcp-server). Apache 2.0 license.