Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/investigate-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protocols:
- guardrails/operational-constraints
- guardrails/adversarial-falsification
- analysis/security-vulnerability
- reasoning/exhaustive-path-tracing # optional — apply selectively to parser/decoder functions
- reasoning/exhaustive-path-tracing
taxonomies:
- stack-lifetime-hazards
format: investigation-report
Expand Down
9 changes: 6 additions & 3 deletions tests/validate-graph-integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,12 @@ def _parse_template_frontmatter(text: str) -> dict[str, object] | None:
if indent > 0:
# Still collect multi-line list items at indent 2
if current_list_field and stripped.startswith("- "):
result[current_list_field].append(
stripped[2:].strip().strip("'\"")
)
val = stripped[2:].strip().strip("'\"")
# Strip inline YAML comments
comment_match = re.match(r"^([^#]+?)\s+#", val)
if comment_match:
val = comment_match.group(1).strip().strip("'\"")
Comment thread
Alan-Jowett marked this conversation as resolved.
Outdated
result[current_list_field].append(val)
elif stripped and current_list_field and not stripped.startswith("#"):
current_list_field = None
continue
Expand Down
7 changes: 6 additions & 1 deletion tests/validate-manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ def parse_yaml_frontmatter(text: str) -> dict[str, object] | None:
continue
if in_protocols:
if stripped.startswith("- "):
protocols.append(stripped[2:].strip().strip("'\""))
val = stripped[2:].strip().strip("'\"")
# Strip inline YAML comments
comment_match = re.match(r"^([^#]+?)\s+#", val)
if comment_match:
val = comment_match.group(1).strip().strip("'\"")
Comment thread
Alan-Jowett marked this conversation as resolved.
Outdated
protocols.append(val)
else:
in_protocols = False
return {"protocols": protocols}
Expand Down
Loading