@@ -58,14 +58,18 @@ def test_config_yaml_valid(self):
5858 assert "ports" in config , "ports section required for HTTP transport"
5959 assert "9583/tcp" in config ["ports" ], "port 9583/tcp must be exposed"
6060
61- # Verify secret_path configuration (advanced option for custom overrides )
62- assert "secret_path" in config ["options" ], "options must include secret_path field"
63- assert config [ "options" ][ "secret_path" ] == "" , "default secret_path should be empty (auto-generate) "
61+ # Verify secret_path configuration (optional advanced override )
62+ assert "secret_path" not in config ["options" ], \
63+ " secret_path should be optional and omitted so Supervisor treats it as advanced "
6464 assert "secret_path" in config ["schema" ], "schema must include secret_path field"
65+ assert config ["schema" ]["secret_path" ] == "str?" , \
66+ "secret_path schema should be optional string (str?)"
6567
6668 # Verify backup_hint configuration
6769 assert "backup_hint" in config ["options" ], "options must include backup_hint field"
6870 assert config ["options" ]["backup_hint" ] == "normal" , "default backup_hint should be normal"
71+ assert config ["schema" ]["backup_hint" ] == "list(strong|normal|weak|auto)" , \
72+ "backup_hint schema must enumerate allowed values"
6973
7074 # Verify architectures (only 64-bit platforms supported by uv image)
7175 expected_archs = ["amd64" , "aarch64" ]
0 commit comments