Skip to content

Add agent steering guidelines#2968

Merged
Lokiiiiii merged 2 commits intomasterfrom
add-agent-steering
Nov 25, 2025
Merged

Add agent steering guidelines#2968
Lokiiiiii merged 2 commits intomasterfrom
add-agent-steering

Conversation

@Lokiiiiii
Copy link
Member

Description

Brief description of what this PR is about

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

Feature/Issue validation/testing

Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

  • Test A
    Logs for Test A

  • Test B
    Logs for Test B

- product.md: Product overview, architecture, and use cases
- tech.md: Technology stack, build system, and common commands
- structure.md: Project organization, modules, and conventions
- development.md: Development workflow, container builds, and CI/CD
- partitioning.md: Model partitioning, quantization, and Neo integration
- Updated .gitignore to track steering files while ignoring other .kiro/ content

These steering documents provide essential context for AI assistants working
in the DJL Serving codebase, covering product purpose, technical stack,
project structure, development practices, and the model optimization system.
The test_lmcache_local_storage test was failing with FileExistsError because
the /tmp/lmcache/ directory persisted between test runs. The LMCache library's
LocalDiskBackend tries to create this directory without checking if it exists.

Fix:
- Clean up /tmp/lmcache directory in Runner.__init__ before each test
- Clean up /tmp/lmcache directory in Runner.__exit__ after each test

This ensures a clean state for lmcache tests and prevents directory conflicts
between consecutive test runs.

Error: FileExistsError: [Errno 17] File exists: '/tmp/lmcache/'
@Lokiiiiii Lokiiiiii requested review from a team and zachgk as code owners November 25, 2025 19:36
@Lokiiiiii Lokiiiiii merged commit ef03cfa into master Nov 25, 2025
7 of 9 checks passed
@Lokiiiiii Lokiiiiii deleted the add-agent-steering branch November 25, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants