@theglitchking/babel-fish 2.5.0 → 2.6.0

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.
@@ -179,6 +179,19 @@ def test_plugin_repo_map_is_not_empty(g):
179
179
  assert "no vocabulary generated yet" not in section, "section 01 still renders the stub"
180
180
 
181
181
 
182
+ # ── Structure pointer (#22) ──────────────────────────────────────────────────
183
+
184
+ def test_structure_pointer_only_with_a_manifest(g):
185
+ assert g.build_structure_pointer() == []
186
+ (g.PROJECT_ROOT / ".claude").mkdir(exist_ok=True)
187
+ (g.PROJECT_ROOT / ".claude/structure.toml").write_text(
188
+ 'mode = "multi-repo"\n\n[[repo]]\nname = "api"\npath = "../api"\npurpose = "Backend"\n')
189
+ text = "\n".join(g.build_structure_pointer())
190
+ assert "`.claude/structure.toml`" in text, text
191
+ if sys.version_info >= (3, 11):
192
+ assert "**api** `../api` — Backend" in text, text
193
+
194
+
182
195
  # ── Glossary side-channel (#10) ──────────────────────────────────────────────
183
196
 
184
197
  def test_glossary_json_written_and_shaped(g):