pythia-plsql 0.3.4__tar.gz → 0.3.5__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.
- {pythia_plsql-0.3.4/scripts/pythia_plsql.egg-info → pythia_plsql-0.3.5}/PKG-INFO +1 -1
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/pyproject.toml +1 -1
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5/scripts/pythia_plsql.egg-info}/PKG-INFO +1 -1
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-explore/SKILL.md +1 -1
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/tests/test_phase5.py +27 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/LICENSE +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/README.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/compile-errors.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/dependencies.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/impact.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/invalid-objects.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/name-occupants.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/object-source.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/plscope-enabled.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/plscope-statements.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/plscope-usages.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/session-privileges.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/similar-candidates.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/queries/source.sql +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia.py +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/SOURCES.txt +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/dependency_links.txt +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/entry_points.txt +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/requires.txt +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/top_level.txt +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/setup.cfg +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-apply/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-explore/reference/data-dictionary.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-impact/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-review/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-review/reference/antipatterns.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-setup/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-skill-author/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-write/SKILL.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-write/reference/patterns.md +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/tests/test_install.py +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/tests/test_phase1.py +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/tests/test_phase2.py +0 -0
- {pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/tests/test_phase3.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pythia-plsql
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
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.3.
|
|
7
|
+
version = "0.3.5"
|
|
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.3.
|
|
3
|
+
Version: 0.3.5
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pythia-explore
|
|
3
|
-
description: Use when you need to understand anything in an Oracle schema - finding objects, reading PL/SQL source, signatures, table columns, DDL, searching code, or asking who uses what. ALSO use when a .sql file, dump, export, migration script or repo copy of an object appears to answer the question already, including
|
|
3
|
+
description: Use when you need to understand anything in an Oracle schema - finding objects, reading PL/SQL source, signatures, table columns, DDL, searching code, or asking who uses what. ALSO use when a .sql file, dump, export, migration script or repo copy of an object appears to answer the question already, including one the developer points you at - because those files drift from the database and are wrong in ways that read as correct. The database is the only source of truth.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Exploring the Schema
|
|
@@ -54,6 +54,33 @@ def test_frontmatter_is_valid_and_triggering():
|
|
|
54
54
|
assert len(desc) <= 1024, f"{name}: description too long ({len(desc)})"
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
def test_frontmatter_is_parseable_yaml():
|
|
58
|
+
"""A description holding an unquoted ": " is not valid YAML, and the
|
|
59
|
+
agent harness then falls back to the H1 heading — the skill keeps its
|
|
60
|
+
name but loses its trigger, so it silently stops firing. This shipped
|
|
61
|
+
once; it does not ship twice. Checked without PyYAML: the suites run on
|
|
62
|
+
the stdlib alone.
|
|
63
|
+
"""
|
|
64
|
+
for name in sorted(EXPECTED):
|
|
65
|
+
path = SKILLS / name / "SKILL.md"
|
|
66
|
+
if not path.is_file():
|
|
67
|
+
continue
|
|
68
|
+
m = re.match(r"^---\n(.*?)\n---\n", path.read_text(encoding="utf-8"),
|
|
69
|
+
re.S)
|
|
70
|
+
assert m, f"{name}: no YAML frontmatter"
|
|
71
|
+
for line in m.group(1).splitlines():
|
|
72
|
+
km = re.match(r"^([A-Za-z_][\w.]*):\s+(.*)$", line)
|
|
73
|
+
if not km:
|
|
74
|
+
continue # continuation or nested line
|
|
75
|
+
value = km.group(2)
|
|
76
|
+
if value[:1] in "\"'":
|
|
77
|
+
continue # quoted: a colon inside is fine
|
|
78
|
+
assert ": " not in value, (
|
|
79
|
+
f"{name}: frontmatter '{km.group(1)}' holds an unquoted "
|
|
80
|
+
f"': ' — YAML reads that as a nested mapping and the field "
|
|
81
|
+
f"is lost. Rephrase or quote the value.")
|
|
82
|
+
|
|
83
|
+
|
|
57
84
|
def test_skill_bodies_stay_within_budget():
|
|
58
85
|
for name in sorted(EXPECTED):
|
|
59
86
|
path = SKILLS / name / "SKILL.md"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/scripts/pythia_plsql.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pythia_plsql-0.3.4 → pythia_plsql-0.3.5}/skills/pythia-explore/reference/data-dictionary.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|