instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
Pylons__pyramid__3390
Pylons/pyramid
3,390
defect
a8b10ea3cb18143bb995a7637fc381c702c92d00
0080e96a8b1fb6087599693f22b2a7e09fa85a03
prep 1.10a1
This changes the master branch to mirror 1.10-branch. I will push 1.10-branch after this is merged. We'll keep the two branches in sync (only fast-forward merges from master into 1.10-branch) until 1.10 is out the door, then move master to 2.0.dev0. I have already pushed 1.10-branch for each cookiecutter. latest wil...
diff --git a/CHANGES.rst b/CHANGES.rst index 9fecafd2e2..cc70dca8ee 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,5 @@ -unreleased -========== +1.10a1 (2018-10-15) +=================== Features -------- @@ -38,8 +38,8 @@ Features See https://github.com/Pylons/pyramid/pull/3300 - Modify ``pyramid.authe...
3
1
0
[{"id": "G0", "claim": "The whatsnew note should read \"the last planned feature release to support Python 2.7\" instead of the duplicated-word wording \"the last planned release feature release to support Python 2.7\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
Pylons__pyramid__3413
Pylons/pyramid
3,413
defect
133db09d179c3f5afe7e02dc13ab6687517db5a1
870eb3bcc9e9cc39a84f8268fee5b59ed4692bf4
change to use JSONSerializer for SignedCookieSessionFactory
fixes #2709
diff --git a/CHANGES.rst b/CHANGES.rst index dfea7afa93..73562c003d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,14 @@ unreleased Features -------- +- Changed the default ``serializer`` on + ``pyramid.session.SignedCookieSessionFactory`` to use + ``pyramid.session.JSONSerializer`` instead of + ``pyramid...
1
1
0
[{"id": "G0", "claim": "The wording added to docs/narr/sessions.rst should say a client cannot tamper with the content \"without having access to\" the secret key instead of \"without compromising\" it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Pylons__pyramid__3418
Pylons/pyramid
3,418
defect
5fa8d88f610a56df10139f761004c702c6cadd28
4eba965498203989092d806df60596695218f8ce
call fix_registry so that queryAdapterOrSelf is available
fixes #3416
diff --git a/CHANGES.rst b/CHANGES.rst index af09d23946..25a9098953 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,11 @@ +unreleased +========== + +- Fix an issue when passing a duck-typed registry object into + ``pyramid.testing.setUp(registry=...)`` in which the registry wasn't + properly fixed prior to invo...
1
1
0
[{"id": "G0", "claim": "The new test should use self.assertIs rather than self.assertEqual, since queryAdapterOrSelf's 'or self' semantic is that the identical object is returned.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Pylons__pyramid__3420
Pylons/pyramid
3,420
defect
6f0d73d6eea8064f1c5d9294beb7f7d64619071d
dff0798e352d0afeeec2058200ac983692b606c2
support inherit_slash=True on add_route
This is an alternative to https://github.com/Pylons/pyramid/pull/3415 which is more explicit and backward compatible. To opt-out of the default and to get a bare url without a trailing slash, specify `inherit_slash=True` to `add_route`. This triggers an empty pattern to inherit the trailing slash from the route prefix....
diff --git a/CHANGES.rst b/CHANGES.rst index 73562c003d..1790bb69f2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,23 @@ Features documentation for more information about why this change was made. See https://github.com/Pylons/pyramid/pull/3413 +- It is now possible to control whether a route pattern c...
3
2
0
[{"id": "G0", "claim": "The inherit_slash docstring paragraph is hard to parse and should be simplified and grammar-fixed, clarifying who \"you\" and \"the integrator\" are.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGES.rst entry shou...
null
Pylons__pyramid__3483
Pylons/pyramid
3,483
defect
01618a1399f547fb1f89cf8b56600325b4f8d04b
e51069db045ccc648435e3535723f3ac4a24b168
Improve debugging info from view_config decorator
Grab a frame when instanciating view_config, rather than pulling info from venusian's AttachInfo. See discussion at https://github.com/Pylons/pyramid/issues/3471 This fixes the build for Python 3.8.
diff --git a/src/pyramid/view.py b/src/pyramid/view.py index 944ad93eab..524e06fb2a 100644 --- a/src/pyramid/view.py +++ b/src/pyramid/view.py @@ -1,5 +1,6 @@ import itertools import sys +import inspect import venusian @@ -216,6 +217,13 @@ def __init__(self, **settings): if settings.get('context') i...
6
3
2
[{"id": "G0", "claim": "Changing view_defaults from a class based on view_config to a plain function means for_ will no longer replace context, an undocumented and untested behavioral change the author offers to reimplement if desired.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "int...
null
Pylons__pyramid__3550
Pylons/pyramid
3,550
defect
323cfbb45e6ee4b7462bbea9dcaa4e8258dd74f6
1431f7bdfa0b1325cbbb87b6cfaa2c6afc2f2dc0
security policy docs and legacy policy improvements
- Added `set_security_policy`` to more places in the docs. - Ensure that the authn/authz policies are not used at all if the legacy policy is not in effect to avoid edge cases where the code would skip the security policy and use the authn/authz policy on accident. - Change deprecation warnings in code to refer...
diff --git a/docs/designdefense.rst b/docs/designdefense.rst index 967a1aaed1..0fa609aa13 100644 --- a/docs/designdefense.rst +++ b/docs/designdefense.rst @@ -199,11 +199,11 @@ Under its hood however, the implementation of ``authenticated_userid`` is this: def authenticated_userid(request): """ Return t...
3
2
0
[{"id": "G0", "claim": "The effective_principals deprecation warning should explicitly point the user to the documentation (per the suggested wording), and the same change should be applied to the other deprecation warnings elsewhere.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "in...
null
Pylons__pyramid__3578
Pylons/pyramid
3,578
defect
fb61956484fa6733b0c7a1dbea65b2b2467bd511
bdd0b6ef7842f4684ddf10985abf25dc30cf1df0
Switch to pytest
This branch switches Pyramid to using pytest instead of nosetest.
diff --git a/.coveragerc b/.coveragerc index d0a1fd54a7..4009892eac 100644 --- a/.coveragerc +++ b/.coveragerc @@ -6,6 +6,7 @@ source = [paths] source = src/pyramid + */src/pyramid */site-packages/pyramid [report] diff --git a/HACKING.txt b/HACKING.txt index 87c96aef1a..fc7e72fbdf 100644 --- a/HACKING...
8
6
1
[{"id": "G0", "claim": "HACKING.txt should keep the pytest 'Specifying tests / selecting tests' link (ideally with one abstract example command) to help with on-boarding.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is questionable whether an...
null
Pylons__pyramid__3649
Pylons/pyramid
3,649
defect
837358ee6be552fd2f990d1ed8d6ea9e1c98d583
a56833fff86058bc9b9ebee1ac6895798c928f2a
Break reference cycle between request and context.
When implementing traversal, it's common (at least for me) to store the request in the resource objects so you can do things like database lookups. ```python class MyResource: def __init__(self, request): self.request = request def __getitem__(self, key): if self.request.db.lookup(key)...
diff --git a/src/pyramid/router.py b/src/pyramid/router.py index 644a6a3953..fb3e5fca6d 100644 --- a/src/pyramid/router.py +++ b/src/pyramid/router.py @@ -252,8 +252,12 @@ def invoke_request(self, request, _use_tweens=True): return response finally: - if request.finished_callbacks: - ...
2
2
0
[{"id": "G0", "claim": "A comment explaining that the new finish_request code breaks the request/context reference cycle should be added in src/pyramid/router.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should update the ch...
null
Pylons__pyramid__3717
Pylons/pyramid
3,717
defect
51a731c690b2644df206722767a74fee9339fb87
989f0b12b2ac7fe74e148c1fd818199341512d60
Python 3.11 Support
Looks like only one very minor change is required for Python 3.11 support. The `l*gettxt()` modules were removed in 3.11 ([bpo-44235](https://bugs.python.org/issue44235)), deprecated in 3.8 ([bpo-33710](https://bugs.python.org/issue33710)). They were only really useful in Python 2.x. So, we can just drop them. Cl...
diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 605ebdae0..13b849d0f 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -19,6 +19,7 @@ jobs: - "3.8" - "3.9" - "3.10" + - ...
2
2
1
[{"id": "G0", "claim": "The l*gettext() methods should be removed from pyramid.i18n entirely rather than kept behind a Python version check, since they are only useful on Python 2 and do not do the right thing on Python 3 anyway.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
Pylons__pyramid__3735
Pylons/pyramid
3,735
defect
3739a7790ba92c34098df3d804f27a1d8429f9fe
caa712662d79005854b8bb5870f5cbe2da7f3029
Adding script name to 'global_config' during application setup
This code extends pyramid startup scripts in python/bin directory (pserve, prequest, pshell, pviews, proutes, ptweens) with additional info about the calling script. The additional info is passed to the **main(global_config, **settings)** function as part of global_config dict during wsgi setup as '__script__'. ``glo...
diff --git a/docs/narr/startup.rst b/docs/narr/startup.rst index 37825d2da..27970ed88 100644 --- a/docs/narr/startup.rst +++ b/docs/narr/startup.rst @@ -101,7 +101,9 @@ Here's a high-level time-ordered overview of what happens when you press Note that the constructor function accepts a ``global_config`` argument, ...
2
2
1
[{"id": "G0", "claim": "The scripts should use `config_vars.setdefault('__script__', 'pshell')` as a simpler one-liner instead of the two-line if-not-in guard.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should also define `__script__`...
null
Pythagora-io__gpt-pilot__1008
Pythagora-io/gpt-pilot
1,008
defect
041c43ccc00f6190e5ada31ddd82bb4c047d7b16
1645cdd27733208e3a401b18b3bf11215d07f61b
More telemetry
This PR fixes system dependency checks to be done even if example project is started, and to wait for user confirmation before continuing. It also stores the information on whether the dependency is installed or not in telemetry data. It also disables telemetry in unit tests and adds new trace events for: * project...
diff --git a/core/agents/architect.py b/core/agents/architect.py index 111e8478d9..712c70995c 100644 --- a/core/agents/architect.py +++ b/core/agents/architect.py @@ -4,6 +4,7 @@ from core.agents.base import BaseAgent from core.agents.convo import AgentConvo +from core.agents.mixins import SystemDependencyCheckerMi...
8
6
1
[{"id": "G0", "claim": "trace_code_event should either be changed to attach context itself or each trace event should carry more data, such as number of epics, number of all tasks, and data that lets the events be matched to a db record.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introd...
null
Pythagora-io__gpt-pilot__1024
Pythagora-io/gpt-pilot
1,024
defect
52be03b1c6970082b4267b6af415f9879cb58794
20934d06c28c2dc727964cfcd63729cdb9cda666
Add route files content to prompt for user instructions.
This fixes the issue where Pythagora would provide incorrect links in user testing instructions, because that's what we got from the LLM. LLM couldn't have know the correct routes because we never told it what those were, so this PR addressed that by adding the contents of the routes files into the prompt for user test...
diff --git a/core/agents/troubleshooter.py b/core/agents/troubleshooter.py index a04437be9c..ac00bcb54c 100644 --- a/core/agents/troubleshooter.py +++ b/core/agents/troubleshooter.py @@ -7,6 +7,8 @@ from core.agents.convo import AgentConvo from core.agents.mixins import IterationPromptMixin from core.agents.response...
2
2
0
[{"id": "G0", "claim": "The added file-content section in define_user_review_goal.prompt is missing the closing `---END_OF_FILES---` delimiter to match `---START_OF_FILES---`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manual instruction blo...
null
Pythagora-io__gpt-pilot__1057
Pythagora-io/gpt-pilot
1,057
defect
f52e321c259bc042a92bf5551dc932104bf0c9a7
bb720de374a3f39197969827e8f5064f72603484
Implemented the first step in deep focus initiative. Now, when the us…
…er says there is a bug during the testing step, GPT Pilot adds logs before attempting to fix the issue
diff --git a/core/agents/bug_hunter.py b/core/agents/bug_hunter.py new file mode 100644 index 0000000000..12c79012ac --- /dev/null +++ b/core/agents/bug_hunter.py @@ -0,0 +1,190 @@ +from enum import Enum +from typing import Annotated, Literal, Union + +from pydantic import BaseModel, Field + +from core.agents.base impo...
18
12
3
[{"id": "G0", "claim": "core/prompts/bug-hunter/parse_task.prompt is a leftover copy of the Developer's template and should be replaced by a two-line template extending developer/parse_task.prompt.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Pythagora-io__gpt-pilot__162
Pythagora-io/gpt-pilot
162
defect
e138282d4ea4dc3218aef5136d2bb502c05ef106
08280d4371498811ee304ed1ec4da1c1d844657a
Process awareness and termination
- `development/parse_task.prompt` now includes: > the following processes are running: > - "app" - (npm start) > - "mongo" (mongod) - add a `kill_process` option in `IMPLEMENT_TASK` functions - wait for `timeout` or `success_message` when starting long-running processes. I've been having `npm start` crash, so...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba3308e570..5da8b777a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,16 +7,21 @@ on: pull_request: branches: - main - - debugging_ipc jobs: - build: - runs-on: ubuntu-latest + Test: +...
1
1
1
[{"id": "G0", "claim": "The rewritten get_full_file_path() in pilot/helpers/Project.py is not working properly for many test cases on mac, so the changes made to this function should be removed from this PR and done in a separate PR dedicated to refactoring this function once it is finished.", "category": "correctness"...
null
Pythagora-io__gpt-pilot__179
Pythagora-io/gpt-pilot
179
defect
624009b0b4eb2c8e8ed485d4f944628d0c421201
ab13cabf7ef7372fd421eae2fae8c8af3598d47b
Feat: Add theme management and Unified color_text Function
This PR introduces: 1. A consolidated color_text function, improving color output management. 2. Support for the NO_COLOR environment variable, allowing users to disable colored output.
diff --git a/README.md b/README.md index 8e53b91268..58f3fabe2f 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,18 @@ Erase all development steps previously done and continue working on an existing python main.py app_id=<ID_OF_THE_APP> skip_until_dev_step=0 ``` +## `theme` +```bash +python main.py theme=light...
6
2
0
[{"id": "G0", "claim": "The PR should expose semantic style abstractions (e.g. style_error / named styles like error and hint) so calling code is decoupled from the coloring library, rather than raw color/parameter calls.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
Pythagora-io__gpt-pilot__326
Pythagora-io/gpt-pilot
326
defect
36e5d6a384683d3885622759d4de920655d188d4
c161ebdba98ac5175e923d14c53f67e6daa491e1
small refactor of updating list of steps inside task
Fixes issue where GPT Pilot creates a debugging plan and then, after each command is run, it tries to rewrite that plan. This leads to confusion and infinite looping.
diff --git a/pilot/helpers/Debugger.py b/pilot/helpers/Debugger.py index 5d784423cb..dbf7a6e883 100644 --- a/pilot/helpers/Debugger.py +++ b/pilot/helpers/Debugger.py @@ -53,11 +53,13 @@ def debug(self, convo, command=None, user_input=None, issue_description=None, is }, DEBUG_STEPS_BRE...
2
1
1
[{"id": "G0", "claim": "The PR adds a todo saying the task update should first be checked for being needed, and the reviewer asks how that check will be done (senko expects a prompt the LLM answers with NEEDS_UPDATE/DONE before update_task.prompt is called).", "category": "correctness", "verdict": "uncertain", "priorit...
null
Pythagora-io__gpt-pilot__356
Pythagora-io/gpt-pilot
356
defect
6340fe2228d41d020cc67f28ff9b646d205bdb95
447186068d3204215fd97baa21e52000aef7ab3b
Documentation
Creation of documentation for project: - Technical writer agent - creation of README.md <img width="653" alt="Screenshot 2023-12-10 at 7 33 20 PM" src="https://github.com/Pythagora-io/gpt-pilot/assets/41999013/a44d0b97-6173-485c-b196-3c5feb800d94"> <img width="712" alt="Screenshot 2023-12-10 at 7 39 37 PM" src=...
diff --git a/pilot/const/function_calls.py b/pilot/const/function_calls.py index 6b2bb4ce53..258fc0acf2 100644 --- a/pilot/const/function_calls.py +++ b/pilot/const/function_calls.py @@ -645,3 +645,29 @@ def command_definition(description_command='A single command that needs to be ex 'get_fully_coded_file': la...
4
2
1
[{"id": "G0", "claim": "count_lines_of_code should not skip empty lines and should not try to strip comments: it only removes one-line // comments while ignoring # and multi-line /* */ comments, so the count is inaccurate; counting all lines (sum of splitlines) is what is wanted.", "category": "correctness", "verdict":...
null
Pythagora-io__gpt-pilot__406
Pythagora-io/gpt-pilot
406
defect
a6bd846d4e070ede3a38529376685baa5cf18f8c
1020c0162ee6dfbb19bca28f424cb4d9ea734e40
Updated files.py Check path is a file before opening.
Mandus on Discord supplied the fix with help from ChatGPT-4.
diff --git a/pilot/helpers/files.py b/pilot/helpers/files.py index 9d72144411..af879e51bd 100644 --- a/pilot/helpers/files.py +++ b/pilot/helpers/files.py @@ -1,6 +1,6 @@ from pathlib import Path import os -from typing import Optional, Union +from typing import Optional, Union, Dict from utils.style import color_g...
6
6
2
[{"id": "G0", "claim": "The `Dict` typing import should be dropped in favour of builtin `dict` generics, since `Dict`, `List`, etc. are deprecated and the project's minimum Python is 3.9.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Joining `p...
null
Pythagora-io__gpt-pilot__568
Pythagora-io/gpt-pilot
568
defect
a6ed9c08867962912c2d2cd701b6bc4354d88669
e4041389e59bb28af029f3b0844c05a6627a4b21
Send success events on every initial project / feature completion
This: * sends "success" every time the project is completed or a feature is added * tallies up the number of tasks *finished* * saves architecture/technologies used * sends unique app_id (without leaking project details) to be able to count number of apps created Example new data sent: ![Screenshot from 202...
diff --git a/pilot/helpers/Project.py b/pilot/helpers/Project.py index 1e9e51434e..a68189d5b7 100644 --- a/pilot/helpers/Project.py +++ b/pilot/helpers/Project.py @@ -82,6 +82,7 @@ def __init__( self.user_tasks = None self.architecture = None self.system_dependencies = None + self.pack...
1
1
0
[{"id": "G0", "claim": "The app_id telemetry value should be set at the start of the project so it is already stored if an exception happens before development planning completes.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Pythagora-io__gpt-pilot__632
Pythagora-io/gpt-pilot
632
defect
8327d05ab3a424002c5d043134e5b340a3e81879
011837cdc9d0b056a6c1dfa4524ac82ed3734a27
loc
add lines of code to files list in prompts <img width="398" alt="Screenshot 2024-02-05 at 11 31 56 AM" src="https://github.com/Pythagora-io/gpt-pilot/assets/41999013/c900ff75-8f43-4d84-bd64-a9d3e9d4a87b"> <img width="540" alt="Screenshot 2024-02-05 at 3 04 15 PM" src="https://github.com/Pythagora-io/gpt-pilot/a...
diff --git a/pilot/helpers/AgentConvo.py b/pilot/helpers/AgentConvo.py index d032d9d178..a66525eadc 100644 --- a/pilot/helpers/AgentConvo.py +++ b/pilot/helpers/AgentConvo.py @@ -188,7 +188,7 @@ def replace_files_in_one_message(self, files, message): for file in files: path = f"{file['path']}{sep}...
1
1
1
[{"id": "G0", "claim": "The new files_list.prompt file listing format breaks the telemetry regex in pilot/utils/llm_connection.py, so that pattern must also be updated for telemetry not to break.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Pythagora-io__gpt-pilot__827
Pythagora-io/gpt-pilot
827
defect
8c3f648b781e554ad696567a93fc6a84eb62324c
7978c2b3652eee1c09daa994ffb9500059e184d9
filter task-relevant files based on file summaries
This reduces the context we send for almost every LLM call, which improves focus on relevant files, increases speed, and reduces token usage and cost. Gated behind a feature flag `FILTER_RELEVANT_FILES` which is disabled by default. To enable it, set `FILTER_RELEVANT_FILES=true` in `.env`. Loading existing projec...
diff --git a/pilot/.env.example b/pilot/.env.example index e7def0d5b4..7c94d0dde3 100644 --- a/pilot/.env.example +++ b/pilot/.env.example @@ -42,3 +42,6 @@ DB_PASSWORD= # Set extra buffer to wait on top of detected retry time when rate limmit is hit. defaults to 6 # RATE_LIMIT_EXTRA_BUFFER= + +# Only send task-rel...
6
5
1
[{"id": "G0", "claim": "The feature was tested, so it should be enabled for everyone by default, with the option to disable it in .env in case someone experiences issues.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `relevant_files` item descriptio...
null
Pythagora-io__gpt-pilot__949
Pythagora-io/gpt-pilot
949
defect
2c40e566c782843f1feff8d22c6641001d2629ec
ba07a2bc4c440c118b379bfa9616d230dfb3a513
Check LLM API before doing anything else.
Moved this out of `Orchestrator` so it can be done before we even have an agent. Also, didn't like the previuos logic in the `Orchestrator`, it was only there becuase we had an access to an LLM there. Fail if a single check fails. Tested by fiddling with config, here's what it looks like if it fails: ![image](ht...
diff --git a/core/agents/orchestrator.py b/core/agents/orchestrator.py index 7e8c0456e0..23282a599e 100644 --- a/core/agents/orchestrator.py +++ b/core/agents/orchestrator.py @@ -53,10 +53,6 @@ async def run(self) -> bool: await self.init_ui() await self.offline_changes_check() - llm_api_chec...
3
3
1
[{"id": "G0", "claim": "The LLM client should not require stream/error handlers to be passed (error_handler is always executed even when not set), so an `if self.error_handler` guard should be added in `__call__` instead of callers passing dummy handlers.", "category": "design", "verdict": "supported", "priority": "P1"...
null
Pythagora-io__gpt-pilot__953
Pythagora-io/gpt-pilot
953
defect
11a173d42cdc93c460d7880b11df2e35dbed0500
b5acd834d3d9a7f931a763b1a3aaf20c1b04ddb4
Implement missing VSCode IPC messages
Implement missing VSCode IPC messages: * loadingFinished * projectDescription * featuresList + minor prompt and button fixes
diff --git a/core/agents/base.py b/core/agents/base.py index 3ef90b5f73..3413054c5c 100644 --- a/core/agents/base.py +++ b/core/agents/base.py @@ -115,7 +115,7 @@ async def stream_handler(self, content: str): await self.ui.send_stream_chunk(content, source=self.ui_source) if content is None: - ...
1
1
0
[{"id": "G0", "claim": "The epic_id field the pull request adds to the task structure in plan_epic and update_epic can be removed, since it was agreed that the state holds only tasks from the current epic.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Pythagora-io__gpt-pilot__955
Pythagora-io/gpt-pilot
955
defect
43a1f74111a02a6494f17fade9630a7d2c5179d5
92c43b6645bd4ea8cc58d15aa36030f36ebac481
add action label to states for easier debugging/loading
This adds a new `action` field to ProjectState, which makes it easy to see what's going on in each step. This is useful both when loading the project and when inspecting the database. ### Project load ![Screenshot from 2024-05-25 11-01-49](https://github.com/Pythagora-io/gpt-pilot/assets/3362/2827e4e5-ec27-4585-b...
diff --git a/core/agents/architect.py b/core/agents/architect.py index 646f02cf60..111e8478d9 100644 --- a/core/agents/architect.py +++ b/core/agents/architect.py @@ -10,7 +10,7 @@ from core.templates.registry import PROJECT_TEMPLATES, ProjectTemplateEnum from core.ui.base import ProjectStage -ARCHITECTURE_STEP = "...
1
1
1
[{"id": "G0", "claim": "The else branch calls complete_task() even when the reviewer added steps (task review feedback), which seems wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Pythagora-io__gpt-pilot__966
Pythagora-io/gpt-pilot
966
defect
4520d610522bfcc357f8d0ecdbc45d2ffd8d824e
93e5d9f744a5c9f866a9911f43f8e2114e82171f
add TaskCompleter Agent
- added TaskCompleter Agent and moved complete_task() from all other Agents to new one - removed task["completed"] boolean and replaced with task["status"] which can be in multiple stages - fixed issue where Readme was created after every iteration, now it is not a "step" but we have new flow after user reviews tasks...
diff --git a/.gitignore b/.gitignore index ec68eb47d7..5c9918f707 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ __pycache__/ .venv/ +venv/ .vscode/ .idea/ htmlcov/ diff --git a/core/agents/developer.py b/core/agents/developer.py index a8cc90aad0..8a5772bb0c 100644 --- a/core/agents/developer.py +++ b/co...
6
6
3
[{"id": "G0", "claim": "Setting current_task[\"status\"] by mutating the SQLAlchemy tasks field without flag_tasks_as_modified() likely won't be detected by SQLAlchemy and so won't update the database; a set_current_task_status() helper on ProjectState should set the status and flag the field as modified so nobody forg...
null
Python-Markdown__markdown__1161
Python-Markdown/markdown
1,161
defect
6f024f5be53d348b17a5da2c3e9c32c37013efd7
9fb0fec6942dd44065183aa5023ec5c2c53126f0
Better toc detection
Fix for issue #1160 See issue, and code comment for more details.
diff --git a/markdown/extensions/toc.py b/markdown/extensions/toc.py index 965ba4a83..e4dc3786f 100644 --- a/markdown/extensions/toc.py +++ b/markdown/extensions/toc.py @@ -195,7 +195,12 @@ def replace_marker(self, root, elem): # To keep the output from screwing up the # validation by putting ...
2
2
1
[{"id": "G0", "claim": "Add a note in the changelog for the toc/nl2br fix in order to resolve the 'require_changelog' CI failure.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test case should be using markdown.test_tools.TestCase and be ...
null
Python-Markdown__markdown__1165
Python-Markdown/markdown
1,165
defect
c1724406ae518a4b295406cdb076a5804fee3ef3
8b961e3022b71db5f3569ed8545d95af82ba153b
Require a local-part to be a valid email address in AUTOMAIL_RE.
Valid email addresses require a _local-part_ before the `@` followed by _domain_. This PR updates the `AUTOMAIL_RE` to use the `+` quantifier to require 1 or more characters in the _local-part_ instead of the `*` quantifier which allows 0 characters. The current regex allows the invalid addresses in the form `<@dom...
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py index b0621a828..c2d19a486 100644 --- a/markdown/inlinepatterns.py +++ b/markdown/inlinepatterns.py @@ -160,7 +160,7 @@ def build_inlinepatterns(md, **kwargs): AUTOLINK_RE = r'<((?:[Ff]|[Hh][Tt])[Tt][Pp][Ss]?://[^<>]*)>' # <me@example.com> -AUTOMA...
2
2
1
[{"id": "G0", "claim": "The `*` should also be replaced with `+` in the domain part of AUTOMAIL_RE, because with only the local-part fixed the regex still matches addresses with a missing domain like `<bob@>`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", ...
null
Python-Markdown__markdown__1225
Python-Markdown/markdown
1,225
defect
af38c42706f8dff93694d4a7572003dbd8b0ddc0
9a76d74a0a91f31040374c34be5b6d296c01ab3b
Support custom CSS class on TOC element
Closes #1224
diff --git a/docs/change_log/index.md b/docs/change_log/index.md index ca4792b1b..a39bc97d2 100644 --- a/docs/change_log/index.md +++ b/docs/change_log/index.md @@ -6,6 +6,7 @@ Python-Markdown Change Log (under development): version 3.3.7 (a bug-fix release). * Disallow square brackets in reference link ids (#1209)...
1
1
1
[{"id": "G0", "claim": "The changelog entry for the new TOC feature is listed under version 3.3.7, a point release that can only contain bug fixes, so it should not be included there and must instead be part of the 3.4.0 release.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
Python-Markdown__markdown__1260
Python-Markdown/markdown
1,260
defect
cebe1de23631a300167445bbb152c31615de9faf
140bd355fe5b895bc533f505c3e43a9b15ec709d
Remove previously deprecated objects.
This completely removes all objects which were deprecated back on version 3.0. We are now working on 3.4 so I think perhaps we can move forward with this. The one hesitation I have is that it is possible some older (unmaintained) extensions could stop working. However, given the time that has passed, and the fact that ...
diff --git a/docs/change_log/release-3.4.md b/docs/change_log/release-3.4.md index eb36b409b..a85b07a79 100644 --- a/docs/change_log/release-3.4.md +++ b/docs/change_log/release-3.4.md @@ -30,6 +30,34 @@ markdown.markdown(src, extensions=[TableExtension(use_align_attribute=True)]) In addition, tests were moved to th...
1
1
0
[{"id": "G0", "claim": "The release notes misspell \"deprecated\" as \"dreprecated\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Python-Markdown__markdown__1339
Python-Markdown/markdown
1,339
defect
07b8b2c90a92c20fb0740d5527c6a219d2afb7ae
d722e59a428f8145462ff19e54bfa17263ac899b
TOC extension: Add new boolean option permalink_prepend
This PR adds a new boolean to the TOC extension configuration. As described in the documentation: * **`permalink_prepend`**: Set to `True` if the generated permalinks should be placed at the start of the header, rather than at the end. Default is `False`. Basically, if the output of the conversion with ...
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md index ed1c6bdc2..293d4be78 100644 --- a/docs/extensions/toc.md +++ b/docs/extensions/toc.md @@ -174,6 +174,10 @@ The following options are provided to configure the output: * **`permalink_title`**: Title attribute of the permanent link. Defaults to `Per...
7
5
0
[{"id": "G0", "claim": "Waylan questions whether the feature is necessary at all, asking whether it could be accomplished with CSS alone, and wants to make sure it makes sense to add before accepting it.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The o...
null
Python-Markdown__markdown__1380
Python-Markdown/markdown
1,380
defect
25b64df6a9066b8eef7e68101567de938e38ea0e
07ed12955b5e1ca1c26435537c014cfd74dbd0f6
Fix admonition corner case with indented code blocks
Fix a corner case in admonitions where if an indented code block was provided as the first block, the output would be malformed. Fixes #1329
diff --git a/docs/changelog.md b/docs/changelog.md index d233abfda..24f549a80 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -28,6 +28,13 @@ links to the header, placing them after all other header content. * Update the list of empty HTML tags (#1353). * Add customizable TOC title class to TOC extension (#...
2
2
0
[{"id": "G0", "claim": "The unreleased version heading \"## [3.4.5] -- ????-??-??\" should be removed and its Fixed item combined with the list above, since a version number is only specified at release time.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
Python-Markdown__markdown__1414
Python-Markdown/markdown
1,414
defect
bc14d5917b2943b438af930ae61fe27c31581375
d015e31bba674923d9459b793c40a6c76c8d4fd6
Allow attr_list quoted values to contain curly braces
* Fixes #1390 How it worked before: * Extract the content without allowing any `}` in it, and require that it ends with `}` - for block elements anchored to the end of the line, otherwise not. * Parse the content in more detail. No edge cases with `}` can arise. If parsing is interrupted by some unrecognized...
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index 7ce3f9925..1ec852f4f 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -57,10 +57,10 @@ def _handle_word(s, t): _scanner = re.Scanner([ - (r'[^ =]+=".*?"', _handle_double_quote), - (r"...
2
2
2
[{"id": "G0", "claim": "The new tests this PR adds must be placed in the new testing framework (tests/test_syntax/extensions/test_attr_list.py) rather than added to or edited in the legacy framework files.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Python-Markdown__markdown__1449
Python-Markdown/markdown
1,449
defect
a18765c25cccab23f400edeac94d20f4be00492b
224dc4165d9adad6f336a600d5c29231696c0d50
Refactor abbr escaping
A alternate fix to #1444. This does not omit the use of carrots in abbreviations. It still omits backslashs, however. I played around with backslashes and it just doesn't make sense to support them as they have special meaning in the Markdown, not because of their use in regular expressions.
diff --git a/docs/changelog.md b/docs/changelog.md index 8deaefd28..1186bc9e0 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -15,7 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Include `scripts/*.py` in the generated source tarballs (#1430). * Ensure lines afte...
1
1
0
[{"id": "G0", "claim": "The changelog line the pull request adds should say \"caret\", not \"carrot\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Python-Markdown__markdown__1461
Python-Markdown/markdown
1,461
defect
993b57b8ea577f2120f7d0c81b45ee5ed74a0f57
3b757e09bd6b72c940ee474d410f6ce0f589bf4d
Refactor `abbr` Extension
A new `AbbrTreeprocessor` has been introduced, which replaces the now deprecated `AbbrInlineProcessor`. Abbreviation processing now happens after Attribute Lists, avoiding a conflict between the two extensions. Fixes #1460. As an aside, with this change we now have a collection of abbrs. It should probably be emptie...
diff --git a/docs/changelog.md b/docs/changelog.md index 86b3b5fd7..7a91c8ae1 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -10,6 +10,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +### Changed + +#### Refactor `abbr` Extension + +A new `AbbrTreep...
3
3
0
[{"id": "G0", "claim": "The added changelog paragraph line about the AbbrPreprocessor rename should be wrapped.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `.keys()` in the regex-building line is unnecessary and can be removed.", "category"...
null
Python-Markdown__markdown__1467
Python-Markdown/markdown
1,467
defect
ec8c305fb14eb081bb874c917d8b91d3c5122334
831449b55cd429f3311e2769fd4b66966ee56283
Abbr Extension: Definition Sorting and Glossary storage
Several changes/features here. All input welcome on each. * **Sorting**: A simple sort by length to process longer abbreviations first solves all instances of smaller abbreviations preventing longer ones from being used. * `glossary`: An option to include a Markdown file with abbreviations to apply to every page...
diff --git a/docs/changelog.md b/docs/changelog.md index 4c3088994..9fea2c8d8 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -23,6 +23,24 @@ better reflects what it is. `AbbrPreprocessor` has been deprecated. A call to `Markdown.reset()` now clears all previously defined abbreviations. +Abbreviations ar...
6
5
1
[{"id": "G0", "claim": "The changelog needs to be updated to reflect the latest changes to the extension.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The abbreviations extension documentation needs updating to reflect the latest changes to the ...
null
Python-Markdown__markdown__1527
Python-Markdown/markdown
1,527
defect
513de8a0db81c840f917488af7078a45f74542bf
90bfcca9ba3ca79b21d911b027ad00cff352f7b4
Ensure `md_in_html` does not drop content
Resolves #1526
diff --git a/docs/changelog.md b/docs/changelog.md index 930199fe3..3fc020351 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -9,6 +9,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ...
2
2
0
[{"id": "G0", "claim": "The new test's name misspells 'trailing' as 'trialing' and should be corrected to test_trailing_content_after_tag_in_md_block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The expected result is invalid HTML, so a comme...
null
Python-Markdown__markdown__252
Python-Markdown/markdown
252
defect
e92d7cf65e394b378cd3f9a370fb8e0761e7f62c
7d10f204203397c3ab34c20014fef55e3d8ba16d
Enable anchorlinks in Python-Markdown documentation
This will enable users to more easily add links to Python-Markdown documentation parts, and also make them know that such an option exists (and prevent issues like #245).
diff --git a/markdown/extensions/headerid.py b/markdown/extensions/headerid.py index 0476f9eef..8221fe1d5 100644 --- a/markdown/extensions/headerid.py +++ b/markdown/extensions/headerid.py @@ -78,7 +78,7 @@ from __future__ import unicode_literals from . import Extension from ..treeprocessors import Treeprocessor -fr...
3
3
1
[{"id": "G0", "claim": "The TOC extension should gain a new \"permalinks\" option (default off, True meaning a pilcrow, a string meaning custom anchor text) whose output works with Sphinx stylesheets, and the docs should use that instead of the existing anchorlinks option.", "category": "design", "verdict": "supported"...
null
Python-Markdown__markdown__598
Python-Markdown/markdown
598
defect
f018b0ede5a49c8d711351d8e9ff437c97cf3acc
6a69ddd9d9f161367385ee7f8b2cdaefc5568b47
Feature ancestry
Feature adds the ability for an inline pattern to define a list of ancestor tag names that should be avoided. If a pattern would create a descendant of one of the listed tag names, the pattern will not match.
diff --git a/docs/extensions/api.txt b/docs/extensions/api.txt index 96538835b..29bf83fd2 100644 --- a/docs/extensions/api.txt +++ b/docs/extensions/api.txt @@ -68,6 +68,12 @@ must have the following methods: Accepts a match object and returns an ElementTree element of a plain Unicode string. +* **`getExcl...
2
2
1
[{"id": "G0", "claim": "The new documentation should be consistent and use Python terminology, calling the collection of tag names a list rather than mixing 'array' and 'list'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The excludes API should...
null
Python-Markdown__markdown__619
Python-Markdown/markdown
619
defect
2e9beaecae75ec01899afa846f775ba7b3105ff8
f63a196b1eede0cf721b67d542dfbd5914d1aaf2
Warnings should cause tests to fail.
Related to #618. Although, I don't see that this any offers any value. Mostly doing this for later reference. Note that this change does not force the use of the pure Python Elementtree lib. But in my testing, even when doing so, there was no difference.
diff --git a/tests/__init__.py b/tests/__init__.py index f759ceb74..5740372cc 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,6 +2,7 @@ import markdown import codecs import difflib +import warnings try: import nose except ImportError as e: @@ -179,4 +180,10 @@ def generate_all(): def run(): ...
1
1
0
[{"id": "G0", "claim": "Fix the typo in the new comment in tests/__init__.py run(): 'Execpt' should be spelled 'Except'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Python-Markdown__markdown__629
Python-Markdown/markdown
629
defect
6d1537ac5e528db9e91cf905f507bb409e546d2c
8b43074e37411ea8171ed6945ee9040d296d0605
Flexible inline
Add new InlineProcessor class that handles inline processing much better and allows for more flexibility. This adds new InlineProcessors that no longer utilize unnecessary pretext and posttext captures. New class can accept the buffer that is being worked on and manually process the text without regex and return new ...
diff --git a/markdown/extensions/abbr.py b/markdown/extensions/abbr.py index ec2428a4c..7ae1e7a3e 100644 --- a/markdown/extensions/abbr.py +++ b/markdown/extensions/abbr.py @@ -20,7 +20,7 @@ from __future__ import unicode_literals from . import Extension from ..preprocessors import Preprocessor -from ..inlinepattern...
4
4
1
[{"id": "G0", "claim": "PyPy CI fails with an ElementTree FutureWarning ('Use specific len(elem) or elem is not None test instead'); the author suggests the PR could also take care of this separate issue here.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", ...
null
Python-Markdown__markdown__727
Python-Markdown/markdown
727
defect
6323ba6c98cadc19c0a7eebe9b09279b738dc109
365c8bab0562e84edc142f8f353b43aaa629bcbd
Fix double escaping of block code
Ref #725. When post processing code blocks handled by the `code` step, unescape previously escaped entities. Make sure to test both `fenced_code` and `codehilte` to ensure the output of both are the same in relation to entities.
diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py index d204ebf76..712618f63 100644 --- a/markdown/extensions/codehilite.py +++ b/markdown/extensions/codehilite.py @@ -200,13 +200,20 @@ def _parseHeader(self): class HiliteTreeprocessor(Treeprocessor): """ Hilight source code in co...
2
1
0
[{"id": "G0", "claim": "The new code_unescape may unescape entities the user manually escaped, so a code block containing HTML entities may not come out the other end correctly.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added cov...
null
Python-Markdown__markdown__787
Python-Markdown/markdown
787
defect
12864d276855231c1d72f0da8efd8dace20a9062
5f85211011737921b89324720c75c6167118c1f6
adding toc_height to exclude upper headings, proposal for #786 and #637
I added a new config value toc_height. Using an array for _toc_depth_ seems to me very unlikely. ## test local ``` ~/devel/markdown$ python3 -m unittest discover tests ... 550 tests in 1.259s OK (skipped=71) ```
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md index f6111b291..1ae880009 100644 --- a/docs/extensions/toc.md +++ b/docs/extensions/toc.md @@ -196,6 +196,14 @@ The following options are provided to configure the output: * **`separator`**: Word separator. Character which replaces white space in id. D...
7
7
5
[{"id": "G0", "claim": "The description of toc_height in the config boilerplate reads \"Define from to which section level\", which contains a typo the reviewer says cannot be correct and asks to be fixed.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
Python-Markdown__markdown__805
Python-Markdown/markdown
805
defect
cb47805e10333dfbebc094d9f07fdf18e200aa89
e0639648f32476cb484d71637100a2450b891922
Refactor em strong to consolidate code and fix issue #792
This refactors em strong logic into two processors: one for asterisks and one for underscores. All logic for the respective emphasis convention is consolidated, and a new pattern is added to handle `**strong*em***` and `__strong_em___` respectively.
diff --git a/markdown/extensions/legacy_em.py b/markdown/extensions/legacy_em.py index be5b22649..e40cb9948 100644 --- a/markdown/extensions/legacy_em.py +++ b/markdown/extensions/legacy_em.py @@ -13,10 +13,29 @@ from __future__ import absolute_import from __future__ import unicode_literals from . import Extension -...
3
3
2
[{"id": "G0", "claim": "Tests are still needed for the new, fixed em/strong case, and the coverage of the new code has to be addressed as well.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A named tuple should be used for the PATTERNS entries so that ...
null
Python-Markdown__markdown__934
Python-Markdown/markdown
934
defect
c5f1395a944e76e95250740452706f6b16830cae
75df39870eaf9544a721e821c779deacc2392792
TOC fix for AtomicString handling
Fixes #931
diff --git a/docs/change_log/release-3.2.md b/docs/change_log/release-3.2.md index 444aad887..5d0cf94f0 100644 --- a/docs/change_log/release-3.2.md +++ b/docs/change_log/release-3.2.md @@ -93,5 +93,4 @@ The following bug fixes are included in the 3.2 release: * HTML tag placeholders are no longer included in `.toc_to...
1
1
1
[{"id": "G0", "claim": "Release notes for a future release should not go in the already-released 3.2 changelog; the entry for this bug fix should instead be added to docs/change_log/index.md right before the 3.2.1 entry, in the same format, with the date left blank until release.", "category": "documentation", "verdict...
null
Python-Markdown__markdown__970
Python-Markdown/markdown
970
defect
dc8583916a4c78feebdca4e93509dbfc439751c0
e8add8bdbb14f569d036495effa5a40c4dda588c
Support unicode ids in toc
I'd like to propose a change to the way `slugify` works in `toc.py`. Currently, `slugify` uses ascii to encode/decode strings and as a result if a header only contains unicode characters the resulting `id` and `href` becomes the default `#_1`, `#_2`, etc. Instead, as the HTML standard does not impose any particul...
diff --git a/docs/extensions/toc.md b/docs/extensions/toc.md index b068b29d7..496ca236c 100644 --- a/docs/extensions/toc.md +++ b/docs/extensions/toc.md @@ -202,6 +202,8 @@ The following options are provided to configure the output: The callable must return a string appropriate for use in HTML `id` attributes. ...
6
5
2
[{"id": "G0", "claim": "Making Unicode support the default `slugify` behaviour would break many users' existing links when they update, so the new functionality should instead be provided as an option users can enable (e.g. a separate or config-selectable slugify function) rather than replacing the default.", "category...
null
Q00__ouroboros__505
Q00/ouroboros
505
defect
224383613dc2b0e77fcfd60df0286d50851b38b2
b2aaf83dad060007b25703df5723e10ce3cc7991
feat(orchestrator): Agent OS runtime_profile (Codex backend, supersedes #488)
## Summary Introduces an opt-in `orchestrator.runtime_profile` setting as the multi-runtime alternative to PR #488's blunt `--ignore-user-config`. Phase 1 ships only the Codex mapping (`worker` → `codex exec --profile ouroboros-worker`); OpenCode, Hermes, Claude Code, and LiteLLM mappings are intentionally deferred to...
diff --git a/docs/runtime-guides/codex.md b/docs/runtime-guides/codex.md index 3a28011c23..238f5fd91e 100644 --- a/docs/runtime-guides/codex.md +++ b/docs/runtime-guides/codex.md @@ -113,9 +113,38 @@ Under the hood, `CodexCliRuntime` still talks to the local `codex` executable, b - Installs managed Ouroboros rules int...
4
4
4
[{"id": "G0", "claim": "_upsert_codex_worker_profile_section() rewrites the whole [profiles.ouroboros-worker] block on every setup rerun, so user keys/subtables that the Codex guide tells operators to put there (model, notify, sandbox) are silently deleted - a config-loss bug in the primary setup path.", "category": "c...
null
Q00__ouroboros__525
Q00/ouroboros
525
defect
483e9be865f690568380b9fbb61b7d114d168571
aae052676c61ffdacd906997372438479200f094
feat(evolution): emit Directive at StepAction sites (slice 1 of #472)
## Summary Per the maintainer alignment in #476 Q5, the evolution loop is the first migration site that translates an existing local enum (`StepAction`) onto the shared `Directive` vocabulary from #477. Each call to `EvolutionaryLoop.evolve_step` now emits a `control.directive.emitted` event at the four `StepAction`-p...
diff --git a/src/ouroboros/evolution/directive_mapping.py b/src/ouroboros/evolution/directive_mapping.py new file mode 100644 index 0000000000..039e387f12 --- /dev/null +++ b/src/ouroboros/evolution/directive_mapping.py @@ -0,0 +1,108 @@ +"""Map :class:`StepAction` outcomes onto the :class:`Directive` vocabulary. + +Is...
4
3
3
[{"id": "G0", "claim": "Directive events emitted on failure paths do not carry the actual generation phase: the StepAction.FAILED branches hard-code phase=\"executing\" even though _run_generation() can fail in earlier phases, and even after phase replay was introduced, timeout-driven failures only record \"cancelled\"...
null
Q00__ouroboros__538
Q00/ouroboros
538
defect
483e9be865f690568380b9fbb61b7d114d168571
5addcf2248740c86afdf53f4b61f0eb48c766abb
feat(orchestrator): Stage enum + runtime_profile.stages config (slice 1 of #519)
## Summary First slice of #519 (Stage-Runtime mapping). Adds the per-stage runtime selection primitive the Agent OS diagram agreed in #476 calls for: each pipeline stage (`interview` / `execute` / `evaluate` / `reflect`) can be served by a different harness. This PR ships **only** the binding-table primitive — the `S...
diff --git a/src/ouroboros/config/__init__.py b/src/ouroboros/config/__init__.py index 14eae85bd1..98b361b7dc 100644 --- a/src/ouroboros/config/__init__.py +++ b/src/ouroboros/config/__init__.py @@ -75,6 +75,7 @@ PersistenceConfig, ProviderCredentials, ResilienceConfig, + RuntimeProfileConfig, Ti...
3
3
3
[{"id": "G0", "claim": "RuntimeProfileConfig.default and the stages values are unconstrained strings, so invalid backends like \"cluade\" or empty strings pass startup validation instead of failing bad routing config early; the fields need the same backend validation/normalization as orchestrator.runtime_backend and th...
null
Q00__ouroboros__591
Q00/ouroboros
591
defect
87a2abfba02ae50d523cf32fca38a4f977ff8278
e928c008880067912d58768b80eefec1ea212b48
fix(interview): include initial user turn on first question
## Summary - Mirror the initial interview context as the first user message when generating the first question - Keep existing overflow-message behavior for long initial contexts so prompt-budget safeguards remain intact - Add tests proving first-question calls include a non-system user turn ## Verification - `uv ru...
diff --git a/src/ouroboros/bigbang/interview.py b/src/ouroboros/bigbang/interview.py index 63f4637333..c685b7986f 100644 --- a/src/ouroboros/bigbang/interview.py +++ b/src/ouroboros/bigbang/interview.py @@ -904,6 +904,16 @@ def _build_conversation_history( overflow = self._initial_context_overflow_message(cont...
1
1
1
[{"id": "G0", "claim": "The provider-compatibility first-turn branch in `_build_conversation_history()` keys on raw `not state.rounds`, so in the summary-recovery flow the only round is the skipped `INITIAL_CONTEXT_SUMMARY_QUESTION` sentinel, the built history is empty, and the first real provider call is still system-...
null
Q00__ouroboros__593
Q00/ouroboros
593
defect
87a2abfba02ae50d523cf32fca38a4f977ff8278
d8d4e2fbe7c4c89b262fd04c771e5d8d62897da4
fix(claude): use partial content on max turns
## Summary - Treat Claude SDK `ResultMessage(subtype="error_max_turns")` as a graceful partial success only when assistant text was already streamed - Preserve fatal error behavior when no usable partial content exists - Add diagnostics for SDK error subtype/stop reason/errors and regression tests for both branches #...
diff --git a/src/ouroboros/providers/claude_code_adapter.py b/src/ouroboros/providers/claude_code_adapter.py index 07b045a77f..b297b4759b 100644 --- a/src/ouroboros/providers/claude_code_adapter.py +++ b/src/ouroboros/providers/claude_code_adapter.py @@ -699,9 +699,24 @@ async def _safe_query(): el...
5
4
2
[{"id": "G0", "claim": "Converting error_max_turns with streamed text into a normal success while hard-coding finish_reason=\"stop\" and dropping the SDK subtype/stop reason from raw_response misclassifies a truncated/incomplete generation as a clean completion and can silently suppress downstream retries/budget expans...
null
Q00__ouroboros__596
Q00/ouroboros
596
defect
8d310f57fa4d8b2e8065dff4981e157d7ff0a8b3
877432d490f44cb72c5088afc3689865dbd6c6db
fix(mcp): serve resources from persisted state
## Summary - Replace placeholder MCP seed/session/event resource responses with persisted seed files and EventStore-backed data. - Route child resource URIs through the MCP adapter and FastMCP template registration so specific resource reads reach the proper handlers. - Fix current-session selection to use related exe...
diff --git a/docs/contributing/repo-remediation-report.md b/docs/contributing/repo-remediation-report.md new file mode 100644 index 0000000000..5d6d8cb7a3 --- /dev/null +++ b/docs/contributing/repo-remediation-report.md @@ -0,0 +1,96 @@ +# Repository Remediation Report + +## 조사 범위 + +- 작업 디렉터리: `/Users/jaegyu.lee/Proje...
6
6
6
[{"id": "G0", "claim": "SeedsResourceHandler._load_seed_by_id() returns the first file whose filename matches the requested ID without verifying the file's seed.metadata.seed_id also matches, so ouroboros://seeds/{seed_id} can silently return the wrong seed, and the mismatch case has no regression test.", "category": "...
null
Q00__ouroboros__603
Q00/ouroboros
603
defect
1034f3eac243044d2fc1f1acd1a9644d9c973215
0976732e58ab9a9d641afbc30c6e55f9727c0e33
fix(claude): fall back to python for hook executable
## Summary - keep `python3` as the preferred hook interpreter on Unix-like systems - fall back to unversioned `python` when `python3` fails or is unavailable (covers the Windows Store alias case from #598) - extends hook settings regression coverage for the interpreter fallback References #598 Now based directly on `...
diff --git a/.claude/settings.json b/.claude/settings.json index 20c400b674..5ddff7ff18 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/keyword-detector.py\"",...
2
2
1
[{"id": "G0", "claim": "Replacing `python3` with a hard-coded `python` launcher in the hook commands introduces a runtime regression on Unix-like systems that ship `python3` without an unversioned `python`, so the new command will fail with `python: command not found` for affected users; the hooks should keep the exist...
null
Q00__ouroboros__612
Q00/ouroboros
612
defect
b246c220b85a839810cf46649e65188cc4c767b5
82ff66e844705e8014c1b4eaa4c8343c5dc98cf2
test(core): add unit tests for project_paths module
## Summary Adds 18 unit tests for the `ouroboros.core.project_paths` module, which previously had no test coverage. ### Tests added - **`TestResolvePathAgainstBase`** (5 tests): None input, absolute paths, relative paths, Path objects, tilde expansion - **`TestProjectPathCandidatesFromSeed`** (9 tests): None seed, pro...
diff --git a/tests/unit/core/test_project_paths.py b/tests/unit/core/test_project_paths.py new file mode 100644 index 0000000000..5721894815 --- /dev/null +++ b/tests/unit/core/test_project_paths.py @@ -0,0 +1,149 @@ +"""Tests for ouroboros.core.project_paths — path resolution helpers.""" + +from __future__ import anno...
1
1
1
[{"id": "G0", "claim": "The new test module imports `pytest` but never uses it, and since the project enables Ruff's `F` rules in `pyproject.toml`, `F401` will fail CI on this PR as written.", "category": "lint", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
Q00__ouroboros__613
Q00/ouroboros
613
defect
0c4e09981ab01ec7d667eecd5f6febfc956c244c
f229535c870757d3dcb676052ba0708354b5b8bb
fix: separate task completion from AC verdict summaries
## Summary First compatibility-preserving slice for #608. This PR starts separating worker execution completion from formal AC verdicts at the shared model / MCP adapter boundary: - adds `TaskResult` and `EvaluationSummary.task_results` for worker execution outcomes - keeps `ACResult` reserved for formal evaluator/v...
diff --git a/src/ouroboros/core/lineage.py b/src/ouroboros/core/lineage.py index 8cd3247441..b3f6921fda 100644 --- a/src/ouroboros/core/lineage.py +++ b/src/ouroboros/core/lineage.py @@ -108,6 +108,23 @@ def override_reason(self) -> str | None: return None +class TaskResult(BaseModel, frozen=True): + ""...
5
4
2
[{"id": "G0", "claim": "The spec-verification safeguard is disabled for the legacy mechanical path: `_verify_spec_compliance()` short-circuits on empty `mechanical.ac_results` (and from S2 builds `agent_results` only from those empty `ac_results`), so agent-reported legacy PASS claims can no longer be checked against t...
null
Q00__ouroboros__617
Q00/ouroboros
617
defect
2fc7a3c8d0735aa1b6f8f35f34d74aecd5b6a450
8ee8c6161e2bf54f15b8a896279da6aec365b531
feat(mcp): add a first-class Ralph loop job
## Summary Adds a first-class MCP-owned Ralph loop surface: - `RalphLoopRunner` runs repeated `evolve_step` generations until QA passes, convergence occurs, a terminal evolution action occurs, or `max_generations` is reached. - `RalphHandler` exposes `ouroboros_ralph` as a background JobManager job and returns a `job...
diff --git a/src/ouroboros/mcp/server/adapter.py b/src/ouroboros/mcp/server/adapter.py index 02b46d2c10..6cd34d38fb 100644 --- a/src/ouroboros/mcp/server/adapter.py +++ b/src/ouroboros/mcp/server/adapter.py @@ -947,6 +947,7 @@ def create_ouroboros_server( LineageStatusHandler, MeasureDriftHandler, ...
6
6
5
[{"id": "G0", "claim": "RalphHandler.handle() always enqueues a local background job and never applies the should_dispatch_via_plugin(...) gate that other tools use, so in OpenCode plugin mode the injected EvolveStepHandler returns a delegated _subagent envelope and the Ralph loop records action=\"unknown\", never reac...
null
Q00__ouroboros__628
Q00/ouroboros
628
defect
654fb871763d6efe74598aae31b66bc41329316c
17c14b823adb0dd2e9a564341dac4bc83836a91e
feat(agent-process): project lifecycle state from events
## Summary Adds the first #518 durable lifecycle state-model slice: `AgentProcessSnapshot` plus `project_agent_process_snapshot()`, a small read-model projection that reconstructs one agent-process lifecycle from existing `control.directive.emitted` rows. ## Why #518 should move toward durable pause/resume/replay th...
diff --git a/src/ouroboros/orchestrator/agent_process.py b/src/ouroboros/orchestrator/agent_process.py index 8ccb384a5f..bc91b01d60 100644 --- a/src/ouroboros/orchestrator/agent_process.py +++ b/src/ouroboros/orchestrator/agent_process.py @@ -52,13 +52,14 @@ from __future__ import annotations import asyncio -from c...
3
3
3
[{"id": "G0", "claim": "project_agent_process_snapshot() claims malformed rows are skipped, but once a row has a valid lifecycle_status it is always folded, so a later row missing intent or reason silently overwrites a previously valid snapshot with intent=None/last_reason=None while still incrementing directive_count ...
null
Q00__ouroboros__630
Q00/ouroboros
630
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
6579c29f77679db9aa895e3d4f7d86db564bd3b0
control: preserve contract identity in lineage projection
## Summary Extends the lineage directive projection so `control.directive.emitted` rows preserve the stable `ControlContract` identity metadata needed by replay/idempotency/UI consumers. Projected `ControlDirectiveEmission` now carries: - `schema_version` - `target_type` - `target_id` - `parent_directive_id` - `idem...
diff --git a/src/ouroboros/core/lineage.py b/src/ouroboros/core/lineage.py index 828f517b86..b7f262dbbe 100644 --- a/src/ouroboros/core/lineage.py +++ b/src/ouroboros/core/lineage.py @@ -404,16 +404,23 @@ class ControlDirectiveEmission(BaseModel, frozen=True): Captures the audit-level "who/what/why/when" of a cont...
3
2
1
[{"id": "G0", "claim": "The projector only type-checks the new ControlContract identity fields, so contract-invalid values such as schema_version=0, empty target_type, empty target_id, empty parent_directive_id or empty idempotency_key are surfaced to callers as if they were valid metadata instead of being skipped like...
null
Q00__ouroboros__631
Q00/ouroboros
631
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
867e7c909f48eb407e5617ea43cf5b5772840796
fix(security): enforce path containment for seed-encoded paths
## Summary `resolve_path_against_base()` accepted any absolute path verbatim — including `/etc/passwd`, `~/../../etc/passwd`, or `../../etc/passwd` — letting seed-encoded paths escape the project directory and circumvent PR #599's Ralph mutation guard. ## Threat Model Seed-encoded paths come from untrusted sources: ...
diff --git a/src/ouroboros/core/project_paths.py b/src/ouroboros/core/project_paths.py index 1a51b3699c..0912ddd513 100644 --- a/src/ouroboros/core/project_paths.py +++ b/src/ouroboros/core/project_paths.py @@ -5,16 +5,50 @@ from pathlib import Path from typing import Any +import structlog -def resolve_path_again...
1
1
1
[{"id": "G0", "claim": "Callers such as the CLI runner and execute-seed verification still treat a None result from resolve_seed_project_path() as 'just use the base directory' after containment enforcement, so previously valid seeds that escape stable_base now run verification/worktree setup in the wrong directory ins...
null
Q00__ouroboros__632
Q00/ouroboros
632
defect
6579c29f77679db9aa895e3d4f7d86db564bd3b0
65515d44c36c0b30387909a757edb9d49579db2a
control: add effective directive idempotency view
## Summary Adds an additive, idempotency-aware read view for projected control directives. - `ControlDirectiveEmission.effective_idempotency_key` returns `(target_type, target_id, directive, idempotency_key)` when complete. - `OntologyLineage.effective_directive_emissions` collapses repeated projected directives with...
diff --git a/src/ouroboros/core/lineage.py b/src/ouroboros/core/lineage.py index b7f262dbbe..7416b87151 100644 --- a/src/ouroboros/core/lineage.py +++ b/src/ouroboros/core/lineage.py @@ -422,6 +422,18 @@ class ControlDirectiveEmission(BaseModel, frozen=True): parent_directive_id: str | None = None idempotency...
1
1
1
[{"id": "G0", "claim": "The new `effective_idempotency_key` helper treats empty strings as a complete key because it only checks for `None`, so malformed or legacy rows with blank `target_type`, `target_id`, or `idempotency_key` are deduped in `effective_directive_emissions` instead of remaining visible as raw audit ro...
null
Q00__ouroboros__634
Q00/ouroboros
634
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
eaee5f9d7a4ca4a26d8b1f18b794dd7fa0e5d995
fix(orchestrator): honour permission_mode in Gemini CLI runtime
## Summary `GeminiCLIRuntime._build_command` hard-coded `--approval-mode yolo`, so every invocation ran at full bypass regardless of the configured `permission_mode`. Claude and Codex runtimes branch correctly on `bypassPermissions` / `acceptEdits` / `default` — only Gemini was unconditional. ## Mapping Ouroboros vo...
diff --git a/src/ouroboros/orchestrator/gemini_cli_runtime.py b/src/ouroboros/orchestrator/gemini_cli_runtime.py index 07cd7a87a0..887f72dda6 100644 --- a/src/ouroboros/orchestrator/gemini_cli_runtime.py +++ b/src/ouroboros/orchestrator/gemini_cli_runtime.py @@ -30,10 +30,17 @@ log = structlog.get_logger(__name__) ...
5
5
3
[{"id": "G0", "claim": "Unrecognized permission modes (e.g. a typo like 'acceptedits' in the unchecked OUROBOROS_AGENT_PERMISSION_MODE env var) are silently coerced to bypassPermissions/yolo, so the permission boundary fails open instead of raising as the shared Codex parser does.", "category": "security", "verdict": "...
null
Q00__ouroboros__636
Q00/ouroboros
636
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
0bdf4bc798e1a8ca02069887491d4feb4d49fe7c
fix(orchestrator): make HermesCliRuntime stream timeouts configurable
## Diagnosis | Runtime | Output mode | idle timeout (300s) impact | |---------|------------|----------------------------| | Claude / Codex / Gemini / OpenCode | stream-json / NDJSON events emitted continuously | rarely fires — chunks arrive within the window | | **Hermes** | quiet mode (`-Q`) — single batched output |...
diff --git a/src/ouroboros/orchestrator/hermes_runtime.py b/src/ouroboros/orchestrator/hermes_runtime.py index 93f5622183..4e48136fcc 100644 --- a/src/ouroboros/orchestrator/hermes_runtime.py +++ b/src/ouroboros/orchestrator/hermes_runtime.py @@ -43,6 +43,45 @@ _INTERVIEW_SESSION_METADATA_KEY = "ouroboros_interview_...
1
1
1
[{"id": "G0", "claim": "`_resolve_timeout_override()` treats any successful `float(raw)` parse as valid, so non-finite env/kwargs values like `nan` or `-inf` are accepted instead of falling back to the default, which at runtime breaks liveness semantics because `asyncio.wait_for(..., timeout=nan)` raises `TimeoutError`...
null
Q00__ouroboros__644
Q00/ouroboros
644
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
c3e4bb3832e771e34bd53a579791c1364c4b00c9
Fail closed when auto MCP dispatch is unavailable
## Summary Fixes #638. `ooo auto` has a stricter product contract than ordinary skill prompts: it must enter the real `ouroboros_auto` pipeline or fail clearly. This PR adds a Codex-runtime fail-closed path when the `auto` skill is resolved but its MCP dispatch is unavailable. ## Changes - When Codex resolves `ooo ...
diff --git a/src/ouroboros/orchestrator/codex_cli_runtime.py b/src/ouroboros/orchestrator/codex_cli_runtime.py index 016799868f..7ebaa14e26 100644 --- a/src/ouroboros/orchestrator/codex_cli_runtime.py +++ b/src/ouroboros/orchestrator/codex_cli_runtime.py @@ -563,13 +563,33 @@ async def _maybe_dispatch_skill_intercept( ...
5
5
2
[{"id": "G0", "claim": "The new `ooo auto` special case keyed on skill identity inside a broad `except Exception` turns any dispatcher exception into a hard `SkillDispatchUnavailable`, so real runtime bugs and transient handler failures are misreported as tool unavailable; fail-closed should be limited to the actual ha...
null
Q00__ouroboros__646
Q00/ouroboros
646
defect
1e48b0a29ce420e75d6b83e4d0fd887a47ec758b
0080a30d45cb32d7beadbad6dd9719c6e06ad411
Ground auto runtime answers in supplied repo facts
## Summary Implements the first narrow PR scope from #640. This PR adds a bounded context/fact injection path for `AutoAnswerer` without adding repository crawling or network access. ## Changes - Add `AutoAnswerContext` with caller-supplied `repo_facts` and evidence labels. - Let runtime/framework/project-structure...
diff --git a/src/ouroboros/auto/answerer.py b/src/ouroboros/auto/answerer.py index d57146b6bd..24653310b0 100644 --- a/src/ouroboros/auto/answerer.py +++ b/src/ouroboros/auto/answerer.py @@ -2,6 +2,7 @@ from __future__ import annotations +from collections.abc import Mapping, Sequence from dataclasses import datac...
2
2
2
[{"id": "G0", "claim": "AutoAnswerContext.runtime_fact() treats framework, package_manager and project_structure as interchangeable with a complete runtime_context, so a caller supplying only one narrow fact gets it written as a CONFIRMED runtime_context ledger entry that can silently advance an incomplete Seed to read...
null
Q00__ouroboros__649
Q00/ouroboros
649
defect
e53d7fd74aa94a771d6062f24846780b938bfd73
7b310645c12b4916e5bff110113475bb522f7fff
Add Codex doctor checks for ooo auto dispatch
## Summary - Add `ouroboros codex doctor` to inspect installed Codex rules, auto skill, and MCP config - Report a broken `ooo auto` dispatch surface before users can mistake manual fallback for auto - Cover healthy and broken install surfaces with unit tests ## Why Follows #637. `ooo auto` can only be trusted in pla...
diff --git a/src/ouroboros/cli/commands/codex.py b/src/ouroboros/cli/commands/codex.py index 6065c0b157..751d3ecd57 100644 --- a/src/ouroboros/cli/commands/codex.py +++ b/src/ouroboros/cli/commands/codex.py @@ -3,10 +3,12 @@ from __future__ import annotations from pathlib import Path +import tomllib +from typing im...
3
3
3
[{"id": "G0", "claim": "The new `doctor` command rejects any `[mcp_servers.ouroboros]` entry that does not expose `command`/`args`, but setup explicitly preserves URL-based Codex MCP configs as valid user-managed installs, so for a supported config like `url = \"http://127.0.0.1:12000/mcp\"` doctor exits 1 with \"missi...
null
Q00__ouroboros__652
Q00/ouroboros
652
defect
a5bf25079306c581625be803fb13f0a1c0740f9f
944ae9066a94b40ee1f5d9417c53e99dc513dd14
Preserve explicit auto goal facts through Seed gating
## Summary - hydrate the auto Seed draft ledger from explicitly labeled user-goal facts before interview completion gates run - allow natural-language `goal` text to contain punctuation such as semicolons while keeping dangerous-pattern and non-freetext shell metacharacter checks intact - add regression coverage for th...
diff --git a/src/ouroboros/auto/ledger.py b/src/ouroboros/auto/ledger.py index 8cd7ed4f73..ffbdd4e40e 100644 --- a/src/ouroboros/auto/ledger.py +++ b/src/ouroboros/auto/ledger.py @@ -4,6 +4,7 @@ from dataclasses import asdict, dataclass, field from enum import StrEnum +import re from typing import Any @@ -186,...
2
2
2
[{"id": "G0", "claim": "The new explicit-goal parser stops every captured section at the first '.' or ';' and still marks the truncated value CONFIRMED, corrupting inputs such as 'Python 3.11' or filenames and letting auto mode proceed from wrong requirements.", "category": "correctness", "verdict": "supported", "prior...
null
Q00__ouroboros__654
Q00/ouroboros
654
defect
128f2bcfb08ad354e4ba259660739b78d3b781ad
a940df6b7fa2aeba7faaaecec019684c0a364293
feat(install): preserve user backend across upgrades
## Summary Re-running `install.sh` (or `ouroboros setup --non-interactive`) silently rewrote `orchestrator.runtime_backend` to whatever auto-detection landed on — typically `claude` when multiple CLIs are present. Users who deliberately switched to codex/hermes/gemini lost that choice on every upgrade, with no warning....
diff --git a/scripts/install.sh b/scripts/install.sh index 25a86c7f43..e731cfe1d1 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,11 +1,41 @@ #!/bin/bash # Ouroboros installer — auto-detects runtime and installs accordingly. # Usage: curl -fsSL https://raw.githubusercontent.com/Q00/ouroboros/main/scri...
3
2
2
[{"id": "G0", "claim": "Mapping `claude` to extras `[claude]` in `_runtime_to_extras` drops the `mcp` dependency that the previous Claude install path included, so a user who selects or preserves `claude` can finish the install with a broken Claude integration at runtime.", "category": "correctness", "verdict": "suppor...
null
Q00__ouroboros__656
Q00/ouroboros
656
defect
fedd0c71bac41cd4d91637fc4581a48ab552597b
d382802951ad53788c893a53bf3a212ca86a6791
Expose Codex auth-plane failures to chat bridges
## Summary - classify nested Codex CLI auth failures as `codex_auth` with non-secret auth-plane diagnostics - include whether the OpenAI Responses endpoint appeared in the failure, whether `CODEX_HOME/auth.json` / `config.toml` exist, and whether `OPENAI_API_KEY` is merely present - emit a new non-breaking `tool_start...
diff --git a/src/ouroboros/providers/codex_cli_adapter.py b/src/ouroboros/providers/codex_cli_adapter.py index c4dba411cf..ff350af504 100644 --- a/src/ouroboros/providers/codex_cli_adapter.py +++ b/src/ouroboros/providers/codex_cli_adapter.py @@ -62,6 +62,15 @@ "connection reset", ) +_CODEX_AUTH_FAILURE_PATTERN...
4
2
2
[{"id": "G0", "claim": "`_codex_failure_details()` classifies a failure as `codex_auth` whenever the error text merely mentions `api.openai.com/v1/responses`, so unrelated failures from that endpoint (429s, 5xxs, model/validation errors) get Codex-auth remediation that sends production debugging down the wrong path; th...
null
Q00__ouroboros__666
Q00/ouroboros
666
defect
91027691a4e74d2ec3bbca26d12021c092cc39e2
51238bc5909c59f939d027ffeb2d088a82bcf09a
feat(auto): feed repo facts into interview answers
## Summary - Adds a bounded repository context provider for auto interview answers. - Wires `AutoInterviewDriver` to pass `AutoAnswerContext` into the deterministic answerer. - Covers repo-backed runtime answers and no-fact fallback behavior with focused tests. ## Discussion / implementation notes This is a narrow fir...
diff --git a/src/ouroboros/auto/interview_driver.py b/src/ouroboros/auto/interview_driver.py index fdfe9f6a14..4a8d874165 100644 --- a/src/ouroboros/auto/interview_driver.py +++ b/src/ouroboros/auto/interview_driver.py @@ -8,9 +8,16 @@ import re from typing import Protocol -from ouroboros.auto.answerer import AutoA...
1
1
1
[{"id": "G0", "claim": "repo_auto_answer_context() upgrades partial repository hints (package-manager fallback from any readable pyproject.toml, build-system, src/ and tests/ structure) into a confirmed runtime_context fact, violating the answerer's contract that only a true runtime/project fact satisfies the stronger ...
null
QData__TextAttack__160
QData/TextAttack
160
defect
3f15bb34f89ab08db9876a4077f34d8199805a2a
7daadbc8991d63b112ae322068d1f00fcb5c5b70
add BAE and BERT-Attack recipes
- add BAE attack recipe from ["BAE: BERT-based Adversarial Examples for Text Classification"](https://arxiv.org/pdf/2004.01970.pdf) - add BERT-Attack attack recipe from ["BERT-ATTACK: Adversarial Attack Against BERT Using BERT" ](https://arxiv.org/pdf/2004.09984.pdf) - no hyperparameters reported so made a reason...
diff --git a/docs/attacks/attack_recipes.rst b/docs/attacks/attack_recipes.rst index 1dd487e62..31a70651b 100644 --- a/docs/attacks/attack_recipes.rst +++ b/docs/attacks/attack_recipes.rst @@ -5,45 +5,55 @@ We provide a number of pre-built attack recipes. To run an attack recipe, run:: textattack attack --recipe...
3
3
0
[{"id": "G0", "claim": "The new recipes leave many open TODOs about unverified hyperparameters (e.g. which USE window size, threshold or eps to use), so the reviewer asks whether the PR should be merged now or whether to wait a few days for the paper author's response.", "category": "correctness", "verdict": "supported...
null
QData__TextAttack__189
QData/TextAttack
189
defect
99fedba1046a1c99e01432f97f7fe5a768ae7817
489fd92ace436bc9bcdff9ea34de7b1580ecfb81
minor bug fixes
- fix flair version bug and fix version; - fix isort version bug and fix verison; - fix alzantot abstract constraint class bug
diff --git a/Makefile b/Makefile index dcee03c2d..cdf90e87c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ format: FORCE ## Run black and isort (rewriting files) black . - isort --atomic --recursive tests textattack + isort --atomic tests textattack lint: FORCE ## Run black, isort, flake8 (in check ...
2
2
0
[{"id": "G0", "claim": "If the commented-out empty-list handling block is not needed, it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added empty-list handling block should not be left commented out.", "category": ...
null
QData__TextAttack__400
QData/TextAttack
400
defect
994a56caf29c7e0162d8fa5ec5d58eab58d30daa
2ef1905ce5cb431919ca30fb9a9204f5c41d4bef
add --split to specify train/test/dev dataset
## Changes -attack_args_helpers.py has been modified to add the '--split' flag and an 'args.split' check -huggingface_dataset.py has been modified to change the default value for 'split' from 'train' to 'test'
diff --git a/tests/test_command_line/test_attack.py b/tests/test_command_line/test_attack.py index 5276d0094..9c87d9f89 100644 --- a/tests/test_command_line/test_attack.py +++ b/tests/test_command_line/test_attack.py @@ -44,7 +44,8 @@ "textattack attack --model-from-huggingface " "distilbert-b...
2
2
0
[{"id": "G0", "claim": "Run black to fix the formatting issue in the pull request's code.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The two debug print statements added in test_command_line_attack are unnecessary for this PR and should probably be de...
null
QData__TextAttack__531
QData/TextAttack
531
defect
caacc1c8a7ea9acdd9c88e104abceb8e9352ae4a
f8ab0dcfd9505034931855b8488ab89ab7a545c0
Enhance augment function
# What does this PR do? ## Summary This PR introduces 2 new augmenter parameters, `high_yield` and `fast_augment`. The `high_yield` option was originally implemented in [pull request #507](https://github.com/QData/TextAttack/pull/507) that still requires additional implementation before merging. When `high_yield...
diff --git a/textattack/augment_args.py b/textattack/augment_args.py index f0c96f715..6970270ec 100644 --- a/textattack/augment_args.py +++ b/textattack/augment_args.py @@ -35,6 +35,8 @@ class AugmenterArgs: exclude_original: bool = False overwrite: bool = False interactive: bool = False + fast_augmen...
6
4
2
[{"id": "G0", "claim": "The augmenter should use (or improve) the metric module added in #514 to check the quality of the augmented samples, with attack_result.py shown as a usage example.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The purpose of the...
null
QData__TextAttack__752
QData/TextAttack
752
defect
189d11f5d45093a387ddc64fcc645dc3afa9ead6
51a6835c19930d5d58d9aff997f979ea7fef110e
Consistent word swap
# What does this PR do? ## Summary This PR adds a new `consistent` parameter to `WordSwapChangeLocation` and `WordSwapChangeName` so that all original instances of the same word get updated to the same new word. This allows for consistency when the semantics of the words matter. For example, "Alice likes Bob. Alic...
diff --git a/tests/test_transformations.py b/tests/test_transformations.py index 506d267a..0b78674d 100644 --- a/tests/test_transformations.py +++ b/tests/test_transformations.py @@ -33,6 +33,34 @@ def test_word_swap_change_location(): assert entity_original == entity_augmented +def test_word_swap_change_locat...
2
2
1
[{"id": "G0", "claim": "Add a test function showing the revised consistent word-swap behaviour works as intended.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The consistent location swap needs debugging: for the reviewer's example sentence, instances...
null
QData__TextAttack__87
QData/TextAttack
87
defect
7a1fdf515f6d7e5a49bb223766a6b4034187328d
330fb1ffdf838ccc16882cf9c461f81467d4fc0c
Logging updates; add Weights & Biases
- rename `AttackLogger` to `AttackLogManager` - some other minor renames - add Weights & Biases logging
diff --git a/.gitignore b/.gitignore index b36dd4254..dc8225e60 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,6 @@ tensorflow-hub # build outputs for PyPI build/ dist/ + +# Weights & Biases outputs +wandb/ diff --git a/requirements.txt b/requirements.txt index cf1b3cadb..68bddb4d6 100644 --- a/requirements.t...
2
2
1
[{"id": "G0", "claim": "In the newly added html_table_from_rows helper, the call should be changed from style_from_dict to html_style_from_dict.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "All the underscore CLI argument names in run_attack_args_...
null
QData__TextAttack__90
QData/TextAttack
90
defect
53a5c3a7a1b71afcc8ba256283cc6fb9ea082099
1fc809e662218eb71bcacb3dc60ddafcdde15a01
minor fixes: config.json, tests, travis
- model batch size, model cache size, and constraint cache size in config.json - improvements to `local_tests`: print stderr, add a test, make another test shorter - fix travis
diff --git a/.travis.yml b/.travis.yml index 6775c42df..1d275b105 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ language: python -python: '3.7' +python: '3.8' before_install: - python --version - pip install -U pip - pip install -U pytest - - pip install git+https://github.com/jxmorris12/langu...
15
7
1
[{"id": "G0", "claim": "Removing the pip install of the language-check fork from .travis.yml without adding a replacement install may leave CI without that dependency.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment above the bert-mnli test...
null
QLHazyCoder__codex-oauth-automation-extension__113
QLHazyCoder/codex-oauth-automation-extension
113
defect
8dd6daccd1e9de0e4849deb4185be31f46da9fad
5318a0975bb570e5ce5e79e00150ac44d06d1f89
[codex] Improve 163 mailbox polling and step 2 email switching
## What changed - add a 163 mailbox body-reading fallback when the list row does not expose the verification code inline - make the 163 refresh flow prefer the top toolbar refresh button even when the label is rendered with spacing like `刷 新` - make Step 2 recognize phone-entry mode, switch back to email mode through ...
diff --git a/Process.md b/Process.md new file mode 100644 index 00000000..e8426fbc --- /dev/null +++ b/Process.md @@ -0,0 +1,37 @@ +# Process + +## 2026-04-19 + +### 今日战利品 +- 修复了 163 邮箱顶部“刷新”按钮的识别问题。 +- 根因不是插件不知道顶部按钮在哪里,而是它用 DOM 文本做识别时,代码只认“刷新”,但 163 实际渲染出来可能是“刷 新”。 +- 给 `163` 邮箱补上了回归测试,确保以后再次遇到这种带空格的按钮文案时,脚本仍然会优先点击顶部工...
2
2
2
[{"id": "G0", "claim": "The pull request introduces visible mojibake/control-character corruption (e.g. `姝ラ...`, `ria-label`, `dd-phone`) in the added test strings in tests/background-logging-status-module.test.js and in the doc text of 项目完整链路说明.md and Process.md, which the repo dev spec treats as a blocking issue that...
null
QLHazyCoder__codex-oauth-automation-extension__151
QLHazyCoder/codex-oauth-automation-extension
151
defect
89644a0b304f69644b14b8fa91c9b132d3535ff1
46ceb482c461eb0dceb914361a095d3633c1c560
feat: support icloud forward mailbox provider config
## 变更摘要 本 PR 为 iCloud 收码场景新增“目标邮箱类型 + 转发邮箱提供商”配置能力,同时保证默认行为不变,不影响现有 iCloud 收件箱流程。 ## 主要改动 ### 1. 新增并持久化 iCloud 配置项 新增两个设置项,并做了归一化处理: - icloudTargetMailboxType - icloud-inbox(默认) - forward-mailbox - icloudForwardMailProvider - 支持:qq / 163 / 163-vip / 126 / gmail -...
diff --git a/background.js b/background.js index 1e605b45..997b8411 100644 --- a/background.js +++ b/background.js @@ -279,6 +279,8 @@ const PERSISTED_SETTING_DEFAULTS = { customEmailPool: [], autoDeleteUsedIcloudAlias: false, icloudHostPreference: 'auto', + icloudTargetMailboxType: 'icloud-inbox', + icloudF...
3
3
3
[{"id": "G0", "claim": "The PR adds an iCloud target-mailbox-type / forward-mail-provider persisted config and changes the Step 4 / Step 8 code routing without updating 项目完整链路说明.md, 项目文件结构说明.md or README/usage docs, which repo rules require for new config options, new providers or user-visible config changes, so the do...
null
QLHazyCoder__codex-oauth-automation-extension__152
QLHazyCoder/codex-oauth-automation-extension
152
defect
89644a0b304f69644b14b8fa91c9b132d3535ff1
ccd93cf5c1c599cd8d918fdc318645ec5fcfa709
Improve iCloud Hide My Email request resilience
## 变更说明 本 PR 主要增强 iCloud Hide My Email(隐私邮箱)链路在网络抖动、服务节点不稳定场景下的稳定性与可恢复性,减少以下问题: - 会话已通过校验,但加载别名列表失败 - 生成新别名时长时间卡住 - reserve 请求网络失败后,实际已成功保留别名却被误判为失败 - 用户停止自动流程后,挂起的 iCloud 请求不能及时中断 ## 主要改动 ### 1. 为 iCloud 请求增加超时与重试机制 在 `background.js` 中增强 `icloudRequest()`: - 增加请求超时控制 - 对可重试错误进行有限重试 - 可重试场景包括: -...
diff --git a/background.js b/background.js index 1e605b45..4baf5dbe 100644 --- a/background.js +++ b/background.js @@ -138,6 +138,10 @@ const ICLOUD_LOGIN_URLS = [ 'https://www.icloud.com.cn/', 'https://www.icloud.com/', ]; +const ICLOUD_REQUEST_TIMEOUT_MS = 15000; +const ICLOUD_LIST_MAX_ATTEMPTS = 3; +const ICL...
1
1
1
[{"id": "G0", "claim": "The new abortActiveIcloudRequests() call added to requestStop() is not stubbed/injected in the existing requestStop-extraction test harnesses (tests/background-stop-gap-record.test.js, tests/step8-stop-cleanup.test.js), so the full npm test regression fails with 'ReferenceError: abortActiveIclou...
null
QLHazyCoder__codex-oauth-automation-extension__170
QLHazyCoder/codex-oauth-automation-extension
170
defect
0f430113fa390437fa49738c783c9d81797b0f5c
59663c4ca308df63666c8ae91143b00d1c129a96
feat: 支持 HeroSMS 手动 maxPrice 并延后手机号复用计数
## 本次改动 - 侧边栏新增 HeroSMS maxPrice 必填输入框,放在接码国家下方,并接入保存/恢复 - 手机验证流不再调用 HeroSMS getPrices,直接使用用户手填的 maxPrice 请求 getNumber / getNumberV2 - 若未填写 maxPrice,手机号验证流程会直接报错并停止 - 手机号复用计数调整为延后确认:Step 9 成功后先挂起,只有整轮流程最终成功时才确认 successfulUses + 1 - 成功提交后统一走 setStatus(3);如果 setStatus(3) 失败,则当前流程仍算成功,但清空复用池,下次重新获取新号码 - auto-run fresh res...
diff --git a/background.js b/background.js index 97b85b1d..5eb6bd1b 100644 --- a/background.js +++ b/background.js @@ -477,6 +477,7 @@ const PERSISTED_SETTING_DEFAULTS = { hotmailAccounts: [], mail2925Accounts: [], heroSmsApiKey: '', + heroSmsMaxPrice: '', heroSmsCountryId: HERO_SMS_COUNTRY_ID, heroSmsC...
2
2
2
[{"id": "G0", "claim": "In the platform-verify finish, finalizePhoneActivationAfterSuccessfulFlow runs before finalizeIcloudAliasAfterSuccessfulFlow, so when the later iCloud cleanup throws, the step still fails overall while the phone reuse count (successfulUses) has already been confirmed incremented, contradicting t...
null
QLHazyCoder__codex-oauth-automation-extension__185
QLHazyCoder/codex-oauth-automation-extension
185
defect
be23c532694e8d606f6a542bcc12409a29c48e58
6ae4e0f5a0394730aa55d9386a13f66886279e76
支持关闭 OAuth 授权后链总超时
## 本次改动 - 在侧边栏新增“授权总超时”开关,默认启用,保存后热生效。 - 关闭后不再启用 Step 7 后链 5 分钟总预算;已存在的 OAuth deadline 会立即清空,Step 9 等待 localhost 回调期间也会动态读取最新开关状态。 - 保留页面等待、点击、localhost 回调等本地安全超时,避免关闭总超时后无限挂起。 ## 修改原因 授权接码需要人工等待时,关闭授权后链总超时可避免超时后回跳 Step 7 重复 OAuth;同一个接码号码能够重复利用,避免重复购号,只花一次钱。 ## 风险与影响 - 默认行为不变:新旧配置默认仍启用授权后链总超时。 - 仅在用户主动关闭开关时跳过总预算;单步骤本...
diff --git a/background.js b/background.js index 271edeb1..01bb275e 100644 --- a/background.js +++ b/background.js @@ -490,6 +490,7 @@ const PERSISTED_SETTING_DEFAULTS = { currentPayPalAccountId: '', autoRunSkipFailures: false, autoRunFallbackThreadIntervalMinutes: 0, + oauthFlowTimeoutEnabled: true, autoR...
1
1
1
[{"id": "G0", "claim": "Because this PR adds the new persistent config `oauthFlowTimeoutEnabled` and changes the Step 9 post-auth chain timeout behavior, the project development standards require syncing the root-directory documentation to describe the config and its impact on the Step 7~9 timeout chain, and the PR cur...
null
QLHazyCoder__codex-oauth-automation-extension__86
QLHazyCoder/codex-oauth-automation-extension
86
defect
a7a21980c75c0dda88b48698a9c12ce072a8ed94
fec2ae58a885cf22614276fc86ef5c377f0374fb
基于10.0的pr
更新:(都只适配的英文界面) 1、韩国IP填写姓名年龄的页面要勾选:i agree.... 2、出现405 错误页面自动点击“try again” 3、修复 注册判定:"完成帐户创建" → 页面跳转 chatgpt.com → 内容脚本断开 → background 捕获通信错误 → 检测标签页 URL 为 chatgpt.com → 注入内容脚本 → 点击 Skip (没有完成所有引导,但是也注册成功了)
diff --git a/.gitignore b/.gitignore index 53386cf1..59f4367b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.github /_metadata/ +.vscode \ No newline at end of file diff --git a/background.js b/background.js index a8fe58a5..67d07659 100644 --- a/background.js +++ b/background.js @@ -7439,12 +7439,103 @@...
2
2
2
[{"id": "G0", "claim": "background.js:7471-7483 reads the tab URL only once immediately after the transport error to decide whether to re-throw, so on cross-origin navigation the URL may still be auth.openai.com and a successful redirect can be misjudged as failure; the reviewer asks to wait and confirm the tab ends up...
null
Qihoo360__evpp__105
Qihoo360/evpp
105
defect
8e808d197570aef3fcd3de3ba99b42787495e6a0
1e1867bd7fc5d8a2a257eef411e779845daac407
Add SSL and ability to add headers to http client + Fix assert on retry
Using EVPP_HTTP_CLIENT_SUPPORTS_SSL for ssl support since otherwise we introduce dependency on openssl. If that dependency is ok, I can remove EVPP_HTTP_CLIENT_SUPPORTS_SSL
diff --git a/apps/evnsq/client.cc b/apps/evnsq/client.cc index 29ad25611..ba8b80b5d 100644 --- a/apps/evnsq/client.cc +++ b/apps/evnsq/client.cc @@ -115,8 +115,8 @@ void Client::HandleLoopkupdHTTPResponse( DLOG_TRACE; if (response.get() == nullptr) { - LOG_ERROR << "Request lookupd http://" << reques...
3
2
2
[{"id": "G0", "claim": "The pull request's new SSL-capable http client ships without any unit tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ConnPool::Put should not take over ownership of the connection (no c.reset() inside Put); the original si...
null
Qihoo360__evpp__47
Qihoo360/evpp
47
defect
7ea70dd4588c5854da3094df2f3ca4bc4166304d
e2bdbc3786dbd44b8bb865057b548a20a95521cc
添加FindRequestPathParameter方法,获取URI中的键值对参数
add method FindRequestUriQueryParam,Gets the key-value pairs in the URI.
diff --git a/evpp/http/context.cc b/evpp/http/context.cc index 7baabb074..74eb9a8de 100644 --- a/evpp/http/context.cc +++ b/evpp/http/context.cc @@ -55,6 +55,34 @@ void Context::AddResponseHeader(const std::string& key, const std::string& value evhttp_add_header(req_->output_headers, key.data(), value.data()); } ...
5
4
2
[{"id": "G0", "claim": "The new FindRequestPathParameter method ships with no accompanying unit test cases.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unit tests fail, most likely because the wait loop still breaks only at finished == 7 although...
null
Qiskit__qiskit__15290
Qiskit/qiskit
15,290
defect
f1ce745085da1a6131b767dc3792d772b72f34e0
f7c00ad949f1afbf7c366ef745bc7ee1dbf5874f
Typed iterator in QASM3 export of for loops
### Summary Fixes an issue in the QASM3 exporter where the type of the loop variable in `for` loops was not being explicitly included in the generated code. This could lead to invalid OpenQASM 3 code. This solves #13725. ### Details and comments The exporter now explicitly adds the type (int) to the `for` loop decla...
diff --git a/qiskit/qasm3/ast.py b/qiskit/qasm3/ast.py index 027789d2101c..7b81ef06a4c4 100644 --- a/qiskit/qasm3/ast.py +++ b/qiskit/qasm3/ast.py @@ -18,6 +18,7 @@ import enum from typing import Optional, List, Union, Iterable, Tuple, Sequence +import warnings class ASTNode: @@ -697,17 +698,26 @@ class ForLoo...
1
1
1
[{"id": "G0", "claim": "The ForLoopStatement AST constructor should not default a missing type to IntType and emit a deprecation warning for it — the class is not public, so it should simply require a non-optional type (or keep None and have the printer skip printing it), and the deprecation machinery is unnecessary.",...
null
Qiskit__qiskit__15483
Qiskit/qiskit
15,483
defect
7cd554e536d254dc64a72b9c0ed08a643c4e5183
197f28710ca634828f96841dcbf8e70edfa58eb4
Extend `SubstitutePi4Rotations` to 2q gates
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/transpiler/src/passes/substitute_pi4_rotations.rs b/crates/transpiler/src/passes/substitute_pi4_rotations.rs index 77bd4be09271..9f211e31a594 100644 --- a/crates/transpiler/src/passes/substitute_pi4_rotations.rs +++ b/crates/transpiler/src/passes/substitute_pi4_rotations.rs @@ -10,261 +10,1225 @@ /...
15
13
4
[{"id": "G0", "claim": "The 1-qubit rotation decomposition should not store a qubit list per gate since it is always &[0], a change whose extra indirection slows the pass by about 2x per the PR summary's own data.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
Qiskit__qiskit__15502
Qiskit/qiskit
15,502
defect
7cd554e536d254dc64a72b9c0ed08a643c4e5183
16688b868d384c4dcda76b177c0da08654cee6a6
Transpiler pass that converts a generic circuit to PBC
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/transpiler/src/passes/mod.rs b/crates/transpiler/src/passes/mod.rs index a0fe7f3b7d43..089612842192 100644 --- a/crates/transpiler/src/passes/mod.rs +++ b/crates/transpiler/src/passes/mod.rs @@ -43,6 +43,7 @@ mod inverse_cancellation; mod litinski_transformation; mod optimize_1q_gates_decompositio...
8
6
2
[{"id": "G0", "claim": "replace_gate_by_pauli_rotation could return a small struct or enum sequence instead of raw tuples, to make the later DAG-level PBC pass easier to implement and less error-prone.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The p...
null
Qiskit__qiskit__15642
Qiskit/qiskit
15,642
defect
99e051e077af23a53f687e83e744f8847e98ae18
709478d0776bfcb1b9f3de16391b3c104e3f6568
Fix ParameterExpression.sympify() for RPOW operations
Fixes #15583 ### Summary The `sympify()` method was not correctly handling reverse power operations (RPOW). When converting `ParameterExpression` to sympy, RPOW operations need to swap operands (rhs ** lhs instead of lhs ** rhs) to match the Rust implementation. ### Details This fix adds special handling fo...
diff --git a/crates/circuit/src/parameter/parameter_expression.rs b/crates/circuit/src/parameter/parameter_expression.rs index b5de8124fe9e..3b5b30cc6c53 100644 --- a/crates/circuit/src/parameter/parameter_expression.rs +++ b/crates/circuit/src/parameter/parameter_expression.rs @@ -2119,9 +2119,41 @@ pub fn qpy_replay(...
1
1
1
[{"id": "G0", "claim": "DIV and SUB are also non-commutative, so the S1 Rust qpy_replay change may require the same reverse-operation treatment that POW received.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Qiskit__qiskit__15646
Qiskit/qiskit
15,646
defect
7dde3e1fd6e292ff229411814f29aadfd73b72b6
dcbb614a9fda3f0b17317f4f83840d82b5d32e57
Fixing `QuantumCircuit.repeat` with parameterized gates
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index e2819dbbd347..1a424200b16e 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -1905,7 +1905,7 @@ def repeat(self, reps: int, *, insert_barriers: bool = False) -> "QuantumCircuit excep...
1
1
0
[{"id": "G0", "claim": "The docstring of test_repeat_with_parameterized_gates misspells \"paramerized\" and should read \"parameterized\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Qiskit__qiskit__15673
Qiskit/qiskit
15,673
defect
92ac1d51cf9c4ae0bc2ccedaca180c7314b595fd
4ca358d676638410539c50969db2614ba2b6284a
Fix defining and appending multi-controlled gates with 0 control qubits.
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/qiskit/circuit/annotated_operation.py b/qiskit/circuit/annotated_operation.py index cfe5cf0eae8a..f2c28f1fa172 100644 --- a/qiskit/circuit/annotated_operation.py +++ b/qiskit/circuit/annotated_operation.py @@ -46,6 +46,9 @@ class ControlModifier(Modifier): ctrl_state: int | str | None = None de...
4
2
0
[{"id": "G0", "claim": "In mcrz, the 0-control branch should use self.rz(lam, target_qubit) instead of self.append(RZGate(lam), [target_qubit]).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MCPhaseGate._define should possibly raise an error fo...
null
Qiskit__qiskit__15764
Qiskit/qiskit
15,764
defect
8075dc7576007ce4e19505b0a2c819e57b991350
4b3d4d8011709a61b3fb5a250a6ddbb4f6c52782
Keep ``LitinskiTransformation`` backward compatible
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/transpiler/src/passes/litinski_transformation.rs b/crates/transpiler/src/passes/litinski_transformation.rs index 59b448b78dc5..5fd761cec76d 100644 --- a/crates/transpiler/src/passes/litinski_transformation.rs +++ b/crates/transpiler/src/passes/litinski_transformation.rs @@ -42,12 +42,12 @@ static SU...
4
3
1
[{"id": "G0", "claim": "The class docstring must be made a raw string (r\"\"\"), otherwise ``T^\\dagger`` below triggers a docs building error.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ``use_ppr`` docstring should say 'If ``False`` or ``...
null
Qiskit__qiskit__15767
Qiskit/qiskit
15,767
defect
d7641b47f32229916f8486dc28f3d78a7593265b
705500e41a30f15fa18b32f29e9d3962b84ea349
Add `QkCircuit` C/Python interoperation via `QuantumCircuit._data`
We previously had a `qk_circuit_to_python` method that returned a complete `QuantumCircuit`, though without the stable C extension module mode, this was only practically useful for testing via `ctypes` in our unit tests. This is a breaking change that explicitly makes the C/Python conversion type the direct Python-s...
diff --git a/crates/cext/src/circuit.rs b/crates/cext/src/circuit.rs index 2f0b1aa0fc46..f98566378537 100644 --- a/crates/cext/src/circuit.rs +++ b/crates/cext/src/circuit.rs @@ -1370,40 +1370,171 @@ pub unsafe extern "C" fn qk_opcounts_clear(op_counts: *mut OpCounts) { op_counts.data = std::ptr::null_mut(); } ...
3
1
0
[{"id": "G0", "claim": "Exposing `QuantumCircuit._data` as public API will make it difficult to rename or replace it later, and the reviewer asks whether this is really what we want long-term.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In `borrow_map`,...
null
Qiskit__qiskit__15773
Qiskit/qiskit
15,773
defect
8075dc7576007ce4e19505b0a2c819e57b991350
99886be7f238fe87bfc595b0acc1cc62e289d9c5
Support phase gates in `LitinskiTransformation`
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/transpiler/src/passes/litinski_transformation.rs b/crates/transpiler/src/passes/litinski_transformation.rs index 59b448b78dc5..04f20b8e406d 100644 --- a/crates/transpiler/src/passes/litinski_transformation.rs +++ b/crates/transpiler/src/passes/litinski_transformation.rs @@ -17,7 +17,7 @@ use qiskit_...
3
1
0
[{"id": "G0", "claim": "Use the predefined constants FRAC_PI_4 and FRAC_PI_8 instead of dividing PI by 4 and 8.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release note should perhaps not mention U1Gate since that gate is deprecated.", "c...
null
Qiskit__qiskit__15776
Qiskit/qiskit
15,776
defect
019a0a6bf8069cba0b23223734a15b043b74f607
dbdaec1b1ea78740ac9f7eab21b7f91151a678b4
Add barrier_label_len option to circuit drawers
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/qiskit/circuit/quantumcircuit.py b/qiskit/circuit/quantumcircuit.py index 738699a8bb8f..17da5edc4bfb 100644 --- a/qiskit/circuit/quantumcircuit.py +++ b/qiskit/circuit/quantumcircuit.py @@ -3859,6 +3859,7 @@ def draw( cregbundle: bool | None = None, wire_order: list[int] | None = None, ...
3
3
2
[{"id": "G0", "claim": "For backwards compatibility the new barrier_label_len argument must appear last in QuantumCircuit.draw()'s parameter list.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The mpl drawer is tested by image comparison, so the PR's ma...
null
Qiskit__qiskit__15782
Qiskit/qiskit
15,782
defect
2463cda5e2dbda0654b69204dff9560cbd71a2f4
5194046833154782d07c1ddee404303da17f64ff
Fix: Initialize.inverse() now raises CircuitError immediately
### Summary Fixes #15595 by raising CircuitError immediately when inverse() is called on a circuit containing Initialize. Previously, calling inverse() on such circuits would let the computation unfold until crashing with a cryptic and uninformative error. - [x] I have added the tests to cover my changes. - [ ] I...
diff --git a/qiskit/circuit/library/data_preparation/initializer.py b/qiskit/circuit/library/data_preparation/initializer.py index 5de637da7791..c156041ef977 100644 --- a/qiskit/circuit/library/data_preparation/initializer.py +++ b/qiskit/circuit/library/data_preparation/initializer.py @@ -23,6 +23,7 @@ from qiskit.ci...
5
5
0
[{"id": "G0", "claim": "The `raise CircuitError (\"...\"` statement in Initialize.inverse should be reformatted per the suggested block (no space before the parenthesis).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release-note file shoul...
null
Qiskit__qiskit__15807
Qiskit/qiskit
15,807
defect
9878be81052c07f06113df2d6ead93ca4ff91363
03741852370cfb8289b39532cd20c647f0de7bf3
Fix approximate-by-default behaviour of `UnitarySynthesis`
In gh-15492[^1], we accidentally swapped the behaviour of `approximation_degree` such that `None` was treated as "exact" and `1.0` as "up to gate error". Despite all _other_ explicit float values meaning up-to-gate-fidelity multiplied by the value, `approximation_degree=1.0` has historically _actually_ meant "exact sy...
diff --git a/crates/cext/src/transpiler/passes/unitary_synthesis.rs b/crates/cext/src/transpiler/passes/unitary_synthesis.rs index f4ddbf549a5e..c0a08883e1c6 100644 --- a/crates/cext/src/transpiler/passes/unitary_synthesis.rs +++ b/crates/cext/src/transpiler/passes/unitary_synthesis.rs @@ -17,6 +17,7 @@ use qiskit_circ...
4
3
0
[{"id": "G0", "claim": "The documentation should explain the difference between approximation degree and normalized fidelity, and clarify whether the calculation was changed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should ...
null
Qiskit__qiskit__15809
Qiskit/qiskit
15,809
defect
9878be81052c07f06113df2d6ead93ca4ff91363
5d2d7d089121245ceef9cd36834ed802bc15945b
Coercing integer types to floats when appending a PPR to a circuit
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/circuit/src/circuit_instruction.rs b/crates/circuit/src/circuit_instruction.rs index fb6ce2f9fc2f..32566f396679 100644 --- a/crates/circuit/src/circuit_instruction.rs +++ b/crates/circuit/src/circuit_instruction.rs @@ -893,7 +893,8 @@ impl<'a, 'py, T: CircuitBlock> FromPyObject<'a, 'py> for Operatio...
3
2
1
[{"id": "G0", "claim": "The other places in the code that use extract_no_coerce should be checked to confirm they are all ok.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Appending a PPR with a Param::Obj angle should not panic from Python space, ...
null
Qiskit__qiskit__15810
Qiskit/qiskit
15,810
defect
9878be81052c07f06113df2d6ead93ca4ff91363
49960e13cb865cf9d8ad00813a1c9379259dddf8
Extend `RemoveIdentityEquivalent` and `CommutativeOptimization` with `PauliProductRotations`
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/crates/circuit/src/circuit_instruction.rs b/crates/circuit/src/circuit_instruction.rs index fb6ce2f9fc2f..32566f396679 100644 --- a/crates/circuit/src/circuit_instruction.rs +++ b/crates/circuit/src/circuit_instruction.rs @@ -893,7 +893,8 @@ impl<'a, 'py, T: CircuitBlock> FromPyObject<'a, 'py> for Operatio...
6
6
2
[{"id": "G0", "claim": "The comment in remove_identity_equiv.rs should not say the handling is restricted to Pauli rotations, since it applies to any Pauli evolutions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In PauliProductRotation::rotatio...
null
Qiskit__qiskit__15813
Qiskit/qiskit
15,813
defect
9878be81052c07f06113df2d6ead93ca4ff91363
b018a8f3f522c53931842f0f81965dd67963ab93
Add internal evolve methods by Clifford gates
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open issue...
diff --git a/qiskit/quantum_info/operators/symplectic/base_pauli.py b/qiskit/quantum_info/operators/symplectic/base_pauli.py index f184bd6e96fb..758d7b760cd4 100644 --- a/qiskit/quantum_info/operators/symplectic/base_pauli.py +++ b/qiskit/quantum_info/operators/symplectic/base_pauli.py @@ -636,6 +636,22 @@ def _evolve_...
2
2
0
[{"id": "G0", "claim": "The tests added by this pull request should exercise the public `evolve` API (e.g. `pauli.evolve(gate)`) instead of the private `_append_circuit` method, here and at the other occurrences of private methods.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
Qiskit__qiskit__15814
Qiskit/qiskit
15,814
defect
9878be81052c07f06113df2d6ead93ca4ff91363
c6aa07135bccf68a814be344d5ffdcaa8e043607
Don't track loop_param
When a ForLoopOp is appended to an outer circuit, the loop parameter is currently being tracked in the outer circuit's parameter table. This makes it visible in `qc.parameters`, allowing users to call `assign_parameters` on it — which we did not intend to allow. The parameter was being tracked from two sources in `f...
diff --git a/crates/circuit/src/circuit_data.rs b/crates/circuit/src/circuit_data.rs index e227d40cdeaf..283c7bed1a05 100644 --- a/crates/circuit/src/circuit_data.rs +++ b/crates/circuit/src/circuit_data.rs @@ -2509,22 +2509,16 @@ fn for_each_symbol_use_in_control_flow( body, collection: _, ...
3
2
0
[{"id": "G0", "claim": "The patch fails the lint job on a Python code-formatting issue and needs to be reformatted per the style and lint tooling.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a one/two-sentence release note describing the ...
null
Qiskit__qiskit__15816
Qiskit/qiskit
15,816
defect
1aef57c92cf7844b89549433578da24f6e62cb0a
c9a179b619722e77ffdf4dac2c3f2378fcda557a
Fix `PauliEvolutionGate` trace and dim calculation
<!-- ⚠️ If you do not respect this template, your pull request will be closed. ⚠️ Your pull request title should be short detailed and understandable for all. ⚠️ Also, please add a release note file using reno if the change needs to be documented in the release notes. ⚠️ If your pull request fixes an open iss...
diff --git a/qiskit/circuit/library/pauli_evolution.py b/qiskit/circuit/library/pauli_evolution.py index 741eef858a72..4919f65494de 100644 --- a/qiskit/circuit/library/pauli_evolution.py +++ b/qiskit/circuit/library/pauli_evolution.py @@ -447,7 +447,7 @@ def _pauli_rotation_trace_and_dim(gate: PauliEvolutionGate) -> tu...
1
1
0
[{"id": "G0", "claim": "Add a comment in the new test explaining how the removal threshold is derived (by inverting the avg. gate fidelity), since the reviewer asked how we know where the threshold lies and suggested adding that explanation as a comment.", "category": "documentation", "verdict": "supported", "priority"...
null