[Discuss] Cannot transition away from "Unpublished" Context Item
## Summary
_**Note, this has been switched from a bug to a discussion issue due to reasons explained in MR https://git.drupalcode.org/project/ai_context/-/merge_requests/214. Looks like we need to do a rearchitecture so this issue is now to discuss that.**_
In the dev version, when saving an AI Context Item as "Unpublished", I cannot change the workflow state of the item anymore which also prevents me to save them item.
Testing Setup:
<details>
mkdir my-drupal-site && cd my-drupal-site
ddev config --project-type=drupal11 --docroot=web
ddev start
ddev composer create-project drupal/cms
ddev composer drupal:recipe-unpack
ddev exec sed -i 's/"minimum-stability": "stable"/"minimum-stability": "dev"/' composer.json
ddev composer require drupal/ai_context:dev-1.0.x -W
ddev composer require drupal/ai_agents_debugger
ddev launch
go through installer in browser and choose the Byte site template
ddev drush en ai_context -y
cd web/modules/contrib/ai_context
switch to the relevant MR branch (see GitLab fork instructions)
ddev drush cr
</details>
## Steps to reproduce
1. Create an AI Context Item
2. Edit the item and save it as "Unpublished"
3. Edit the item again and see that the state cannot be changed and saving the item will print an error "Invalid state transition from _Unpublished_ to _Unpublished_"
## Expected result
Changing state is possible and saving works.
## Actual result
Cannot change the state nor save the item.
## Environment
- Drupal version: 11.4.1
- Module version: dev-1.0.x
- PHP version: 8.4.20
### Screenshots / recordings *(optional)*
{width=376 height=509}
{width=364 height=443}
{width=526 height=152}
{width=367 height=457}
### Error messages or logs *(optional)*
"Invalid state transition from _Unpublished_ to _Unpublished_" when trying to save an AI Context Item in "Unpublished" state.
> [!note]
> Check the one that best describes your usage, or leave all unchecked if AI was not significantly used.
>
> * [ ] AI **Assisted Issue** \
> _Mainly written by a human; AI used for partial generation under full human supervision._
>
> * [ ] AI **Generated Issue** \
> _Mainly generated by AI, reviewed and approved by a human before this issue was created._
issue