aipm-pm 0.3.11__py3-none-any.whl

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.
@@ -0,0 +1,347 @@
1
+ Metadata-Version: 2.5
2
+ Name: aipm-pm
3
+ Version: 0.3.11
4
+ Summary: AI Project Memory — local-first, Git-backed context for project work, knowledge, and handoffs.
5
+ Author-email: Rui Kong <rui.kong@gmail.com>
6
+ License: Apache-2.0
7
+ License-File: LICENSE
8
+ Requires-Python: >=3.10
9
+ Requires-Dist: click>=8.1.0
10
+ Requires-Dist: pydantic>=2.0.0
11
+ Requires-Dist: rich>=13.0.0
12
+ Requires-Dist: tomli>=2.0.0; python_version < '3.11'
13
+ Provides-Extra: dev
14
+ Requires-Dist: bandit>=1.7.0; extra == 'dev'
15
+ Requires-Dist: black>=23.0.0; extra == 'dev'
16
+ Requires-Dist: build>=1.0.3; extra == 'dev'
17
+ Requires-Dist: bump2version>=1.0.1; extra == 'dev'
18
+ Requires-Dist: hatchling>=1.21.0; extra == 'dev'
19
+ Requires-Dist: mypy>=1.0.0; extra == 'dev'
20
+ Requires-Dist: pip-audit>=2.0.0; extra == 'dev'
21
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
22
+ Requires-Dist: pytest>=7.0.0; extra == 'dev'
23
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
24
+ Requires-Dist: twine>=4.0.2; extra == 'dev'
25
+ Provides-Extra: mcp
26
+ Requires-Dist: mcp>=1.0.0; extra == 'mcp'
27
+ Description-Content-Type: text/markdown
28
+
29
+ # aipm — AI Project Memory
30
+
31
+ Local-first project knowledge and handoff for AI-assisted engineering, product, testing, and research.
32
+
33
+ Works with any AI tool — Claude, Cursor, Codex, and others — without a bundled skill, plugin, or cloud account.
34
+
35
+ > **Install via pip or pipx:** `pip install aipm-pm` or `pipx install aipm-pm`
36
+
37
+ ---
38
+
39
+ ## Why aipm?
40
+
41
+ When a developer starts a new AI session, the tax begins: gather the PRD, find the
42
+ ticket, locate the relevant decisions, then re-explain it all to an AI that has never
43
+ seen the project. The **AI interaction tax** — repeated context reconstruction,
44
+ fragile handoffs, duplicated research — compounds across every session, role change,
45
+ and tool switch.
46
+
47
+ `aipm` stores that context once and makes it readable by any AI tool in seconds:
48
+
49
+ - **Low-tax resume** — `aipm resume --brief` reconstructs project and task context from local memory, reducing repeated explanation
50
+ - **Knowledge base that grows from real work** — `aipm distill` captures a finding in one command after every task; `docs/` becomes a searchable, provenance-tagged knowledge base as a byproduct of doing the work, not a documentation sprint
51
+ - **Searchable and OKF-compliant** — every distilled entry carries claim, confidence, source, and creation date; `aipm search` finds relevant prior knowledge instantly; `aipm docs` shows OKF compliance and stale entries at a glance
52
+ - **Handoffs that hold** — structured task context survives role changes, team rotations, and context-window resets
53
+ - **Individual-first, team-scale** — one developer gains value today; shared memories scale to team handoffs and cross-project reuse without a rollout plan
54
+ - **No infrastructure** — Markdown in your repo, versioned with your code; no server, no cloud account, no plugin
55
+
56
+ ---
57
+
58
+ ## Quick start
59
+
60
+ ```bash
61
+ # 1. Get the source release
62
+ git clone https://github.com/eBay/aipm.git
63
+ cd aipm
64
+
65
+ # PyPI publication is pending; install the CLI from source for now
66
+ python -m venv .venv
67
+ source .venv/bin/activate
68
+ pip install -e ".[dev]"
69
+
70
+ # 2. Initialize a project memory in your working directory
71
+ mkdir -p ../my-project
72
+ cd ../my-project
73
+ aipm init -n my-project -d "what this project does"
74
+
75
+ # Optional: print a reviewable onboarding helper for a new directory
76
+ aipm guide --script
77
+
78
+ # 3. Start your first task
79
+ aipm task create auth-refactor -g "Migrate auth middleware to JWT"
80
+ # → hint: aipm search "auth-refactor" to find prior knowledge in docs/
81
+
82
+ # 4. Search before doing work — grow knowledge in docs/ if nothing found
83
+ aipm search "JWT auth"
84
+ # (no results) → aipm task create research-jwt -g "research JWT auth" to grow knowledge in docs/
85
+
86
+ # 5. Check project status at any time
87
+ aipm status --brief
88
+
89
+ # 6. Resume after any break — paste this into a fresh AI session
90
+ aipm resume --brief
91
+
92
+ # 7. Close the task when done
93
+ aipm task close -s "JWT migration complete, all tests green"
94
+ # → hint: aipm distill "..."
95
+
96
+ # 8. Capture a durable finding (source auto-resolves from active task)
97
+ aipm distill "JWT expiry must stay under 24h for compliance" --confidence high
98
+
99
+ # 9. Check knowledge-base health
100
+ aipm docs
101
+ ```
102
+
103
+ For the complete walkthrough, see
104
+ [docs/04-operations/01-getting-started.md](docs/04-operations/01-getting-started.md).
105
+
106
+ ---
107
+
108
+ ## Key concepts
109
+
110
+ | Concept | What it is |
111
+ |---------|-----------|
112
+ | **Project root** | Any directory with `AGENTS.md` and `tasks/` — aipm walks up from cwd to find it |
113
+ | **Task** | A Markdown README in `tasks/TASK-NNN-slug/` tracking goal, status, next steps, and open questions |
114
+ | **Distill** | Captures a finding, decision, or constraint into `docs/` with OKF provenance metadata |
115
+ | **Resume** | One-command session start: project orientation + active task + optional role guidance |
116
+ | **Handoff** | Structured prompt for passing a task to another agent or role |
117
+ | **Guide** | Describes the aipm integration contract to any AI tool without client-specific configuration |
118
+
119
+ Task status flow: `open` → `done`
120
+
121
+ One task per context window — the discipline that keeps sessions focused.
122
+
123
+ ---
124
+
125
+ ## AI tool integration
126
+
127
+ `aipm init` generates an `AGENTS.md` at your project root. Commit it — AI tools pick it up automatically.
128
+
129
+ **Session-start ritual** (already in the generated `AGENTS.md`):
130
+
131
+ ```
132
+ Begin every AI session with:
133
+ aipm resume --brief # one command: project + active task + next step
134
+ ```
135
+
136
+ **Onboard any AI tool in seconds:**
137
+
138
+ ```bash
139
+ aipm guide # full integration contract (≤60 lines, no ANSI)
140
+ aipm guide --brief # condensed (≤25 lines)
141
+ ```
142
+
143
+ No client-specific skill file or configuration is required. The stable integration contract is the CLI, `AGENTS.md`, and portable Markdown documentation.
144
+
145
+ ### What a real AI-assisted session looks like
146
+
147
+ The project-memory directory is the AI tool's working context. Start the AI tool from
148
+ that directory so it can read `AGENTS.md`, `PROJECT.md`, `tasks/`, and `docs/`:
149
+
150
+ ```bash
151
+ cd my-project-memory
152
+
153
+ # Start any AI tool from here. Examples include Claude Code, Codex, Cursor, or another CLI.
154
+ claude # example only; aipm does not require Claude
155
+ ```
156
+
157
+ Then give the AI tool this simple instruction:
158
+
159
+ ```text
160
+ Learn this project's workflow from aipm guide, then orient yourself with aipm resume --brief.
161
+ Do not write code until you understand the active task, its goal, repository scope, and next action.
162
+ Continue the active task and preserve important findings with aipm checkpoint or aipm distill.
163
+ ```
164
+
165
+ The AI tool can run the commands itself. A typical beginning looks like:
166
+
167
+ ```text
168
+ AI: I will read the aipm workflow and current project context.
169
+ AI: Running aipm guide --brief
170
+ AI: Running aipm resume --brief
171
+ AI: The active task is TASK-012. Its goal is ..., the relevant repositories are ..., and the next action is ...
172
+ AI: I found prior context with aipm search "...". I will continue with the next action.
173
+ ```
174
+
175
+ The checkpoint is normally performed by the AI tool, after you ask it to preserve the current
176
+ state—not by a hidden background service. For example:
177
+
178
+ ```text
179
+ You: The context is getting full. Save the current progress before we continue.
180
+
181
+ AI: I will persist the current state for the next session.
182
+ AI: Running:
183
+ aipm checkpoint --note "Implemented the parser; tests pass; next validate staging behavior"
184
+ AI: Checkpointed tasks/TASK-012-parser/README.md
185
+ ```
186
+
187
+ The command and its result appear in the AI tool's terminal or command transcript. If the AI tool
188
+ does not run commands automatically, you can run the same command yourself in a terminal.
189
+
190
+ After the context window is cleared or the session ends, start a fresh AI session in the same
191
+ project-memory directory. Ask the new session to resume:
192
+
193
+ ```text
194
+ You: Resume this project-memory and continue the active task.
195
+
196
+ AI: Running:
197
+ aipm resume --brief
198
+ AI: The active task is TASK-012. The last checkpoint says the parser is implemented and tests pass.
199
+ The next action is to validate staging behavior.
200
+ ```
201
+
202
+ The new session reconstructs the durable project and task context from local Markdown and Git
203
+ history. No Claude-specific memory, MCP server, plugin, or bundled skill is required.
204
+
205
+ ---
206
+
207
+ ## Commands
208
+
209
+ ### Core lifecycle
210
+
211
+ | Command | Purpose |
212
+ |---------|---------|
213
+ | `aipm init -n <name> -d <desc>` | Create project-memory structure in cwd |
214
+ | `aipm status [--brief] [--json]` | Project orientation: name, active task, next action |
215
+ | `aipm task create <slug> -g "<goal>"` | Start a new task |
216
+ | `aipm task context [--brief] [--json]` | Active task: goal, status, next steps, open questions |
217
+ | `aipm task checkpoint [--note N] [--context C]` | Persist session context mid-task |
218
+ | `aipm checkpoint [--note N] [--context C]` | Short alias before a context reset |
219
+ | `aipm resume [--role R] [--brief]` | Session start: status + task context in one command |
220
+ | `aipm guide [--role R] [--brief]` | AI tool onboarding: integration contract |
221
+ | `aipm distill "<claim>" --confidence H/M/L -s "<source>"` | Capture a finding into `docs/` |
222
+ | `aipm task handoff [--role R]` | Generate structured handoff prompt |
223
+ | `aipm task prompt [--role R] [--brief]` | Generate role-scoped task prompt |
224
+ | `aipm task close [-s "<outcome>"]` | Close the active task (ID optional) |
225
+ | `aipm search <query> [--scope S]` | Search docs, tasks, repos, and knowledge |
226
+ | `aipm search <query> --json` | Emit searchable evidence for AI/tool integration |
227
+ | `aipm decision create <slug> --title "<title>"` | Scaffold a timestamped decision in `docs/02-decisions/` |
228
+ | `aipm docs` | Show knowledge-base OKF health: compliance and staleness |
229
+ | `aipm check` | Check project-memory conformance |
230
+
231
+ **Scopes** (`--scope`): `docs` `tasks` `repos` `knowledge` `fleet` `log` `all` (default)
232
+
233
+ **Roles** (`--role`): `developer`, `tester`, `pm`, `researcher`
234
+
235
+ `aipm guide --script` prints a reviewable POSIX-shell helper that checks the CLI,
236
+ asks for project identity when needed, initializes the project-memory, and resumes
237
+ the current task. An AI tool may copy or adapt this protocol; no client-specific
238
+ skill is installed or required.
239
+
240
+ ### Release A — Trustworthy core
241
+
242
+ The first roadmap release makes local project state more dependable before adding broader
243
+ automation. Active-task commands use the newest open task number consistently across status,
244
+ resume, and task context. Task context includes the registered repository scope. `aipm check`
245
+ also validates that `repos.txt`, the central repository cache, and project links agree; this is
246
+ reported as conformance check `C-10`.
247
+
248
+ ---
249
+
250
+ ## Install
251
+
252
+ ### System dependency: ripgrep (optional but recommended)
253
+
254
+ `aipm search` uses [ripgrep](https://github.com/BurntSushi/ripgrep) (`rg`) when available — it is
255
+ significantly faster on large repos. If `rg` is not installed, `aipm search` falls back to a
256
+ pure-Python implementation automatically. No feature is gated on `rg`.
257
+
258
+ ```bash
259
+ brew install ripgrep # macOS
260
+ apt-get install ripgrep # Debian/Ubuntu
261
+ winget install BurntSushi.ripgrep # Windows
262
+ ```
263
+
264
+ ### With pipx (recommended)
265
+
266
+ `pipx` installs `aipm` into its own isolated environment and puts it on your PATH.
267
+
268
+ ```bash
269
+ # First install
270
+ pipx install aipm-pm
271
+
272
+ # Upgrade an existing install
273
+ pipx upgrade aipm
274
+ ```
275
+
276
+ ### With pip
277
+
278
+ ```bash
279
+ pip install aipm-pm
280
+ ```
281
+
282
+ ### From source — editable install
283
+
284
+ ```bash
285
+ git clone https://github.com/eBay/aipm.git
286
+ cd aipm
287
+
288
+ python -m venv .venv
289
+ source .venv/bin/activate # Windows: .venv\Scripts\activate
290
+ pip install -e ".[dev]"
291
+
292
+ aipm --version
293
+ ```
294
+
295
+ To pull the latest changes later:
296
+
297
+ ```bash
298
+ cd aipm
299
+ git pull
300
+ # no reinstall needed — editable install picks up changes automatically
301
+ ```
302
+
303
+ ---
304
+
305
+ ## Development
306
+
307
+ ### Setup with uv
308
+
309
+ ```bash
310
+ uv venv
311
+ uv pip install -e ".[dev]"
312
+
313
+ .venv/bin/pytest -v # run tests
314
+ .venv/bin/black . # format
315
+ .venv/bin/mypy aipm_project_memory # type check
316
+ .venv/bin/ruff check . # lint
317
+ python -m build # sdist + wheel → dist/
318
+ ```
319
+
320
+ ### Release workflow
321
+
322
+ Run from a clean `main` branch after tests pass.
323
+
324
+ ```bash
325
+ git checkout main && git pull --ff-only
326
+ .venv/bin/pytest -q
327
+
328
+ bump2version patch # or minor / major
329
+
330
+ python -m build
331
+ twine check dist/*
332
+ twine upload dist/*
333
+ ```
334
+
335
+ ### Smoke-test the CLI
336
+
337
+ ```bash
338
+ .venv/bin/aipm --version
339
+ .venv/bin/aipm --help
340
+
341
+ TMPDIR=$(mktemp -d) && cd "$TMPDIR"
342
+ .venv/bin/aipm init -n "test-project" -d "smoke test"
343
+ ls -la # AGENTS.md, PROJECT.md, docs/, tasks/
344
+ cd -
345
+ ```
346
+
347
+ ---
@@ -0,0 +1,33 @@
1
+ aipm_project_memory/__init__.py,sha256=VWDqzCOo1K3HYyp07VNU3GtKY2bO7b2YM3WfKqZG29g,109
2
+ aipm_project_memory/compat.py,sha256=Qpkzz92vhRrFMAHlo4nq7rS9zVyLoyFByZI1PzIxhjQ,194
3
+ aipm_project_memory/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ aipm_project_memory/cli/cli.py,sha256=U73Zk7VJOHpfywfyDKZP-1qPop4gQYYFLPfTr6Oxf0s,37561
5
+ aipm_project_memory/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aipm_project_memory/core/catalog.py,sha256=kf66gN7ouG3fxKyTIGIlFZconiCcM2cAD2MPP0HHzUE,5064
7
+ aipm_project_memory/core/config.py,sha256=6PlPGn7MQqoxZXTQPuiIvsfT-FwFu3uPFMhI3yQ1Glc,1965
8
+ aipm_project_memory/core/decisions.py,sha256=HGgWk0Ey6IWFGV05I3gQvO05gYFSTFjAX6VoKUvoBas,1475
9
+ aipm_project_memory/core/distill.py,sha256=A5yRKo6n6r_REkOXIGarvdW9UcSZNg4BAED9vFK_hRQ,2152
10
+ aipm_project_memory/core/docs.py,sha256=G_DfsWGEmAjrlnQGh1v6JNUYrcaXKhwXq02EDPWOumk,4730
11
+ aipm_project_memory/core/dogfood.py,sha256=k7iPMarxzZhr2HvrVW9is2l2MyULefnRmW9DsCQg0Bs,14952
12
+ aipm_project_memory/core/fleet.py,sha256=U8CpV4AzHneb-rhAf-6fruoB7qpsLWrgDe4BHxfZ3kI,1680
13
+ aipm_project_memory/core/guide.py,sha256=nfrnK5CAyVq8odfjwyShHKBerpdg9T2LbBMPsGAUfv8,5986
14
+ aipm_project_memory/core/handoff.py,sha256=h5MmmCefBW0ZLi6MhGO4xsv1p6CoCpcM4Ey2ml9E50o,5366
15
+ aipm_project_memory/core/history.py,sha256=i-sz6APMxURSBr7zL1RX8L6mBaycuo_OBHcZ4c53n8k,1786
16
+ aipm_project_memory/core/init.py,sha256=i9Qfhj8zT8NXk13MOMbamUYk1ik4jAFkgNoe7Pxn2h8,4753
17
+ aipm_project_memory/core/knowledge.py,sha256=bJbkkUCmKzK5ihOzc2J6kr1_RgC8ExyS4XtX2S93T10,2712
18
+ aipm_project_memory/core/okf.py,sha256=XqnqgEz7GdkWyPQCnatcO8aLRKeSQU1CXhMgWnWaRpA,5677
19
+ aipm_project_memory/core/project.py,sha256=32dPeBD9AncApY51FatwXAxJYQMb99iLETfkd6S0ORE,1746
20
+ aipm_project_memory/core/prompt.py,sha256=zH-R_ePwauM2Di1ojbtSAlQbA1mers1MTksqczoOPyk,9237
21
+ aipm_project_memory/core/replay.py,sha256=AHa5CG3VgeY_Bmh92GqCXD2VDWxMPWeWo9LLCffDyFU,4957
22
+ aipm_project_memory/core/repos.py,sha256=SQZUUD3s6lug3Pn6f0AhMtMsuARGOXhEW_G--R6yOe4,6965
23
+ aipm_project_memory/core/resume.py,sha256=VDtHkta4uMw5hPNbjdnULJr43FQGcJA3WftocS_L--U,4315
24
+ aipm_project_memory/core/search.py,sha256=A10IrPCI7kHO1pCGGuq6A6IwML1M_ZzaaEQjHt7bl1Y,4529
25
+ aipm_project_memory/core/status.py,sha256=TqRl2qYy8qKUly-mj30YYvazpGoKsNgHb5v-kGKgWns,9735
26
+ aipm_project_memory/core/tasks.py,sha256=AKepdIIoXL74hGzXbfViqpdUSdSMv9I2nuetoOP5PwQ,10698
27
+ aipm_project_memory/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
+ aipm_project_memory/mcp/server.py,sha256=RVNXQ-kP3anBQpmgL6Z6tiU4Wf7XjYRrk_MK_kXAQOY,197
29
+ aipm_pm-0.3.11.dist-info/METADATA,sha256=50_zXIlNRYUMjSJT61e2Mw8Ys3nB5_bc8OlQxJA0yjA,12418
30
+ aipm_pm-0.3.11.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
31
+ aipm_pm-0.3.11.dist-info/entry_points.txt,sha256=WVlvkhF837czy3tECSfoHBL7oP9aCzx8k7NMtUajfUM,58
32
+ aipm_pm-0.3.11.dist-info/licenses/LICENSE,sha256=r4NWY9_5IcCeddodb-V4wMoN_1-VOrgdieaWkhbLO6w,10021
33
+ aipm_pm-0.3.11.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ aipm = aipm_project_memory.cli.cli:main
@@ -0,0 +1,181 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship made available under
36
+ the License, as indicated by a copyright notice that is included in
37
+ or attached to the work (an example is provided in the Appendix below).
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
48
+ in the Work by the copyright owner or entity authorized by the copyright
49
+ owner, or by an individual or Legal Entity authorized to submit on behalf
50
+ of the copyright owner. For the purposes of this definition, "submitted"
51
+ means any form of electronic, verbal, or written communication sent
52
+ to the Licensor or its representatives, including but not limited to
53
+ communication on electronic mailing lists, source lists, issue tracking
54
+ systems, and other communication systems that are controlled by, or
55
+ operated on behalf of, the Licensor for the purpose of discussing and
56
+ improving the Work, but excluding communication that is conspicuously
57
+ marked or designated in writing by the copyright owner as "Not a
58
+ Contribution."
59
+
60
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
61
+ whom a Contribution has been received by the Licensor and included
62
+ within the Work.
63
+
64
+ 2. Grant of Copyright License. Subject to the terms and conditions of
65
+ this License, each Contributor hereby grants to You a perpetual,
66
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
67
+ copyright license to reproduce, prepare Derivative Works of,
68
+ publicly display, publicly perform, sublicense, and distribute the
69
+ Work and such Derivative Works in Source or Object form.
70
+
71
+ 3. Grant of Patent License. Subject to the terms and conditions of
72
+ this License, each Contributor hereby grants to You a perpetual,
73
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
74
+ (except as stated in this section) patent license to make, have made,
75
+ use, offer to sell, sell, import, and otherwise transfer the Work,
76
+ where such license applies only to those patent claims licensable
77
+ by such Contributor that are necessarily infringed by their
78
+ Contribution(s) alone or by the combined Contribution(s) with the
79
+ Work to which such Contribution(s) was submitted. If You institute
80
+ patent litigation against any entity (including a cross-claim or
81
+ counterclaim in a lawsuit) alleging that the Work or any part of
82
+ it constitutes a patent or copyright infringement, then any patent
83
+ licenses granted to You under this License for that Work shall
84
+ terminate as of the date such litigation is filed.
85
+
86
+ 4. Redistribution. You may reproduce and distribute copies of the
87
+ Work or Derivative Works thereof in any medium, with or without
88
+ modifications, and in Source or Object form, provided that You
89
+ meet the following conditions:
90
+
91
+ (a) You must give any other recipients of the Work or Derivative
92
+ Works a copy of this License; and
93
+
94
+ (b) You must cause any modified files to carry prominent notices
95
+ stating that You changed the files; and
96
+
97
+ (c) You must retain, in the Source form of any Derivative Works
98
+ that You distribute, all copyright, patent, trademark, and
99
+ attribution notices from the Source form of the Work,
100
+ excluding those notices that do not pertain to any part of
101
+ the Derivative Works; and
102
+
103
+ (d) If the Work includes a "NOTICE" text file as part of its
104
+ distribution, You must include a readable copy of the
105
+ attribution notices contained within such NOTICE file, in
106
+ at least one of the following places: within a NOTICE text
107
+ file distributed as part of the Derivative Works; within
108
+ the Source form or documentation, if provided along with the
109
+ Derivative Works; or, within a display generated by the
110
+ Derivative Works, if and wherever such third-party notices
111
+ normally appear. The contents of the NOTICE file are for
112
+ informational purposes only and do not modify the License.
113
+ You may add Your own attribution notices within Derivative
114
+ Works that You distribute, alongside or in addition to the
115
+ NOTICE text from the Work, provided that such additional
116
+ attribution notices cannot be construed as modifying the License.
117
+
118
+ You may add Your own license statement for Your modifications and
119
+ may provide additional grant of rights to use, copy, modify, merge,
120
+ publish, distribute, sublicense, and/or sell copies of the
121
+ Contribution, and to allow persons to whom the Contribution is
122
+ furnished to do so.
123
+
124
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
125
+ any Contribution intentionally submitted for inclusion in the Work
126
+ by You to the Licensor shall be under the terms and conditions of
127
+ this License, without any additional terms or conditions.
128
+ Notwithstanding the above, nothing herein shall supersede or modify
129
+ the terms of any separate license agreement you may have executed
130
+ with Licensor regarding such Contributions.
131
+
132
+ 6. Trademarks. This License does not grant permission to use the trade
133
+ names, trademarks, service marks, or product names of the Licensor,
134
+ except as required for reasonable and customary use in describing the
135
+ origin of the Work and reproducing the content of the NOTICE file.
136
+
137
+ 7. Disclaimer of Warranty. Unless required by applicable law or
138
+ agreed to in writing, Licensor provides the Work (and each
139
+ Contributor provides its Contributions) on an "AS IS" BASIS,
140
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
141
+ implied, including, without limitation, any conditions of TITLE,
142
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR
143
+ PURPOSE. You are solely responsible for determining the
144
+ appropriateness of using or reproducing the Work and assume any
145
+ risks associated with Your exercise of permissions under this License.
146
+
147
+ 8. Limitation of Liability. In no event and under no legal theory,
148
+ whether in tort (including negligence), contract, or otherwise,
149
+ unless required by applicable law (such as deliberate and grossly
150
+ negligent acts) or agreed to in writing, shall any Contributor be
151
+ liable to You for damages, including any direct, indirect, special,
152
+ incidental, or exemplary damages of any character arising as a
153
+ result of this License or out of the use or inability to use the
154
+ Work (even if such Contributor has been advised of the possibility
155
+ of such damages).
156
+
157
+ 9. Accepting Warranty or Additional Liability. While redistributing
158
+ the Work or Derivative Works thereof, You may choose to offer,
159
+ and charge a fee for, acceptance of support, warranty, indemnity,
160
+ or other liability obligations and/or rights consistent with this
161
+ License. However, in accepting such obligations, You may offer only
162
+ conditions consistent with this License, which grant additional
163
+ rights to use, copy, modify, merge, publish, distribute, sublicense,
164
+ and/or sell copies of the Contribution, and to allow persons to whom
165
+ the Contribution is furnished to do so.
166
+
167
+ END OF TERMS AND CONDITIONS
168
+
169
+ Copyright 2026 eBay Inc.
170
+
171
+ Licensed under the Apache License, Version 2.0 (the "License");
172
+ you may not use this file except in compliance with the License.
173
+ You may obtain a copy of the License at
174
+
175
+ http://www.apache.org/licenses/LICENSE-2.0
176
+
177
+ Unless required by applicable law or agreed to in writing, software
178
+ distributed under the License is distributed on an "AS IS" BASIS,
179
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
180
+ See the License for the specific language governing permissions and
181
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ """aipm_project_memory — AI Project Memory CLI (local-first, AI-tool-agnostic)."""
2
+
3
+ __version__ = "0.3.11"
File without changes