pythia-plsql 0.4.1__tar.gz → 0.4.2__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 (39) hide show
  1. {pythia_plsql-0.4.1/scripts/pythia_plsql.egg-info → pythia_plsql-0.4.2}/PKG-INFO +1 -1
  2. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/pyproject.toml +1 -1
  3. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2/scripts/pythia_plsql.egg-info}/PKG-INFO +1 -1
  4. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-apply/SKILL.md +7 -11
  5. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/LICENSE +0 -0
  6. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/README.md +0 -0
  7. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/compile-errors.sql +0 -0
  8. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/dependencies.sql +0 -0
  9. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/impact.sql +0 -0
  10. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/invalid-objects.sql +0 -0
  11. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/name-occupants.sql +0 -0
  12. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/object-source.sql +0 -0
  13. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/plscope-enabled.sql +0 -0
  14. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/plscope-statements.sql +0 -0
  15. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/plscope-usages.sql +0 -0
  16. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/session-privileges.sql +0 -0
  17. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/similar-candidates.sql +0 -0
  18. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/queries/source.sql +0 -0
  19. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia.py +0 -0
  20. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia_plsql.egg-info/SOURCES.txt +0 -0
  21. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia_plsql.egg-info/dependency_links.txt +0 -0
  22. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia_plsql.egg-info/entry_points.txt +0 -0
  23. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia_plsql.egg-info/requires.txt +0 -0
  24. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/scripts/pythia_plsql.egg-info/top_level.txt +0 -0
  25. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/setup.cfg +0 -0
  26. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-explore/SKILL.md +0 -0
  27. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-explore/reference/data-dictionary.md +0 -0
  28. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-impact/SKILL.md +0 -0
  29. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-review/SKILL.md +0 -0
  30. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-review/reference/antipatterns.md +0 -0
  31. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-setup/SKILL.md +0 -0
  32. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-skill-author/SKILL.md +0 -0
  33. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-write/SKILL.md +0 -0
  34. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/skills/pythia-write/reference/patterns.md +0 -0
  35. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/tests/test_install.py +0 -0
  36. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/tests/test_phase1.py +0 -0
  37. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/tests/test_phase2.py +0 -0
  38. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/tests/test_phase3.py +0 -0
  39. {pythia_plsql-0.4.1 → pythia_plsql-0.4.2}/tests/test_phase5.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythia-plsql
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: PL/SQL development for AI agents on Oracle Database - expert data-dictionary queries, impact analysis, and a snapshot-verified write path with honest rollback.
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/thaildhe172591/pythia
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pythia-plsql"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "PL/SQL development for AI agents on Oracle Database - expert data-dictionary queries, impact analysis, and a snapshot-verified write path with honest rollback."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythia-plsql
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: PL/SQL development for AI agents on Oracle Database - expert data-dictionary queries, impact analysis, and a snapshot-verified write path with honest rollback.
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/thaildhe172591/pythia
@@ -35,16 +35,10 @@ Three moves are FORBIDDEN for agents, and the CLI enforces the first two
35
35
 
36
36
  Sometimes the developer runs the file themselves — a DBA executes it, a
37
37
  release process owns it, or policy denies the group. The preview still ran,
38
- so a rollback file for the version currently live already exists. Hand it
39
- over in the same message as the .sql file, by path:
40
-
41
- ```
42
- .pythia/journal/<entry>/restore.sql
43
- ```
44
-
45
- Never let a change leave your hands for manual execution without naming
46
- that file. `pythia history <OBJECT>` lists every captured version if an
47
- older one is wanted.
38
+ so a rollback file for the version currently live already exists at
39
+ `.pythia/journal/<entry>/restore.sql`. Never let a change leave your hands
40
+ for manual execution without naming that path in the same message as the
41
+ .sql file. `pythia history <OBJECT>` lists every captured version.
48
42
 
49
43
  ## The Workflow
50
44
 
@@ -69,7 +63,8 @@ first time anyone sees it, a step was skipped.
69
63
  If the fresh preview's before-side no longer matches what you last saw,
70
64
  say so explicitly: someone else may have changed the object on this
71
65
  shared database, and the developer must know that before approving.
72
- 5. **Read the exit code — it is the verdict:**
66
+ 5. **Read the exit code — it is the verdict. Never through a pipe:**
67
+ `apply … | tail` returns *tail's* code, always 0. Unpiped, or `${PIPESTATUS[0]}`.
73
68
 
74
69
  | Exit | Meaning | What you must do |
75
70
  |------|---------|-----------------|
@@ -135,6 +130,7 @@ the stakes are highest.
135
130
  | "Token is stale, I'll just take the new one" | The content changed. The developer must see the new preview. |
136
131
  | "apply refused it; run-sql will take it" | The refusal is the product working. Relay it. |
137
132
  | "I'll restore quietly to clean up my mistake" | Restores are writes. Same gate, same visibility. |
133
+ | "`$?` said 0 after I piped to tail" | That was tail's 0. Read pythia's own words, or its unpiped code. |
138
134
  | "The dev said 'stop asking' once" | That covered that task, not forever. Re-confirm scope on the next one. |
139
135
 
140
136
  ## When NOT to use this skill
File without changes
File without changes
File without changes