Skip to content

Commit c0b151c

Browse files
committed
addressing PR review comments #492 (review)
Signed-off-by: Omer Boehm <omerboehm@gmail.com>
1 parent 872c086 commit c0b151c

16 files changed

Lines changed: 8 additions & 38 deletions

File tree

authbridge/demos/github-issue/aiac/aiac_agent/agent/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@
1919
"create_policy_builder_graph",
2020
"PolicyState",
2121
]
22-
23-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/agent/graph.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,5 +572,3 @@ def save_policy(self, yaml_output: str, filepath: str = "access_control_policy.y
572572
print("Please use main.py to run the policy builder:")
573573
print(" python main.py <policy_file.txt> <config.yaml> <output_file.yaml>")
574574
sys.exit(1)
575-
576-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/agent/state.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,3 @@ class PolicyState(TypedDict):
4141
errors: List[str] # NOT accumulated - replaced on each validation attempt
4242
retry_count: int
4343
validation_passed: bool # Boolean flag for retry decision, not accumulated
44-
45-
46-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/config/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,3 @@
1717
"extract_realm_roles_and_clients",
1818
"MAX_VALIDATION_RETRIES",
1919
]
20-
21-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/config/config_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,3 @@ def extract_realm_roles_and_clients(
102102
client_audience_targets = config.get("client_audience_targets", {})
103103

104104
return realm_roles, client_roles_map, client_audience_targets
105-
106-
107-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/config/constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@
88
# Maximum number of retry cycles from validate_policy back to parse_and_extract
99
# This prevents infinite loops while allowing the LLM to self-correct
1010
MAX_VALIDATION_RETRIES = 3
11-
12-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/config/llm_config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,3 @@ def get_default_llm() -> BaseChatModel:
285285
if llm is None:
286286
llm = create_llm()
287287
return llm
288-
289-
290-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/prompts/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,3 @@
1313
"build_system_prompt",
1414
"build_retry_prompt",
1515
]
16-
17-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/prompts/prompt_builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,3 @@ def build_retry_prompt(realm_roles: List[Dict[str, str]], client_roles_map: Dict
292292
}}
293293
]
294294
```"""
295-
296-
297-
# Made with Bob

authbridge/demos/github-issue/aiac/aiac_agent/utils/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@
1515
"validate_policy_structure",
1616
"verify_policy_semantics",
1717
]
18-
19-
# Made with Bob

0 commit comments

Comments
 (0)