Charles Yao and Claude Opus 5
be24b00a2a
fix(dify-builder): requirements analysis stops inventing endpoints and credentials
...
S5b (local E2E 2026-09-22, F2): analyze_goal's "a sensible default value per
field" led the LLM to prefill render_api_url=https://api.yourcompany.com/ ...
and Authorization: Bearer YOUR_API_KEY for a goal that named neither -- caught
only because "yourcompany" happened to match an existing placeholder-URL
regex; a plausible invented host would slip through and recreate ESQ1-302's
launch failure one step upstream, in the requirements form itself.
Adds services/dify_builder/agent/user_supplied.py (pure, no I/O): url_hosts,
is_user_supplied_url, CREDENTIAL_PLACEHOLDER_RE, is_user_supplied_secret,
trusted_text_for -- shared primitives for telling a literal the user actually
wrote from one an LLM invented, used by this task and consumed by later
tasks in the same plan.
build.analyze_goal now tells the model never to invent such a field's
default, and _scrub_invented_defaults deterministically blanks any top-level
field whose value contains a URL host, or a credential-shaped or
credential-keyed literal, not present in the goal text -- decided on hosts
and literal text, never on LLM prose.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
2026-09-22 08:40:33 -07:00
..
2026-09-21 07:11:12 +00:00
2026-09-02 06:54:47 +00:00
2026-09-18 09:17:36 +00:00
2026-09-22 08:40:33 -07:00
2026-09-07 08:29:57 +00:00
2026-09-07 04:39:43 +00:00
2026-09-17 17:01:34 +08:00
2026-09-04 02:01:35 +00:00
2026-09-18 08:42:53 +00:00
2026-08-07 09:21:13 +00:00
2026-09-18 05:10:25 +00:00
2026-09-19 07:54:35 +00:00
2026-09-18 09:17:36 +00:00
2026-09-09 09:02:04 +00:00
2026-08-21 11:55:25 +00:00
2026-09-04 07:38:01 +00:00
2026-08-27 08:51:05 +00:00
2026-09-07 15:54:53 +00:00
2026-08-21 05:56:30 +00:00
2026-08-21 05:56:30 +00:00
2026-08-21 08:13:23 +00:00
2026-08-21 08:13:23 +00:00
2026-08-21 08:46:06 +00:00
2026-08-21 08:05:43 +00:00
2026-09-09 04:38:50 +00:00
2026-08-31 03:22:01 +00:00
2026-08-31 03:22:01 +00:00
2026-09-11 02:41:35 +00:00
2026-09-04 07:38:01 +00:00
2026-09-03 01:38:59 +00:00
2026-09-03 01:38:59 +00:00
2026-09-02 06:54:47 +00:00
2026-08-21 05:56:30 +00:00
2026-09-07 15:54:53 +00:00
2026-09-03 06:20:21 +00:00
2026-09-03 08:47:14 +00:00
2026-09-03 08:47:14 +00:00
2026-09-03 01:38:59 +00:00
2026-08-21 05:56:30 +00:00
2026-09-04 07:38:01 +00:00
2026-08-20 05:03:08 +00:00
2026-09-03 01:38:59 +00:00
2026-09-20 02:01:55 +00:00
2026-04-13 13:05:23 +00:00
2026-07-08 03:07:27 +00:00
2026-09-08 03:31:01 +00:00
2026-09-17 07:05:02 +00:00
2026-08-25 10:21:32 +00:00
2026-07-24 11:35:12 +00:00
2026-07-08 03:07:27 +00:00
2026-09-12 04:55:53 +00:00
2026-07-08 03:07:27 +00:00
2026-09-02 10:30:42 +00:00
2026-09-17 07:28:18 +00:00
2026-08-20 05:05:31 +00:00
2026-09-21 06:32:21 +00:00
2026-09-21 15:12:22 +08:00
2026-09-17 12:54:40 +00:00
2026-07-15 06:48:28 +00:00
2026-09-21 06:32:21 +00:00
2026-07-15 09:31:09 +00:00
2026-09-20 09:45:05 +08:00
2026-09-02 06:54:47 +00:00
2026-09-04 09:15:51 +00:00
2026-04-16 08:50:02 +00:00
2026-09-07 02:47:00 +00:00
2026-09-07 02:47:00 +00:00
2026-08-11 07:39:01 +00:00
2026-06-18 00:18:03 +00:00
2026-08-25 10:21:32 +00:00
2026-09-02 06:54:47 +00:00
2026-09-08 05:42:22 +00:00
2026-08-11 07:39:01 +00:00
2025-09-06 03:32:23 +08:00
2026-09-02 06:54:47 +00:00
2026-09-08 03:31:01 +00:00
2026-04-16 08:50:02 +00:00
2026-07-08 03:07:27 +00:00
2026-08-25 10:21:32 +00:00
2026-09-02 06:54:47 +00:00
2026-09-02 10:30:42 +00:00
2026-07-15 09:31:09 +00:00
2026-09-11 07:43:16 +00:00
2026-08-17 02:41:26 +00:00
2026-07-07 02:06:49 +00:00
2026-05-14 10:34:31 +00:00
2026-08-19 06:57:47 +00:00
2026-09-11 17:07:04 +00:00
2026-09-04 06:03:46 +00:00
2026-09-16 07:45:48 +00:00
2026-09-02 06:54:47 +00:00
2026-09-01 11:50:52 +00:00
2026-09-09 15:55:44 +08:00
2026-08-10 03:27:56 +00:00
2026-09-04 02:01:35 +00:00
2026-09-04 02:01:35 +00:00
2026-08-04 13:14:02 +00:00
2026-09-18 05:10:25 +00:00
2026-07-15 06:48:28 +00:00
2026-06-18 00:18:03 +00:00
2026-09-07 03:21:33 +00:00
2026-07-03 03:45:21 +00:00
2026-09-09 02:56:40 +00:00
2026-08-12 08:42:09 +00:00
2026-09-01 11:50:52 +00:00
2026-09-01 11:50:52 +00:00
2026-07-24 07:11:48 +00:00
2026-07-23 01:48:36 +00:00
2026-07-02 17:00:47 +00:00
2026-09-18 02:16:47 +00:00
2026-09-07 08:59:18 +00:00
2026-09-03 05:02:09 +00:00
2026-08-11 16:37:14 +00:00
2026-08-07 00:42:13 +00:00
2026-09-20 09:19:51 +00:00
2026-08-31 04:37:07 +00:00
2026-09-04 01:52:30 +00:00
2026-08-26 07:33:37 +00:00
2026-09-18 08:42:53 +00:00
2026-08-26 07:33:37 +00:00
2026-06-22 06:45:03 +00:00
2026-08-24 01:55:48 +00:00
2026-09-08 03:42:32 +00:00
2026-09-08 03:42:32 +00:00
2026-08-15 00:56:09 +00:00
2026-09-07 04:39:43 +00:00
2026-09-15 12:45:34 +00:00
2026-08-20 13:13:43 +00:00
2026-09-04 06:03:46 +00:00
2026-09-03 06:00:13 +00:00
2026-07-08 03:07:27 +00:00
2026-08-08 11:52:15 +00:00
2026-08-24 01:57:17 +00:00
2026-08-08 11:52:15 +00:00
2026-09-17 09:52:25 +00:00
2026-09-07 10:59:09 +00:00
2026-07-15 06:48:28 +00:00
2026-09-08 09:31:08 +00:00
2026-09-02 06:54:47 +00:00
2026-09-07 08:31:08 +00:00
2026-09-01 11:50:52 +00:00
2026-09-02 06:54:47 +00:00
2026-09-18 03:22:44 +00:00
2026-08-11 07:39:01 +00:00
2026-09-08 02:51:11 +00:00
2026-08-20 13:13:42 +00:00
2026-08-19 06:57:47 +00:00
2026-09-08 02:03:24 +00:00
2026-07-27 02:12:57 +00:00
2026-08-25 10:21:32 +00:00
2026-09-07 08:29:57 +00:00
2026-09-09 02:56:40 +00:00
2026-07-08 03:07:27 +00:00
2026-09-04 02:01:35 +00:00
2026-09-01 11:50:52 +00:00
2026-08-20 02:27:49 +00:00
2026-09-01 11:50:52 +00:00
2026-08-02 02:49:17 +00:00
2026-09-04 10:06:46 +00:00
2026-08-21 00:52:39 +00:00
2026-04-16 02:21:04 +00:00
2026-09-21 09:48:02 +08:00
2026-07-21 02:07:47 +00:00
2026-08-03 02:24:18 +00:00
2026-08-25 10:21:32 +00:00
2026-09-08 09:31:08 +00:00
2026-06-30 08:19:58 +00:00
2026-03-20 14:54:23 +08:00
2026-09-08 09:31:08 +00:00
2026-09-01 11:50:52 +00:00
2026-09-02 06:54:47 +00:00
2026-08-12 01:55:36 +00:00
2026-09-02 06:54:47 +00:00
2026-08-06 01:08:39 +00:00
2026-08-11 07:39:01 +00:00
2026-08-11 07:39:01 +00:00
2026-09-07 08:29:57 +00:00